@openzeppelin/miden-multisig-client 0.17.0-rc.3 → 0.17.0
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/README.md +7 -7
- package/dist/procedures.d.ts +1 -1
- package/dist/procedures.js +1 -1
- package/package.json +3 -3
- package/src/procedures.ts +1 -1
package/README.md
CHANGED
|
@@ -17,13 +17,13 @@ Miden multisig accounts store their authentication logic on-chain, but **their s
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
-
npm install @openzeppelin/miden-multisig-client @miden-sdk/miden-sdk@0.16.0
|
|
20
|
+
npm install @openzeppelin/miden-multisig-client @miden-sdk/miden-sdk@0.16.0
|
|
21
21
|
```
|
|
22
22
|
|
|
23
|
-
> **Why the peer version is exact**:
|
|
24
|
-
>
|
|
25
|
-
>
|
|
26
|
-
>
|
|
23
|
+
> **Why the peer version is exact**: the transaction-summary layout and the
|
|
24
|
+
> guarded-multisig procedure roots are only byte-compatible between one
|
|
25
|
+
> `@miden-sdk/miden-sdk` build and the `miden-standards` version its WASM
|
|
26
|
+
> embeds, so the SDK pins the exact version the Rust SDK was built against.
|
|
27
27
|
|
|
28
28
|
## Miden compatibility
|
|
29
29
|
|
|
@@ -32,7 +32,7 @@ matches your Miden node:
|
|
|
32
32
|
|
|
33
33
|
| This package | Miden protocol |
|
|
34
34
|
|---|---|
|
|
35
|
-
| 0.17.x | 0.16.x
|
|
35
|
+
| 0.17.x | 0.16.x |
|
|
36
36
|
| 0.16.x | 0.15.x |
|
|
37
37
|
| 0.15.x | 0.15.x |
|
|
38
38
|
|
|
@@ -463,7 +463,7 @@ Do not use `signedAuthArg` as the salt when rebuilding the request.
|
|
|
463
463
|
`withFeeConversionSalt` would derive and commit a second value from it, and the
|
|
464
464
|
rebuilt summary would not match the summary that the cosigners signed.
|
|
465
465
|
|
|
466
|
-
On the Miden 0.16
|
|
466
|
+
On the Miden 0.16 line a summary binds seven user-defined elements,
|
|
467
467
|
and the guarded-multisig auth component zeroes the leading three and passes the
|
|
468
468
|
auth arg as the trailing four. `summaryAuthArg` reads that convention, so prefer
|
|
469
469
|
it over indexing `userParams()` by hand. It replaced `summarySalt`, whose name
|
package/dist/procedures.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export declare const PROCEDURE_ROOTS: {
|
|
14
14
|
readonly update_signers: "0xa261cfd3c8791ac5abe1e78e14eade2f20789d73ab1c23c430418de59bc3380e";
|
|
15
15
|
readonly update_procedure_threshold: "0x97587c61d49313b1d5a3c8b7437e0080e67ed9bd9d3e7206bcae562f934ccd03";
|
|
16
|
-
readonly auth_tx: "
|
|
16
|
+
readonly auth_tx: "0x43fb07d62ed26993b7b13c7b411db62c5b5acffa2813e989608c41a72d7185ec";
|
|
17
17
|
readonly update_guardian: "0x0a614ff7c81a561cbd2a4c2d9482031a7a841ca5de33349daed23a9d871b3675";
|
|
18
18
|
readonly send_asset: "0x595bc83258726a66bd904912cfd5186c07cbd902dfbc115b7d6bc8105efc57e3";
|
|
19
19
|
readonly receive_asset: "0x34a56dd18f6fe5aab63198b9dcfc6467e793ebabb37d56b994b902504635da13";
|
package/dist/procedures.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export const PROCEDURE_ROOTS = {
|
|
14
14
|
update_signers: '0xa261cfd3c8791ac5abe1e78e14eade2f20789d73ab1c23c430418de59bc3380e',
|
|
15
15
|
update_procedure_threshold: '0x97587c61d49313b1d5a3c8b7437e0080e67ed9bd9d3e7206bcae562f934ccd03',
|
|
16
|
-
auth_tx: '
|
|
16
|
+
auth_tx: '0x43fb07d62ed26993b7b13c7b411db62c5b5acffa2813e989608c41a72d7185ec',
|
|
17
17
|
update_guardian: '0x0a614ff7c81a561cbd2a4c2d9482031a7a841ca5de33349daed23a9d871b3675',
|
|
18
18
|
send_asset: '0x595bc83258726a66bd904912cfd5186c07cbd902dfbc115b7d6bc8105efc57e3',
|
|
19
19
|
receive_asset: '0x34a56dd18f6fe5aab63198b9dcfc6467e793ebabb37d56b994b902504635da13',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openzeppelin/miden-multisig-client",
|
|
3
|
-
"version": "0.17.0
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "TypeScript SDK for Miden multisig accounts with GUARDIAN integration",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:browser": "playwright test --config playwright.config.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@miden-sdk/miden-sdk": "0.16.0
|
|
43
|
+
"@miden-sdk/miden-sdk": "0.16.0",
|
|
44
44
|
"@noble/curves": "^1.9.7",
|
|
45
45
|
"@noble/hashes": "^2.0.1",
|
|
46
|
-
"@openzeppelin/guardian-client": "^0.17.0
|
|
46
|
+
"@openzeppelin/guardian-client": "^0.17.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@playwright/test": "^1.60.0",
|
package/src/procedures.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
export const PROCEDURE_ROOTS = {
|
|
14
14
|
update_signers: '0xa261cfd3c8791ac5abe1e78e14eade2f20789d73ab1c23c430418de59bc3380e',
|
|
15
15
|
update_procedure_threshold: '0x97587c61d49313b1d5a3c8b7437e0080e67ed9bd9d3e7206bcae562f934ccd03',
|
|
16
|
-
auth_tx: '
|
|
16
|
+
auth_tx: '0x43fb07d62ed26993b7b13c7b411db62c5b5acffa2813e989608c41a72d7185ec',
|
|
17
17
|
update_guardian: '0x0a614ff7c81a561cbd2a4c2d9482031a7a841ca5de33349daed23a9d871b3675',
|
|
18
18
|
send_asset: '0x595bc83258726a66bd904912cfd5186c07cbd902dfbc115b7d6bc8105efc57e3',
|
|
19
19
|
receive_asset: '0x34a56dd18f6fe5aab63198b9dcfc6467e793ebabb37d56b994b902504635da13',
|