@triadxyz/triad-protocol 1.0.6-beta → 1.0.7-beta

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.
@@ -156,7 +156,7 @@ const claimAllRewards = () => __awaiter(void 0, void 0, void 0, function* () {
156
156
  wallet: wallet.publicKey,
157
157
  ranks: [],
158
158
  collections: 1,
159
- verifier: ''
159
+ verifier: '43bkRb3xj4Vv77Y76TjQuNiPGUsnun4tFSMYXY2Y2K5LfRT79YDpHhc7jruWmDGdygUBPXYQQZntCQz6V6cRGz8F'
160
160
  });
161
161
  console.log(response);
162
162
  });
@@ -25,7 +25,8 @@ const sendVersionedTransaction = (provider, ixs, options, payer) => __awaiter(vo
25
25
  if (payer) {
26
26
  tx.sign([payer]);
27
27
  }
28
- return provider.sendAndConfirm(tx, payer ? [payer] : [], {
28
+ const newTx = yield provider.wallet.signTransaction(tx);
29
+ return provider.sendAndConfirm(newTx, payer ? [payer] : [], {
29
30
  skipPreflight: options === null || options === void 0 ? void 0 : options.skipPreflight,
30
31
  commitment: 'confirmed'
31
32
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "1.0.6-beta",
3
+ "version": "1.0.7-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",