@voltro/plugin-storage 0.68.0 → 0.69.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/rpc.js CHANGED
@@ -86,7 +86,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
86
86
  expiresInSec: i.Number
87
87
  }),
88
88
  error: t,
89
- openAccess: "self-service upload: the ticket binds the calling subject + tenant, caps size, and the finalize path runs limits + scan"
89
+ openAccess: "self-service upload: the ticket binds the calling subject + tenant, caps size, and the finalize path runs limits + scan; an unidentified caller is refused in-handler unless the app set `anonymousUploads`"
90
90
  }), g = a({
91
91
  name: "storage.mintPresignedUpload",
92
92
  input: i.Struct({
@@ -104,7 +104,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
104
104
  expiresInSec: i.Number
105
105
  }),
106
106
  error: t,
107
- openAccess: "self-service upload: the finalize token binds the calling subject + tenant; finalizeUpload refuses another subject's token and runs limits + scan"
107
+ openAccess: "self-service upload: the finalize token binds the calling subject + tenant; finalizeUpload refuses another subject's token and runs limits + scan; an unidentified caller is refused in-handler unless the app set `anonymousUploads`"
108
108
  }), _ = a({
109
109
  name: "storage.finalizeUpload",
110
110
  input: i.Struct({ finalizeToken: i.String }),
@@ -117,7 +117,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
117
117
  height: i.optional(i.Number)
118
118
  }),
119
119
  error: i.Union(t, n, r),
120
- openAccess: "authorization is the signed finalize token itself: it binds the minting subject (403 for another caller) and the finalize runs limits + scan"
120
+ openAccess: "authorization is the signed finalize token itself: it binds the minting subject where there was one (403 for another caller; an anonymous ticket is bound by possession of the short-lived token alone) and the finalize runs limits + scan"
121
121
  }), v = a({
122
122
  name: "storage.beginResumableUpload",
123
123
  input: i.Struct({
@@ -139,7 +139,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
139
139
  expiresInSec: i.Number
140
140
  }),
141
141
  error: t,
142
- openAccess: "self-service upload: the resumable token binds the calling subject + tenant and the assembled object runs limits + scan"
142
+ openAccess: "self-service upload: the resumable token binds the calling subject + tenant and the assembled object runs limits + scan; an unidentified caller is refused in-handler unless the app set `anonymousUploads`"
143
143
  }), y = a({
144
144
  name: "storage.beginMultipartUpload",
145
145
  input: i.Struct({
@@ -159,7 +159,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
159
159
  expiresInSec: i.Number
160
160
  }),
161
161
  error: t,
162
- openAccess: "self-service upload: the multipart token binds the calling subject + tenant; completion refuses another subject's token"
162
+ openAccess: "self-service upload: the multipart token binds the calling subject + tenant; completion refuses another subject's token; an unidentified caller is refused in-handler unless the app set `anonymousUploads`"
163
163
  }), b = a({
164
164
  name: "storage.signMultipartPart",
165
165
  input: i.Struct({
@@ -184,7 +184,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
184
184
  size: i.Number
185
185
  }),
186
186
  error: i.Union(t, n),
187
- openAccess: "authorization is the signed multipart token: completion refuses a token minted by another subject"
187
+ openAccess: "authorization is the signed multipart token: completion refuses a token minted by another subject, and where there was none the binding is possession of the short-lived token alone"
188
188
  }), S = a({
189
189
  name: "storage.abortMultipartUpload",
190
190
  input: i.Struct({ multipartToken: i.String }),
@@ -205,7 +205,7 @@ var c = i.Literal("user", "group", "apiKey"), l = i.Literal("read", "write"), u
205
205
  url: i.String
206
206
  }),
207
207
  error: i.Union(t, n, r),
208
- openAccess: "self-service upload: ownerId/tenant come from the calling subject and the put runs limits + scan"
208
+ openAccess: "self-service upload: ownerId/tenant come from the calling subject and the put runs limits + scan; an unidentified caller is refused in-handler unless the app set `anonymousUploads`"
209
209
  }), w = a({
210
210
  name: "storage.ingestUrl",
211
211
  input: i.Struct({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voltro/plugin-storage",
3
- "version": "0.68.0",
3
+ "version": "0.69.0",
4
4
  "description": "File-storage plugin — one StorageProvider contract, switchable backends (S3 / MinIO / Azure / filesystem / memory / database). Public (CDN-direct) + private (access policy + per-object grants) objects, upload constraints, virus-scan hook, on-the-fly image transforms.",
5
5
  "keywords": [
6
6
  "voltro",
@@ -43,9 +43,9 @@
43
43
  "node": ">=24.0.0"
44
44
  },
45
45
  "dependencies": {
46
- "@voltro/database": "0.68.0",
47
- "@voltro/env": "0.68.0",
48
- "@voltro/protocol": "0.68.0"
46
+ "@voltro/database": "0.69.0",
47
+ "@voltro/env": "0.69.0",
48
+ "@voltro/protocol": "0.69.0"
49
49
  },
50
50
  "optionalDependencies": {
51
51
  "@aws-sdk/client-s3": "^3.1126.0",