@payloadcms/live-preview
Advanced tools
Comparing version 3.0.0-canary.cee5702 to 3.0.0-canary.cf66341
@@ -1,2 +0,2 @@ | ||
import type { fieldSchemaToJSON } from 'payload/utilities'; | ||
import type { fieldSchemaToJSON } from 'payload/shared'; | ||
import type { UpdatedDocument } from './types.js'; | ||
@@ -17,5 +17,5 @@ export declare const mergeData: <T>(args: { | ||
serverURL: string; | ||
}) => Promise<T & { | ||
}) => Promise<{ | ||
_numberOfRequests?: number; | ||
}>; | ||
} & T>; | ||
//# sourceMappingURL=mergeData.d.ts.map |
@@ -31,3 +31,3 @@ import { traverseFields } from './traverseFields.js'; | ||
apiPath: apiRoute || '/api', | ||
endpoint: `${collection}?depth=${depth}&where[id][in]=${Array.from(ids).join(',')}`, | ||
endpoint: encodeURI(`${collection}?depth=${depth}&where[id][in]=${Array.from(ids).join(',')}`), | ||
serverURL | ||
@@ -34,0 +34,0 @@ }).then((res)=>res.json()); |
@@ -1,2 +0,2 @@ | ||
import type { fieldSchemaToJSON } from 'payload/utilities'; | ||
import type { fieldSchemaToJSON } from 'payload/shared'; | ||
import type { PopulationsByCollection, UpdatedDocument } from './types.js'; | ||
@@ -3,0 +3,0 @@ export declare const traverseFields: <T>(args: { |
{ | ||
"name": "@payloadcms/live-preview", | ||
"version": "3.0.0-canary.cee5702", | ||
"version": "3.0.0-canary.cf66341", | ||
"description": "The official live preview JavaScript SDK for Payload", | ||
@@ -17,4 +17,4 @@ "homepage": "https://payloadcms.com", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.js", | ||
"types": "./dist/index.d.ts" | ||
"types": "./dist/index.d.ts", | ||
"default": "./dist/index.js" | ||
} | ||
@@ -28,4 +28,4 @@ }, | ||
"devDependencies": { | ||
"@payloadcms/eslint-config": "1.1.1", | ||
"payload": "3.0.0-canary.cee5702" | ||
"@payloadcms/eslint-config": "3.0.0-beta.59", | ||
"payload": "3.0.0-canary.cf66341" | ||
}, | ||
@@ -36,4 +36,4 @@ "publishConfig": { | ||
"scripts": { | ||
"build": "pnpm copyfiles && pnpm build:swc && pnpm build:types", | ||
"build:swc": "swc ./src -d ./dist --config-file .swcrc", | ||
"build": "pnpm copyfiles && pnpm build:types && pnpm build:swc", | ||
"build:swc": "swc ./src -d ./dist --config-file .swcrc --strip-leading-paths", | ||
"build:types": "tsc --emitDeclarationOnly --outDir dist", | ||
@@ -40,0 +40,0 @@ "clean": "rimraf {dist,*.tsbuildinfo}", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63790