@initia/interwovenkit-react 2.12.0 → 2.12.1

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/dist/index.d.ts CHANGED
@@ -195,6 +195,17 @@ export declare type CreateTestWalletConfig = CreateTestWalletOptions & {
195
195
  maxFeePerGas?: bigint;
196
196
  maxPriorityFeePerGas?: bigint;
197
197
  };
198
+ /**
199
+ * Open a blank window before every signing request and fail with the same error as
200
+ * popup-based wallets (Privy) when the browser blocks it. Lets browser tests check that
201
+ * signing is still inside the click's user activation when the wallet is asked.
202
+ * `delayMs` waits that long before opening the window, which is useful as a negative
203
+ * control since the activation expires during the wait.
204
+ * @default false
205
+ */
206
+ simulatePopup?: boolean | {
207
+ delayMs: number;
208
+ };
198
209
  };
199
210
 
200
211
  /**
@@ -444,6 +455,7 @@ declare class OfflineSigner implements OfflineAminoSigner {
444
455
  private restUrl;
445
456
  constructor(address: string, signMessage: (message: string) => Promise<string>, restUrl: string);
446
457
  private cachedPublicKey;
458
+ private setCachedPublicKey;
447
459
  private getCachedPublicKey;
448
460
  private getPublicKeyFromRestApi;
449
461
  private getPublicKey;