@frogbotai/plugin-nested-docs 0.30.0 → 0.32.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
@@ -12,4 +12,4 @@ export default buildConfig({
12
12
  });
13
13
  ```
14
14
 
15
- This package delegates to `@payloadcms/plugin-nested-docs` and preserves its collection, custom field slug, label, and URL options.
15
+ It supports the collection, custom field slug, label, and URL options.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;AAE7D,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,MAAM,CAEzE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAGtC,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;AAE7D,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,uBAAuB,GAAG,MAAM,CAEzE"}
package/dist/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  import { nestedDocsPlugin as payloadNestedDocsPlugin } from '@payloadcms/plugin-nested-docs';
2
+ import { wrapPayloadPlugin } from 'frogbot/internal';
2
3
  export function nestedDocsPlugin(options) {
3
- return (config)=>payloadNestedDocsPlugin(options)(config);
4
+ return wrapPayloadPlugin(payloadNestedDocsPlugin(options));
4
5
  }
5
6
 
6
7
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"names":["nestedDocsPlugin","payloadNestedDocsPlugin","options","config"],"mappings":"AAAA,SAASA,oBAAoBC,uBAAuB,QAAQ,iCAAiC;AAM7F,OAAO,SAASD,iBAAiBE,OAAgC;IAC/D,OAAO,CAACC,SAAWF,wBAAwBC,SAASC;AACtD","file":"index.js"}
1
+ {"version":3,"sources":["../src/index.ts"],"names":["nestedDocsPlugin","payloadNestedDocsPlugin","wrapPayloadPlugin","options"],"mappings":"AAAA,SAASA,oBAAoBC,uBAAuB,QAAQ,iCAAiC;AAG7F,SAASC,iBAAiB,QAAQ,mBAAmB;AAIrD,OAAO,SAASF,iBAAiBG,OAAgC;IAC/D,OAAOD,kBAAkBD,wBAAwBE;AACnD","file":"index.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/plugin-nested-docs",
3
- "version": "0.30.0",
3
+ "version": "0.32.0",
4
4
  "description": "Payload nested documents integration for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -31,12 +31,12 @@
31
31
  },
32
32
  "peerDependencies": {
33
33
  "payload": "3.90.1",
34
- "frogbot": "0.30.0"
34
+ "frogbot": "0.32.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "payload": "3.90.1",
38
38
  "typescript": "5.6.2",
39
- "frogbot": "0.30.0"
39
+ "frogbot": "0.32.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"