@triadxyz/triad-protocol 0.3.7-beta → 0.3.8-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.
package/dist/stake.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="@coral-xyz/anchor/node_modules/@solana/web3.js" />
1
2
  import { AnchorProvider, Program } from '@coral-xyz/anchor';
2
3
  import { PublicKey } from '@solana/web3.js';
3
4
  import { TriadProtocol } from './types/triad_protocol';
@@ -123,5 +124,5 @@ export default class Stake {
123
124
  * @param nftName - Name of the nft
124
125
  *
125
126
  */
126
- claimStakeRewards({ wallet, stakeVault, nftName, collections, rank }: ClaimStakeRewardsArgs, options?: RpcOptions): Promise<string>;
127
+ claimStakeRewards({ wallet, stakeVault, nftName, collections, rank }: ClaimStakeRewardsArgs, options?: RpcOptions): Promise<import("@solana/web3.js").Transaction>;
127
128
  }
package/dist/stake.js CHANGED
@@ -406,7 +406,7 @@ class Stake {
406
406
  })
407
407
  ]);
408
408
  }
409
- return method.rpc({ skipPreflight: options === null || options === void 0 ? void 0 : options.skipPreflight });
409
+ return method.transaction();
410
410
  });
411
411
  }
412
412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "0.3.7-beta",
3
+ "version": "0.3.8-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",