@meshconnect/uwc-types 0.20.0-snapshot.3bf4b70 → 0.20.0-snapshot.cd7b163
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.
|
@@ -44,18 +44,5 @@ export interface WalletConnectConfig {
|
|
|
44
44
|
* enableSessionReuse is on.
|
|
45
45
|
*/
|
|
46
46
|
onSessionReuseSkipped?: (skip: WalletConnectSessionReuseSkip) => void;
|
|
47
|
-
/**
|
|
48
|
-
* Opt-in liveness-ping window (ms) for session reuse. Reuse is OPTIMISTIC by
|
|
49
|
-
* default: when this is unset (or ≤ 0) connect() adopts a stored session with no
|
|
50
|
-
* blocking probe — matching WC's own restore and every mainstream dApp connector
|
|
51
|
-
* — and a dead peer surfaces at the first sign (bounded by the app's signing
|
|
52
|
-
* escape hatch), not by making every relaunch wait. Set a positive number only if
|
|
53
|
-
* you would rather pay an up-front ping and re-pair immediately than risk a late
|
|
54
|
-
* failure; a too-tight bound will discard live-but-slow mobile peers (they often
|
|
55
|
-
* need > 4s to ack over the relay), so calibrate against the `pingMs` carried by
|
|
56
|
-
* onSessionReuseSkipped. Exposed as config so this bound can be tuned per consumer
|
|
57
|
-
* without a new UWC release. No-op unless enableSessionReuse is on.
|
|
58
|
-
*/
|
|
59
|
-
sessionReusePingTimeoutMs?: number;
|
|
60
47
|
}
|
|
61
48
|
//# sourceMappingURL=wallet-connect-connector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-connect-connector.d.ts","sourceRoot":"","sources":["../src/wallet-connect-connector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAEpE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAA;QACZ,WAAW,EAAE,MAAM,CAAA;QACnB,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,EAAE,CAAA;KAChB,CAAA;IACD;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B;;;;;;;OAOG;IACH,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAA;
|
|
1
|
+
{"version":3,"file":"wallet-connect-connector.d.ts","sourceRoot":"","sources":["../src/wallet-connect-connector.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,iBAAiB,CAAA;AAEpE;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE;QACT,IAAI,EAAE,MAAM,CAAA;QACZ,WAAW,EAAE,MAAM,CAAA;QACnB,GAAG,EAAE,MAAM,CAAA;QACX,KAAK,EAAE,MAAM,EAAE,CAAA;KAChB,CAAA;IACD;;;;;;;;;;;;;;;OAeG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAA;IAC9B;;;;;;;OAOG;IACH,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,6BAA6B,KAAK,IAAI,CAAA;CACtE"}
|
package/package.json
CHANGED
|
@@ -45,17 +45,4 @@ export interface WalletConnectConfig {
|
|
|
45
45
|
* enableSessionReuse is on.
|
|
46
46
|
*/
|
|
47
47
|
onSessionReuseSkipped?: (skip: WalletConnectSessionReuseSkip) => void
|
|
48
|
-
/**
|
|
49
|
-
* Opt-in liveness-ping window (ms) for session reuse. Reuse is OPTIMISTIC by
|
|
50
|
-
* default: when this is unset (or ≤ 0) connect() adopts a stored session with no
|
|
51
|
-
* blocking probe — matching WC's own restore and every mainstream dApp connector
|
|
52
|
-
* — and a dead peer surfaces at the first sign (bounded by the app's signing
|
|
53
|
-
* escape hatch), not by making every relaunch wait. Set a positive number only if
|
|
54
|
-
* you would rather pay an up-front ping and re-pair immediately than risk a late
|
|
55
|
-
* failure; a too-tight bound will discard live-but-slow mobile peers (they often
|
|
56
|
-
* need > 4s to ack over the relay), so calibrate against the `pingMs` carried by
|
|
57
|
-
* onSessionReuseSkipped. Exposed as config so this bound can be tuned per consumer
|
|
58
|
-
* without a new UWC release. No-op unless enableSessionReuse is on.
|
|
59
|
-
*/
|
|
60
|
-
sessionReusePingTimeoutMs?: number
|
|
61
48
|
}
|