@frogbotai/storage-vercel-blob 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 CHANGED
@@ -24,4 +24,4 @@ export default buildConfig({
24
24
  });
25
25
  ```
26
26
 
27
- The adapter stores files for FrogBot's files collection 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.
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
@@ -1,2 +1,3 @@
1
1
  export { VercelBlobClientUploadHandler } from '@payloadcms/storage-vercel-blob/client';
2
+
2
3
  //# sourceMappingURL=client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC"}
1
+ {"version":3,"sources":["../src/client.ts"],"names":["VercelBlobClientUploadHandler"],"mappings":"AAAA,SAASA,6BAA6B,QAAQ,yCAAyC","file":"client.js"}
package/dist/index.js CHANGED
@@ -1,4 +1,8 @@
1
1
  import { vercelBlobStorage as _vercelBlobStorage } from '@payloadcms/storage-vercel-blob';
2
2
  import { storageAdapter } from 'frogbot/internal';
3
- export const vercelBlobStorage = (options) => storageAdapter({ options, plugin: _vercelBlobStorage });
3
+ export const vercelBlobStorage = (options)=>storageAdapter({
4
+ options,
5
+ plugin: _vercelBlobStorage
6
+ });
7
+
4
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,IAAI,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAG1F,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAMlD,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,OAAiC,EAAU,EAAE,CAC7E,cAAc,CAAkC,EAAE,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC,CAAC"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["vercelBlobStorage","_vercelBlobStorage","storageAdapter","options","plugin"],"mappings":"AAAA,SAASA,qBAAqBC,kBAAkB,QAAQ,kCAAkC;AAG1F,SAASC,cAAc,QAAQ,mBAAmB;AAMlD,OAAO,MAAMF,oBAAoB,CAACG,UAChCD,eAAgD;QAAEC;QAASC,QAAQH;IAAmB,GAAG","file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/storage-vercel-blob",
3
- "version": "0.29.0",
3
+ "version": "0.31.0",
4
4
  "description": "Vercel Blob storage adapter for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -33,17 +33,17 @@
33
33
  "@payloadcms/storage-vercel-blob": "3.90.1"
34
34
  },
35
35
  "peerDependencies": {
36
- "frogbot": "0.29.0"
36
+ "frogbot": "0.31.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "5.6.2",
40
- "frogbot": "0.29.0"
40
+ "frogbot": "0.31.0"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public"
44
44
  },
45
45
  "scripts": {
46
- "build": "rm -rf dist && tsc -p tsconfig.json",
46
+ "build": "node ../../scripts/build-package.mjs",
47
47
  "clean": "rm -rf dist",
48
48
  "typecheck": "tsc --noEmit"
49
49
  }