@netless/window-manager 1.0.0-canary.36 → 1.0.0-canary.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -2
- package/dist/index.es.js +10 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
- package/src/AppManager.ts +11 -2
package/dist/index.es.js
CHANGED
@@ -2988,7 +2988,7 @@ class AppManager {
|
|
2988
2988
|
if (appIds.length === 0) {
|
2989
2989
|
this.appCreateQueue.emitReady();
|
2990
2990
|
}
|
2991
|
-
|
2991
|
+
let appsWithCreatedAt = appIds.map((appId) => {
|
2992
2992
|
if (apps[appId].setup) {
|
2993
2993
|
return {
|
2994
2994
|
id: appId,
|
@@ -2998,6 +2998,14 @@ class AppManager {
|
|
2998
2998
|
return {};
|
2999
2999
|
}
|
3000
3000
|
});
|
3001
|
+
if (this.isReplay) {
|
3002
|
+
appsWithCreatedAt = appIds.map((appId) => {
|
3003
|
+
return {
|
3004
|
+
id: appId,
|
3005
|
+
createdAt: apps[appId].createdAt
|
3006
|
+
};
|
3007
|
+
});
|
3008
|
+
}
|
3001
3009
|
for (const { id } of orderBy(appsWithCreatedAt, "createdAt", "asc")) {
|
3002
3010
|
if (id && !this.appProxies.has(id) && !this.appStatus.has(id)) {
|
3003
3011
|
const app = apps[id];
|
@@ -12892,7 +12900,7 @@ const reconnectRefresher = new ReconnectRefresher({ emitter });
|
|
12892
12900
|
const _WindowManager = class extends InvisiblePlugin {
|
12893
12901
|
constructor(context) {
|
12894
12902
|
super(context);
|
12895
|
-
this.version = "1.0.0-canary.
|
12903
|
+
this.version = "1.0.0-canary.37";
|
12896
12904
|
this.dependencies = { "dependencies": { "@juggle/resize-observer": "^3.3.1", "@netless/telebox-insider": "1.0.0-alpha.33", "emittery": "^0.11.0", "lodash": "^4.17.21", "p-retry": "^4.6.2", "side-effect-manager": "^1.1.1", "uuid": "^7.0.3", "value-enhancer": "^1.3.2" }, "peerDependencies": { "white-web-sdk": "^2.16.0" }, "devDependencies": { "@netless/app-docs-viewer": "^0.3.0", "@netless/app-plyr": "0.2.0", "@playwright/test": "^1.23.2", "@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-url": "^6.1.0", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.49", "@tsconfig/svelte": "^2.0.1", "@types/debug": "^4.1.7", "@types/lodash": "^4.14.182", "@types/lodash-es": "^4.17.6", "@types/node": "^18.0.3", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "@vitest/ui": "^0.14.2", "cypress": "^8.7.0", "dotenv": "^10.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-svelte3": "^3.2.0", "jsdom": "^19.0.0", "less": "^4.1.3", "prettier": "^2.3.2", "prettier-plugin-svelte": "^2.4.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-styles": "^3.14.1", "svelte": "^3.42.4", "typescript": "^4.5.5", "vite": "^2.5.3", "vite-plugin-dts": "^1.2.1", "vitest": "^0.18.0", "white-web-sdk": "2.16.26" } };
|
12897
12905
|
this.emitter = callbacks;
|
12898
12906
|
this.viewMode = ViewMode.Broadcaster;
|