@strkfarm/sdk 1.1.80 → 1.1.82
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.browser.global.js +110 -86
- package/dist/index.browser.mjs +34 -10
- package/dist/index.d.ts +4 -0
- package/dist/index.js +34 -10
- package/dist/index.mjs +34 -10
- package/package.json +1 -1
- package/src/strategies/ekubo-cl-vault.tsx +2 -0
- package/src/strategies/universal-adapters/vesu-adapter.ts +1 -1
- package/src/strategies/universal-lst-muliplier-strategy.tsx +39 -9
- package/src/strategies/universal-strategy.tsx +1 -1
- package/src/strategies/vesu-rebalance.tsx +2 -2
|
@@ -39293,7 +39293,7 @@ ${indent2}}` : "}";
|
|
|
39293
39293
|
var _0n6 = BigInt(0);
|
|
39294
39294
|
var Point = secp256k1.ProjectivePoint;
|
|
39295
39295
|
|
|
39296
|
-
// node_modules/.pnpm/starknet@9.2.1_typescript@5.9.3/node_modules/starknet/dist/index.mjs
|
|
39296
|
+
// node_modules/.pnpm/starknet@9.2.1_typescript@5.9.3_zod@4.3.6/node_modules/starknet/dist/index.mjs
|
|
39297
39297
|
init_esm();
|
|
39298
39298
|
var __defProp2 = Object.defineProperty;
|
|
39299
39299
|
var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
|
|
@@ -49657,7 +49657,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
49657
49657
|
return "0x" + result2;
|
|
49658
49658
|
}
|
|
49659
49659
|
|
|
49660
|
-
// node_modules/.pnpm/@avnu+avnu-sdk@3.0.2_ethers@6.16.0_moment@2.30.1_qs@6.14.0_starknet@9.2.1_typescript@5.9.
|
|
49660
|
+
// node_modules/.pnpm/@avnu+avnu-sdk@3.0.2_ethers@6.16.0_moment@2.30.1_qs@6.14.0_starknet@9.2.1_typescript@5.9.3_zod@4.3.6_/node_modules/@avnu/avnu-sdk/dist/index.mjs
|
|
49661
49661
|
var import_qs = __toESM(require_lib(), 1);
|
|
49662
49662
|
var BASE_URL = "https://starknet.api.avnu.fi";
|
|
49663
49663
|
var ContractError = class {
|
|
@@ -61573,7 +61573,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
61573
61573
|
};
|
|
61574
61574
|
}
|
|
61575
61575
|
static async getAllPossibleVerifiedPools(asset) {
|
|
61576
|
-
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.
|
|
61576
|
+
const data = await getAPIUsingHeadlessBrowser(`${ENDPOINTS.VESU_BASE}/pools`);
|
|
61577
61577
|
const verifiedPools = data.data.filter((d) => d.isVerified);
|
|
61578
61578
|
const pools = verifiedPools.map((p) => {
|
|
61579
61579
|
const hasMyAsset = p.assets.find((a) => asset.eqString(a.address));
|
|
@@ -61750,7 +61750,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
61750
61750
|
let pools = [];
|
|
61751
61751
|
try {
|
|
61752
61752
|
const data = await getAPIUsingHeadlessBrowser(
|
|
61753
|
-
`${ENDPOINTS.
|
|
61753
|
+
`${ENDPOINTS.VESU_BASE}/pools`
|
|
61754
61754
|
);
|
|
61755
61755
|
pools = data.data;
|
|
61756
61756
|
for (const pool of vesu_pools_default.data) {
|
|
@@ -67384,10 +67384,10 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67384
67384
|
return old;
|
|
67385
67385
|
}
|
|
67386
67386
|
|
|
67387
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67387
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/version.js
|
|
67388
67388
|
var version4 = "3.11.8";
|
|
67389
67389
|
|
|
67390
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67390
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/maybe.js
|
|
67391
67391
|
function maybe(thunk) {
|
|
67392
67392
|
try {
|
|
67393
67393
|
return thunk();
|
|
@@ -67395,7 +67395,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67395
67395
|
}
|
|
67396
67396
|
}
|
|
67397
67397
|
|
|
67398
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67398
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/global.js
|
|
67399
67399
|
var global_default = maybe(function() {
|
|
67400
67400
|
return globalThis;
|
|
67401
67401
|
}) || maybe(function() {
|
|
@@ -67414,7 +67414,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67414
67414
|
return maybe.constructor("return this")();
|
|
67415
67415
|
});
|
|
67416
67416
|
|
|
67417
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67417
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/makeUniqueId.js
|
|
67418
67418
|
var prefixCounts = /* @__PURE__ */ new Map();
|
|
67419
67419
|
function makeUniqueId(prefix) {
|
|
67420
67420
|
var count = prefixCounts.get(prefix) || 1;
|
|
@@ -67422,7 +67422,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67422
67422
|
return "".concat(prefix, ":").concat(count, ":").concat(Math.random().toString(36).slice(2));
|
|
67423
67423
|
}
|
|
67424
67424
|
|
|
67425
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67425
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js
|
|
67426
67426
|
function stringifyForDisplay(value, space) {
|
|
67427
67427
|
if (space === void 0) {
|
|
67428
67428
|
space = 0;
|
|
@@ -67433,7 +67433,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67433
67433
|
}, space).split(JSON.stringify(undefId)).join("<undefined>");
|
|
67434
67434
|
}
|
|
67435
67435
|
|
|
67436
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67436
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/invariantWrappers.js
|
|
67437
67437
|
function wrap(fn) {
|
|
67438
67438
|
return function(message) {
|
|
67439
67439
|
var args = [];
|
|
@@ -67504,7 +67504,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
67504
67504
|
})));
|
|
67505
67505
|
}
|
|
67506
67506
|
|
|
67507
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
67507
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/index.js
|
|
67508
67508
|
var DEV = globalThis.__DEV__ !== false;
|
|
67509
67509
|
|
|
67510
67510
|
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/devAssert.mjs
|
|
@@ -70579,7 +70579,7 @@ spurious results.`);
|
|
|
70579
70579
|
return node.kind === Kind.FIELD || node.kind === Kind.FRAGMENT_SPREAD || node.kind === Kind.INLINE_FRAGMENT;
|
|
70580
70580
|
}
|
|
70581
70581
|
|
|
70582
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
70582
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/directives.js
|
|
70583
70583
|
function shouldInclude(_a21, variables) {
|
|
70584
70584
|
var directives = _a21.directives;
|
|
70585
70585
|
if (!directives || !directives.length) {
|
|
@@ -70707,7 +70707,7 @@ spurious results.`);
|
|
|
70707
70707
|
return false;
|
|
70708
70708
|
}
|
|
70709
70709
|
|
|
70710
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
70710
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/canUse.js
|
|
70711
70711
|
var isReactNative = maybe(function() {
|
|
70712
70712
|
return navigator.product;
|
|
70713
70713
|
}) == "ReactNative";
|
|
@@ -70732,12 +70732,12 @@ spurious results.`);
|
|
|
70732
70732
|
}) || false
|
|
70733
70733
|
);
|
|
70734
70734
|
|
|
70735
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
70735
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/objects.js
|
|
70736
70736
|
function isNonNullObject(obj) {
|
|
70737
70737
|
return obj !== null && typeof obj === "object";
|
|
70738
70738
|
}
|
|
70739
70739
|
|
|
70740
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
70740
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/fragments.js
|
|
70741
70741
|
function getFragmentQueryDocument(document2, fragmentName) {
|
|
70742
70742
|
var actualFragmentName = fragmentName;
|
|
70743
70743
|
var fragments = [];
|
|
@@ -71033,7 +71033,7 @@ spurious results.`);
|
|
|
71033
71033
|
}
|
|
71034
71034
|
};
|
|
71035
71035
|
|
|
71036
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71036
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/caching/caches.js
|
|
71037
71037
|
var scheduledCleanup = /* @__PURE__ */ new WeakSet();
|
|
71038
71038
|
function schedule(cache) {
|
|
71039
71039
|
if (cache.size <= (cache.max || -1)) {
|
|
@@ -71066,11 +71066,11 @@ spurious results.`);
|
|
|
71066
71066
|
return cache;
|
|
71067
71067
|
};
|
|
71068
71068
|
|
|
71069
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71069
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/caching/sizes.js
|
|
71070
71070
|
var cacheSizeSymbol = /* @__PURE__ */ Symbol.for("apollo.cacheSize");
|
|
71071
71071
|
var cacheSizes = __assign({}, global_default[cacheSizeSymbol]);
|
|
71072
71072
|
|
|
71073
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71073
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js
|
|
71074
71074
|
var globalCaches = {};
|
|
71075
71075
|
function registerGlobalCache(name, getSize) {
|
|
71076
71076
|
globalCaches[name] = getSize;
|
|
@@ -71160,7 +71160,7 @@ spurious results.`);
|
|
|
71160
71160
|
], linkInfo(link === null || link === void 0 ? void 0 : link.left), true), linkInfo(link === null || link === void 0 ? void 0 : link.right), true).filter(isDefined) : [];
|
|
71161
71161
|
}
|
|
71162
71162
|
|
|
71163
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71163
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/canonicalStringify.js
|
|
71164
71164
|
var canonicalStringify = Object.assign(function canonicalStringify2(value) {
|
|
71165
71165
|
return JSON.stringify(value, stableObjectReplacer);
|
|
71166
71166
|
}, {
|
|
@@ -71207,7 +71207,7 @@ spurious results.`);
|
|
|
71207
71207
|
return i === 0 || keys[i - 1] <= key;
|
|
71208
71208
|
}
|
|
71209
71209
|
|
|
71210
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71210
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/storeUtils.js
|
|
71211
71211
|
function makeReference(id) {
|
|
71212
71212
|
return { __ref: String(id) };
|
|
71213
71213
|
}
|
|
@@ -71392,7 +71392,7 @@ spurious results.`);
|
|
|
71392
71392
|
return selection.kind === "InlineFragment";
|
|
71393
71393
|
}
|
|
71394
71394
|
|
|
71395
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71395
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/getFromAST.js
|
|
71396
71396
|
function checkDocument(doc) {
|
|
71397
71397
|
invariant2(doc && doc.kind === "Document", 77);
|
|
71398
71398
|
var operations = doc.definitions.filter(function(d) {
|
|
@@ -71951,7 +71951,7 @@ spurious results.`);
|
|
|
71951
71951
|
return Object.freeze(optimistic);
|
|
71952
71952
|
}
|
|
71953
71953
|
|
|
71954
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
71954
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js
|
|
71955
71955
|
function identity(document2) {
|
|
71956
71956
|
return document2;
|
|
71957
71957
|
}
|
|
@@ -72035,7 +72035,7 @@ spurious results.`);
|
|
|
72035
72035
|
})()
|
|
72036
72036
|
);
|
|
72037
72037
|
|
|
72038
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
72038
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/print.js
|
|
72039
72039
|
var printCache;
|
|
72040
72040
|
var print2 = Object.assign(function(ast) {
|
|
72041
72041
|
var result2 = printCache.get(ast);
|
|
@@ -72059,13 +72059,13 @@ spurious results.`);
|
|
|
72059
72059
|
});
|
|
72060
72060
|
}
|
|
72061
72061
|
|
|
72062
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
72062
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/arrays.js
|
|
72063
72063
|
var isArray2 = Array.isArray;
|
|
72064
72064
|
function isNonEmptyArray(value) {
|
|
72065
72065
|
return Array.isArray(value) && value.length > 0;
|
|
72066
72066
|
}
|
|
72067
72067
|
|
|
72068
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
72068
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/transform.js
|
|
72069
72069
|
var TYPENAME_FIELD = {
|
|
72070
72070
|
kind: Kind.FIELD,
|
|
72071
72071
|
name: {
|
|
@@ -72357,7 +72357,7 @@ spurious results.`);
|
|
|
72357
72357
|
return modifiedDoc;
|
|
72358
72358
|
}
|
|
72359
72359
|
|
|
72360
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
72360
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/mergeDeep.js
|
|
72361
72361
|
var hasOwnProperty4 = Object.prototype.hasOwnProperty;
|
|
72362
72362
|
function mergeDeep() {
|
|
72363
72363
|
var sources = [];
|
|
@@ -72993,7 +72993,7 @@ spurious results.`);
|
|
|
72993
72993
|
}
|
|
72994
72994
|
var result = symbolObservablePonyfill(root);
|
|
72995
72995
|
|
|
72996
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
72996
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/Observable.js
|
|
72997
72997
|
var prototype3 = Observable.prototype;
|
|
72998
72998
|
var fakeObsSymbol = "@@observable";
|
|
72999
72999
|
if (!prototype3[fakeObsSymbol]) {
|
|
@@ -73002,7 +73002,7 @@ spurious results.`);
|
|
|
73002
73002
|
};
|
|
73003
73003
|
}
|
|
73004
73004
|
|
|
73005
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73005
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/cloneDeep.js
|
|
73006
73006
|
var toString4 = Object.prototype.toString;
|
|
73007
73007
|
function cloneDeep(value) {
|
|
73008
73008
|
return cloneDeepHelper(value);
|
|
@@ -73036,7 +73036,7 @@ spurious results.`);
|
|
|
73036
73036
|
}
|
|
73037
73037
|
}
|
|
73038
73038
|
|
|
73039
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73039
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/maybeDeepFreeze.js
|
|
73040
73040
|
function deepFreeze(value) {
|
|
73041
73041
|
var workSet = /* @__PURE__ */ new Set([value]);
|
|
73042
73042
|
workSet.forEach(function(obj) {
|
|
@@ -73068,7 +73068,7 @@ spurious results.`);
|
|
|
73068
73068
|
return obj;
|
|
73069
73069
|
}
|
|
73070
73070
|
|
|
73071
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73071
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/iteration.js
|
|
73072
73072
|
function iterateObserversSafely(observers, method, argument) {
|
|
73073
73073
|
var observersWithMethod = [];
|
|
73074
73074
|
observers.forEach(function(obs) {
|
|
@@ -73079,7 +73079,7 @@ spurious results.`);
|
|
|
73079
73079
|
});
|
|
73080
73080
|
}
|
|
73081
73081
|
|
|
73082
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73082
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/asyncMap.js
|
|
73083
73083
|
function asyncMap(observable, mapFn, catchFn) {
|
|
73084
73084
|
return new Observable(function(observer) {
|
|
73085
73085
|
var promiseQueue = {
|
|
@@ -73127,7 +73127,7 @@ spurious results.`);
|
|
|
73127
73127
|
});
|
|
73128
73128
|
}
|
|
73129
73129
|
|
|
73130
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73130
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/subclassing.js
|
|
73131
73131
|
function fixObservableSubclass(subclass) {
|
|
73132
73132
|
function set(key) {
|
|
73133
73133
|
Object.defineProperty(subclass, key, { value: Observable });
|
|
@@ -73139,7 +73139,7 @@ spurious results.`);
|
|
|
73139
73139
|
return subclass;
|
|
73140
73140
|
}
|
|
73141
73141
|
|
|
73142
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73142
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/Concast.js
|
|
73143
73143
|
function isPromiseLike(value) {
|
|
73144
73144
|
return value && typeof value.then === "function";
|
|
73145
73145
|
}
|
|
@@ -73280,7 +73280,7 @@ spurious results.`);
|
|
|
73280
73280
|
);
|
|
73281
73281
|
fixObservableSubclass(Concast);
|
|
73282
73282
|
|
|
73283
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73283
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/incrementalResult.js
|
|
73284
73284
|
function isExecutionPatchIncrementalResult(value) {
|
|
73285
73285
|
return "incremental" in value;
|
|
73286
73286
|
}
|
|
@@ -73312,7 +73312,7 @@ spurious results.`);
|
|
|
73312
73312
|
return mergedData;
|
|
73313
73313
|
}
|
|
73314
73314
|
|
|
73315
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73315
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/errorHandling.js
|
|
73316
73316
|
function graphQLResultHasError(result2) {
|
|
73317
73317
|
var errors2 = getGraphQLErrorsFromResult(result2);
|
|
73318
73318
|
return isNonEmptyArray(errors2);
|
|
@@ -73329,7 +73329,7 @@ spurious results.`);
|
|
|
73329
73329
|
return graphQLErrors;
|
|
73330
73330
|
}
|
|
73331
73331
|
|
|
73332
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73332
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/compact.js
|
|
73333
73333
|
function compact() {
|
|
73334
73334
|
var objects = [];
|
|
73335
73335
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -73349,21 +73349,21 @@ spurious results.`);
|
|
|
73349
73349
|
return result2;
|
|
73350
73350
|
}
|
|
73351
73351
|
|
|
73352
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73352
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/utilities/common/mergeOptions.js
|
|
73353
73353
|
function mergeOptions(defaults2, options) {
|
|
73354
73354
|
return compact(defaults2, options, options.variables && {
|
|
73355
73355
|
variables: compact(__assign(__assign({}, defaults2 && defaults2.variables), options.variables))
|
|
73356
73356
|
});
|
|
73357
73357
|
}
|
|
73358
73358
|
|
|
73359
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73359
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/utils/fromError.js
|
|
73360
73360
|
function fromError(errorValue) {
|
|
73361
73361
|
return new Observable(function(observer) {
|
|
73362
73362
|
observer.error(errorValue);
|
|
73363
73363
|
});
|
|
73364
73364
|
}
|
|
73365
73365
|
|
|
73366
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73366
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/utils/throwServerError.js
|
|
73367
73367
|
var throwServerError = function(response, result2, message) {
|
|
73368
73368
|
var error2 = new Error(message);
|
|
73369
73369
|
error2.name = "ServerError";
|
|
@@ -73373,7 +73373,7 @@ spurious results.`);
|
|
|
73373
73373
|
throw error2;
|
|
73374
73374
|
};
|
|
73375
73375
|
|
|
73376
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73376
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/utils/validateOperation.js
|
|
73377
73377
|
function validateOperation(operation) {
|
|
73378
73378
|
var OPERATION_FIELDS = [
|
|
73379
73379
|
"query",
|
|
@@ -73391,7 +73391,7 @@ spurious results.`);
|
|
|
73391
73391
|
return operation;
|
|
73392
73392
|
}
|
|
73393
73393
|
|
|
73394
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73394
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/utils/createOperation.js
|
|
73395
73395
|
function createOperation(starting, operation) {
|
|
73396
73396
|
var context = __assign({}, starting);
|
|
73397
73397
|
var setContext = function(next) {
|
|
@@ -73415,7 +73415,7 @@ spurious results.`);
|
|
|
73415
73415
|
return operation;
|
|
73416
73416
|
}
|
|
73417
73417
|
|
|
73418
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73418
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/utils/transformOperation.js
|
|
73419
73419
|
function transformOperation(operation) {
|
|
73420
73420
|
var transformedOperation = {
|
|
73421
73421
|
variables: operation.variables || {},
|
|
@@ -73429,7 +73429,7 @@ spurious results.`);
|
|
|
73429
73429
|
return transformedOperation;
|
|
73430
73430
|
}
|
|
73431
73431
|
|
|
73432
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73432
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/utils/filterOperationVariables.js
|
|
73433
73433
|
function filterOperationVariables(variables, query) {
|
|
73434
73434
|
var result2 = __assign({}, variables);
|
|
73435
73435
|
var unusedNames = new Set(Object.keys(variables));
|
|
@@ -73446,7 +73446,7 @@ spurious results.`);
|
|
|
73446
73446
|
return result2;
|
|
73447
73447
|
}
|
|
73448
73448
|
|
|
73449
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73449
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/core/ApolloLink.js
|
|
73450
73450
|
function passthrough(op, forward) {
|
|
73451
73451
|
return forward ? forward(op) : Observable.of();
|
|
73452
73452
|
}
|
|
@@ -73540,10 +73540,10 @@ spurious results.`);
|
|
|
73540
73540
|
})()
|
|
73541
73541
|
);
|
|
73542
73542
|
|
|
73543
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73543
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/core/execute.js
|
|
73544
73544
|
var execute = ApolloLink.execute;
|
|
73545
73545
|
|
|
73546
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73546
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/async.js
|
|
73547
73547
|
function asyncIterator(source) {
|
|
73548
73548
|
var _a21;
|
|
73549
73549
|
var iterator2 = source[Symbol.asyncIterator]();
|
|
@@ -73556,7 +73556,7 @@ spurious results.`);
|
|
|
73556
73556
|
}, _a21;
|
|
73557
73557
|
}
|
|
73558
73558
|
|
|
73559
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73559
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/nodeStream.js
|
|
73560
73560
|
function nodeStreamIterator(stream) {
|
|
73561
73561
|
var cleanup = null;
|
|
73562
73562
|
var error2 = null;
|
|
@@ -73627,7 +73627,7 @@ spurious results.`);
|
|
|
73627
73627
|
return iterator2;
|
|
73628
73628
|
}
|
|
73629
73629
|
|
|
73630
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73630
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/promise.js
|
|
73631
73631
|
function promiseIterator(promise) {
|
|
73632
73632
|
var resolved = false;
|
|
73633
73633
|
var iterator2 = {
|
|
@@ -73653,7 +73653,7 @@ spurious results.`);
|
|
|
73653
73653
|
return iterator2;
|
|
73654
73654
|
}
|
|
73655
73655
|
|
|
73656
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73656
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/reader.js
|
|
73657
73657
|
function readerIterator(reader) {
|
|
73658
73658
|
var iterator2 = {
|
|
73659
73659
|
next: function() {
|
|
@@ -73668,7 +73668,7 @@ spurious results.`);
|
|
|
73668
73668
|
return iterator2;
|
|
73669
73669
|
}
|
|
73670
73670
|
|
|
73671
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73671
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/responseIterator.js
|
|
73672
73672
|
function isNodeResponse(value) {
|
|
73673
73673
|
return !!value.body;
|
|
73674
73674
|
}
|
|
@@ -73705,7 +73705,7 @@ spurious results.`);
|
|
|
73705
73705
|
throw new Error("Unknown body type for responseIterator. Please pass a streamable response.");
|
|
73706
73706
|
}
|
|
73707
73707
|
|
|
73708
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73708
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/errors/index.js
|
|
73709
73709
|
var PROTOCOL_ERRORS_SYMBOL = /* @__PURE__ */ Symbol();
|
|
73710
73710
|
function graphQLResultHasProtocolErrors(result2) {
|
|
73711
73711
|
if (result2.extensions) {
|
|
@@ -73750,7 +73750,7 @@ spurious results.`);
|
|
|
73750
73750
|
})(Error)
|
|
73751
73751
|
);
|
|
73752
73752
|
|
|
73753
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73753
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js
|
|
73754
73754
|
var hasOwnProperty5 = Object.prototype.hasOwnProperty;
|
|
73755
73755
|
function readMultipartBody(response, nextValue) {
|
|
73756
73756
|
return __awaiter(this, void 0, void 0, function() {
|
|
@@ -73894,7 +73894,7 @@ spurious results.`);
|
|
|
73894
73894
|
};
|
|
73895
73895
|
}
|
|
73896
73896
|
|
|
73897
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73897
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/serializeFetchParameter.js
|
|
73898
73898
|
var serializeFetchParameter = function(p, label) {
|
|
73899
73899
|
var serialized;
|
|
73900
73900
|
try {
|
|
@@ -73907,7 +73907,7 @@ spurious results.`);
|
|
|
73907
73907
|
return serialized;
|
|
73908
73908
|
};
|
|
73909
73909
|
|
|
73910
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73910
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js
|
|
73911
73911
|
var defaultHttpOptions = {
|
|
73912
73912
|
includeQuery: true,
|
|
73913
73913
|
includeExtensions: false,
|
|
@@ -73991,14 +73991,14 @@ spurious results.`);
|
|
|
73991
73991
|
return normalizedHeaders;
|
|
73992
73992
|
}
|
|
73993
73993
|
|
|
73994
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
73994
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/checkFetcher.js
|
|
73995
73995
|
var checkFetcher = function(fetcher) {
|
|
73996
73996
|
if (!fetcher && typeof fetch === "undefined") {
|
|
73997
73997
|
throw newInvariantError(38);
|
|
73998
73998
|
}
|
|
73999
73999
|
};
|
|
74000
74000
|
|
|
74001
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74001
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/selectURI.js
|
|
74002
74002
|
var selectURI = function(operation, fallbackURI) {
|
|
74003
74003
|
var context = operation.getContext();
|
|
74004
74004
|
var contextURI = context.uri;
|
|
@@ -74011,7 +74011,7 @@ spurious results.`);
|
|
|
74011
74011
|
}
|
|
74012
74012
|
};
|
|
74013
74013
|
|
|
74014
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74014
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/rewriteURIForGET.js
|
|
74015
74015
|
function rewriteURIForGET(chosenURI, body) {
|
|
74016
74016
|
var queryParams = [];
|
|
74017
74017
|
var addQueryParam = function(key, value) {
|
|
@@ -74052,7 +74052,7 @@ spurious results.`);
|
|
|
74052
74052
|
return { newURI };
|
|
74053
74053
|
}
|
|
74054
74054
|
|
|
74055
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74055
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/createHttpLink.js
|
|
74056
74056
|
var backupFetch = maybe(function() {
|
|
74057
74057
|
return fetch;
|
|
74058
74058
|
});
|
|
@@ -74172,7 +74172,7 @@ spurious results.`);
|
|
|
74172
74172
|
});
|
|
74173
74173
|
};
|
|
74174
74174
|
|
|
74175
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74175
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/link/http/HttpLink.js
|
|
74176
74176
|
var HttpLink = (
|
|
74177
74177
|
/** @class */
|
|
74178
74178
|
(function(_super) {
|
|
@@ -74325,7 +74325,7 @@ spurious results.`);
|
|
|
74325
74325
|
return false;
|
|
74326
74326
|
}
|
|
74327
74327
|
|
|
74328
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74328
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/equalByQuery.js
|
|
74329
74329
|
function equalByQuery(query, _a21, _b, variables) {
|
|
74330
74330
|
var aData = _a21.data, aRest = __rest(_a21, ["data"]);
|
|
74331
74331
|
var bData = _b.data, bRest = __rest(_b, ["data"]);
|
|
@@ -74398,7 +74398,7 @@ spurious results.`);
|
|
|
74398
74398
|
return dir.name.value === "nonreactive";
|
|
74399
74399
|
}
|
|
74400
74400
|
|
|
74401
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74401
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/core/cache.js
|
|
74402
74402
|
var ApolloCache = (
|
|
74403
74403
|
/** @class */
|
|
74404
74404
|
(function() {
|
|
@@ -74530,7 +74530,7 @@ spurious results.`);
|
|
|
74530
74530
|
ApolloCache.prototype.getMemoryInternals = getApolloCacheMemoryInternals;
|
|
74531
74531
|
}
|
|
74532
74532
|
|
|
74533
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74533
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/core/types/common.js
|
|
74534
74534
|
var MissingFieldError = (
|
|
74535
74535
|
/** @class */
|
|
74536
74536
|
(function(_super) {
|
|
@@ -74557,7 +74557,7 @@ spurious results.`);
|
|
|
74557
74557
|
})(Error)
|
|
74558
74558
|
);
|
|
74559
74559
|
|
|
74560
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74560
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/helpers.js
|
|
74561
74561
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
74562
74562
|
function isNullish(value) {
|
|
74563
74563
|
return value === null || value === void 0;
|
|
@@ -74633,7 +74633,7 @@ spurious results.`);
|
|
|
74633
74633
|
};
|
|
74634
74634
|
}
|
|
74635
74635
|
|
|
74636
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
74636
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/entityStore.js
|
|
74637
74637
|
var DELETE = /* @__PURE__ */ Object.create(null);
|
|
74638
74638
|
var delModifier = function() {
|
|
74639
74639
|
return DELETE;
|
|
@@ -75150,7 +75150,7 @@ spurious results.`);
|
|
|
75150
75150
|
return !!(store instanceof EntityStore && store.group.caching);
|
|
75151
75151
|
}
|
|
75152
75152
|
|
|
75153
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
75153
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/object-canon.js
|
|
75154
75154
|
function shallowCopy(value) {
|
|
75155
75155
|
if (isNonNullObject(value)) {
|
|
75156
75156
|
return isArray2(value) ? value.slice(0) : __assign({ __proto__: Object.getPrototypeOf(value) }, value);
|
|
@@ -75244,7 +75244,7 @@ spurious results.`);
|
|
|
75244
75244
|
})()
|
|
75245
75245
|
);
|
|
75246
75246
|
|
|
75247
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
75247
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/readFromStore.js
|
|
75248
75248
|
function execSelectionSetKeyArgs(options) {
|
|
75249
75249
|
return [
|
|
75250
75250
|
options.selectionSet,
|
|
@@ -75513,7 +75513,7 @@ spurious results.`);
|
|
|
75513
75513
|
}
|
|
75514
75514
|
}
|
|
75515
75515
|
|
|
75516
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
75516
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/reactiveVars.js
|
|
75517
75517
|
var cacheSlot = new Slot();
|
|
75518
75518
|
var cacheInfoMap = /* @__PURE__ */ new WeakMap();
|
|
75519
75519
|
function getCacheInfo(cache) {
|
|
@@ -75584,7 +75584,7 @@ spurious results.`);
|
|
|
75584
75584
|
}
|
|
75585
75585
|
}
|
|
75586
75586
|
|
|
75587
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
75587
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/key-extractor.js
|
|
75588
75588
|
var specifierInfoCache = /* @__PURE__ */ Object.create(null);
|
|
75589
75589
|
function lookupSpecifierInfo(spec) {
|
|
75590
75590
|
var cacheKey = JSON.stringify(spec);
|
|
@@ -75717,7 +75717,7 @@ spurious results.`);
|
|
|
75717
75717
|
return value;
|
|
75718
75718
|
}
|
|
75719
75719
|
|
|
75720
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
75720
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/policies.js
|
|
75721
75721
|
function argsFromFieldSpecifier(spec) {
|
|
75722
75722
|
return spec.args !== void 0 ? spec.args : spec.field ? argumentsObjectFromField(spec.field, spec.variables) : null;
|
|
75723
75723
|
}
|
|
@@ -76152,7 +76152,7 @@ spurious results.`);
|
|
|
76152
76152
|
};
|
|
76153
76153
|
}
|
|
76154
76154
|
|
|
76155
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
76155
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/writeToStore.js
|
|
76156
76156
|
function getContextFlavor(context, clientOnly, deferred) {
|
|
76157
76157
|
var key = "".concat(clientOnly).concat(deferred);
|
|
76158
76158
|
var flavored = context.flavors.get(key);
|
|
@@ -76557,7 +76557,7 @@ spurious results.`);
|
|
|
76557
76557
|
globalThis.__DEV__ !== false && invariant2.warn(14, fieldName, parentType, childTypenames.length ? "either ensure all objects of type " + childTypenames.join(" and ") + " have an ID or a custom merge function, or " : "", typeDotName, __assign({}, existing), __assign({}, incoming));
|
|
76558
76558
|
}
|
|
76559
76559
|
|
|
76560
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
76560
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js
|
|
76561
76561
|
var InMemoryCache = (
|
|
76562
76562
|
/** @class */
|
|
76563
76563
|
(function(_super) {
|
|
@@ -76866,7 +76866,7 @@ spurious results.`);
|
|
|
76866
76866
|
InMemoryCache.prototype.getMemoryInternals = getInMemoryCacheMemoryInternals;
|
|
76867
76867
|
}
|
|
76868
76868
|
|
|
76869
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
76869
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/networkStatus.js
|
|
76870
76870
|
var NetworkStatus;
|
|
76871
76871
|
(function(NetworkStatus2) {
|
|
76872
76872
|
NetworkStatus2[NetworkStatus2["loading"] = 1] = "loading";
|
|
@@ -76881,7 +76881,7 @@ spurious results.`);
|
|
|
76881
76881
|
return networkStatus ? networkStatus < 7 : false;
|
|
76882
76882
|
}
|
|
76883
76883
|
|
|
76884
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
76884
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/ObservableQuery.js
|
|
76885
76885
|
var assign2 = Object.assign;
|
|
76886
76886
|
var hasOwnProperty7 = Object.hasOwnProperty;
|
|
76887
76887
|
var ObservableQuery = (
|
|
@@ -77489,7 +77489,7 @@ spurious results.`);
|
|
|
77489
77489
|
return fetchPolicy === "network-only" || fetchPolicy === "no-cache" || fetchPolicy === "standby";
|
|
77490
77490
|
}
|
|
77491
77491
|
|
|
77492
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
77492
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/QueryInfo.js
|
|
77493
77493
|
var destructiveMethodCounts = new (canUseWeakMap ? WeakMap : Map)();
|
|
77494
77494
|
function wrapDestructiveCacheMethod(cache, methodName) {
|
|
77495
77495
|
var original = cache[methodName];
|
|
@@ -77781,7 +77781,7 @@ spurious results.`);
|
|
|
77781
77781
|
return writeWithErrors;
|
|
77782
77782
|
}
|
|
77783
77783
|
|
|
77784
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
77784
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/QueryManager.js
|
|
77785
77785
|
var hasOwnProperty8 = Object.prototype.hasOwnProperty;
|
|
77786
77786
|
var IGNORE = /* @__PURE__ */ Object.create(null);
|
|
77787
77787
|
var QueryManager = (
|
|
@@ -78767,7 +78767,7 @@ spurious results.`);
|
|
|
78767
78767
|
})()
|
|
78768
78768
|
);
|
|
78769
78769
|
|
|
78770
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
78770
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/LocalState.js
|
|
78771
78771
|
var LocalState = (
|
|
78772
78772
|
/** @class */
|
|
78773
78773
|
(function() {
|
|
@@ -79117,7 +79117,7 @@ spurious results.`);
|
|
|
79117
79117
|
})()
|
|
79118
79118
|
);
|
|
79119
79119
|
|
|
79120
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
79120
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/ApolloClient.js
|
|
79121
79121
|
var hasSuggestedDevtools = false;
|
|
79122
79122
|
var ApolloClient = (
|
|
79123
79123
|
/** @class */
|
|
@@ -79519,7 +79519,7 @@ spurious results.`);
|
|
|
79519
79519
|
})(gql || (gql = {}));
|
|
79520
79520
|
gql["default"] = gql;
|
|
79521
79521
|
|
|
79522
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.
|
|
79522
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.2.7_graphql@16.9.0/node_modules/@apollo/client/core/index.js
|
|
79523
79523
|
setVerbosity(globalThis.__DEV__ !== false ? "log" : "silent");
|
|
79524
79524
|
|
|
79525
79525
|
// src/modules/apollo-client.ts
|
|
@@ -91624,7 +91624,7 @@ spurious results.`);
|
|
|
91624
91624
|
let pools = [];
|
|
91625
91625
|
try {
|
|
91626
91626
|
const data = await getAPIUsingHeadlessBrowser(
|
|
91627
|
-
`${ENDPOINTS.
|
|
91627
|
+
`${ENDPOINTS.VESU_BASE}/pools`
|
|
91628
91628
|
);
|
|
91629
91629
|
pools = data.data;
|
|
91630
91630
|
for (const pool of vesu_pools_default.data) {
|
|
@@ -94064,7 +94064,7 @@ spurious results.`);
|
|
|
94064
94064
|
});
|
|
94065
94065
|
logger2.verbose(`${this.metadata.name}::netAPY: vesu-pools: ${JSON.stringify(pools)}`);
|
|
94066
94066
|
if (pools.some((p) => !p)) {
|
|
94067
|
-
throw new Error(
|
|
94067
|
+
throw new Error(`Pool not found, available pools: ${allVesuPools.pools.length}, requiredPools: ${JSON.stringify(vesuAdapters.map((v) => v.config.poolId))}`);
|
|
94068
94068
|
}
|
|
94069
94069
|
;
|
|
94070
94070
|
const positions = await this.getVesuPositions();
|
|
@@ -95146,7 +95146,8 @@ spurious results.`);
|
|
|
95146
95146
|
const calls = await this.getVesuMultiplyCall({
|
|
95147
95147
|
isDeposit: false,
|
|
95148
95148
|
leg1DepositAmount: debtAmountInLST,
|
|
95149
|
-
poolId: vesuAdapter.config.poolId
|
|
95149
|
+
poolId: vesuAdapter.config.poolId,
|
|
95150
|
+
isClose: false
|
|
95150
95151
|
});
|
|
95151
95152
|
assert3(calls.length == 1, `Expected 1 call for unwind, got ${calls.length}`);
|
|
95152
95153
|
return calls[0];
|
|
@@ -95312,8 +95313,9 @@ spurious results.`);
|
|
|
95312
95313
|
*/
|
|
95313
95314
|
async getVesuMultiplyCall(params) {
|
|
95314
95315
|
const maxEkuboPriceImpact = params.maxEkuboPriceImpact || 0.01;
|
|
95315
|
-
const vesuAdapter1 = this.getVesuSameTokenAdapter(params.poolId);
|
|
95316
|
+
const vesuAdapter1 = params.vesuAdapter1 || this.getVesuSameTokenAdapter(params.poolId);
|
|
95316
95317
|
const legLTV = await vesuAdapter1.getLTVConfig(this.config);
|
|
95318
|
+
const isClose = params.isClose || false;
|
|
95317
95319
|
logger2.verbose(`${this.getTag()}::getVesuMultiplyCall legLTV: ${legLTV}`);
|
|
95318
95320
|
if (!params.isDeposit) {
|
|
95319
95321
|
const unusedBalance = await this.getUnusedBalance();
|
|
@@ -95352,7 +95354,9 @@ spurious results.`);
|
|
|
95352
95354
|
lstDexPriceInUnderlying: dexPrice,
|
|
95353
95355
|
isIncrease: debtAmount.greaterThan(0),
|
|
95354
95356
|
maxEkuboPriceImpact,
|
|
95355
|
-
poolId: params.poolId
|
|
95357
|
+
poolId: params.poolId,
|
|
95358
|
+
vesuAdapter1,
|
|
95359
|
+
isClose
|
|
95356
95360
|
});
|
|
95357
95361
|
}
|
|
95358
95362
|
getLSTUnderlyingTokenInfo() {
|
|
@@ -95493,9 +95497,14 @@ spurious results.`);
|
|
|
95493
95497
|
* @param params marginAmount is in LST, debtAmount is in underlying
|
|
95494
95498
|
*/
|
|
95495
95499
|
async getModifyLeverCall(params) {
|
|
95500
|
+
const { isClose, vesuAdapter1 } = params;
|
|
95501
|
+
if (isClose && params.debtAmount.lessThan(0)) {
|
|
95502
|
+
const positionInfo = await vesuAdapter1.getPositions(this.config);
|
|
95503
|
+
params.debtAmount = positionInfo[1].amount.multipliedBy(params.debtAmount.greaterThan(0) ? 1 : -1);
|
|
95504
|
+
params.marginAmount = positionInfo[0].amount.multipliedBy(params.marginAmount.greaterThan(0) ? 1 : -1);
|
|
95505
|
+
}
|
|
95496
95506
|
logger2.verbose(`${this.getTag()}::getModifyLeverCall marginAmount: ${params.marginAmount}, debtAmount: ${params.debtAmount}, lstDexPriceInUnderlying: ${params.lstDexPriceInUnderlying}, isIncrease: ${params.isIncrease}`);
|
|
95497
95507
|
assert3(!params.marginAmount.isZero() || !params.debtAmount.isZero(), "Deposit/debt must be non-0");
|
|
95498
|
-
const vesuAdapter1 = this.getVesuSameTokenAdapter(params.poolId);
|
|
95499
95508
|
const lstTokenInfo = this.asset();
|
|
95500
95509
|
const lstUnderlyingTokenInfo = vesuAdapter1.config.debt;
|
|
95501
95510
|
const maxAmounts = lstTokenInfo.symbol == "xSTRK" ? 5e5 : 0.5;
|
|
@@ -95543,6 +95552,9 @@ spurious results.`);
|
|
|
95543
95552
|
const manageCall2 = manage2Info.callConstructor({
|
|
95544
95553
|
delegation: true
|
|
95545
95554
|
});
|
|
95555
|
+
if (isClose) {
|
|
95556
|
+
leverSwap[0].token_amount.amount = Web3Number.fromWei(0, leverSwap[0].token_amount.amount.decimals);
|
|
95557
|
+
}
|
|
95546
95558
|
const STEP3_ID = getVesuLegId("multiply_vesu" /* MULTIPLY_VESU */, vesuAdapter1.config.debt.symbol, vesuAdapter1.config.poolId.toString());
|
|
95547
95559
|
const manage3Info = this.getProofs(STEP3_ID);
|
|
95548
95560
|
const multiplyParams = params.isIncrease ? {
|
|
@@ -95556,7 +95568,19 @@ spurious results.`);
|
|
|
95556
95568
|
}
|
|
95557
95569
|
} : {
|
|
95558
95570
|
isIncrease: false,
|
|
95559
|
-
decreaseParams: {
|
|
95571
|
+
decreaseParams: isClose ? {
|
|
95572
|
+
sub_margin: new Web3Number(0, params.marginAmount.decimals),
|
|
95573
|
+
// params.marginAmount.multipliedBy(-1),
|
|
95574
|
+
lever_swap: leverSwap,
|
|
95575
|
+
lever_swap_limit_amount: maxUsedCollateral,
|
|
95576
|
+
// only required for close position
|
|
95577
|
+
lever_swap_weights: [new Web3Number(1, 18)],
|
|
95578
|
+
// no need to swap collateral to anything, and any residuals return our contract anyways.
|
|
95579
|
+
withdraw_swap: [],
|
|
95580
|
+
withdraw_swap_limit_amount: Web3Number.fromWei(0, this.asset().decimals),
|
|
95581
|
+
withdraw_swap_weights: [],
|
|
95582
|
+
close_position: true
|
|
95583
|
+
} : {
|
|
95560
95584
|
sub_margin: params.marginAmount.multipliedBy(-1),
|
|
95561
95585
|
lever_swap: leverSwap,
|
|
95562
95586
|
lever_swap_limit_amount: maxUsedCollateral,
|
|
@@ -95687,7 +95711,7 @@ spurious results.`);
|
|
|
95687
95711
|
id: "common_adapter" /* COMMON */,
|
|
95688
95712
|
adapter: commonAdapter
|
|
95689
95713
|
}]);
|
|
95690
|
-
vaultSettings.borrowable_assets.map((borrowableAsset) => addVesuLeaves(borrowableAsset.poolId, lstSymbol,
|
|
95714
|
+
vaultSettings.borrowable_assets.map((borrowableAsset) => addVesuLeaves(borrowableAsset.poolId, lstSymbol, borrowableAsset.token.symbol, vaultSettings, commonAdapter));
|
|
95691
95715
|
vaultSettings.leafAdapters.push(commonAdapter.getApproveAdapter(lstToken.address, AVNU_EXCHANGE, "avnu_mul_approve_withdr" /* AVNU_MULTIPLY_APPROVE_WITHDRAW */).bind(commonAdapter));
|
|
95692
95716
|
const uniqueBorrowableAssets = [...new Set(vaultSettings.borrowable_assets.map((borrowableAsset) => borrowableAsset.token.symbol))];
|
|
95693
95717
|
for (let borrowableAssetSymbol of uniqueBorrowableAssets) {
|