@initia/interwovenkit-react 2.6.0 → 2.9.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.
package/dist/index.d.ts CHANGED
@@ -344,6 +344,10 @@ export declare const DEFAULT_GAS_ADJUSTMENT = 1.4;
344
344
 
345
345
  export declare const DEFAULT_GAS_PRICE_MULTIPLIER = 1.05;
346
346
 
347
+ declare interface EnableAutoSignOptions {
348
+ defaultDuration?: number;
349
+ }
350
+
347
351
  declare interface FormValues {
348
352
  srcChainId: string;
349
353
  srcDenom: string;
@@ -505,7 +509,7 @@ export declare function useInterwovenKit(): {
505
509
  disconnect: () => void;
506
510
  autoSign: {
507
511
  isLoading: boolean;
508
- enable: (chainId?: string) => Promise<void>;
512
+ enable: (chainId?: string, options?: EnableAutoSignOptions) => Promise<void>;
509
513
  disable: (chainId?: string) => Promise<void>;
510
514
  expiredAtByChain: Record<string, Date | null | undefined>;
511
515
  isEnabledByChain: Record<string, boolean>;