@sonarwatch/portfolio-plugins 0.12.68 → 0.12.69

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.69](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.68...plugins-0.12.69) (2024-07-16)
6
+
7
+
8
+
5
9
  ## [0.12.68](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.67...plugins-0.12.68) (2024-07-16)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.68",
3
+ "version": "0.12.69",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -30,7 +30,7 @@ exports.airdropConfigs = [
30
30
  claimStart: 1706659200000,
31
31
  claimEnd: 1722430800000,
32
32
  id: 'lfg-jup-s1',
33
- name: 'Season #1',
33
+ name: 'S1',
34
34
  emitterName: 'Jupiter',
35
35
  emitterLink: 'https://jup.ag/',
36
36
  claimLink: 'https://lfg.jup.ag/jup',
@@ -120,7 +120,7 @@ exports.airdropConfigs = [
120
120
  emitterLink: 'https://app.kamino.finance/',
121
121
  claimLink: 'https://app.kamino.finance/genesis',
122
122
  image: 'https://sonar.watch/img/platforms/kamino.webp',
123
- name: 'Season #1',
123
+ name: 'S1',
124
124
  },
125
125
  },
126
126
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AAE3D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;IACzB,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A2B;YACtC,KAAK,EAAE,+CAA+C;SACvD;KACF;IACD;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,6CAA6C;QACjE,KAAK,EAAE,MAAM;QACb,UAAU,EAAE,sBAAgB;QAC5B,UAAU,EAAE,CAAC,KAAa,EAAE,EAAE,CAC5B,+CAA+C,KAAK,EAAE;QACxD,OAAO,EAAE;YACP,UAAU,EAAE,aAAa;YACzB,QAAQ,EAAE,SAAS;YACnB,EAAE,EAAE,WAAW;YACf,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,6BAA6B;YAC1C,SAAS,EAAE,oCAAoC;YAC/C,KAAK,EAAE,+CAA+C;YACtD,IAAI,EAAE,WAAW;SAClB;KACF;CACF,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/constants.ts"],"names":[],"mappings":";;;AAAA,6CAA4C;AAG5C,sDAAwE;AAE3D,QAAA,UAAU,GAAG,mBAAmB,CAAC;AAC9C,MAAM,aAAa,GAAG,gDAAgD,CAAC;AAC1D,QAAA,QAAQ,GAAa;IAChC,EAAE,EAAE,kBAAU;IACd,IAAI,EAAE,mBAAmB;IACzB,KAAK,EAAE,aAAa;IACpB,OAAO,EAAE,qBAAqB;IAC9B,OAAO,EAAE,qCAAqC;CAC/C,CAAC;AAEW,QAAA,aAAa,GAAG,IAAI,mBAAS,CACxC,6CAA6C,CAC9C,CAAC;AACW,QAAA,YAAY,GAAG,IAAI,mBAAS,CACvC,8CAA8C,CAC/C,CAAC;AACW,QAAA,OAAO,GAAG,6CAA6C,CAAC;AACxD,QAAA,WAAW,GAAG,CAAC,CAAC;AAEhB,QAAA,aAAa,GAAG,uCAAuC,CAAC;AACxD,QAAA,aAAa,GAAG,8CAA8C,CAAC;AAE/D,QAAA,cAAc,GAAoB;IAC7C;QACE,IAAI,EAAE,6CAA6C;QACnD,QAAQ,EAAE,CAAC;Q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,EAAE,IAAI;SACX;KACF;CACF,CAAC"}
@@ -35,7 +35,14 @@ function getLfgAirdropFetcher(aConfig) {
35
35
  if (!claimProof || typeof claimProof.data === 'string')
36
36
  return (0, AirdropFetcher_1.getAirdropRaw)({
37
37
  statics: aConfig.statics,
38
- items: [{ amount: 0, isClaimed: false, label: aConfig.label }],
38
+ items: [
39
+ {
40
+ amount: 0,
41
+ isClaimed: false,
42
+ label: aConfig.label,
43
+ address: aConfig.mint,
44
+ },
45
+ ],
39
46
  });
40
47
  const claimStatusAddress = (0, deriveClaimStatus_1.deriveClaimStatus)(owner, claimProof.data.merkle_tree, aConfig.distributorProgram);
41
48
  const claimStatusAaccount = yield client.getAccountInfo(claimStatusAddress);
@@ -1 +1 @@
1
- {"version":3,"file":"lfgAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/lfgAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAC7C,gEAAqC;AACrC,4DAIiC;AAGjC,uFAAoF;AACpF,oDAAyD;AAEzD,SAAgB,oBAAoB,CAAC,OAAsB;IACzD,MAAM,QAAQ,GAA2B,CAAO,KAAa,EAAE,EAAE;QAC/D,MAAM,MAAM,GAAG,IAAA,yBAAe,GAAE,CAAC;QACjC,MAAM,UAAU,GAA6C,MAAM,eAAK;aACrE,GAAG,CAAC,OAAO,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE;YAC9B,OAAO,EAAE,IAAI;SACd,CAAC;aACD,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE;YACX,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;gBAC5C,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,IAAI,KAAK,CAAC,8BAA8B,OAAO,CAAC,IAAI,EAAE,CAAC,CAAC;QAChE,CAAC,CAAC,CAAC;QAEL,IAAI,CAAC,UAAU,IAAI,OAAO,UAAU,CAAC,IAAI,KAAK,QAAQ;YACpD,OAAO,IAAA,8BAAa,EAAC;gBACnB,OAAO,EAAE,OAAO,CAAC,OAAO;gBACxB,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC;aAC/D,CAAC,CAAC;QAEL,MAAM,kBAAkB,GAAG,IAAA,qCAAiB,EAC1C,KAAK,EACL,UAAU,CAAC,IAAI,CAAC,WAAW,EAC3B,OAAO,CAAC,kBAAkB,CAC3B,CAAC;QACF,MAAM,mBAAmB,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC;QAE5E,OAAO,IAAA,8BAAa,EAAC;YACnB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE;gBACL;oBACE,MAAM,EAAE,IAAI,sBAAS,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC;yBAC1C,GAAG,CAAC,SAAA,EAAE,EAAI,OAAO,CAAC,QAAQ,CAAA,CAAC;yBAC3B,QAAQ,EAAE;oBACb,SAAS,EAAE,mBAAmB,KAAK,IAAI;oBACvC,KAAK,EAAE,OAAO,CAAC,KAAK;oBACpB,OAAO,EAAE,OAAO,CAAC,IAAI;iBACtB;aACF;SACF,CAAC,CAAC;IACL,CAAC,CAAA,CAAC;IAEF,OAAO;QACL,EAAE,EAAE,OAAO,CAAC,OAAO,CAAC,EAAE;QACtB,SAAS,EAAE,0BAAS,CAAC,MAAM;QAC3B,QAAQ;KACT,CAAC;AACJ,CAAC;AA/CD,oDA+CC"}
1
+ {"version":3,"file":"lfgAirdropFetcher.js","sourceRoot":"","sources":["../../../../../../../packages/plugins/src/plugins/jupiter/launchpad/lfgAirdropFetcher.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,+DAAuD;AACvD,kDAA6C;AAC7C,gEAAqC;AACrC,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