@streamflow/stream 5.9.7 → 5.9.10

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]; }))];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamflow/stream",
3
- "version": "5.9.7",
3
+ "version": "5.9.10",
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": "39fa0c47964e1f7d0330e7407f6a9a9773455892",
15
15
  "devDependencies": {
16
16
  "@types/bn.js": "5.1.1",
17
17
  "@types/ethereum-checksum-address": "^0.0.0",