@streamflow/stream 7.0.1 → 7.0.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.
|
@@ -429,6 +429,7 @@ class SolanaStreamClient extends BaseStreamClient_js_1.BaseStreamClient {
|
|
|
429
429
|
/**
|
|
430
430
|
* Creates multiple stream/vesting contracts, and send all transactions sequentially.
|
|
431
431
|
* All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
|
|
432
|
+
* In most cases, createMultiple should be used instead.
|
|
432
433
|
*/
|
|
433
434
|
async createMultipleSequential(data, extParams) {
|
|
434
435
|
const { recipients, ...streamParams } = data;
|
|
@@ -499,7 +500,7 @@ class SolanaStreamClient extends BaseStreamClient_js_1.BaseStreamClient {
|
|
|
499
500
|
}
|
|
500
501
|
const signedBatch = await (0, utils_js_1.signAllTransactionWithRecipients)(sender, batch);
|
|
501
502
|
if (prepareInstructions.length > 0) {
|
|
502
|
-
const prepareTx = signedBatch.
|
|
503
|
+
const prepareTx = signedBatch.shift();
|
|
503
504
|
await (0, utils_js_1.sendAndConfirmStreamRawTransaction)(this.connection, prepareTx, { hash, context }, { sendThrottler: this.sendThrottler });
|
|
504
505
|
}
|
|
505
506
|
const responses = [];
|
|
@@ -56,6 +56,7 @@ export declare class SolanaStreamClient extends BaseStreamClient {
|
|
|
56
56
|
/**
|
|
57
57
|
* Creates multiple stream/vesting contracts, and send all transactions sequentially.
|
|
58
58
|
* All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
|
|
59
|
+
* In most cases, createMultiple should be used instead.
|
|
59
60
|
*/
|
|
60
61
|
createMultipleSequential(data: ICreateMultipleStreamData, extParams: ICreateStreamSolanaExt): Promise<IMultiTransactionResult>;
|
|
61
62
|
/**
|
|
@@ -405,6 +405,7 @@ export class SolanaStreamClient extends BaseStreamClient {
|
|
|
405
405
|
/**
|
|
406
406
|
* Creates multiple stream/vesting contracts, and send all transactions sequentially.
|
|
407
407
|
* All fees are paid by sender (escrow metadata account rent, escrow token account rent, recipient's associated token account rent, Streamflow's service fee).
|
|
408
|
+
* In most cases, createMultiple should be used instead.
|
|
408
409
|
*/
|
|
409
410
|
async createMultipleSequential(data, extParams) {
|
|
410
411
|
const { recipients, ...streamParams } = data;
|
|
@@ -475,7 +476,7 @@ export class SolanaStreamClient extends BaseStreamClient {
|
|
|
475
476
|
}
|
|
476
477
|
const signedBatch = await signAllTransactionWithRecipients(sender, batch);
|
|
477
478
|
if (prepareInstructions.length > 0) {
|
|
478
|
-
const prepareTx = signedBatch.
|
|
479
|
+
const prepareTx = signedBatch.shift();
|
|
479
480
|
await sendAndConfirmStreamRawTransaction(this.connection, prepareTx, { hash, context }, { sendThrottler: this.sendThrottler });
|
|
480
481
|
}
|
|
481
482
|
const responses = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamflow/stream",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.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/esm/index.js",
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
"lint": "eslint --fix .",
|
|
43
43
|
"prepublishOnly": "npm run lint && npm test && npm run build"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "7e273924c589968c2646af616cd955e1abadc817",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@streamflow/eslint-config": "7.0.
|
|
47
|
+
"@streamflow/eslint-config": "7.0.2",
|
|
48
48
|
"@types/bn.js": "5.1.1",
|
|
49
49
|
"@types/ethereum-checksum-address": "^0.0.0",
|
|
50
50
|
"date-fns": "2.28.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@solana/spl-token": "0.4.9",
|
|
60
60
|
"@solana/wallet-adapter-base": "0.9.19",
|
|
61
61
|
"@solana/web3.js": "1.95.4",
|
|
62
|
-
"@streamflow/common": "7.0.
|
|
62
|
+
"@streamflow/common": "7.0.2",
|
|
63
63
|
"@suiet/wallet-kit": "0.2.22",
|
|
64
64
|
"aptos": "1.21.0",
|
|
65
65
|
"bn.js": "5.2.1",
|