@payloadcms/live-preview
Advanced tools
Comparing version 3.0.0-canary.7660f90 to 3.0.0-canary.78bbed6
@@ -17,5 +17,5 @@ import type { fieldSchemaToJSON } from 'payload/shared'; | ||
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()); |
{ | ||
"name": "@payloadcms/live-preview", | ||
"version": "3.0.0-canary.7660f90", | ||
"version": "3.0.0-canary.78bbed6", | ||
"description": "The official live preview JavaScript SDK for Payload", | ||
@@ -27,4 +27,4 @@ "homepage": "https://payloadcms.com", | ||
"devDependencies": { | ||
"payload": "3.0.0-canary.7660f90", | ||
"@payloadcms/eslint-config": "1.1.1" | ||
"@payloadcms/eslint-config": "3.0.0-beta.59", | ||
"payload": "3.0.0-canary.78bbed6" | ||
}, | ||
@@ -31,0 +31,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63790