@voltro/plugin-storage 0.75.0 → 0.77.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.
@@ -9,7 +9,7 @@ Generated from the resolved runtime dependency closure (119 packages).
9
9
 
10
10
  ---
11
11
 
12
- ## @aws-sdk/checksums@3.1000.29
12
+ ## @aws-sdk/checksums@3.1001.0
13
13
 
14
14
  License: Apache-2.0
15
15
 
@@ -217,7 +217,7 @@ Apache License
217
217
  limitations under the License.
218
218
  ```
219
219
 
220
- ## @aws-sdk/client-s3@3.1126.0
220
+ ## @aws-sdk/client-s3@3.1134.0
221
221
 
222
222
  License: Apache-2.0
223
223
 
@@ -425,7 +425,7 @@ Apache License
425
425
  limitations under the License.
426
426
  ```
427
427
 
428
- ## @aws-sdk/core@3.977.9
428
+ ## @aws-sdk/core@3.978.0
429
429
 
430
430
  License: Apache-2.0
431
431
 
@@ -633,7 +633,7 @@ Apache License
633
633
  limitations under the License.
634
634
  ```
635
635
 
636
- ## @aws-sdk/credential-provider-env@3.972.70
636
+ ## @aws-sdk/credential-provider-env@3.972.71
637
637
 
638
638
  License: Apache-2.0
639
639
 
@@ -841,13 +841,13 @@ Apache License
841
841
  limitations under the License.
842
842
  ```
843
843
 
844
- ## @aws-sdk/credential-provider-http@3.972.72
844
+ ## @aws-sdk/credential-provider-http@3.972.73
845
845
 
846
846
  License: Apache-2.0
847
847
 
848
848
  _(no bundled license text found in the package; see its npm page.)_
849
849
 
850
- ## @aws-sdk/credential-provider-ini@3.973.15
850
+ ## @aws-sdk/credential-provider-ini@3.973.16
851
851
 
852
852
  License: Apache-2.0
853
853
 
@@ -1055,13 +1055,13 @@ Apache License
1055
1055
  limitations under the License.
1056
1056
  ```
1057
1057
 
1058
- ## @aws-sdk/credential-provider-login@3.972.77
1058
+ ## @aws-sdk/credential-provider-login@3.972.78
1059
1059
 
1060
1060
  License: Apache-2.0
1061
1061
 
1062
1062
  _(no bundled license text found in the package; see its npm page.)_
1063
1063
 
1064
- ## @aws-sdk/credential-provider-node@3.972.82
1064
+ ## @aws-sdk/credential-provider-node@3.972.83
1065
1065
 
1066
1066
  License: Apache-2.0
1067
1067
 
@@ -1269,7 +1269,7 @@ Apache License
1269
1269
  limitations under the License.
1270
1270
  ```
1271
1271
 
1272
- ## @aws-sdk/credential-provider-process@3.972.70
1272
+ ## @aws-sdk/credential-provider-process@3.972.71
1273
1273
 
1274
1274
  License: Apache-2.0
1275
1275
 
@@ -1477,7 +1477,7 @@ Apache License
1477
1477
  limitations under the License.
1478
1478
  ```
1479
1479
 
1480
- ## @aws-sdk/credential-provider-sso@3.973.14
1480
+ ## @aws-sdk/credential-provider-sso@3.973.15
1481
1481
 
1482
1482
  License: Apache-2.0
1483
1483
 
@@ -1685,7 +1685,7 @@ Apache License
1685
1685
  limitations under the License.
1686
1686
  ```
1687
1687
 
1688
- ## @aws-sdk/credential-provider-web-identity@3.972.76
1688
+ ## @aws-sdk/credential-provider-web-identity@3.972.77
1689
1689
 
1690
1690
  License: Apache-2.0
1691
1691
 
@@ -1893,7 +1893,7 @@ Apache License
1893
1893
  limitations under the License.
1894
1894
  ```
1895
1895
 
1896
- ## @aws-sdk/lib-storage@3.1126.0
1896
+ ## @aws-sdk/lib-storage@3.1134.0
1897
1897
 
1898
1898
  License: Apache-2.0
1899
1899
 
@@ -2101,7 +2101,7 @@ Apache License
2101
2101
  limitations under the License.
2102
2102
  ```
2103
2103
 
2104
- ## @aws-sdk/middleware-sdk-s3@3.972.75
2104
+ ## @aws-sdk/middleware-sdk-s3@3.972.76
2105
2105
 
2106
2106
  License: Apache-2.0
2107
2107
 
@@ -2309,13 +2309,13 @@ Apache License
2309
2309
  limitations under the License.
2310
2310
  ```
2311
2311
 
2312
- ## @aws-sdk/nested-clients@3.997.44
2312
+ ## @aws-sdk/nested-clients@3.997.45
2313
2313
 
2314
2314
  License: Apache-2.0
2315
2315
 
2316
2316
  _(no bundled license text found in the package; see its npm page.)_
2317
2317
 
2318
- ## @aws-sdk/s3-request-presigner@3.1126.0
2318
+ ## @aws-sdk/s3-request-presigner@3.1134.0
2319
2319
 
2320
2320
  License: Apache-2.0
2321
2321
 
@@ -2731,7 +2731,7 @@ Apache License
2731
2731
  limitations under the License.
2732
2732
  ```
2733
2733
 
2734
- ## @aws-sdk/token-providers@3.1116.0
2734
+ ## @aws-sdk/token-providers@3.1129.0
2735
2735
 
2736
2736
  License: Apache-2.0
2737
2737
 
@@ -3956,7 +3956,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3956
3956
  SOFTWARE.
3957
3957
  ```
3958
3958
 
3959
- ## @effect/platform-node@0.108.1
3959
+ ## @effect/platform-node@0.108.2
3960
3960
 
3961
3961
  License: MIT
3962
3962
 
@@ -8848,7 +8848,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
8848
8848
  SOFTWARE.
8849
8849
  ```
8850
8850
 
8851
- ## @upstash/redis@1.38.3
8851
+ ## @upstash/redis@1.38.4
8852
8852
 
8853
8853
  License: MIT
8854
8854
 
@@ -9764,7 +9764,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
9764
9764
  SOFTWARE.
9765
9765
  ```
9766
9766
 
9767
- ## jose@6.2.10
9767
+ ## jose@6.2.12
9768
9768
 
9769
9769
  License: MIT
9770
9770
 
package/dist/index.d.ts CHANGED
@@ -229,7 +229,7 @@ export declare interface FilesystemProviderOptions {
229
229
 
230
230
  /** What a finalize token authorizes: promoting ONE temp-key blob into a real
231
231
  * ref under the bound identity, until `exp`. */
232
- export declare interface FinalizeTicketPayload extends Omit<UploadTicketPayload, 'key'> {
232
+ export declare interface FinalizeTicketPayload extends Omit<UploadTicketPayload, 'key' | 'operationId'> {
233
233
  /** The TEMP bucket key the client PUT its bytes to (required — finalize reads
234
234
  * exactly this key, so it can't be aimed at another object). */
235
235
  readonly key: string;
@@ -273,9 +273,11 @@ export declare interface GrantStore {
273
273
  readonly deleteByRef: (refId: string) => Effect.Effect<void, StorageError>;
274
274
  }
275
275
 
276
- /** What a grant token authorizes: read access to one ref until `exp`. */
276
+ /** What a grant token authorizes: read access to one ref at its storage HTTP mount until `exp`. */
277
277
  export declare interface GrantTokenPayload {
278
278
  readonly refId: string;
279
+ /** Exact storage HTTP mount allowed to serve this reference. */
280
+ readonly audience: string;
279
281
  /** Unix seconds when the token expires. */
280
282
  readonly exp: number;
281
283
  }
@@ -359,8 +361,8 @@ export declare const makeStorageObjectMetadata: (store: DataStore) => {
359
361
  } | {
360
362
  released: true;
361
363
  operation: {
362
- readonly id: string;
363
364
  readonly key: string;
365
+ readonly id: string;
364
366
  readonly fingerprint: string;
365
367
  readonly generation: string;
366
368
  readonly state: "ready" | "reserved" | "deleting" | "deleted";
@@ -387,7 +389,7 @@ export declare const memoryProvider: (instance?: string) => StorageProvider;
387
389
  export declare const memoryRefStore: () => RefStore;
388
390
 
389
391
  /** What a multipart ticket authorizes: one direct-to-bucket multipart session. */
390
- export declare interface MultipartTicketPayload extends Omit<UploadTicketPayload, 'key'> {
392
+ export declare interface MultipartTicketPayload extends Omit<UploadTicketPayload, 'key' | 'operationId'> {
391
393
  /** The FINAL bucket key the parts assemble into. */
392
394
  readonly key: string;
393
395
  /** The provider's multipart upload id. */
@@ -608,7 +610,7 @@ export declare const resolveStorageProvider: (options: StoragePluginOptions) =>
608
610
  export declare const resolveStorageSecret: () => string;
609
611
 
610
612
  /** What a resumable ticket authorizes: one chunked upload session, until `exp`. */
611
- export declare interface ResumableTicketPayload extends Omit<UploadTicketPayload, 'key'> {
613
+ export declare interface ResumableTicketPayload extends Omit<UploadTicketPayload, 'key' | 'operationId'> {
612
614
  /** Upload-session id (random) — namespaces this upload's chunk objects. */
613
615
  readonly id: string;
614
616
  /** Total expected byte size (validated at finalize; also the effective cap). */
@@ -643,7 +645,7 @@ export declare const setActiveStorageProvider: (provider: StorageProvider | unde
643
645
  export declare const signFinalizeTicket: (fields: Omit<FinalizeTicketPayload, "exp">, ttlSeconds: number, secret?: string) => string;
644
646
 
645
647
  /** Mint a token granting read access to `refId` for `ttlSeconds`. */
646
- export declare const signGrant: (refId: string, ttlSeconds: number, secret?: string) => string;
648
+ export declare const signGrant: (refId: string, ttlSeconds: number, secret?: string, audience?: string) => string;
647
649
 
648
650
  /** Sign a multipart ticket valid for `ttlSeconds`. */
649
651
  export declare const signMultipartTicket: (fields: Omit<MultipartTicketPayload, "exp">, ttlSeconds: number, secret?: string) => string;
@@ -1475,6 +1477,10 @@ export declare interface UploadLimits {
1475
1477
  /** What an upload ticket authorizes: a single through-app upload bound to an
1476
1478
  * owner/tenant/content-type/visibility, until `exp`. */
1477
1479
  export declare interface UploadTicketPayload {
1480
+ /** Optional durable write identity, preserved across ticket renewal. */
1481
+ readonly operationId?: string;
1482
+ /** Inspect uploads may be pinned to their issuing process. */
1483
+ readonly replicaId?: string;
1478
1484
  /** Exact storage plugin instance authorized to accept the bytes. */
1479
1485
  readonly instance: string;
1480
1486
  /** ownerId (subject id) the stored object is attributed to. */