@tinycloud/sdk-services 2.2.0-beta.7 → 2.2.1-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/{BaseService-BiS6HRwE.d.cts → BaseService-C_iXlTeN.d.cts} +6 -1
- package/dist/{BaseService-BiS6HRwE.d.ts → BaseService-C_iXlTeN.d.ts} +6 -1
- package/dist/encryption/index.cjs +1357 -0
- package/dist/encryption/index.cjs.map +1 -0
- package/dist/encryption/index.d.cts +802 -0
- package/dist/encryption/index.d.ts +802 -0
- package/dist/encryption/index.js +1291 -0
- package/dist/encryption/index.js.map +1 -0
- package/dist/index.cjs +1572 -46
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +55 -12
- package/dist/index.d.ts +55 -12
- package/dist/index.js +1527 -46
- package/dist/index.js.map +1 -1
- package/dist/kv/index.cjs +116 -0
- package/dist/kv/index.cjs.map +1 -1
- package/dist/kv/index.d.cts +100 -2
- package/dist/kv/index.d.ts +100 -2
- package/dist/kv/index.js +115 -0
- package/dist/kv/index.js.map +1 -1
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.d.cts +1 -1
- package/dist/sql/index.d.ts +1 -1
- package/dist/sql/index.js.map +1 -1
- package/package.json +7 -2
|
@@ -137,10 +137,15 @@ type InvokeFunction = (session: ServiceSession, service: string, path: string, a
|
|
|
137
137
|
* Multi-resource invocation entry.
|
|
138
138
|
*/
|
|
139
139
|
interface InvokeAnyEntry {
|
|
140
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Legacy space-scoped resource. Optional when `resource` is provided.
|
|
142
|
+
*/
|
|
143
|
+
spaceId?: string;
|
|
141
144
|
service: string;
|
|
142
145
|
path: string;
|
|
143
146
|
action: string;
|
|
147
|
+
/** Optional raw resource URI. When set, WASM signs this URI directly. */
|
|
148
|
+
resource?: string;
|
|
144
149
|
}
|
|
145
150
|
/**
|
|
146
151
|
* Invoke function for minting a single authorization header that covers
|
|
@@ -137,10 +137,15 @@ type InvokeFunction = (session: ServiceSession, service: string, path: string, a
|
|
|
137
137
|
* Multi-resource invocation entry.
|
|
138
138
|
*/
|
|
139
139
|
interface InvokeAnyEntry {
|
|
140
|
-
|
|
140
|
+
/**
|
|
141
|
+
* Legacy space-scoped resource. Optional when `resource` is provided.
|
|
142
|
+
*/
|
|
143
|
+
spaceId?: string;
|
|
141
144
|
service: string;
|
|
142
145
|
path: string;
|
|
143
146
|
action: string;
|
|
147
|
+
/** Optional raw resource URI. When set, WASM signs this URI directly. */
|
|
148
|
+
resource?: string;
|
|
144
149
|
}
|
|
145
150
|
/**
|
|
146
151
|
* Invoke function for minting a single authorization header that covers
|