magic-sdk 29.0.2-canary.863.14002836090.0 → 29.0.2-canary.863.14002911727.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.
@@ -18,11 +18,8 @@ export declare class IframeController extends ViewController {
18
18
  protected hideOverlay(): Promise<void>;
19
19
  protected _post(data: any): Promise<void>;
20
20
  /**
21
- * This code implements a heartbeat monitoring system to ensure the iframe remains active and responsive.
22
- * It periodically sends a ping message to the iframe at regular intervals (every 5 minutes).
23
- * If the iframe fails to respond within 15 seconds, it triggers a reload to restore functionality.
24
- * The heartbeat starts after an initial delay of 1 hour and can be stopped when no longer needed.
25
- * @private
21
+ * Sends periodic pings to check the connection.
22
+ * If no pong is received or it’s stale, the iframe is reloaded.
26
23
  */
27
24
  private heartBeatCheck;
28
25
  private stopHeartBeat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "magic-sdk",
3
- "version": "29.0.2-canary.863.14002836090.0",
3
+ "version": "29.0.2-canary.863.14002911727.0",
4
4
  "description": "Passwordless authentication for the web.",
5
5
  "author": "Magic Labs <team@magic.link> (https://magic.link/)",
6
6
  "license": "MIT",
@@ -29,9 +29,9 @@
29
29
  ]
30
30
  },
31
31
  "dependencies": {
32
- "@magic-sdk/commons": "25.0.2-canary.863.14002836090.0",
33
- "@magic-sdk/provider": "29.0.2-canary.863.14002836090.0",
34
- "@magic-sdk/types": "24.18.1-canary.863.14002836090.0",
32
+ "@magic-sdk/commons": "25.0.2-canary.863.14002911727.0",
33
+ "@magic-sdk/provider": "29.0.2-canary.863.14002911727.0",
34
+ "@magic-sdk/types": "24.18.1-canary.863.14002911727.0",
35
35
  "localforage": "^1.7.4"
36
36
  },
37
37
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  "@babel/runtime": "^7.9.6",
41
41
  "localforage-driver-memory": "^1.0.5"
42
42
  },
43
- "gitHead": "4c2ec0934c23359b9f7a949964a0b12b75560e4a"
43
+ "gitHead": "a9ca77e8b7f8b11fa4b9a0163797639e8bb04080"
44
44
  }