@initia/interwovenkit-react 2.0.3 → 2.0.4

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
@@ -157,14 +157,14 @@ export declare function useInterwovenKit(): {
157
157
  estimateGas: ({ messages, memo, chainId }: TxRequest) => Promise<number>;
158
158
  simulateTx: ({ messages, memo, chainId }: TxRequest) => Promise<SimulateResponse>;
159
159
  requestTxSync: (txRequest: TxRequest) => Promise<string>;
160
- requestTxBlock: (txRequest: TxRequest) => Promise<DeliverTxResponse>;
160
+ requestTxBlock: (txRequest: TxRequest, timeoutMs?: number, intervalMs?: number) => Promise<DeliverTxResponse>;
161
161
  submitTxSync: (txParams: TxParams) => Promise<string>;
162
- submitTxBlock: (txParams: TxParams) => Promise<DeliverTxResponse>;
162
+ submitTxBlock: (txParams: TxParams, timeoutMs?: number, intervalMs?: number) => Promise<DeliverTxResponse>;
163
163
  waitForTxConfirmation: ({ chainId, ...params }: {
164
164
  txHash: string;
165
165
  chainId?: string;
166
- timeoutSeconds?: number;
167
- intervalSeconds?: number;
166
+ timeoutMs?: number;
167
+ intervalMs?: number;
168
168
  }) => Promise<IndexedTx>;
169
169
  address: string;
170
170
  initiaAddress: string;