@skip-go/client 0.4.3 → 0.5.1
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/{chunk-6AMBIQDN.js → chunk-IEAKY5XG.js} +8 -4
- package/dist/{chunk-PV2ELBDQ.js → chunk-TUX4SN3U.js} +749 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2375 -255
- package/dist/{shared-UW-rSz3r.d.ts → shared-CvoSvr3u.d.ts} +4 -0
- package/dist/transactions.d.ts +1 -1
- package/dist/transactions.js +5 -5
- package/dist/types.d.ts +2 -2
- package/dist/types.js +159 -159
- package/package.json +1 -1
|
@@ -768,7 +768,8 @@ function msgsRequestFromJSON(msgsRequestJSON) {
|
|
|
768
768
|
slippageTolerancePercent: msgsRequestJSON.slippage_tolerance_percent,
|
|
769
769
|
affiliates: (_a = msgsRequestJSON.affiliates) == null ? void 0 : _a.map(affiliateFromJSON),
|
|
770
770
|
chainIDsToAffiliates: msgsRequestJSON.chain_ids_to_affiliates ? chainIDsToAffiliatesMapFromJSON(msgsRequestJSON.chain_ids_to_affiliates) : void 0,
|
|
771
|
-
postRouteHandler: msgsRequestJSON.post_route_handler && postHandlerFromJSON(msgsRequestJSON.post_route_handler)
|
|
771
|
+
postRouteHandler: msgsRequestJSON.post_route_handler && postHandlerFromJSON(msgsRequestJSON.post_route_handler),
|
|
772
|
+
enableGasWarnings: msgsRequestJSON.enable_gas_warnings
|
|
772
773
|
};
|
|
773
774
|
}
|
|
774
775
|
function msgsRequestToJSON(msgsRequest) {
|
|
@@ -786,7 +787,8 @@ function msgsRequestToJSON(msgsRequest) {
|
|
|
786
787
|
slippage_tolerance_percent: msgsRequest.slippageTolerancePercent,
|
|
787
788
|
affiliates: (_a = msgsRequest.affiliates) == null ? void 0 : _a.map(affiliateToJSON),
|
|
788
789
|
chain_ids_to_affiliates: msgsRequest.chainIDsToAffiliates ? chainIDsToAffiliatesMapToJSON(msgsRequest.chainIDsToAffiliates) : void 0,
|
|
789
|
-
post_route_handler: msgsRequest.postRouteHandler && postHandlerToJSON(msgsRequest.postRouteHandler)
|
|
790
|
+
post_route_handler: msgsRequest.postRouteHandler && postHandlerToJSON(msgsRequest.postRouteHandler),
|
|
791
|
+
enable_gas_warnings: msgsRequest.enableGasWarnings
|
|
790
792
|
};
|
|
791
793
|
}
|
|
792
794
|
function multiChainMsgFromJSON(multiChainMsgJSON) {
|
|
@@ -1642,7 +1644,8 @@ function msgsDirectRequestFromJSON(msgDirectRequestJSON) {
|
|
|
1642
1644
|
swapVenues: msgDirectRequestJSON.swap_venues && msgDirectRequestJSON.swap_venues.map(swapVenueFromJSON),
|
|
1643
1645
|
smartRelay: msgDirectRequestJSON.smart_relay,
|
|
1644
1646
|
smartSwapOptions: msgDirectRequestJSON.smart_swap_options ? smartSwapOptionsFromJSON(msgDirectRequestJSON.smart_swap_options) : void 0,
|
|
1645
|
-
allowSwaps: msgDirectRequestJSON.allow_swaps
|
|
1647
|
+
allowSwaps: msgDirectRequestJSON.allow_swaps,
|
|
1648
|
+
enableGasWarnings: msgDirectRequestJSON.enable_gas_warnings
|
|
1646
1649
|
};
|
|
1647
1650
|
}
|
|
1648
1651
|
function msgsDirectRequestToJSON(msgDirectRequest) {
|
|
@@ -1668,7 +1671,8 @@ function msgsDirectRequestToJSON(msgDirectRequest) {
|
|
|
1668
1671
|
post_route_handler: msgDirectRequest.postRouteHandler && postHandlerToJSON(msgDirectRequest.postRouteHandler),
|
|
1669
1672
|
smart_relay: msgDirectRequest.smartRelay,
|
|
1670
1673
|
smart_swap_options: msgDirectRequest.smartSwapOptions ? smartSwapOptionsToJSON(msgDirectRequest.smartSwapOptions) : void 0,
|
|
1671
|
-
allow_swaps: msgDirectRequest.allowSwaps
|
|
1674
|
+
allow_swaps: msgDirectRequest.allowSwaps,
|
|
1675
|
+
enable_gas_warnings: msgDirectRequest.enableGasWarnings
|
|
1672
1676
|
};
|
|
1673
1677
|
}
|
|
1674
1678
|
function smartSwapOptionsFromJSON(smartSwapOptionsJSON) {
|