diff --git a/README.md b/README.md index 15353ba..35288dd 100644 --- a/README.md +++ b/README.md @@ -139,7 +139,7 @@ For more control over the value field, you can pass a schema definition into the ```ts import {defineConfig} from 'sanity' -import {fieldLevelExperiments} from 'sanity-plugin-personalisation' +import {fieldLevelExperiments} from '@sanity/personalisation-plugin' export default defineConfig({ //... diff --git a/src/fieldExperiments.tsx b/src/fieldExperiments.tsx index 8b01497..e978954 100644 --- a/src/fieldExperiments.tsx +++ b/src/fieldExperiments.tsx @@ -144,7 +144,7 @@ export const fieldLevelExperiments = definePlugin((config) => const {fields, experiments} = pluginConfig const fieldSchemaConfig = fieldSchema({fields, experiments}) return { - name: 'sanity-plugin-field-level-experiments', + name: 'sanity-personalistaion-plugin-field-level-experiments', schema: { types: fieldSchemaConfig, },