@strkfarm/sdk 2.0.0-dev.17 → 2.0.0-dev.18
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 +223 -80
- package/dist/index.browser.mjs +149 -6
- package/dist/index.d.ts +15 -0
- package/dist/index.js +149 -6
- package/dist/index.mjs +149 -6
- package/package.json +1 -1
- package/src/strategies/universal-adapters/avnu-adapter.ts +1 -1
- package/src/strategies/universal-adapters/extended-adapter.ts +2 -2
- package/src/strategies/vesu-extended-strategy/utils/constants.ts +1 -5
- package/src/strategies/vesu-extended-strategy/vesu-extended-strategy.tsx +184 -33
|
@@ -68180,10 +68180,10 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68180
68180
|
return old;
|
|
68181
68181
|
}
|
|
68182
68182
|
|
|
68183
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68183
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/version.js
|
|
68184
68184
|
var version4 = "3.11.8";
|
|
68185
68185
|
|
|
68186
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68186
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/maybe.js
|
|
68187
68187
|
function maybe(thunk) {
|
|
68188
68188
|
try {
|
|
68189
68189
|
return thunk();
|
|
@@ -68191,7 +68191,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68191
68191
|
}
|
|
68192
68192
|
}
|
|
68193
68193
|
|
|
68194
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68194
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/global.js
|
|
68195
68195
|
var global_default = maybe(function() {
|
|
68196
68196
|
return globalThis;
|
|
68197
68197
|
}) || maybe(function() {
|
|
@@ -68210,7 +68210,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68210
68210
|
return maybe.constructor("return this")();
|
|
68211
68211
|
});
|
|
68212
68212
|
|
|
68213
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68213
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/makeUniqueId.js
|
|
68214
68214
|
var prefixCounts = /* @__PURE__ */ new Map();
|
|
68215
68215
|
function makeUniqueId(prefix) {
|
|
68216
68216
|
var count = prefixCounts.get(prefix) || 1;
|
|
@@ -68218,7 +68218,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68218
68218
|
return "".concat(prefix, ":").concat(count, ":").concat(Math.random().toString(36).slice(2));
|
|
68219
68219
|
}
|
|
68220
68220
|
|
|
68221
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68221
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/stringifyForDisplay.js
|
|
68222
68222
|
function stringifyForDisplay(value, space) {
|
|
68223
68223
|
if (space === void 0) {
|
|
68224
68224
|
space = 0;
|
|
@@ -68229,7 +68229,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68229
68229
|
}, space).split(JSON.stringify(undefId)).join("<undefined>");
|
|
68230
68230
|
}
|
|
68231
68231
|
|
|
68232
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68232
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/invariantWrappers.js
|
|
68233
68233
|
function wrap(fn) {
|
|
68234
68234
|
return function(message) {
|
|
68235
68235
|
var args = [];
|
|
@@ -68300,7 +68300,7 @@ ${JSON.stringify(data, null, 2)}`;
|
|
|
68300
68300
|
})));
|
|
68301
68301
|
}
|
|
68302
68302
|
|
|
68303
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
68303
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/globals/index.js
|
|
68304
68304
|
var DEV = globalThis.__DEV__ !== false;
|
|
68305
68305
|
|
|
68306
68306
|
// node_modules/.pnpm/graphql@16.9.0/node_modules/graphql/jsutils/devAssert.mjs
|
|
@@ -71375,7 +71375,7 @@ spurious results.`);
|
|
|
71375
71375
|
return node.kind === Kind.FIELD || node.kind === Kind.FRAGMENT_SPREAD || node.kind === Kind.INLINE_FRAGMENT;
|
|
71376
71376
|
}
|
|
71377
71377
|
|
|
71378
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71378
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/directives.js
|
|
71379
71379
|
function shouldInclude(_a21, variables) {
|
|
71380
71380
|
var directives = _a21.directives;
|
|
71381
71381
|
if (!directives || !directives.length) {
|
|
@@ -71503,7 +71503,7 @@ spurious results.`);
|
|
|
71503
71503
|
return false;
|
|
71504
71504
|
}
|
|
71505
71505
|
|
|
71506
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71506
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/canUse.js
|
|
71507
71507
|
var isReactNative = maybe(function() {
|
|
71508
71508
|
return navigator.product;
|
|
71509
71509
|
}) == "ReactNative";
|
|
@@ -71528,12 +71528,12 @@ spurious results.`);
|
|
|
71528
71528
|
}) || false
|
|
71529
71529
|
);
|
|
71530
71530
|
|
|
71531
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71531
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/objects.js
|
|
71532
71532
|
function isNonNullObject(obj) {
|
|
71533
71533
|
return obj !== null && typeof obj === "object";
|
|
71534
71534
|
}
|
|
71535
71535
|
|
|
71536
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71536
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/fragments.js
|
|
71537
71537
|
function getFragmentQueryDocument(document2, fragmentName) {
|
|
71538
71538
|
var actualFragmentName = fragmentName;
|
|
71539
71539
|
var fragments = [];
|
|
@@ -71829,7 +71829,7 @@ spurious results.`);
|
|
|
71829
71829
|
}
|
|
71830
71830
|
};
|
|
71831
71831
|
|
|
71832
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71832
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/caching/caches.js
|
|
71833
71833
|
var scheduledCleanup = /* @__PURE__ */ new WeakSet();
|
|
71834
71834
|
function schedule(cache) {
|
|
71835
71835
|
if (cache.size <= (cache.max || -1)) {
|
|
@@ -71862,11 +71862,11 @@ spurious results.`);
|
|
|
71862
71862
|
return cache;
|
|
71863
71863
|
};
|
|
71864
71864
|
|
|
71865
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71865
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/caching/sizes.js
|
|
71866
71866
|
var cacheSizeSymbol = Symbol.for("apollo.cacheSize");
|
|
71867
71867
|
var cacheSizes = __assign({}, global_default[cacheSizeSymbol]);
|
|
71868
71868
|
|
|
71869
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71869
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/caching/getMemoryInternals.js
|
|
71870
71870
|
var globalCaches = {};
|
|
71871
71871
|
function registerGlobalCache(name, getSize) {
|
|
71872
71872
|
globalCaches[name] = getSize;
|
|
@@ -71956,7 +71956,7 @@ spurious results.`);
|
|
|
71956
71956
|
], linkInfo(link === null || link === void 0 ? void 0 : link.left), true), linkInfo(link === null || link === void 0 ? void 0 : link.right), true).filter(isDefined) : [];
|
|
71957
71957
|
}
|
|
71958
71958
|
|
|
71959
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
71959
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/canonicalStringify.js
|
|
71960
71960
|
var canonicalStringify = Object.assign(function canonicalStringify2(value) {
|
|
71961
71961
|
return JSON.stringify(value, stableObjectReplacer);
|
|
71962
71962
|
}, {
|
|
@@ -72003,7 +72003,7 @@ spurious results.`);
|
|
|
72003
72003
|
return i === 0 || keys[i - 1] <= key;
|
|
72004
72004
|
}
|
|
72005
72005
|
|
|
72006
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
72006
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/storeUtils.js
|
|
72007
72007
|
function makeReference(id) {
|
|
72008
72008
|
return { __ref: String(id) };
|
|
72009
72009
|
}
|
|
@@ -72188,7 +72188,7 @@ spurious results.`);
|
|
|
72188
72188
|
return selection.kind === "InlineFragment";
|
|
72189
72189
|
}
|
|
72190
72190
|
|
|
72191
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
72191
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/getFromAST.js
|
|
72192
72192
|
function checkDocument(doc) {
|
|
72193
72193
|
invariant2(doc && doc.kind === "Document", 77);
|
|
72194
72194
|
var operations = doc.definitions.filter(function(d) {
|
|
@@ -72747,7 +72747,7 @@ spurious results.`);
|
|
|
72747
72747
|
return Object.freeze(optimistic);
|
|
72748
72748
|
}
|
|
72749
72749
|
|
|
72750
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
72750
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/DocumentTransform.js
|
|
72751
72751
|
function identity(document2) {
|
|
72752
72752
|
return document2;
|
|
72753
72753
|
}
|
|
@@ -72831,7 +72831,7 @@ spurious results.`);
|
|
|
72831
72831
|
})()
|
|
72832
72832
|
);
|
|
72833
72833
|
|
|
72834
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
72834
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/print.js
|
|
72835
72835
|
var printCache;
|
|
72836
72836
|
var print2 = Object.assign(function(ast) {
|
|
72837
72837
|
var result2 = printCache.get(ast);
|
|
@@ -72855,13 +72855,13 @@ spurious results.`);
|
|
|
72855
72855
|
});
|
|
72856
72856
|
}
|
|
72857
72857
|
|
|
72858
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
72858
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/arrays.js
|
|
72859
72859
|
var isArray2 = Array.isArray;
|
|
72860
72860
|
function isNonEmptyArray(value) {
|
|
72861
72861
|
return Array.isArray(value) && value.length > 0;
|
|
72862
72862
|
}
|
|
72863
72863
|
|
|
72864
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
72864
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/graphql/transform.js
|
|
72865
72865
|
var TYPENAME_FIELD = {
|
|
72866
72866
|
kind: Kind.FIELD,
|
|
72867
72867
|
name: {
|
|
@@ -73153,7 +73153,7 @@ spurious results.`);
|
|
|
73153
73153
|
return modifiedDoc;
|
|
73154
73154
|
}
|
|
73155
73155
|
|
|
73156
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73156
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/mergeDeep.js
|
|
73157
73157
|
var hasOwnProperty4 = Object.prototype.hasOwnProperty;
|
|
73158
73158
|
function mergeDeep() {
|
|
73159
73159
|
var sources = [];
|
|
@@ -73789,7 +73789,7 @@ spurious results.`);
|
|
|
73789
73789
|
}
|
|
73790
73790
|
var result = symbolObservablePonyfill(root);
|
|
73791
73791
|
|
|
73792
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73792
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/Observable.js
|
|
73793
73793
|
var prototype3 = Observable.prototype;
|
|
73794
73794
|
var fakeObsSymbol = "@@observable";
|
|
73795
73795
|
if (!prototype3[fakeObsSymbol]) {
|
|
@@ -73798,7 +73798,7 @@ spurious results.`);
|
|
|
73798
73798
|
};
|
|
73799
73799
|
}
|
|
73800
73800
|
|
|
73801
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73801
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/cloneDeep.js
|
|
73802
73802
|
var toString4 = Object.prototype.toString;
|
|
73803
73803
|
function cloneDeep(value) {
|
|
73804
73804
|
return cloneDeepHelper(value);
|
|
@@ -73832,7 +73832,7 @@ spurious results.`);
|
|
|
73832
73832
|
}
|
|
73833
73833
|
}
|
|
73834
73834
|
|
|
73835
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73835
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/maybeDeepFreeze.js
|
|
73836
73836
|
function deepFreeze(value) {
|
|
73837
73837
|
var workSet = /* @__PURE__ */ new Set([value]);
|
|
73838
73838
|
workSet.forEach(function(obj) {
|
|
@@ -73864,7 +73864,7 @@ spurious results.`);
|
|
|
73864
73864
|
return obj;
|
|
73865
73865
|
}
|
|
73866
73866
|
|
|
73867
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73867
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/iteration.js
|
|
73868
73868
|
function iterateObserversSafely(observers, method, argument) {
|
|
73869
73869
|
var observersWithMethod = [];
|
|
73870
73870
|
observers.forEach(function(obs) {
|
|
@@ -73875,7 +73875,7 @@ spurious results.`);
|
|
|
73875
73875
|
});
|
|
73876
73876
|
}
|
|
73877
73877
|
|
|
73878
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73878
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/asyncMap.js
|
|
73879
73879
|
function asyncMap(observable, mapFn, catchFn) {
|
|
73880
73880
|
return new Observable(function(observer) {
|
|
73881
73881
|
var promiseQueue = {
|
|
@@ -73923,7 +73923,7 @@ spurious results.`);
|
|
|
73923
73923
|
});
|
|
73924
73924
|
}
|
|
73925
73925
|
|
|
73926
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73926
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/subclassing.js
|
|
73927
73927
|
function fixObservableSubclass(subclass) {
|
|
73928
73928
|
function set(key) {
|
|
73929
73929
|
Object.defineProperty(subclass, key, { value: Observable });
|
|
@@ -73935,7 +73935,7 @@ spurious results.`);
|
|
|
73935
73935
|
return subclass;
|
|
73936
73936
|
}
|
|
73937
73937
|
|
|
73938
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
73938
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/observables/Concast.js
|
|
73939
73939
|
function isPromiseLike(value) {
|
|
73940
73940
|
return value && typeof value.then === "function";
|
|
73941
73941
|
}
|
|
@@ -74076,7 +74076,7 @@ spurious results.`);
|
|
|
74076
74076
|
);
|
|
74077
74077
|
fixObservableSubclass(Concast);
|
|
74078
74078
|
|
|
74079
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74079
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/incrementalResult.js
|
|
74080
74080
|
function isExecutionPatchIncrementalResult(value) {
|
|
74081
74081
|
return "incremental" in value;
|
|
74082
74082
|
}
|
|
@@ -74108,7 +74108,7 @@ spurious results.`);
|
|
|
74108
74108
|
return mergedData;
|
|
74109
74109
|
}
|
|
74110
74110
|
|
|
74111
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74111
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/errorHandling.js
|
|
74112
74112
|
function graphQLResultHasError(result2) {
|
|
74113
74113
|
var errors2 = getGraphQLErrorsFromResult(result2);
|
|
74114
74114
|
return isNonEmptyArray(errors2);
|
|
@@ -74125,7 +74125,7 @@ spurious results.`);
|
|
|
74125
74125
|
return graphQLErrors;
|
|
74126
74126
|
}
|
|
74127
74127
|
|
|
74128
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74128
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/compact.js
|
|
74129
74129
|
function compact() {
|
|
74130
74130
|
var objects = [];
|
|
74131
74131
|
for (var _i = 0; _i < arguments.length; _i++) {
|
|
@@ -74145,21 +74145,21 @@ spurious results.`);
|
|
|
74145
74145
|
return result2;
|
|
74146
74146
|
}
|
|
74147
74147
|
|
|
74148
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74148
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/utilities/common/mergeOptions.js
|
|
74149
74149
|
function mergeOptions(defaults2, options) {
|
|
74150
74150
|
return compact(defaults2, options, options.variables && {
|
|
74151
74151
|
variables: compact(__assign(__assign({}, defaults2 && defaults2.variables), options.variables))
|
|
74152
74152
|
});
|
|
74153
74153
|
}
|
|
74154
74154
|
|
|
74155
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74155
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/utils/fromError.js
|
|
74156
74156
|
function fromError(errorValue) {
|
|
74157
74157
|
return new Observable(function(observer) {
|
|
74158
74158
|
observer.error(errorValue);
|
|
74159
74159
|
});
|
|
74160
74160
|
}
|
|
74161
74161
|
|
|
74162
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74162
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/utils/throwServerError.js
|
|
74163
74163
|
var throwServerError = function(response, result2, message) {
|
|
74164
74164
|
var error2 = new Error(message);
|
|
74165
74165
|
error2.name = "ServerError";
|
|
@@ -74169,7 +74169,7 @@ spurious results.`);
|
|
|
74169
74169
|
throw error2;
|
|
74170
74170
|
};
|
|
74171
74171
|
|
|
74172
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74172
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/utils/validateOperation.js
|
|
74173
74173
|
function validateOperation(operation) {
|
|
74174
74174
|
var OPERATION_FIELDS = [
|
|
74175
74175
|
"query",
|
|
@@ -74187,7 +74187,7 @@ spurious results.`);
|
|
|
74187
74187
|
return operation;
|
|
74188
74188
|
}
|
|
74189
74189
|
|
|
74190
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74190
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/utils/createOperation.js
|
|
74191
74191
|
function createOperation(starting, operation) {
|
|
74192
74192
|
var context = __assign({}, starting);
|
|
74193
74193
|
var setContext = function(next) {
|
|
@@ -74211,7 +74211,7 @@ spurious results.`);
|
|
|
74211
74211
|
return operation;
|
|
74212
74212
|
}
|
|
74213
74213
|
|
|
74214
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74214
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/utils/transformOperation.js
|
|
74215
74215
|
function transformOperation(operation) {
|
|
74216
74216
|
var transformedOperation = {
|
|
74217
74217
|
variables: operation.variables || {},
|
|
@@ -74225,7 +74225,7 @@ spurious results.`);
|
|
|
74225
74225
|
return transformedOperation;
|
|
74226
74226
|
}
|
|
74227
74227
|
|
|
74228
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74228
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/utils/filterOperationVariables.js
|
|
74229
74229
|
function filterOperationVariables(variables, query) {
|
|
74230
74230
|
var result2 = __assign({}, variables);
|
|
74231
74231
|
var unusedNames = new Set(Object.keys(variables));
|
|
@@ -74242,7 +74242,7 @@ spurious results.`);
|
|
|
74242
74242
|
return result2;
|
|
74243
74243
|
}
|
|
74244
74244
|
|
|
74245
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74245
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/core/ApolloLink.js
|
|
74246
74246
|
function passthrough(op, forward) {
|
|
74247
74247
|
return forward ? forward(op) : Observable.of();
|
|
74248
74248
|
}
|
|
@@ -74336,10 +74336,10 @@ spurious results.`);
|
|
|
74336
74336
|
})()
|
|
74337
74337
|
);
|
|
74338
74338
|
|
|
74339
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74339
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/core/execute.js
|
|
74340
74340
|
var execute = ApolloLink.execute;
|
|
74341
74341
|
|
|
74342
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74342
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/async.js
|
|
74343
74343
|
function asyncIterator(source) {
|
|
74344
74344
|
var _a21;
|
|
74345
74345
|
var iterator2 = source[Symbol.asyncIterator]();
|
|
@@ -74352,7 +74352,7 @@ spurious results.`);
|
|
|
74352
74352
|
}, _a21;
|
|
74353
74353
|
}
|
|
74354
74354
|
|
|
74355
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74355
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/nodeStream.js
|
|
74356
74356
|
function nodeStreamIterator(stream) {
|
|
74357
74357
|
var cleanup = null;
|
|
74358
74358
|
var error2 = null;
|
|
@@ -74423,7 +74423,7 @@ spurious results.`);
|
|
|
74423
74423
|
return iterator2;
|
|
74424
74424
|
}
|
|
74425
74425
|
|
|
74426
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74426
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/promise.js
|
|
74427
74427
|
function promiseIterator(promise) {
|
|
74428
74428
|
var resolved = false;
|
|
74429
74429
|
var iterator2 = {
|
|
@@ -74449,7 +74449,7 @@ spurious results.`);
|
|
|
74449
74449
|
return iterator2;
|
|
74450
74450
|
}
|
|
74451
74451
|
|
|
74452
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74452
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/iterators/reader.js
|
|
74453
74453
|
function readerIterator(reader) {
|
|
74454
74454
|
var iterator2 = {
|
|
74455
74455
|
next: function() {
|
|
@@ -74464,7 +74464,7 @@ spurious results.`);
|
|
|
74464
74464
|
return iterator2;
|
|
74465
74465
|
}
|
|
74466
74466
|
|
|
74467
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74467
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/responseIterator.js
|
|
74468
74468
|
function isNodeResponse(value) {
|
|
74469
74469
|
return !!value.body;
|
|
74470
74470
|
}
|
|
@@ -74501,7 +74501,7 @@ spurious results.`);
|
|
|
74501
74501
|
throw new Error("Unknown body type for responseIterator. Please pass a streamable response.");
|
|
74502
74502
|
}
|
|
74503
74503
|
|
|
74504
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74504
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/errors/index.js
|
|
74505
74505
|
var PROTOCOL_ERRORS_SYMBOL = Symbol();
|
|
74506
74506
|
function graphQLResultHasProtocolErrors(result2) {
|
|
74507
74507
|
if (result2.extensions) {
|
|
@@ -74546,7 +74546,7 @@ spurious results.`);
|
|
|
74546
74546
|
})(Error)
|
|
74547
74547
|
);
|
|
74548
74548
|
|
|
74549
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74549
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/parseAndCheckHttpResponse.js
|
|
74550
74550
|
var hasOwnProperty5 = Object.prototype.hasOwnProperty;
|
|
74551
74551
|
function readMultipartBody(response, nextValue) {
|
|
74552
74552
|
return __awaiter(this, void 0, void 0, function() {
|
|
@@ -74690,7 +74690,7 @@ spurious results.`);
|
|
|
74690
74690
|
};
|
|
74691
74691
|
}
|
|
74692
74692
|
|
|
74693
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74693
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/serializeFetchParameter.js
|
|
74694
74694
|
var serializeFetchParameter = function(p, label) {
|
|
74695
74695
|
var serialized;
|
|
74696
74696
|
try {
|
|
@@ -74703,7 +74703,7 @@ spurious results.`);
|
|
|
74703
74703
|
return serialized;
|
|
74704
74704
|
};
|
|
74705
74705
|
|
|
74706
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74706
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/selectHttpOptionsAndBody.js
|
|
74707
74707
|
var defaultHttpOptions = {
|
|
74708
74708
|
includeQuery: true,
|
|
74709
74709
|
includeExtensions: false,
|
|
@@ -74787,14 +74787,14 @@ spurious results.`);
|
|
|
74787
74787
|
return normalizedHeaders;
|
|
74788
74788
|
}
|
|
74789
74789
|
|
|
74790
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74790
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/checkFetcher.js
|
|
74791
74791
|
var checkFetcher = function(fetcher) {
|
|
74792
74792
|
if (!fetcher && typeof fetch === "undefined") {
|
|
74793
74793
|
throw newInvariantError(38);
|
|
74794
74794
|
}
|
|
74795
74795
|
};
|
|
74796
74796
|
|
|
74797
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74797
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/selectURI.js
|
|
74798
74798
|
var selectURI = function(operation, fallbackURI) {
|
|
74799
74799
|
var context = operation.getContext();
|
|
74800
74800
|
var contextURI = context.uri;
|
|
@@ -74807,7 +74807,7 @@ spurious results.`);
|
|
|
74807
74807
|
}
|
|
74808
74808
|
};
|
|
74809
74809
|
|
|
74810
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74810
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/rewriteURIForGET.js
|
|
74811
74811
|
function rewriteURIForGET(chosenURI, body) {
|
|
74812
74812
|
var queryParams = [];
|
|
74813
74813
|
var addQueryParam = function(key, value) {
|
|
@@ -74848,7 +74848,7 @@ spurious results.`);
|
|
|
74848
74848
|
return { newURI };
|
|
74849
74849
|
}
|
|
74850
74850
|
|
|
74851
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74851
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/createHttpLink.js
|
|
74852
74852
|
var backupFetch = maybe(function() {
|
|
74853
74853
|
return fetch;
|
|
74854
74854
|
});
|
|
@@ -74968,7 +74968,7 @@ spurious results.`);
|
|
|
74968
74968
|
});
|
|
74969
74969
|
};
|
|
74970
74970
|
|
|
74971
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
74971
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/link/http/HttpLink.js
|
|
74972
74972
|
var HttpLink = (
|
|
74973
74973
|
/** @class */
|
|
74974
74974
|
(function(_super) {
|
|
@@ -75121,7 +75121,7 @@ spurious results.`);
|
|
|
75121
75121
|
return false;
|
|
75122
75122
|
}
|
|
75123
75123
|
|
|
75124
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
75124
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/equalByQuery.js
|
|
75125
75125
|
function equalByQuery(query, _a21, _b, variables) {
|
|
75126
75126
|
var aData = _a21.data, aRest = __rest(_a21, ["data"]);
|
|
75127
75127
|
var bData = _b.data, bRest = __rest(_b, ["data"]);
|
|
@@ -75194,7 +75194,7 @@ spurious results.`);
|
|
|
75194
75194
|
return dir.name.value === "nonreactive";
|
|
75195
75195
|
}
|
|
75196
75196
|
|
|
75197
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
75197
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/core/cache.js
|
|
75198
75198
|
var ApolloCache = (
|
|
75199
75199
|
/** @class */
|
|
75200
75200
|
(function() {
|
|
@@ -75326,7 +75326,7 @@ spurious results.`);
|
|
|
75326
75326
|
ApolloCache.prototype.getMemoryInternals = getApolloCacheMemoryInternals;
|
|
75327
75327
|
}
|
|
75328
75328
|
|
|
75329
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
75329
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/core/types/common.js
|
|
75330
75330
|
var MissingFieldError = (
|
|
75331
75331
|
/** @class */
|
|
75332
75332
|
(function(_super) {
|
|
@@ -75353,7 +75353,7 @@ spurious results.`);
|
|
|
75353
75353
|
})(Error)
|
|
75354
75354
|
);
|
|
75355
75355
|
|
|
75356
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
75356
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/helpers.js
|
|
75357
75357
|
var hasOwn = Object.prototype.hasOwnProperty;
|
|
75358
75358
|
function isNullish(value) {
|
|
75359
75359
|
return value === null || value === void 0;
|
|
@@ -75429,7 +75429,7 @@ spurious results.`);
|
|
|
75429
75429
|
};
|
|
75430
75430
|
}
|
|
75431
75431
|
|
|
75432
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
75432
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/entityStore.js
|
|
75433
75433
|
var DELETE = /* @__PURE__ */ Object.create(null);
|
|
75434
75434
|
var delModifier = function() {
|
|
75435
75435
|
return DELETE;
|
|
@@ -75946,7 +75946,7 @@ spurious results.`);
|
|
|
75946
75946
|
return !!(store instanceof EntityStore && store.group.caching);
|
|
75947
75947
|
}
|
|
75948
75948
|
|
|
75949
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
75949
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/object-canon.js
|
|
75950
75950
|
function shallowCopy(value) {
|
|
75951
75951
|
if (isNonNullObject(value)) {
|
|
75952
75952
|
return isArray2(value) ? value.slice(0) : __assign({ __proto__: Object.getPrototypeOf(value) }, value);
|
|
@@ -76040,7 +76040,7 @@ spurious results.`);
|
|
|
76040
76040
|
})()
|
|
76041
76041
|
);
|
|
76042
76042
|
|
|
76043
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
76043
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/readFromStore.js
|
|
76044
76044
|
function execSelectionSetKeyArgs(options) {
|
|
76045
76045
|
return [
|
|
76046
76046
|
options.selectionSet,
|
|
@@ -76309,7 +76309,7 @@ spurious results.`);
|
|
|
76309
76309
|
}
|
|
76310
76310
|
}
|
|
76311
76311
|
|
|
76312
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
76312
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/reactiveVars.js
|
|
76313
76313
|
var cacheSlot = new Slot();
|
|
76314
76314
|
var cacheInfoMap = /* @__PURE__ */ new WeakMap();
|
|
76315
76315
|
function getCacheInfo(cache) {
|
|
@@ -76380,7 +76380,7 @@ spurious results.`);
|
|
|
76380
76380
|
}
|
|
76381
76381
|
}
|
|
76382
76382
|
|
|
76383
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
76383
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/key-extractor.js
|
|
76384
76384
|
var specifierInfoCache = /* @__PURE__ */ Object.create(null);
|
|
76385
76385
|
function lookupSpecifierInfo(spec) {
|
|
76386
76386
|
var cacheKey = JSON.stringify(spec);
|
|
@@ -76513,7 +76513,7 @@ spurious results.`);
|
|
|
76513
76513
|
return value;
|
|
76514
76514
|
}
|
|
76515
76515
|
|
|
76516
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
76516
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/policies.js
|
|
76517
76517
|
function argsFromFieldSpecifier(spec) {
|
|
76518
76518
|
return spec.args !== void 0 ? spec.args : spec.field ? argumentsObjectFromField(spec.field, spec.variables) : null;
|
|
76519
76519
|
}
|
|
@@ -76948,7 +76948,7 @@ spurious results.`);
|
|
|
76948
76948
|
};
|
|
76949
76949
|
}
|
|
76950
76950
|
|
|
76951
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
76951
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/writeToStore.js
|
|
76952
76952
|
function getContextFlavor(context, clientOnly, deferred) {
|
|
76953
76953
|
var key = "".concat(clientOnly).concat(deferred);
|
|
76954
76954
|
var flavored = context.flavors.get(key);
|
|
@@ -77353,7 +77353,7 @@ spurious results.`);
|
|
|
77353
77353
|
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));
|
|
77354
77354
|
}
|
|
77355
77355
|
|
|
77356
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
77356
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/cache/inmemory/inMemoryCache.js
|
|
77357
77357
|
var InMemoryCache = (
|
|
77358
77358
|
/** @class */
|
|
77359
77359
|
(function(_super) {
|
|
@@ -77662,7 +77662,7 @@ spurious results.`);
|
|
|
77662
77662
|
InMemoryCache.prototype.getMemoryInternals = getInMemoryCacheMemoryInternals;
|
|
77663
77663
|
}
|
|
77664
77664
|
|
|
77665
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
77665
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/networkStatus.js
|
|
77666
77666
|
var NetworkStatus;
|
|
77667
77667
|
(function(NetworkStatus2) {
|
|
77668
77668
|
NetworkStatus2[NetworkStatus2["loading"] = 1] = "loading";
|
|
@@ -77677,7 +77677,7 @@ spurious results.`);
|
|
|
77677
77677
|
return networkStatus ? networkStatus < 7 : false;
|
|
77678
77678
|
}
|
|
77679
77679
|
|
|
77680
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
77680
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/ObservableQuery.js
|
|
77681
77681
|
var assign2 = Object.assign;
|
|
77682
77682
|
var hasOwnProperty7 = Object.hasOwnProperty;
|
|
77683
77683
|
var ObservableQuery = (
|
|
@@ -78285,7 +78285,7 @@ spurious results.`);
|
|
|
78285
78285
|
return fetchPolicy === "network-only" || fetchPolicy === "no-cache" || fetchPolicy === "standby";
|
|
78286
78286
|
}
|
|
78287
78287
|
|
|
78288
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
78288
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/QueryInfo.js
|
|
78289
78289
|
var destructiveMethodCounts = new (canUseWeakMap ? WeakMap : Map)();
|
|
78290
78290
|
function wrapDestructiveCacheMethod(cache, methodName) {
|
|
78291
78291
|
var original = cache[methodName];
|
|
@@ -78577,7 +78577,7 @@ spurious results.`);
|
|
|
78577
78577
|
return writeWithErrors;
|
|
78578
78578
|
}
|
|
78579
78579
|
|
|
78580
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
78580
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/QueryManager.js
|
|
78581
78581
|
var hasOwnProperty8 = Object.prototype.hasOwnProperty;
|
|
78582
78582
|
var IGNORE = /* @__PURE__ */ Object.create(null);
|
|
78583
78583
|
var QueryManager = (
|
|
@@ -79563,7 +79563,7 @@ spurious results.`);
|
|
|
79563
79563
|
})()
|
|
79564
79564
|
);
|
|
79565
79565
|
|
|
79566
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
79566
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/LocalState.js
|
|
79567
79567
|
var LocalState = (
|
|
79568
79568
|
/** @class */
|
|
79569
79569
|
(function() {
|
|
@@ -79913,7 +79913,7 @@ spurious results.`);
|
|
|
79913
79913
|
})()
|
|
79914
79914
|
);
|
|
79915
79915
|
|
|
79916
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
79916
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/ApolloClient.js
|
|
79917
79917
|
var hasSuggestedDevtools = false;
|
|
79918
79918
|
var ApolloClient = (
|
|
79919
79919
|
/** @class */
|
|
@@ -80315,7 +80315,7 @@ spurious results.`);
|
|
|
80315
80315
|
})(gql || (gql = {}));
|
|
80316
80316
|
gql["default"] = gql;
|
|
80317
80317
|
|
|
80318
|
-
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.
|
|
80318
|
+
// node_modules/.pnpm/@apollo+client@3.11.8_@types+react@19.1.11_graphql@16.9.0/node_modules/@apollo/client/core/index.js
|
|
80319
80319
|
setVerbosity(globalThis.__DEV__ !== false ? "log" : "silent");
|
|
80320
80320
|
|
|
80321
80321
|
// src/modules/apollo-client.ts
|
|
@@ -92387,9 +92387,7 @@ spurious results.`);
|
|
|
92387
92387
|
var MAX_LTV_BTC_USDC = 0.8428;
|
|
92388
92388
|
var MAX_LIQUIDATION_RATIO = 0.86;
|
|
92389
92389
|
var VAULT_ID_EXTENDED = process.env.VAULT_ID_EXTENDED ?? 220774;
|
|
92390
|
-
var WALLET_ADDRESS = process.env.WALLET_ADDRESS ?? "
|
|
92391
|
-
var TESTNET_WALLET_ADDRESS = process.env.TESTNET_WALLET_ADDRESS ?? "0x07b84bb6E87588BdAde0bfe6173A615b3C220F9C3803456aE183C50EA1d15Ba1";
|
|
92392
|
-
var TEST_WALLET_2 = process.env.TEST_WALLET_2 ?? "0x004C1bdC61DAc7947F3C93d0163d660012E2aB0521567f7155fcf502848791A7";
|
|
92390
|
+
var WALLET_ADDRESS = process.env.WALLET_ADDRESS ?? "0x007E24592287427aaE9d291770B17d582E8A45f3aE54228F998793Ec769B7D13";
|
|
92393
92391
|
var STRK_API_TEST_RPC = process.env.STRK_API_TEST_RPC ?? "https://sepolia.starknet.a5a.ch";
|
|
92394
92392
|
var STRK_API_RPC = process.env.STRK_API_RPC ?? "https://mainnet.starknet.a5a.ch";
|
|
92395
92393
|
var MAX_RETRIES = Number(process.env.MAX_RETRIES ?? 3);
|
|
@@ -93705,7 +93703,7 @@ spurious results.`);
|
|
|
93705
93703
|
const amount = holdings.equity;
|
|
93706
93704
|
return Promise.resolve({
|
|
93707
93705
|
amount: new Web3Number(amount, 0),
|
|
93708
|
-
remarks:
|
|
93706
|
+
remarks: `Extended Equity`
|
|
93709
93707
|
});
|
|
93710
93708
|
}
|
|
93711
93709
|
async maxDeposit(amount) {
|
|
@@ -94557,7 +94555,7 @@ spurious results.`);
|
|
|
94557
94555
|
return Promise.resolve({ apy: 0, type: "base" /* BASE */ });
|
|
94558
94556
|
}
|
|
94559
94557
|
async getPosition(supportedPosition) {
|
|
94560
|
-
return Promise.resolve({ amount: new Web3Number(0, 0), remarks: "" });
|
|
94558
|
+
return Promise.resolve({ amount: new Web3Number(0, 0), remarks: "Avnu Positions" });
|
|
94561
94559
|
}
|
|
94562
94560
|
async maxDeposit(amount) {
|
|
94563
94561
|
return Promise.resolve({
|
|
@@ -99264,6 +99262,150 @@ spurious results.`);
|
|
|
99264
99262
|
return null;
|
|
99265
99263
|
}
|
|
99266
99264
|
}
|
|
99265
|
+
async getMaxBorrowableAmount() {
|
|
99266
|
+
const vesuAdapter = await this.getVesuAdapter();
|
|
99267
|
+
const extendedAdapter = await this.getExtendedAdapter();
|
|
99268
|
+
if (!vesuAdapter || !extendedAdapter) {
|
|
99269
|
+
return new Web3Number(0, 0);
|
|
99270
|
+
}
|
|
99271
|
+
const extendedFundingRate = new Web3Number((await extendedAdapter.getNetAPY()).toFixed(4), 0);
|
|
99272
|
+
const extendedPositions = await extendedAdapter.getAllOpenPositions();
|
|
99273
|
+
if (!extendedPositions || extendedPositions.length === 0) {
|
|
99274
|
+
logger2.info(`no extended positions found`);
|
|
99275
|
+
return new Web3Number(0, 0);
|
|
99276
|
+
}
|
|
99277
|
+
const extendePositionSizeUSD = new Web3Number(extendedPositions[0].value || 0, 0);
|
|
99278
|
+
const vesuPositions = await vesuAdapter.getPositions();
|
|
99279
|
+
const vesuSupplyApy = vesuPositions[0].apy.apy;
|
|
99280
|
+
const vesuCollateralSizeUSD = new Web3Number(vesuPositions[0].usdValue.toFixed(USDC_TOKEN_DECIMALS), USDC_TOKEN_DECIMALS);
|
|
99281
|
+
const vesuDebtSizeUSD = new Web3Number(vesuPositions[1].usdValue.toFixed(USDC_TOKEN_DECIMALS), USDC_TOKEN_DECIMALS);
|
|
99282
|
+
const num1 = extendePositionSizeUSD.multipliedBy(extendedFundingRate);
|
|
99283
|
+
const num2 = vesuCollateralSizeUSD.multipliedBy(vesuSupplyApy);
|
|
99284
|
+
const num3 = vesuDebtSizeUSD.abs();
|
|
99285
|
+
const maxBorrowApy = num1.plus(num2).minus(0.1).dividedBy(num3);
|
|
99286
|
+
const vesuMaxBorrowableAmount = await vesuAdapter.vesuAdapter.getMaxBorrowableByInterestRate(this.config, vesuAdapter.config.debt, maxBorrowApy.toNumber());
|
|
99287
|
+
return new Web3Number(vesuMaxBorrowableAmount.toFixed(USDC_TOKEN_DECIMALS), USDC_TOKEN_DECIMALS);
|
|
99288
|
+
}
|
|
99289
|
+
async getVesuHealthFactors() {
|
|
99290
|
+
const vesuAdapter = await this.getVesuAdapter();
|
|
99291
|
+
const extendedAdapter = await this.getExtendedAdapter();
|
|
99292
|
+
if (!vesuAdapter || !extendedAdapter) {
|
|
99293
|
+
return [0, 0];
|
|
99294
|
+
}
|
|
99295
|
+
const vesuPositions = await vesuAdapter.getPositions();
|
|
99296
|
+
const vesuCollateralSizeUSD = new Web3Number(vesuPositions[0].usdValue.toFixed(USDC_TOKEN_DECIMALS), 0);
|
|
99297
|
+
const vesuDebtSizeUSD = new Web3Number(vesuPositions[1].usdValue.toFixed(USDC_TOKEN_DECIMALS), 0);
|
|
99298
|
+
const actualLtv = vesuDebtSizeUSD.dividedBy(vesuCollateralSizeUSD).abs();
|
|
99299
|
+
logger2.info(`actualLtv: ${actualLtv.toNumber()}`);
|
|
99300
|
+
const maxLtv = new Web3Number(await vesuAdapter.vesuAdapter.getLTVConfig(this.config), 4);
|
|
99301
|
+
const healthFactor = new Web3Number(maxLtv.dividedBy(actualLtv).toFixed(4), 4);
|
|
99302
|
+
logger2.info(`healthFactor: ${healthFactor.toNumber()}`);
|
|
99303
|
+
const extendedBalance = await extendedAdapter.getExtendedDepositAmount();
|
|
99304
|
+
if (!extendedBalance) {
|
|
99305
|
+
return [0, 0];
|
|
99306
|
+
}
|
|
99307
|
+
const extendedLeverage = new Web3Number((Number(extendedBalance.marginRatio) * 100).toFixed(4), 4);
|
|
99308
|
+
logger2.info(`extendedLeverage: ${extendedLeverage.toNumber()}`);
|
|
99309
|
+
return [healthFactor.toNumber(), extendedLeverage.toNumber()];
|
|
99310
|
+
}
|
|
99311
|
+
async netAPY() {
|
|
99312
|
+
const allPositions = [];
|
|
99313
|
+
for (let adapter2 of this.metadata.additionalInfo.adapters) {
|
|
99314
|
+
if (adapter2.adapter.name !== ExtendedAdapter.name) {
|
|
99315
|
+
let positions = await adapter2.adapter.getPositions();
|
|
99316
|
+
if (positions.length > 0) {
|
|
99317
|
+
allPositions.push(...positions);
|
|
99318
|
+
}
|
|
99319
|
+
}
|
|
99320
|
+
}
|
|
99321
|
+
const extendedAdapter = await this.getExtendedAdapter();
|
|
99322
|
+
if (!extendedAdapter) {
|
|
99323
|
+
return {
|
|
99324
|
+
net: 0,
|
|
99325
|
+
splits: []
|
|
99326
|
+
};
|
|
99327
|
+
}
|
|
99328
|
+
let vesuPositions = allPositions.filter((item) => item.protocol === Protocols.VESU);
|
|
99329
|
+
vesuPositions.map((item) => {
|
|
99330
|
+
item.apy.apy = item.apy.apy * 0.1;
|
|
99331
|
+
});
|
|
99332
|
+
const extendedPositions = await extendedAdapter.getAllOpenPositions();
|
|
99333
|
+
const usdcToken = Global.getDefaultTokens().find((token) => token.symbol === "USDC");
|
|
99334
|
+
if (!extendedPositions || !usdcToken) {
|
|
99335
|
+
return {
|
|
99336
|
+
net: 0,
|
|
99337
|
+
splits: []
|
|
99338
|
+
};
|
|
99339
|
+
}
|
|
99340
|
+
const extendedPosition = extendedPositions[0] || 0;
|
|
99341
|
+
const extendedEquity = (await extendedAdapter.getExtendedDepositAmount())?.equity || 0;
|
|
99342
|
+
const extendedApy = await extendedAdapter.getNetAPY();
|
|
99343
|
+
const totalHoldingsUSDValue = allPositions.reduce((acc, curr) => acc + curr.usdValue, 0) + Number(extendedEquity);
|
|
99344
|
+
console.log(totalHoldingsUSDValue);
|
|
99345
|
+
const extendedPositionSizeMultipliedByApy = Number(extendedPosition.value) * extendedApy;
|
|
99346
|
+
let weightedAPYs = allPositions.reduce((acc, curr) => acc + curr.apy.apy * curr.usdValue, 0) + extendedPositionSizeMultipliedByApy;
|
|
99347
|
+
console.log(weightedAPYs);
|
|
99348
|
+
const netAPY = weightedAPYs / totalHoldingsUSDValue;
|
|
99349
|
+
console.log(netAPY);
|
|
99350
|
+
allPositions.push({
|
|
99351
|
+
tokenInfo: usdcToken,
|
|
99352
|
+
amount: new Web3Number(extendedPosition.size, 0),
|
|
99353
|
+
usdValue: Number(extendedEquity),
|
|
99354
|
+
apy: { apy: extendedApy, type: "base" /* BASE */ },
|
|
99355
|
+
remarks: "finalised" /* FINALISED */,
|
|
99356
|
+
protocol: Protocols.EXTENDED
|
|
99357
|
+
});
|
|
99358
|
+
return {
|
|
99359
|
+
net: netAPY,
|
|
99360
|
+
splits: allPositions.map((p) => ({ apy: p.apy.apy, id: p.remarks ?? "" }))
|
|
99361
|
+
};
|
|
99362
|
+
}
|
|
99363
|
+
async getWalletHoldings() {
|
|
99364
|
+
const usdceToken = Global.getDefaultTokens().find((token) => token.symbol === "USDCe");
|
|
99365
|
+
const wbtcToken = Global.getDefaultTokens().find((token) => token.symbol === "WBTC");
|
|
99366
|
+
const usdcToken = Global.getDefaultTokens().find((token) => token.symbol === "USDC");
|
|
99367
|
+
if (!usdceToken || !wbtcToken || !usdcToken) {
|
|
99368
|
+
return [];
|
|
99369
|
+
}
|
|
99370
|
+
const walletAddress = this.metadata.additionalInfo.walletAddress;
|
|
99371
|
+
const usdceWalletBalance = await new ERC20(this.config).balanceOf(
|
|
99372
|
+
usdceToken.address,
|
|
99373
|
+
walletAddress,
|
|
99374
|
+
usdceToken.decimals
|
|
99375
|
+
);
|
|
99376
|
+
const usdcWalletBalance = await new ERC20(this.config).balanceOf(
|
|
99377
|
+
usdcToken.address,
|
|
99378
|
+
walletAddress,
|
|
99379
|
+
usdcToken.decimals
|
|
99380
|
+
);
|
|
99381
|
+
const wbtcWalletBalance = await new ERC20(this.config).balanceOf(
|
|
99382
|
+
wbtcToken.address,
|
|
99383
|
+
walletAddress,
|
|
99384
|
+
wbtcToken.decimals
|
|
99385
|
+
);
|
|
99386
|
+
const price = await this.pricer.getPrice(usdceToken.symbol);
|
|
99387
|
+
const wbtcPrice = await this.pricer.getPrice(wbtcToken.symbol);
|
|
99388
|
+
const usdceUsdValue = Number(usdceWalletBalance.toFixed(usdceToken.decimals)) * price.price;
|
|
99389
|
+
const usdcUsdValue = Number(usdcWalletBalance.toFixed(usdcToken.decimals)) * price.price;
|
|
99390
|
+
const wbtcUsdValue = Number(wbtcWalletBalance.toFixed(wbtcToken.decimals)) * wbtcPrice.price;
|
|
99391
|
+
return [
|
|
99392
|
+
{
|
|
99393
|
+
tokenInfo: usdceToken,
|
|
99394
|
+
amount: usdceWalletBalance,
|
|
99395
|
+
usdValue: usdceUsdValue
|
|
99396
|
+
},
|
|
99397
|
+
{
|
|
99398
|
+
tokenInfo: usdcToken,
|
|
99399
|
+
amount: usdcWalletBalance,
|
|
99400
|
+
usdValue: usdcUsdValue
|
|
99401
|
+
},
|
|
99402
|
+
{
|
|
99403
|
+
tokenInfo: wbtcToken,
|
|
99404
|
+
amount: wbtcWalletBalance,
|
|
99405
|
+
usdValue: wbtcUsdValue
|
|
99406
|
+
}
|
|
99407
|
+
];
|
|
99408
|
+
}
|
|
99267
99409
|
};
|
|
99268
99410
|
function getLooperSettings2(lstSymbol, underlyingSymbol, vaultSettings, pool1, extendedBackendUrl, extendedApiKey, vaultIdExtended, minimumExtendedMovementAmount, minimumVesuMovementAmount, minimumExtendedRetriesDelayForOrderStatus, minimumExtendedPriceDifferenceForSwapOpen, maximumExtendedPriceDifferenceForSwapClosing) {
|
|
99269
99411
|
vaultSettings.leafAdapters = [];
|
|
@@ -99438,7 +99580,8 @@ spurious results.`);
|
|
|
99438
99580
|
Global.getDefaultTokens().find((token) => token.symbol === "WBTC").decimals
|
|
99439
99581
|
),
|
|
99440
99582
|
borrowable_assets: [Global.getDefaultTokens().find((token) => token.symbol === "WBTC")],
|
|
99441
|
-
minimumWBTCDifferenceForAvnuSwap: MINIMUM_WBTC_DIFFERENCE_FOR_AVNU_SWAP
|
|
99583
|
+
minimumWBTCDifferenceForAvnuSwap: MINIMUM_WBTC_DIFFERENCE_FOR_AVNU_SWAP,
|
|
99584
|
+
walletAddress: WALLET_ADDRESS
|
|
99442
99585
|
};
|
|
99443
99586
|
var VesuExtendedTestStrategies = (extendedBackendUrl, extendedApiKey, vaultIdExtended, minimumExtendedMovementAmount, minimumVesuMovementAmount, minimumExtendedRetriesDelayForOrderStatus, minimumExtendedPriceDifferenceForSwapOpen, maximumExtendedPriceDifferenceForSwapClosing) => {
|
|
99444
99587
|
return [
|