@triadxyz/poseidons-protocol 0.0.1 → 0.0.2

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -129,7 +129,7 @@ class PoseidonsProtocolClient {
129
129
  return __awaiter(this, void 0, void 0, function* () {
130
130
  const ixs = [
131
131
  yield this.program.methods
132
- .addPoseidonPower(new anchor_1.BN(amount))
132
+ .addPoseidonPower(new anchor_1.BN(amount * Math.pow(10, 6)))
133
133
  .accounts({
134
134
  owner: this.program.provider.publicKey,
135
135
  corePoseidonCollection: constants_1.CORE_POSEIDON_COLLECTION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/poseidons-protocol",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",