@initia/interwovenkit-react 2.0.3 → 2.0.5

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
@@ -27,6 +27,7 @@ declare interface Config {
27
27
  aminoConverters?: AminoConverters;
28
28
  registryUrl: string;
29
29
  routerApiUrl: string;
30
+ glyphUrl: string;
30
31
  usernamesModuleAddress: string;
31
32
  theme: "light" | "dark";
32
33
  container?: HTMLElement;
@@ -157,14 +158,14 @@ export declare function useInterwovenKit(): {
157
158
  estimateGas: ({ messages, memo, chainId }: TxRequest) => Promise<number>;
158
159
  simulateTx: ({ messages, memo, chainId }: TxRequest) => Promise<SimulateResponse>;
159
160
  requestTxSync: (txRequest: TxRequest) => Promise<string>;
160
- requestTxBlock: (txRequest: TxRequest) => Promise<DeliverTxResponse>;
161
+ requestTxBlock: (txRequest: TxRequest, timeoutMs?: number, intervalMs?: number) => Promise<DeliverTxResponse>;
161
162
  submitTxSync: (txParams: TxParams) => Promise<string>;
162
- submitTxBlock: (txParams: TxParams) => Promise<DeliverTxResponse>;
163
+ submitTxBlock: (txParams: TxParams, timeoutMs?: number, intervalMs?: number) => Promise<DeliverTxResponse>;
163
164
  waitForTxConfirmation: ({ chainId, ...params }: {
164
165
  txHash: string;
165
166
  chainId?: string;
166
- timeoutSeconds?: number;
167
- intervalSeconds?: number;
167
+ timeoutMs?: number;
168
+ intervalMs?: number;
168
169
  }) => Promise<IndexedTx>;
169
170
  address: string;
170
171
  initiaAddress: string;