@tinycloud/sdk-services 3.8.0-beta.16 → 3.8.0-beta.9
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/encryption/index.cjs +7 -80
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.d.cts +9 -21
- package/dist/encryption/index.d.ts +9 -21
- package/dist/encryption/index.js +7 -79
- package/dist/encryption/index.js.map +1 -1
- package/dist/encryption/named-keys.cjs.map +1 -1
- package/dist/encryption/named-keys.d.cts +1 -1
- package/dist/encryption/named-keys.d.ts +1 -1
- package/dist/encryption/named-keys.js.map +1 -1
- package/dist/encryption/resource.cjs.map +1 -1
- package/dist/encryption/resource.js.map +1 -1
- package/dist/index.cjs +7 -80
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -79
- package/dist/index.js.map +1 -1
- package/dist/kv/index.cjs.map +1 -1
- package/dist/kv/index.js.map +1 -1
- package/dist/{types-DZBExWAf.d.ts → types-BGRzS1ob.d.ts} +1 -6
- package/dist/{types-CBKrdtP8.d.cts → types-B_rbS4XE.d.cts} +1 -6
- package/package.json +1 -1
|
@@ -78,11 +78,10 @@ declare const DECRYPT_ACTION: "tinycloud.encryption/decrypt";
|
|
|
78
78
|
* them.
|
|
79
79
|
*/
|
|
80
80
|
interface InlineEncryptedEnvelope {
|
|
81
|
+
/** Schema version. */
|
|
81
82
|
v: typeof ENVELOPE_VERSION;
|
|
82
83
|
/** Network id URN. */
|
|
83
84
|
networkId: string;
|
|
84
|
-
/** Exact named-key path; absent on network-root v1 envelopes. */
|
|
85
|
-
keyPath?: string;
|
|
86
85
|
/** Ciphersuite identifier. */
|
|
87
86
|
alg: string;
|
|
88
87
|
/** Network key version that was used to wrap the symmetric key. */
|
|
@@ -133,8 +132,6 @@ interface DecryptRequestBody {
|
|
|
133
132
|
type: typeof DECRYPT_FACT_TYPE;
|
|
134
133
|
targetNode: string;
|
|
135
134
|
networkId: string;
|
|
136
|
-
/** Exact named-key path for path-scoped decrypt, absent for root keys. */
|
|
137
|
-
keyPath?: string;
|
|
138
135
|
alg: string;
|
|
139
136
|
keyVersion: number;
|
|
140
137
|
/** Base64-encoded wrapped symmetric key from the envelope. */
|
|
@@ -176,8 +173,6 @@ interface DecryptInvocationFact {
|
|
|
176
173
|
type: typeof DECRYPT_FACT_TYPE;
|
|
177
174
|
targetNode: string;
|
|
178
175
|
networkId: string;
|
|
179
|
-
/** Exact named-key path for path-scoped decrypt, absent for root keys. */
|
|
180
|
-
keyPath?: string;
|
|
181
176
|
bodyHash: string;
|
|
182
177
|
encryptedSymmetricKeyHash: string;
|
|
183
178
|
receiverPublicKeyHash: string;
|
|
@@ -78,11 +78,10 @@ declare const DECRYPT_ACTION: "tinycloud.encryption/decrypt";
|
|
|
78
78
|
* them.
|
|
79
79
|
*/
|
|
80
80
|
interface InlineEncryptedEnvelope {
|
|
81
|
+
/** Schema version. */
|
|
81
82
|
v: typeof ENVELOPE_VERSION;
|
|
82
83
|
/** Network id URN. */
|
|
83
84
|
networkId: string;
|
|
84
|
-
/** Exact named-key path; absent on network-root v1 envelopes. */
|
|
85
|
-
keyPath?: string;
|
|
86
85
|
/** Ciphersuite identifier. */
|
|
87
86
|
alg: string;
|
|
88
87
|
/** Network key version that was used to wrap the symmetric key. */
|
|
@@ -133,8 +132,6 @@ interface DecryptRequestBody {
|
|
|
133
132
|
type: typeof DECRYPT_FACT_TYPE;
|
|
134
133
|
targetNode: string;
|
|
135
134
|
networkId: string;
|
|
136
|
-
/** Exact named-key path for path-scoped decrypt, absent for root keys. */
|
|
137
|
-
keyPath?: string;
|
|
138
135
|
alg: string;
|
|
139
136
|
keyVersion: number;
|
|
140
137
|
/** Base64-encoded wrapped symmetric key from the envelope. */
|
|
@@ -176,8 +173,6 @@ interface DecryptInvocationFact {
|
|
|
176
173
|
type: typeof DECRYPT_FACT_TYPE;
|
|
177
174
|
targetNode: string;
|
|
178
175
|
networkId: string;
|
|
179
|
-
/** Exact named-key path for path-scoped decrypt, absent for root keys. */
|
|
180
|
-
keyPath?: string;
|
|
181
176
|
bodyHash: string;
|
|
182
177
|
encryptedSymmetricKeyHash: string;
|
|
183
178
|
receiverPublicKeyHash: string;
|