@frogbotai/storage-r2 0.29.0 → 0.31.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/README.md +1 -1
- package/dist/client.js +1 -0
- package/dist/client.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -24,4 +24,4 @@ export default buildConfig({
|
|
|
24
24
|
});
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
The adapter stores files for
|
|
27
|
+
The adapter stores files for the collection marked `file: true`, if any, and chat assets automatically. List your own upload collections in `collections`, for example `collections: { media: true }`. See [Storage Adapters](https://docs.frogbot.ai/upload/storage-adapters) for every option.
|
package/dist/client.js
CHANGED
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/client.ts"],"names":["R2ClientUploadHandler"],"mappings":"AAAA,SAASA,qBAAqB,QAAQ,gCAAgC","file":"client.js"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { r2Storage as _r2Storage } from '@payloadcms/storage-r2';
|
|
2
2
|
import { storageAdapter } from 'frogbot/internal';
|
|
3
|
-
export const r2Storage = (options)
|
|
3
|
+
export const r2Storage = (options)=>storageAdapter({
|
|
4
|
+
options,
|
|
5
|
+
plugin: _r2Storage
|
|
6
|
+
});
|
|
7
|
+
|
|
4
8
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["r2Storage","_r2Storage","storageAdapter","options","plugin"],"mappings":"AAAA,SAASA,aAAaC,UAAU,QAAQ,yBAAyB;AAGjE,SAASC,cAAc,QAAQ,mBAAmB;AAMlD,OAAO,MAAMF,YAAY,CAACG,UACxBD,eAAwC;QAAEC;QAASC,QAAQH;IAAW,GAAG","file":"index.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/storage-r2",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Cloudflare R2 storage adapter for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -33,17 +33,17 @@
|
|
|
33
33
|
"@payloadcms/storage-r2": "3.90.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"frogbot": "0.
|
|
36
|
+
"frogbot": "0.31.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "5.6.2",
|
|
40
|
-
"frogbot": "0.
|
|
40
|
+
"frogbot": "0.31.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|
|
44
44
|
},
|
|
45
45
|
"scripts": {
|
|
46
|
-
"build": "
|
|
46
|
+
"build": "node ../../scripts/build-package.mjs",
|
|
47
47
|
"clean": "rm -rf dist",
|
|
48
48
|
"typecheck": "tsc --noEmit"
|
|
49
49
|
}
|