New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@payloadcms/live-preview

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@payloadcms/live-preview - npm Package Compare versions

Comparing version 3.0.0-canary.220bb7c to 3.0.0-canary.23fcb9e

@@ -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.220bb7c",
"version": "3.0.0-canary.23fcb9e",
"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": {
"payload": "3.0.0-canary.220bb7c",
"@payloadcms/eslint-config": "1.1.1"
"@payloadcms/eslint-config": "3.0.0-beta.59",
"payload": "3.0.0-canary.23fcb9e"
},

@@ -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