@tencentcloud/web-push 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/web-push",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Tencent Cloud Web Push SDK - Service Worker-based web push notification service",
5
5
  "main": "index.umd.js",
6
6
  "module": "index.esm.js",
@@ -25,4 +25,7 @@ export declare class ServiceWorkerManager {
25
25
  private arrayBufferToBase64;
26
26
  private urlBase64ToUint8Array;
27
27
  getRegistration(): ServiceWorkerRegistration | null;
28
+ private getStoredVapidPublicKey;
29
+ private setStoreVapidPublicKey;
30
+ private clearStoredVapidPublicKey;
28
31
  }
@@ -27,7 +27,5 @@ export declare class WebPushSDK implements IWebPushSDK {
27
27
  private initializeBrowserCompatibility;
28
28
  private setupInternalListeners;
29
29
  private pushStatistics;
30
- private saveState;
31
- private restoreState;
32
30
  private clearState;
33
31
  }