@streamflow/stream 7.0.3 → 7.1.0-alpha.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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"address": "aSTRM2NKoKxNnkmLWk9sz3k74gKBk9t7bpPrTGxMszH",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "streamflow_aligned_unlocks",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"spec": "0.1.0",
|
|
7
7
|
"description": "Proxy to update unlock amount within Streamflow vesting protocol according to Token performance and other metrics"
|
|
8
8
|
},
|
|
@@ -438,6 +438,14 @@
|
|
|
438
438
|
119
|
|
439
439
|
],
|
|
440
440
|
"accounts": [
|
|
441
|
+
{
|
|
442
|
+
"name": "payer",
|
|
443
|
+
"docs": [
|
|
444
|
+
"Rent payer"
|
|
445
|
+
],
|
|
446
|
+
"writable": true,
|
|
447
|
+
"signer": true
|
|
448
|
+
},
|
|
441
449
|
{
|
|
442
450
|
"name": "sender",
|
|
443
451
|
"writable": true,
|
|
@@ -446,7 +454,7 @@
|
|
|
446
454
|
{
|
|
447
455
|
"name": "sender_tokens",
|
|
448
456
|
"docs": [
|
|
449
|
-
"Associated token account address of `
|
|
457
|
+
"Associated token account address of `payer`."
|
|
450
458
|
],
|
|
451
459
|
"writable": true,
|
|
452
460
|
"pda": {
|
|
@@ -660,65 +668,7 @@
|
|
|
660
668
|
"writable": true
|
|
661
669
|
},
|
|
662
670
|
{
|
|
663
|
-
"name": "partner"
|
|
664
|
-
"writable": true
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"name": "partner_tokens",
|
|
668
|
-
"writable": true,
|
|
669
|
-
"pda": {
|
|
670
|
-
"seeds": [
|
|
671
|
-
{
|
|
672
|
-
"kind": "account",
|
|
673
|
-
"path": "partner"
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"kind": "account",
|
|
677
|
-
"path": "token_program"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"kind": "account",
|
|
681
|
-
"path": "mint"
|
|
682
|
-
}
|
|
683
|
-
],
|
|
684
|
-
"program": {
|
|
685
|
-
"kind": "const",
|
|
686
|
-
"value": [
|
|
687
|
-
140,
|
|
688
|
-
151,
|
|
689
|
-
37,
|
|
690
|
-
143,
|
|
691
|
-
78,
|
|
692
|
-
36,
|
|
693
|
-
137,
|
|
694
|
-
241,
|
|
695
|
-
187,
|
|
696
|
-
61,
|
|
697
|
-
16,
|
|
698
|
-
41,
|
|
699
|
-
20,
|
|
700
|
-
142,
|
|
701
|
-
13,
|
|
702
|
-
131,
|
|
703
|
-
11,
|
|
704
|
-
90,
|
|
705
|
-
19,
|
|
706
|
-
153,
|
|
707
|
-
218,
|
|
708
|
-
255,
|
|
709
|
-
16,
|
|
710
|
-
132,
|
|
711
|
-
4,
|
|
712
|
-
142,
|
|
713
|
-
123,
|
|
714
|
-
216,
|
|
715
|
-
219,
|
|
716
|
-
233,
|
|
717
|
-
248,
|
|
718
|
-
89
|
|
719
|
-
]
|
|
720
|
-
}
|
|
721
|
-
}
|
|
671
|
+
"name": "partner"
|
|
722
672
|
},
|
|
723
673
|
{
|
|
724
674
|
"name": "mint"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"address": "aSTRM2NKoKxNnkmLWk9sz3k74gKBk9t7bpPrTGxMszH",
|
|
3
3
|
"metadata": {
|
|
4
4
|
"name": "streamflow_aligned_unlocks",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.1.0",
|
|
6
6
|
"spec": "0.1.0",
|
|
7
7
|
"description": "Proxy to update unlock amount within Streamflow vesting protocol according to Token performance and other metrics"
|
|
8
8
|
},
|
|
@@ -438,6 +438,14 @@
|
|
|
438
438
|
119
|
|
439
439
|
],
|
|
440
440
|
"accounts": [
|
|
441
|
+
{
|
|
442
|
+
"name": "payer",
|
|
443
|
+
"docs": [
|
|
444
|
+
"Rent payer"
|
|
445
|
+
],
|
|
446
|
+
"writable": true,
|
|
447
|
+
"signer": true
|
|
448
|
+
},
|
|
441
449
|
{
|
|
442
450
|
"name": "sender",
|
|
443
451
|
"writable": true,
|
|
@@ -446,7 +454,7 @@
|
|
|
446
454
|
{
|
|
447
455
|
"name": "sender_tokens",
|
|
448
456
|
"docs": [
|
|
449
|
-
"Associated token account address of `
|
|
457
|
+
"Associated token account address of `payer`."
|
|
450
458
|
],
|
|
451
459
|
"writable": true,
|
|
452
460
|
"pda": {
|
|
@@ -660,65 +668,7 @@
|
|
|
660
668
|
"writable": true
|
|
661
669
|
},
|
|
662
670
|
{
|
|
663
|
-
"name": "partner"
|
|
664
|
-
"writable": true
|
|
665
|
-
},
|
|
666
|
-
{
|
|
667
|
-
"name": "partner_tokens",
|
|
668
|
-
"writable": true,
|
|
669
|
-
"pda": {
|
|
670
|
-
"seeds": [
|
|
671
|
-
{
|
|
672
|
-
"kind": "account",
|
|
673
|
-
"path": "partner"
|
|
674
|
-
},
|
|
675
|
-
{
|
|
676
|
-
"kind": "account",
|
|
677
|
-
"path": "token_program"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
"kind": "account",
|
|
681
|
-
"path": "mint"
|
|
682
|
-
}
|
|
683
|
-
],
|
|
684
|
-
"program": {
|
|
685
|
-
"kind": "const",
|
|
686
|
-
"value": [
|
|
687
|
-
140,
|
|
688
|
-
151,
|
|
689
|
-
37,
|
|
690
|
-
143,
|
|
691
|
-
78,
|
|
692
|
-
36,
|
|
693
|
-
137,
|
|
694
|
-
241,
|
|
695
|
-
187,
|
|
696
|
-
61,
|
|
697
|
-
16,
|
|
698
|
-
41,
|
|
699
|
-
20,
|
|
700
|
-
142,
|
|
701
|
-
13,
|
|
702
|
-
131,
|
|
703
|
-
11,
|
|
704
|
-
90,
|
|
705
|
-
19,
|
|
706
|
-
153,
|
|
707
|
-
218,
|
|
708
|
-
255,
|
|
709
|
-
16,
|
|
710
|
-
132,
|
|
711
|
-
4,
|
|
712
|
-
142,
|
|
713
|
-
123,
|
|
714
|
-
216,
|
|
715
|
-
219,
|
|
716
|
-
233,
|
|
717
|
-
248,
|
|
718
|
-
89
|
|
719
|
-
]
|
|
720
|
-
}
|
|
721
|
-
}
|
|
671
|
+
"name": "partner"
|
|
722
672
|
},
|
|
723
673
|
{
|
|
724
674
|
"name": "mint"
|
|
@@ -8,7 +8,7 @@ export type StreamflowAlignedUnlocks = {
|
|
|
8
8
|
address: "aSTRM2NKoKxNnkmLWk9sz3k74gKBk9t7bpPrTGxMszH";
|
|
9
9
|
metadata: {
|
|
10
10
|
name: "streamflowAlignedUnlocks";
|
|
11
|
-
version: "1.
|
|
11
|
+
version: "1.1.0";
|
|
12
12
|
spec: "0.1.0";
|
|
13
13
|
description: "Proxy to update unlock amount within Streamflow vesting protocol according to Token performance and other metrics";
|
|
14
14
|
};
|
|
@@ -395,6 +395,12 @@ export type StreamflowAlignedUnlocks = {
|
|
|
395
395
|
name: "create";
|
|
396
396
|
discriminator: [24, 30, 200, 40, 5, 28, 7, 119];
|
|
397
397
|
accounts: [
|
|
398
|
+
{
|
|
399
|
+
name: "payer";
|
|
400
|
+
docs: ["Rent payer"];
|
|
401
|
+
writable: true;
|
|
402
|
+
signer: true;
|
|
403
|
+
},
|
|
398
404
|
{
|
|
399
405
|
name: "sender";
|
|
400
406
|
writable: true;
|
|
@@ -402,7 +408,7 @@ export type StreamflowAlignedUnlocks = {
|
|
|
402
408
|
},
|
|
403
409
|
{
|
|
404
410
|
name: "senderTokens";
|
|
405
|
-
docs: ["Associated token account address of `
|
|
411
|
+
docs: ["Associated token account address of `payer`."];
|
|
406
412
|
writable: true;
|
|
407
413
|
pda: {
|
|
408
414
|
seeds: [
|
|
@@ -607,64 +613,6 @@ export type StreamflowAlignedUnlocks = {
|
|
|
607
613
|
},
|
|
608
614
|
{
|
|
609
615
|
name: "partner";
|
|
610
|
-
writable: true;
|
|
611
|
-
},
|
|
612
|
-
{
|
|
613
|
-
name: "partnerTokens";
|
|
614
|
-
writable: true;
|
|
615
|
-
pda: {
|
|
616
|
-
seeds: [
|
|
617
|
-
{
|
|
618
|
-
kind: "account";
|
|
619
|
-
path: "partner";
|
|
620
|
-
},
|
|
621
|
-
{
|
|
622
|
-
kind: "account";
|
|
623
|
-
path: "tokenProgram";
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
kind: "account";
|
|
627
|
-
path: "mint";
|
|
628
|
-
}
|
|
629
|
-
];
|
|
630
|
-
program: {
|
|
631
|
-
kind: "const";
|
|
632
|
-
value: [
|
|
633
|
-
140,
|
|
634
|
-
151,
|
|
635
|
-
37,
|
|
636
|
-
143,
|
|
637
|
-
78,
|
|
638
|
-
36,
|
|
639
|
-
137,
|
|
640
|
-
241,
|
|
641
|
-
187,
|
|
642
|
-
61,
|
|
643
|
-
16,
|
|
644
|
-
41,
|
|
645
|
-
20,
|
|
646
|
-
142,
|
|
647
|
-
13,
|
|
648
|
-
131,
|
|
649
|
-
11,
|
|
650
|
-
90,
|
|
651
|
-
19,
|
|
652
|
-
153,
|
|
653
|
-
218,
|
|
654
|
-
255,
|
|
655
|
-
16,
|
|
656
|
-
132,
|
|
657
|
-
4,
|
|
658
|
-
142,
|
|
659
|
-
123,
|
|
660
|
-
216,
|
|
661
|
-
219,
|
|
662
|
-
233,
|
|
663
|
-
248,
|
|
664
|
-
89
|
|
665
|
-
];
|
|
666
|
-
};
|
|
667
|
-
};
|
|
668
616
|
},
|
|
669
617
|
{
|
|
670
618
|
name: "mint";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamflow/stream",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.1.0-alpha.1",
|
|
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,16 +42,16 @@
|
|
|
42
42
|
"lint": "eslint --fix .",
|
|
43
43
|
"prepublishOnly": "pnpm run lint && pnpm run test run && pnpm run build"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "2e32c2fd69444c4e0398eb486baf7c98a1f0aaeb",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@streamflow/eslint-config": "7.0.
|
|
47
|
+
"@streamflow/eslint-config": "7.1.0-alpha.1",
|
|
48
48
|
"@types/bn.js": "5.1.1",
|
|
49
49
|
"@types/ethereum-checksum-address": "^0.0.0",
|
|
50
50
|
"date-fns": "2.28.0",
|
|
51
51
|
"typescript": "^5.6.3"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@coral-xyz/anchor": "^0.30.
|
|
54
|
+
"@coral-xyz/anchor": "^0.30.1",
|
|
55
55
|
"@coral-xyz/borsh": "0.30.1",
|
|
56
56
|
"@manahippo/aptos-wallet-adapter": "1.0.10",
|
|
57
57
|
"@mysten/sui.js": "0.54.1",
|
|
@@ -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.1.0-alpha.1",
|
|
63
63
|
"@suiet/wallet-kit": "0.2.22",
|
|
64
64
|
"aptos": "1.21.0",
|
|
65
65
|
"bn.js": "5.2.1",
|