@frogbotai/storage-r2 0.33.0 → 0.34.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/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r2Storage as _r2Storage } from '@payloadcms/storage-r2';
|
|
2
|
-
import type {
|
|
2
|
+
import type { StorageAdapter } from 'frogbot';
|
|
3
3
|
import type { StorageAdapterOptions } from 'frogbot/internal';
|
|
4
4
|
type PayloadR2StorageOptions = Parameters<typeof _r2Storage>[0];
|
|
5
5
|
export type R2StorageOptions = StorageAdapterOptions<PayloadR2StorageOptions>;
|
|
6
|
-
export declare const r2Storage: (options: R2StorageOptions) =>
|
|
6
|
+
export declare const r2Storage: (options: R2StorageOptions) => StorageAdapter;
|
|
7
7
|
export {};
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACjE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAG9D,KAAK,uBAAuB,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;AAEhE,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,CAAC,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,SAAS,GAAI,SAAS,gBAAgB,KAAG,cACqB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r2Storage as _r2Storage } from '@payloadcms/storage-r2';
|
|
|
2
2
|
import { storageAdapter } from 'frogbot/internal';
|
|
3
3
|
export const r2Storage = (options)=>storageAdapter({
|
|
4
4
|
options,
|
|
5
|
-
|
|
5
|
+
adapter: _r2Storage
|
|
6
6
|
});
|
|
7
7
|
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["r2Storage","_r2Storage","storageAdapter","options","
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["r2Storage","_r2Storage","storageAdapter","options","adapter"],"mappings":"AAAA,SAASA,aAAaC,UAAU,QAAQ,yBAAyB;AAGjE,SAASC,cAAc,QAAQ,mBAAmB;AAMlD,OAAO,MAAMF,YAAY,CAACG,UACxBD,eAAwC;QAAEC;QAASC,SAASH;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.34.0",
|
|
4
4
|
"description": "Cloudflare R2 storage adapter for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -30,14 +30,14 @@
|
|
|
30
30
|
],
|
|
31
31
|
"sideEffects": false,
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@payloadcms/storage-r2": "
|
|
33
|
+
"@payloadcms/storage-r2": "4.0.0-beta.2"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"frogbot": "0.
|
|
36
|
+
"frogbot": "0.34.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"typescript": "
|
|
40
|
-
"frogbot": "0.
|
|
39
|
+
"typescript": "6.0.3",
|
|
40
|
+
"frogbot": "0.34.0"
|
|
41
41
|
},
|
|
42
42
|
"publishConfig": {
|
|
43
43
|
"access": "public"
|