@tinycloud/operations 0.3.2 → 0.3.3-beta.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/dist/artifacts.cjs +4 -1
- package/dist/artifacts.cjs.map +1 -1
- package/dist/artifacts.js +4 -1
- package/dist/artifacts.js.map +1 -1
- package/dist/cli-runtime.cjs +4 -1
- package/dist/cli-runtime.cjs.map +1 -1
- package/dist/cli-runtime.js +4 -1
- package/dist/cli-runtime.js.map +1 -1
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/artifacts.cjs
CHANGED
|
@@ -6562,7 +6562,10 @@ var EncryptionService = class extends BaseService {
|
|
|
6562
6562
|
const descriptor = usable.data;
|
|
6563
6563
|
const networkPublicKey = base64Decode2(descriptor.publicEncryptionKey);
|
|
6564
6564
|
const result = encryptToNetwork(this.crypto, {
|
|
6565
|
-
|
|
6565
|
+
// Discovery returns the node's canonical network identifier. Persist
|
|
6566
|
+
// that spelling in the envelope so a later response can be compared
|
|
6567
|
+
// byte-for-byte (notably for checksummed did:pkh principals).
|
|
6568
|
+
networkId: descriptor.networkId,
|
|
6566
6569
|
networkPublicKey,
|
|
6567
6570
|
plaintext,
|
|
6568
6571
|
...options?.aad !== void 0 ? { aad: options.aad } : {},
|