diff --git a/package.json b/package.json index 328a49c5..79e2d5dd 100755 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "@sanity/client": "^7.6.0", "@sanity/comlink": "^4.0.0", "@sanity/core-loader": "^2.0.0", - "@sanity/presentation-comlink": "^1.0.21", + "@sanity/presentation-comlink": "^2.0.0", "@sanity/preview-url-secret": "^2.1.11", "@sanity/visual-editing": "^4.0.0", "consola": "^3.2.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 77af8d98..840cfa9e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,8 +37,8 @@ importers: specifier: ^2.0.0 version: 2.0.0(@sanity/types@4.18.0(@types/react@18.3.27))(typescript@5.9.3) '@sanity/presentation-comlink': - specifier: ^1.0.21 - version: 1.0.33(@sanity/client@7.13.0)(@sanity/types@4.18.0(@types/react@18.3.27)) + specifier: ^2.0.0 + version: 2.0.0(@sanity/client@7.13.0)(@sanity/types@4.18.0(@types/react@18.3.27)) '@sanity/preview-url-secret': specifier: ^2.1.11 version: 2.1.16(@sanity/client@7.13.0)(@sanity/icons@3.7.4(react@18.3.1))(sanity@4.18.0(@emotion/is-prop-valid@1.2.2)(@portabletext/sanity-bridge@1.2.4(@sanity/schema@4.18.0(@types/react@18.3.27))(@sanity/types@4.18.0(@types/react@18.3.27)))(@types/node@24.10.1)(@types/react@18.3.27)(immer@10.2.0)(jiti@2.6.1)(lightningcss@1.30.2)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(styled-components@6.1.19(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(terser@5.44.1)(typescript@5.9.3)(yaml@2.8.1)) @@ -3598,10 +3598,6 @@ packages: '@sanity/mutator@4.18.0': resolution: {integrity: sha512-TMM9R+1fSNV8gcu44e76ES31TX8/gqOCkcTRMcO8xbmFlBzNECmSf3DXHNkVtL8BQc615wIobaSiOLylrY/ZZA==} - '@sanity/presentation-comlink@1.0.33': - resolution: {integrity: sha512-8egBjVuXT3O0dChWf7C/zzvNCG5FgA8cK9hHPDArAcrtY1MbNkCqCrC04Nm7egJ/s4vZBcZx4F/dt0GPXfhYNg==} - engines: {node: '>=18'} - '@sanity/presentation-comlink@2.0.0': resolution: {integrity: sha512-NN079HWOT+RGn2xMwohUF+xz6Oq1V82Eb5r3TfmIHZjtO9xOi6T2WoISdcMkDkd96Lg5puvv/SCczb75SAawZA==} engines: {node: '>=20.19 <22 || >=22.12'} @@ -14870,14 +14866,6 @@ snapshots: - '@types/react' - supports-color - '@sanity/presentation-comlink@1.0.33(@sanity/client@7.13.0)(@sanity/types@4.18.0(@types/react@18.3.27))': - dependencies: - '@sanity/comlink': 3.1.1 - '@sanity/visual-editing-types': 1.1.8(@sanity/client@7.13.0)(@sanity/types@4.18.0(@types/react@18.3.27)) - transitivePeerDependencies: - - '@sanity/client' - - '@sanity/types' - '@sanity/presentation-comlink@2.0.0(@sanity/client@7.13.0)(@sanity/types@4.18.0(@types/react@18.3.27))': dependencies: '@sanity/comlink': 4.0.0