@canton-network/core-signing-lib 1.11.0 → 1.12.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.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -17,6 +17,10 @@ The `controller` function should be an implementation of `buildController` from
17
17
 
18
18
  To see a simple example of a signing driver, see [core/singing-internal](../signing-internal).
19
19
 
20
+ ### Data Encodings
21
+
22
+ When implementing a signing driver, note that the Wallet Gateway expects all keys and signatures to be base64-encoded. If the signing provider represents keys in some other format (i.e. hex-encoded strings), then the driver is responsible for converting between the formats. This provides a consistent and predictible interface to the Wallet Gateway.
23
+
20
24
  ### Important Note
21
25
 
22
26
  Other than the optional `internalTxId` parameter in `signTransaction`, ALL instances of `txId` refer to the TransactionID given by the **signing provider**, not the Wallet Gateway.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canton-network/core-signing-lib",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "type": "module",
5
5
  "description": "Core library for signing driver implementations",
6
6
  "license": "Apache-2.0",
@@ -16,12 +16,12 @@
16
16
  }
17
17
  },
18
18
  "dependencies": {
19
+ "@canton-network/core-wallet-auth": "^1.12.0",
19
20
  "fs-extra": "^11.3.6",
20
21
  "lodash": "^4.18.1",
21
22
  "tweetnacl": "^1.0.3",
22
23
  "tweetnacl-util": "^0.15.1",
23
- "zod": "^4.4.3",
24
- "@canton-network/core-wallet-auth": "^1.11.0"
24
+ "zod": "^4.4.3"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/fs-extra": "^11.0.4",