@eos3/connect 0.1.9 → 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 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. Pass `waitForReady: false` if
134
- your UI should return immediately after opening the binding page.
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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eos3/connect",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Framework-neutral browser SDK for EOS Passkey Connect in Telegram Mini Apps.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",