@sig-net/midnight-serde 0.24.0-rc.9 → 0.24.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/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ const value = compactDeserialize(RESULT, bytes);
14
14
 
15
15
  `compactSerialize(schema, value, length?)` calls `borsh.serialize` and optionally extends the bytes with zeros. A total length smaller than the encoded value throws. `compactDeserialize(schema, bytes)` calls `borsh.deserialize`. Its return type is the native decoder's value union, not schema-derived TypeScript inference.
16
16
 
17
- Use JavaScript numbers for `u8`, `u16` and `u32`, and bigints for `u64` and `u128`. Fixed arrays use `{ array: { type: "u8", len: 32 } }`. A response schema is native Borsh JSON, for example `{"struct":{"success":"bool","amount":"u128"}}`.
17
+ Use JavaScript numbers for `u8`, `u16` and `u32`, and bigints for `u64` and `u128`. Fixed arrays use `{ array: { type: "u8", len: 32 } }`. A response schema is native Borsh JSON, for example `{"struct":{"success":"bool","amount":{"array":{"type":"u8","len":32}}}}`, the schema the MPC derives for an ABI `bool` and `uint256`.
18
18
 
19
19
  There is no Compact descriptor translation, custom integer encoder or compatibility check. Native Borsh schema validation remains enabled.
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sig-net/midnight-serde",
3
- "version": "0.24.0-rc.9",
3
+ "version": "0.24.1",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sig-net/midnight-integration",