@eos3/connect 0.1.10 → 0.1.11
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/README.md +3 -2
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -130,8 +130,9 @@ if (!quickPay.enabled) {
|
|
|
130
130
|
- polls wallet readiness until `ready`, another terminal state, or timeout.
|
|
131
131
|
|
|
132
132
|
Advanced UIs can still call `getWalletView()` or `startTelegramWalletFlow()`
|
|
133
|
-
when they need debug-level states and labels.
|
|
134
|
-
|
|
133
|
+
when they need debug-level states and labels. Wallet setup always polls after
|
|
134
|
+
opening the binding page and returns when the wallet is ready, reaches another
|
|
135
|
+
terminal state, or times out.
|
|
135
136
|
|
|
136
137
|
## Connect a Telegram Wallet
|
|
137
138
|
|
package/dist/index.d.ts
CHANGED
|
@@ -98,7 +98,6 @@ export interface EosConnectTelegramOptions {
|
|
|
98
98
|
openLink?: boolean;
|
|
99
99
|
}
|
|
100
100
|
export interface EosConnectWalletFlowOptions extends EosConnectTelegramOptions {
|
|
101
|
-
waitForReady?: boolean;
|
|
102
101
|
pollIntervalMs?: number;
|
|
103
102
|
timeoutMs?: number;
|
|
104
103
|
openExternal?: (url: string) => void;
|
package/dist/index.js
CHANGED
|
@@ -1565,9 +1565,6 @@ export function createEosConnect(options) {
|
|
|
1565
1565
|
openedView = walletViewFromCapability(pendingWalletCapabilityFromState(next), message);
|
|
1566
1566
|
}
|
|
1567
1567
|
}
|
|
1568
|
-
if (flowOptions.waitForReady === false) {
|
|
1569
|
-
return openedView ?? this.refreshWallet();
|
|
1570
|
-
}
|
|
1571
1568
|
const timeoutMs = flowOptions.timeoutMs ?? 120000;
|
|
1572
1569
|
const pollIntervalMs = flowOptions.pollIntervalMs ?? 1500;
|
|
1573
1570
|
const deadline = Date.now() + Math.max(0, timeoutMs);
|