@skip-go/client 0.16.13 → 0.16.15
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 +8 -1
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1285,6 +1285,7 @@ type MsgsRequestJSON = {
|
|
|
1285
1285
|
chain_ids_to_affiliates?: Record<string, ChainAffiliatesJSON>;
|
|
1286
1286
|
post_route_handler?: PostHandlerJSON;
|
|
1287
1287
|
enable_gas_warnings?: boolean;
|
|
1288
|
+
timeout_seconds?: string;
|
|
1288
1289
|
};
|
|
1289
1290
|
type MsgsRequest = {
|
|
1290
1291
|
sourceAssetDenom: string;
|
|
@@ -1304,6 +1305,7 @@ type MsgsRequest = {
|
|
|
1304
1305
|
chainIDsToAffiliates?: Record<string, ChainAffiliates>;
|
|
1305
1306
|
postRouteHandler?: PostHandler;
|
|
1306
1307
|
enableGasWarnings?: boolean;
|
|
1308
|
+
timeoutSeconds?: string;
|
|
1307
1309
|
};
|
|
1308
1310
|
type MsgsDirectRequestBaseJSON = {
|
|
1309
1311
|
source_asset_denom: string;
|
|
@@ -1844,7 +1846,7 @@ interface SkipClientOptions extends SignerGetters {
|
|
|
1844
1846
|
cacheDurationMs?: number;
|
|
1845
1847
|
}
|
|
1846
1848
|
/** Execute Route Options */
|
|
1847
|
-
type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & {
|
|
1849
|
+
type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & Pick<MsgsRequest, "timeoutSeconds"> & {
|
|
1848
1850
|
route: RouteResponse;
|
|
1849
1851
|
/**
|
|
1850
1852
|
* Addresses should be in the same order with the `chainIDs` in the `route`
|
|
@@ -1857,6 +1859,11 @@ type ExecuteRouteOptions = SignerGetters & GasOptions & TransactionCallbacks & {
|
|
|
1857
1859
|
*/
|
|
1858
1860
|
beforeMsg?: CosmosMsg;
|
|
1859
1861
|
afterMsg?: CosmosMsg;
|
|
1862
|
+
/**
|
|
1863
|
+
* Set allowance amount to max if EVM transaction requires allowance approval.
|
|
1864
|
+
*/
|
|
1865
|
+
useUnlimitedApproval?: boolean;
|
|
1866
|
+
/**
|
|
1860
1867
|
/**
|
|
1861
1868
|
* If `skipApproval` is set to `true`, the router will bypass checking whether
|
|
1862
1869
|
* the signer has granted approval for the specified token contract on an EVM chain.
|