@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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinycloud/sdk-services",
3
- "version": "3.8.0-beta.16",
3
+ "version": "3.8.0-beta.9",
4
4
  "description": "TinyCloud SDK Services - Platform-agnostic service implementations",
5
5
  "author": "TinyCloud, Inc.",
6
6
  "license": "EGPL",