opentool 0.13.0 → 0.14.0
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/adapters/hyperliquid/browser.js +10 -10
- package/dist/adapters/hyperliquid/browser.js.map +1 -1
- package/dist/adapters/hyperliquid/index.js +7 -7
- package/dist/adapters/hyperliquid/index.js.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/wallet/browser.js +3 -2
- package/dist/wallet/browser.js.map +1 -1
- package/package.json +1 -1
- package/templates/base/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3055,7 +3055,7 @@ async function placeHyperliquidTwapOrder(options) {
|
|
|
3055
3055
|
symbol: twap.symbol,
|
|
3056
3056
|
baseUrl: API_BASES[env],
|
|
3057
3057
|
environment: env,
|
|
3058
|
-
fetcher: fetch
|
|
3058
|
+
fetcher: (...args) => fetch(...args)
|
|
3059
3059
|
});
|
|
3060
3060
|
const action = {
|
|
3061
3061
|
type: "twapOrder",
|
|
@@ -3077,7 +3077,7 @@ async function cancelHyperliquidTwapOrder(options) {
|
|
|
3077
3077
|
symbol: options.cancel.symbol,
|
|
3078
3078
|
baseUrl: API_BASES[env],
|
|
3079
3079
|
environment: env,
|
|
3080
|
-
fetcher: fetch
|
|
3080
|
+
fetcher: (...args) => fetch(...args)
|
|
3081
3081
|
});
|
|
3082
3082
|
const action = {
|
|
3083
3083
|
type: "twapCancel",
|
|
@@ -3094,7 +3094,7 @@ async function updateHyperliquidLeverage(options) {
|
|
|
3094
3094
|
symbol: options.input.symbol,
|
|
3095
3095
|
baseUrl: API_BASES[env],
|
|
3096
3096
|
environment: env,
|
|
3097
|
-
fetcher: fetch
|
|
3097
|
+
fetcher: (...args) => fetch(...args)
|
|
3098
3098
|
});
|
|
3099
3099
|
const action = {
|
|
3100
3100
|
type: "updateLeverage",
|
|
@@ -3112,7 +3112,7 @@ async function updateHyperliquidIsolatedMargin(options) {
|
|
|
3112
3112
|
symbol: options.input.symbol,
|
|
3113
3113
|
baseUrl: API_BASES[env],
|
|
3114
3114
|
environment: env,
|
|
3115
|
-
fetcher: fetch
|
|
3115
|
+
fetcher: (...args) => fetch(...args)
|
|
3116
3116
|
});
|
|
3117
3117
|
const action = {
|
|
3118
3118
|
type: "updateIsolatedMargin",
|
|
@@ -3227,7 +3227,7 @@ async function withAssetIndexes(options, entries, mapper) {
|
|
|
3227
3227
|
symbol: entry.symbol,
|
|
3228
3228
|
baseUrl: API_BASES[env],
|
|
3229
3229
|
environment: env,
|
|
3230
|
-
fetcher: fetch
|
|
3230
|
+
fetcher: (...args) => fetch(...args)
|
|
3231
3231
|
});
|
|
3232
3232
|
return mapper(assetIndex, entry);
|
|
3233
3233
|
})
|
|
@@ -3242,7 +3242,7 @@ async function buildOrder(intent, options) {
|
|
|
3242
3242
|
symbol: intent.symbol,
|
|
3243
3243
|
baseUrl: API_BASES[env],
|
|
3244
3244
|
environment: env,
|
|
3245
|
-
fetcher: fetch
|
|
3245
|
+
fetcher: (...args) => fetch(...args)
|
|
3246
3246
|
});
|
|
3247
3247
|
const limitOrTrigger = intent.trigger ? mapTrigger(intent.trigger) : {
|
|
3248
3248
|
limit: {
|
|
@@ -4617,7 +4617,7 @@ async function placeHyperliquidOrder(options) {
|
|
|
4617
4617
|
symbol: intent.symbol,
|
|
4618
4618
|
baseUrl: resolvedBaseUrl,
|
|
4619
4619
|
environment: inferredEnvironment,
|
|
4620
|
-
fetcher: fetch
|
|
4620
|
+
fetcher: (...args) => fetch(...args)
|
|
4621
4621
|
});
|
|
4622
4622
|
const limitOrTrigger = intent.trigger ? {
|
|
4623
4623
|
trigger: {
|