@skip-go/client 0.14.6 → 0.14.7
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 +5 -6
- package/dist/index.js +9 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -379,7 +379,6 @@ type TransferEvent = {
|
|
|
379
379
|
type CallbackStatus = 'success' | 'error' | 'pending' | 'completed';
|
|
380
380
|
interface TransactionCallbacks {
|
|
381
381
|
onTransactionSigned?: (txInfo: {
|
|
382
|
-
txHash: string;
|
|
383
382
|
chainID: string;
|
|
384
383
|
}) => Promise<void>;
|
|
385
384
|
onTransactionBroadcast?: (txInfo: {
|
|
@@ -1794,6 +1793,7 @@ type ExecuteCosmosMessage = GasOptions & {
|
|
|
1794
1793
|
messages: CosmosMsg[];
|
|
1795
1794
|
gas: Gas;
|
|
1796
1795
|
onTransactionSigned?: TransactionCallbacks['onTransactionSigned'];
|
|
1796
|
+
onTransactionBroadcast?: TransactionCallbacks['onTransactionBroadcast'];
|
|
1797
1797
|
};
|
|
1798
1798
|
interface SignCosmosMessageOptionsBase {
|
|
1799
1799
|
signerAddress: string;
|
|
@@ -1847,16 +1847,15 @@ declare class SkipClient {
|
|
|
1847
1847
|
stargateClient: SigningStargateClient;
|
|
1848
1848
|
signer: OfflineSigner;
|
|
1849
1849
|
}): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
|
|
1850
|
-
executeEVMTransaction({ message, signer,
|
|
1850
|
+
executeEVMTransaction({ message, signer, options, }: {
|
|
1851
1851
|
message: EvmTx;
|
|
1852
1852
|
signer: WalletClient;
|
|
1853
|
-
|
|
1854
|
-
onApproveAllowance?: TransactionCallbacks['onApproveAllowance'];
|
|
1853
|
+
options: ExecuteRouteOptions;
|
|
1855
1854
|
}): Promise<viem.TransactionReceipt>;
|
|
1856
|
-
executeSVMTransaction({ signer, message,
|
|
1855
|
+
executeSVMTransaction({ signer, message, options: options, }: {
|
|
1857
1856
|
signer: Adapter;
|
|
1858
1857
|
message: SvmTx;
|
|
1859
|
-
|
|
1858
|
+
options: ExecuteRouteOptions;
|
|
1860
1859
|
}): Promise<string>;
|
|
1861
1860
|
signCosmosMessageDirect(options: SignCosmosMessageDirectOptions): Promise<TxRaw>;
|
|
1862
1861
|
private signCosmosMessageDirectEvmos;
|