@mysten/zksend 1.3.0 → 2.0.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.
- package/CHANGELOG.md +26 -0
- package/README.md +6 -4
- package/docs/link-builder.md +5 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @mysten/zksend
|
|
2
2
|
|
|
3
|
+
## 2.0.1
|
|
4
|
+
|
|
5
|
+
## 2.0.0
|
|
6
|
+
|
|
7
|
+
### Patch Changes
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [233b207]
|
|
10
|
+
- Updated dependencies [98cb619]
|
|
11
|
+
- Updated dependencies [e39d2a9]
|
|
12
|
+
- Updated dependencies [d4e4406]
|
|
13
|
+
- Updated dependencies [693482d]
|
|
14
|
+
- Updated dependencies [233b207]
|
|
15
|
+
- Updated dependencies [1bf4878]
|
|
16
|
+
- Updated dependencies [1871849]
|
|
17
|
+
- Updated dependencies [19d3a1c]
|
|
18
|
+
- Updated dependencies [52660ab]
|
|
19
|
+
- Updated dependencies [f43f64d]
|
|
20
|
+
- Updated dependencies [f43f64d]
|
|
21
|
+
- Updated dependencies [659c915]
|
|
22
|
+
- Updated dependencies [2cb1611]
|
|
23
|
+
- Updated dependencies [faf8d74]
|
|
24
|
+
- Updated dependencies [f43f64d]
|
|
25
|
+
- Updated dependencies [e39d2a9]
|
|
26
|
+
- @mysten/sui@3.0.0
|
|
27
|
+
- @mysten/wallet-standard@0.22.0
|
|
28
|
+
|
|
3
29
|
## 1.3.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -102,13 +102,15 @@ You can call the `link.createSendTransaction()` method, which returns a `Transac
|
|
|
102
102
|
you can sign and submit.
|
|
103
103
|
|
|
104
104
|
```ts
|
|
105
|
+
import { fromBase64 } from '@mysten/sui/utils';
|
|
106
|
+
|
|
105
107
|
const tx = await link.createSendTransaction();
|
|
106
108
|
|
|
107
|
-
const { bytes, signature } = tx.sign({ client, signer: keypair });
|
|
109
|
+
const { bytes, signature } = await tx.sign({ client, signer: keypair });
|
|
108
110
|
|
|
109
|
-
const result = await client.
|
|
110
|
-
|
|
111
|
-
signature,
|
|
111
|
+
const result = await client.core.executeTransaction({
|
|
112
|
+
transaction: fromBase64(bytes),
|
|
113
|
+
signatures: [signature],
|
|
112
114
|
});
|
|
113
115
|
```
|
|
114
116
|
|
package/docs/link-builder.md
CHANGED
|
@@ -102,13 +102,14 @@ You can call the `link.createSendTransaction()` method, which returns a `Transac
|
|
|
102
102
|
you can sign and submit to the blockchain.
|
|
103
103
|
|
|
104
104
|
```ts
|
|
105
|
+
|
|
105
106
|
const tx = await link.createSendTransaction();
|
|
106
107
|
|
|
107
|
-
const { bytes, signature } = tx.sign({ client, signer: keypair });
|
|
108
|
+
const { bytes, signature } = await tx.sign({ client, signer: keypair });
|
|
108
109
|
|
|
109
|
-
const result = await client.
|
|
110
|
-
|
|
111
|
-
signature,
|
|
110
|
+
const result = await client.core.executeTransaction({
|
|
111
|
+
transaction: fromBase64(bytes),
|
|
112
|
+
signatures: [signature],
|
|
112
113
|
});
|
|
113
114
|
```
|
|
114
115
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mysten/zksend",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Create claimable links for transferring coins and NFTs",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Mysten Labs <build@mystenlabs.com>",
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
"mitt": "^3.0.1",
|
|
38
38
|
"nanostores": "^1.4.2",
|
|
39
39
|
"valibot": "^1.4.2",
|
|
40
|
-
"@mysten/
|
|
41
|
-
"@mysten/
|
|
42
|
-
"@mysten/
|
|
40
|
+
"@mysten/utils": "^0.4.2",
|
|
41
|
+
"@mysten/wallet-standard": "^0.22.1",
|
|
42
|
+
"@mysten/window-wallet-core": "^0.4.1"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
|
-
"@mysten/sui": "^
|
|
45
|
+
"@mysten/sui": "^3.0.1"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"clean": "rm -rf tsconfig.tsbuildinfo ./dist",
|