@triadxyz/triad-protocol 1.0.7-beta → 1.0.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.
Files changed (2) hide show
  1. package/dist/stake.js +3 -0
  2. package/package.json +1 -1
package/dist/stake.js CHANGED
@@ -238,6 +238,9 @@ class Stake {
238
238
  const ixs = [];
239
239
  for (const stake of stakes) {
240
240
  const rank = (0, getRarityRank_1.default)(ranks, stake.mint, stake.name);
241
+ if (ixs.length >= 10) {
242
+ break;
243
+ }
241
244
  const stakeVaultPDA = (0, stake_1.getStakeVaultPDA)(this.program.programId, this.stakeVaultName);
242
245
  const stakePDA = (0, stake_1.getStakePDA)(this.program.programId, wallet, stake.name);
243
246
  ixs.push(yield this.program.methods
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@triadxyz/triad-protocol",
3
- "version": "1.0.7-beta",
3
+ "version": "1.0.8-beta",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",