@sonarwatch/portfolio-plugins 0.12.172 → 0.12.173
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.12.173](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.172...plugins-0.12.173) (2024-10-01)
|
6
|
+
|
7
|
+
|
8
|
+
|
5
9
|
## [0.12.172](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.171...plugins-0.12.172) (2024-09-30)
|
6
10
|
|
7
11
|
|
package/package.json
CHANGED
@@ -27,7 +27,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
27
27
|
value: owner,
|
28
28
|
},
|
29
29
|
});
|
30
|
-
if (!userIndexField)
|
30
|
+
if (!userIndexField || userIndexField.error)
|
31
31
|
return [];
|
32
32
|
const fields = yield (0, getDynamicFields_1.getDynamicFields)(client, ((_b = (_a = userIndexField.data) === null || _a === void 0 ? void 0 : _a.content) === null || _b === void 0 ? void 0 : _b.fields)
|
33
33
|
.value.fields.id.id);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"dcaFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/cetus/dcaFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAGvD,2CAA2D;AAC3D,iDAAmD;AAEnD,qEAAkE;AAClE,gFAA6E;AAC7E,uCAAqD;AACrD,iFAA8E;AAC9E,uEAAoE;AAGpE,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE;;IACtE,MAAM,MAAM,GAAG,IAAA,sBAAY,GAAE,CAAC;IAE9B,MAAM,cAAc,GAAG,MAAM,IAAA,6CAAqB,EAAC,MAAM,EAAE;QACzD,QAAQ,EAAE,4BAAgB;QAC1B,IAAI,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,KAAK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AAC,MAAM,CAAC,WAAW;aAC9C,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AACrC,CAAC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAY;IACvB,EAAE,EAAE,GAAG,sBAAU,MAAM;IACvB,SAAS,EAAE,0BAAS,CAAC,GAAG;IACxB,QAAQ;CACT,CAAC;AAEF,kBAAe,OAAO,CAAC"}
|
@@ -16,6 +16,7 @@ const getOwnedObjects_1 = require("../../utils/sui/getOwnedObjects");
|
|
16
16
|
const helpers_1 = require("./helpers");
|
17
17
|
const ElementRegistry_1 = require("../../utils/elementbuilder/ElementRegistry");
|
18
18
|
const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* () {
|
19
|
+
var _a;
|
19
20
|
const client = (0, clients_1.getClientSui)();
|
20
21
|
const accountCaps = yield (0, getOwnedObjects_1.getOwnedObjects)(client, owner, {
|
21
22
|
options: {
|
@@ -31,7 +32,7 @@ const executor = (owner, cache) => __awaiter(void 0, void 0, void 0, function* (
|
|
31
32
|
},
|
32
33
|
},
|
33
34
|
});
|
34
|
-
if (!accountCaps[0].data)
|
35
|
+
if (!((_a = accountCaps[0]) === null || _a === void 0 ? void 0 : _a.data))
|
35
36
|
return [];
|
36
37
|
const accountCapId = accountCaps[0].data.objectId;
|
37
38
|
const pools = yield cache.getItem(constants_1.poolsCacheKey, {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ordersFetcher.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/deepbook/ordersFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;AAAA,+DAAuD;AAEvD,2CAAoE;AAEpE,iDAAmD;AACnD,qEAAkE;AAClE,uCAA4C;AAE5C,gFAA6E;AAE7E,MAAM,QAAQ,GAAoB,CAAO,KAAa,EAAE,KAAY,EAAE,EAAE
|
1
|
+
{"version":3,"file":"ordersFetcher.js","sourceRoot":"","sources":["../../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