@sonarwatch/portfolio-plugins 0.12.86 → 0.12.87

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.87](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.86...plugins-0.12.87) (2024-07-24)
6
+
7
+
8
+
5
9
  ## [0.12.86](https://github.com/sonarwatch/portfolio/compare/plugins-0.12.85...plugins-0.12.86) (2024-07-23)
6
10
 
7
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonarwatch/portfolio-plugins",
3
- "version": "0.12.86",
3
+ "version": "0.12.87",
4
4
  "type": "commonjs",
5
5
  "types": "./src/index.d.ts",
6
6
  "peerDependencies": {
@@ -42,7 +42,7 @@ function fetchAirdropInfo(owner) {
42
42
  .dividedBy(driftFactor)
43
43
  .toNumber(),
44
44
  merkle: res.data.merkle_tree,
45
- isClaimed: res.data.unvested_amount === 0,
45
+ isClaimed: res.data.claimed_amount !== 0,
46
46
  };
47
47
  });
48
48
  }
@@ -1 +1 @@
1
- {"version":3,"file":"helpersAirdrop.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/helpersAirdrop.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,2CAKqB;AACrB,yDAI8B;AAE9B,MAAM,WAAW,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,yBAAa,CAAA,CAAC,CAAC;AAmBvD,SAAsB,gBAAgB,CAAC,KAAa;;QAClD,MAAM,GAAG,GAAmC,MAAM,eAAK,CAAC,GAAG,CACzD,sBAAU,GAAG,KAAK,EAClB;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE,2BAA2B;aACrC;YACD,OAAO,EAAE,IAAI;YACb,cAAc,CAAC,M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AAE,oBAAoB;CAC/B,CAAC"}
1
+ {"version":3,"file":"helpersAirdrop.js","sourceRoot":"","sources":["../../../../../../packages/plugins/src/plugins/drift/helpersAirdrop.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,kDAA6C;AAC7C,+DAAuD;AACvD,2CAKqB;AACrB,yDAI8B;AAE9B,MAAM,WAAW,GAAG,IAAI,sBAAS,CAAC,SAAA,EAAE,EAAI,yBAAa,CAAA,CAAC,CAAC;AAmBvD,SAAsB,gBAAgB,CAAC,KAAa;;QAClD,MAAM,GAAG,GAAmC,MAAM,eAAK,CAAC,GAAG,CACzD,sBAAU,GAAG,KAAK,EAClB;YACE,OAAO,EAAE;gBACP,MAAM,EAAE,0BAA0B;gBAClC,OAAO,EAAE,2BAA2B;aACrC;YACD,OAAO,EAAE,IAAI;YACb,cAAc,CAAC,MAAM;gBACnB,OAAO,MAAM,KAAK,GAAG,IAAI,MAAM,KAAK,GAAG,CAAC;YAC1C,CAAC;SACF,CACF,CAAC;QAEF,IAAI,GAAG,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC;YACnB,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;QAC5D,CAAC;QAED,MAAM,eAAe,GACnB,IAAI,CAAC,GAAG,EAAE,GAAG,GAAG,CAAC,IAAI,CAAC,MAAM,GAAG,IAAI;YACjC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU;YACrB,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC,YAAY,CAAC;QAE5B,OAAO;YACL,MAAM,EAAE,IAAI,sBAAS,CAAC,eAAe,IAAI,CAAC,CAAC;iBACxC,SAAS,CAAC,WAAW,CAAC;iBACtB,QAAQ,EAAE;YACb,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,WAAW;YAC5B,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,cAAc,KAAK,CAAC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