@streamflow/stream 2.1.0 → 2.1.1

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/sdk.js +1 -1
  2. package/package.json +1 -1
package/dist/sdk.js CHANGED
@@ -210,7 +210,7 @@ var Stream = /** @class */ (function () {
210
210
  return [4 /*yield*/, program.rpc.withdraw(amount, {
211
211
  accounts: {
212
212
  authority: invoker.publicKey,
213
- recipient: invoker.publicKey,
213
+ recipient: data.recipient,
214
214
  recipientTokens: data.recipientTokens,
215
215
  metadata: streamPublicKey,
216
216
  escrowTokens: data.escrowTokens,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@streamflow/stream",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
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/",