@streamflow/stream 5.11.1 → 5.11.2

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.
@@ -58,7 +58,7 @@ export default class SolanaStreamClient extends BaseStreamClient {
58
58
  /**
59
59
  * Creates Transaction Instructions for withdrawal
60
60
  */
61
- prepareWithdawInstructions({ id, amount }: IWithdrawData, { invoker, checkTokenAccounts, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
61
+ prepareWithdrawInstructions({ id, amount }: IWithdrawData, { invoker, checkTokenAccounts, computePrice, computeLimit }: IInteractStreamSolanaExt): Promise<TransactionInstruction[]>;
62
62
  /**
63
63
  * Attempts canceling the specified stream.
64
64
  */
@@ -553,7 +553,7 @@ var SolanaStreamClient = /** @class */ (function (_super) {
553
553
  var ixs, _c, tx, hash, signature;
554
554
  return __generator(this, function (_d) {
555
555
  switch (_d.label) {
556
- case 0: return [4 /*yield*/, this.prepareWithdawInstructions({ id: id, amount: amount }, extParams)];
556
+ case 0: return [4 /*yield*/, this.prepareWithdrawInstructions({ id: id, amount: amount }, extParams)];
557
557
  case 1:
558
558
  ixs = _d.sent();
559
559
  return [4 /*yield*/, (0, utils_1.prepareTransaction)(this.connection, ixs, extParams.invoker.publicKey, this.getCommitment())];
@@ -570,7 +570,7 @@ var SolanaStreamClient = /** @class */ (function (_super) {
570
570
  /**
571
571
  * Creates Transaction Instructions for withdrawal
572
572
  */
573
- SolanaStreamClient.prototype.prepareWithdawInstructions = function (_a, _b) {
573
+ SolanaStreamClient.prototype.prepareWithdrawInstructions = function (_a, _b) {
574
574
  var id = _a.id, _c = _a.amount, amount = _c === void 0 ? constants_2.WITHDRAW_AVAILABLE_AMOUNT : _c;
575
575
  var invoker = _b.invoker, checkTokenAccounts = _b.checkTokenAccounts, computePrice = _b.computePrice, computeLimit = _b.computeLimit;
576
576
  return __awaiter(this, void 0, void 0, function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamflow/stream",
3
- "version": "5.11.1",
3
+ "version": "5.11.2",
4
4
  "description": "JavaScript SDK to interact with Streamflow protocol.",
5
5
  "homepage": "https://github.com/streamflow-finance/js-sdk/",
6
6
  "main": "dist/index.js",
@@ -11,7 +11,7 @@
11
11
  "lint": "eslint .",
12
12
  "prepublishOnly": "npm run lint && npm test && npm run build"
13
13
  },
14
- "gitHead": "8ae9fa79978ff85a5c7b9cbd073ff5407787f268",
14
+ "gitHead": "08187365d2ed2ec74cc63e418b2dfc5908b5424a",
15
15
  "devDependencies": {
16
16
  "@types/bn.js": "5.1.1",
17
17
  "@types/ethereum-checksum-address": "^0.0.0",