@streamflow/stream 5.9.7 → 5.9.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.
@@ -154,6 +154,7 @@ var ContractError = /** @class */ (function (_super) {
154
154
  // Copy properties from the original error
155
155
  Object.setPrototypeOf(_this, ContractError.prototype);
156
156
  _this.name = "ContractError"; // Set the name property
157
+ _this.stack = error.stack;
157
158
  return _this;
158
159
  }
159
160
  return ContractError;
@@ -1036,10 +1036,10 @@ var SolanaStreamClient = /** @class */ (function (_super) {
1036
1036
  [data.partner, data.partnerTokens],
1037
1037
  [data.streamflowTreasury, data.streamflowTreasuryTokens],
1038
1038
  ].filter(function (value) {
1039
- if (checkedKeys.has(value[1])) {
1039
+ if (checkedKeys.has(value[1].toBase58())) {
1040
1040
  return false;
1041
1041
  }
1042
- checkedKeys.add(value[1]);
1042
+ checkedKeys.add(value[1].toBase58());
1043
1043
  return true;
1044
1044
  });
1045
1045
  return [4 /*yield*/, this.connection.getMultipleAccountsInfo(accountArrays.map(function (item) { return item[1]; }))];
@@ -1050,7 +1050,7 @@ var SolanaStreamClient = /** @class */ (function (_super) {
1050
1050
  ixs.push((0, spl_token_2.createAssociatedTokenAccountInstruction)(invoker.publicKey, accountArrays[i][1], accountArrays[i][0], data.mint, spl_token_1.TOKEN_PROGRAM_ID, spl_token_1.ASSOCIATED_TOKEN_PROGRAM_ID));
1051
1051
  }
1052
1052
  }
1053
- return [2 /*return*/];
1053
+ throw new Error();
1054
1054
  }
1055
1055
  });
1056
1056
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamflow/stream",
3
- "version": "5.9.7",
3
+ "version": "5.9.9",
4
4
  "description": "JavaScript SDK to interact with Streamflow protocol.",
5
5
  "main": "dist/index.js",
6
6
  "homepage": "https://github.com/streamflow-finance/js-sdk/",
@@ -11,7 +11,7 @@
11
11
  "lint": "eslint .",
12
12
  "prepublishOnly": "npm run lint && npm test && npm run build"
13
13
  },
14
- "gitHead": "441cd7b06358e430ea6c22a506b7a66cc8768ed6",
14
+ "gitHead": "91defc21be5d64444f111e638c4fab1daab25def",
15
15
  "devDependencies": {
16
16
  "@types/bn.js": "5.1.1",
17
17
  "@types/ethereum-checksum-address": "^0.0.0",