@skip-go/client 0.14.6 → 0.14.8
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 +7 -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: {
|
|
@@ -1263,6 +1262,7 @@ type MsgsDirectRequestBaseJSON = {
|
|
|
1263
1262
|
smart_swap_options?: SmartSwapOptionsJSON;
|
|
1264
1263
|
allow_swaps?: boolean;
|
|
1265
1264
|
enable_gas_warnings?: boolean;
|
|
1265
|
+
go_fast?: boolean;
|
|
1266
1266
|
};
|
|
1267
1267
|
type MsgsDirectRequestGivenInJSON = MsgsDirectRequestBaseJSON & {
|
|
1268
1268
|
amount_in: string;
|
|
@@ -1296,6 +1296,7 @@ type MsgsDirectRequestBase = {
|
|
|
1296
1296
|
smartSwapOptions?: SmartSwapOptions;
|
|
1297
1297
|
allowSwaps?: boolean;
|
|
1298
1298
|
enableGasWarnings?: boolean;
|
|
1299
|
+
goFast?: boolean;
|
|
1299
1300
|
};
|
|
1300
1301
|
type MsgsDirectRequestGivenIn = MsgsDirectRequestBase & {
|
|
1301
1302
|
amountIn: string;
|
|
@@ -1794,6 +1795,7 @@ type ExecuteCosmosMessage = GasOptions & {
|
|
|
1794
1795
|
messages: CosmosMsg[];
|
|
1795
1796
|
gas: Gas;
|
|
1796
1797
|
onTransactionSigned?: TransactionCallbacks['onTransactionSigned'];
|
|
1798
|
+
onTransactionBroadcast?: TransactionCallbacks['onTransactionBroadcast'];
|
|
1797
1799
|
};
|
|
1798
1800
|
interface SignCosmosMessageOptionsBase {
|
|
1799
1801
|
signerAddress: string;
|
|
@@ -1847,16 +1849,15 @@ declare class SkipClient {
|
|
|
1847
1849
|
stargateClient: SigningStargateClient;
|
|
1848
1850
|
signer: OfflineSigner;
|
|
1849
1851
|
}): Promise<_cosmjs_cosmwasm_stargate.DeliverTxResponse>;
|
|
1850
|
-
executeEVMTransaction({ message, signer,
|
|
1852
|
+
executeEVMTransaction({ message, signer, options, }: {
|
|
1851
1853
|
message: EvmTx;
|
|
1852
1854
|
signer: WalletClient;
|
|
1853
|
-
|
|
1854
|
-
onApproveAllowance?: TransactionCallbacks['onApproveAllowance'];
|
|
1855
|
+
options: ExecuteRouteOptions;
|
|
1855
1856
|
}): Promise<viem.TransactionReceipt>;
|
|
1856
|
-
executeSVMTransaction({ signer, message,
|
|
1857
|
+
executeSVMTransaction({ signer, message, options: options, }: {
|
|
1857
1858
|
signer: Adapter;
|
|
1858
1859
|
message: SvmTx;
|
|
1859
|
-
|
|
1860
|
+
options: ExecuteRouteOptions;
|
|
1860
1861
|
}): Promise<string>;
|
|
1861
1862
|
signCosmosMessageDirect(options: SignCosmosMessageDirectOptions): Promise<TxRaw>;
|
|
1862
1863
|
private signCosmosMessageDirectEvmos;
|