@triadxyz/poseidons-protocol 0.3.8 → 0.3.9

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.
@@ -38,7 +38,7 @@ class Game {
38
38
  ixs.push(yield this.program.methods
39
39
  .createUser(refer)
40
40
  .accounts({
41
- signer: this.program.provider.publicKey,
41
+ signer: user,
42
42
  payer: this.rpcOptions.payer
43
43
  })
44
44
  .instruction());
@@ -114,7 +114,7 @@ class Wheel {
114
114
  ixs.push(yield this.program.methods
115
115
  .createUser(refer)
116
116
  .accounts({
117
- signer: this.program.provider.publicKey,
117
+ signer: user,
118
118
  payer: this.rpcOptions.payer
119
119
  })
120
120
  .instruction());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/poseidons-protocol",
3
- "version": "0.3.8",
3
+ "version": "0.3.9",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",