@tak-ps/cloudtak 13.29.0 → 13.30.0

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.
@@ -1,12 +1,9 @@
1
1
  export declare function getCurrentEntryBuildId(): string;
2
- export declare function getPageServiceWorkerBuildId(): string | null;
3
2
  /**
4
- * Called by the update banner in App.vue immediately before it posts
5
- * `SKIP_WAITING` to the waiting worker. Sets a per-tab flag so that when
6
- * `controllerchange` fires we know *this* tab asked for the reload and
7
- * it is safe to auto-refresh. Other tabs on the same origin observe the
8
- * same `controllerchange` but will show their own update prompt instead
9
- * of silently reloading (which would lose unsaved state).
3
+ * Called by the App.vue update banner. With a waiting worker, activate it and
4
+ * let controllerchange reload this tab; without one (another tab already
5
+ * activated the new build) the new cache is live, so a plain reload serves
6
+ * the new shell.
10
7
  */
11
- export declare function markUpdateRequestedByThisTab(): void;
12
- export declare function initServiceWorker(version: string): void;
8
+ export declare function applyServiceWorkerUpdate(registration: ServiceWorkerRegistration | null): void;
9
+ export declare function initServiceWorker(): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/cloudtak",
3
3
  "type": "module",
4
- "version": "13.29.0",
4
+ "version": "13.30.0",
5
5
  "types": "dist/types/plugin.d.ts",
6
6
  "files": [
7
7
  "dist/types"