ES modules hoist all static imports before any code executes, so matrix-bot-sdk was loaded BEFORE ensureNativeBinary() could download the native binary. Using dynamic imports inside runPlugin ensures the binary is downloaded first. |
||
|---|---|---|
| .. | ||
| bootstrap-native.js | ||
| config-loader.js | ||
| index.js | ||
| logger.js | ||
| matrix-client.js | ||
| session-manager.js | ||
| types.js | ||