@sonarwatch/portfolio-plugins 0.12.62 → 0.12.64
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/plugins/jupiter/governance/asrAirdropFetcher.js +4 -2
- package/src/plugins/jupiter/governance/asrAirdropFetcher.js.map +1 -1
- package/src/plugins/jupiter/governance/constants.js +1 -1
- package/src/plugins/jupiter/governance/constants.js.map +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,14 @@
|
|
2
2
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
4
4
|
|
5
|
+
## [0.12.64](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.63...plugins-0.12.64) (2024-07-14)
|
6
|
+
|
7
|
+
|
8
|
+
|
9
|
+
## [0.12.63](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.62...plugins-0.12.63) (2024-07-14)
|
10
|
+
|
11
|
+
|
12
|
+
|
5
13
|
## [0.12.62](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.61...plugins-0.12.62) (2024-07-14)
|
6
14
|
|
7
15
|
|
package/package.json
CHANGED
@@ -54,8 +54,10 @@ function asrDeriveClaimStatus(claimant, claimProof) {
|
|
54
54
|
}
|
55
55
|
const fetchAirdropExecutor = (owner) => __awaiter(void 0, void 0, void 0, function* () {
|
56
56
|
const claimsProof = yield axios_1.default
|
57
|
-
.get(`${constants_1.asrApi}/${owner}`, { timeout:
|
58
|
-
.catch(() =>
|
57
|
+
.get(`${constants_1.asrApi}/${owner}`, { timeout: 5000 })
|
58
|
+
.catch(() => {
|
59
|
+
throw new Error('Failed to get asr claim proof');
|
60
|
+
});
|
59
61
|
if (!claimsProof ||
|
60
62
|
!claimsProof.data.claim ||
|
61
63
|
claimsProof.data.claim.length === 0)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"asrAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/asrAirdropFetcher.ts"],"names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2B,CAAO,KAAa,EAAE,EAAE;IAC3E,MAAM,WAAW,GAAsC,MAAM,eAAK;SAC/D,GAAG,CAAC,GAAG,kBAAM,IAAI,KAAK,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;SAC5C,KAAK,CAAC,GAAG,EAAE,
|
1
|
+
{"version":3,"file":"asrAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/asrAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAC7C,gEAAqC;AACrC,2CAAkD;AAClD,4DAIiC;AAEjC,mGAAgG;AAChG,oDAAyD;AACzD,sDAAgF;AAChF,uFAAoF;AAEpF,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC;IACxB,CAAC,mBAAO,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,CAAC;IACxC;QACE,6CAA6C;QAC7C,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,EAAE;KAC/B;IACD;QACE,6CAA6C;QAC7C,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE;KAC9B;IACD;QACE,6CAA6C;QAC7C,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE;KAC9B;IACD;QACE,6CAA6C;QAC7C,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE;KAChC;CACF,CAAC,CAAC;AACH,MAAM,eAAe,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;IAC3E,MAAM,EAAE,CAAC;IACT,KAAK;IACL,OAAO;IACP,SAAS,EAAE,KAAK;CACjB,CAAC,CAAC,CAAC;AAEJ,SAAS,oBAAoB,CAC3B,QAAg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CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;YAChD,IAAI,CAAC,aAAa,CAAC,IAAI;gBAAE,OAAO,EAAE,CAAC;YACnC,MAAM,OAAO,GAAG,SAAS,CAAC,GAAG,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;YAClD,IAAI,CAAC,OAAO;gBAAE,OAAO,EAAE,CAAC;YACxB,MAAM,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,OAAO,CAAC;YACpC,OAAO;gBACL;oBACE,MAAM,EAAE,IAAI,sBAAS,CAAC,aAAa,CAAC,MAAM,CAAC;yBACxC,GAAG,CAAC,SAAA,EAAE,EAAI,QAAQ,CAAA,CAAC;yBACnB,QAAQ,EAAE;oBACb,SAAS,EAAE,CAAC,CAAC,QAAQ;oBACrB,KAAK;oBACL,OAAO,EAAE,aAAa,CAAC,IAAI;iBAC5B;aACF,CAAC;QACJ,CAAC,CAAC;aACD,IAAI,EAAE;KACV,CAAC,CAAC;AACL,CAAC,CAAA,CAAC;AAEF,MAAM,cAAc,GAAmB;IACrC,EAAE,EAAE,uBAAW,CAAC,EAAE;IAClB,SAAS,EAAE,0BAAS,CAAC,MAAM;IAC3B,QAAQ,EAAE,oBAAoB;CAC/B,CAAC;AAEF,kBAAe,cAAc,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAC/C,MAAM,YAAY,GAAG,oBAAoB,CAAC;AAC1C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AACvE,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAClC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,MAAM,GAAG,qDAAqD,CAAC;AAC/D,QAAA,WAAW,GAAmB;IACzC,EAAE,EAAE,WAAW;IACf,SAAS,EAAE,yBAAyB;IACpC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/governance/constants.ts"],"names":[],"mappings":";;;AAGa,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAC/C,MAAM,YAAY,GAAG,oBAAoB,CAAC;AAC1C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AACvE,MAAM,eAAe,GAAG,sBAAsB,CAAC;AAClC,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,YAAY;IAClB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,eAAe;IACxB,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,MAAM,GAAG,qDAAqD,CAAC;AAC/D,QAAA,WAAW,GAAmB;IACzC,EAAE,EAAE,WAAW;IACf,SAAS,EAAE,yBAAyB;IACpC,KAAK,EAAE,aAAa;IACpB,WAAW,EAAE,eAAe;IAC5B,WAAW,EAAE,SAAS;IACtB,UAAU,EAAE,aAAa;IACzB,QAAQ,EAAE,aAAa;IACvB,IAAI,EAAE,QAAQ;CACf,CAAC"}
|