@braze/sanity-plugin-ai-translation 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@braze/sanity-plugin-ai-translation",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "A Sanity Studio v3 plugin that provides AI translation for translations fields.",
5
5
  "private": false,
6
6
  "keywords": [
@@ -45,8 +45,8 @@
45
45
  "@sanity/diff-patch": "^6.0.0",
46
46
  "@sanity/icons": "^3.7.4",
47
47
  "@sanity/incompatible-plugin": "^1.0.5",
48
- "@sanity/types": "^4.10.0",
49
48
  "@sanity/ui": "^3.1.4",
49
+ "@sanity/uuid": "^3.0.2",
50
50
  "@types/react": "^18.3.0",
51
51
  "@types/react-dom": "^18.3.0",
52
52
  "lodash.clonedeep": "^4.5.0",
@@ -61,13 +61,14 @@
61
61
  "@biomejs/biome": "2.0.6",
62
62
  "@sanity/pkg-utils": "^7.9.15",
63
63
  "@sanity/plugin-kit": "^4.0.19",
64
+ "@sanity/types": "^4.18.0",
64
65
  "@types/lodash.clonedeep": "^4.5.9",
65
66
  "@types/lodash.defaults": "^4.2.9",
66
67
  "@types/lodash.get": "^4.4.9",
67
68
  "@types/lodash.set": "^4.3.9",
68
69
  "postcss": "^8.5.6",
69
70
  "react": "^18.2.0",
70
- "sanity": "^4.9.0",
71
+ "sanity": "^4.18.0",
71
72
  "sanity-plugin-internationalized-array": "^3.1.5",
72
73
  "typescript": "^5.8.3",
73
74
  "vitest": "^3.2.4"
@@ -76,7 +77,7 @@
76
77
  "@sanity/ui": "^3",
77
78
  "react": "^18 || ^19",
78
79
  "react-dom": "^18 || ^19",
79
- "sanity": "^4.9.0",
80
+ "sanity": "^4.14.1",
80
81
  "sanity-plugin-internationalized-array": "^3.1.5",
81
82
  "styled-components": "^5 || ^6",
82
83
  "typescript": "^5"
@@ -100,6 +101,8 @@
100
101
  "scripts": {
101
102
  "build": "bash copy-readme.sh && plugin-kit verify-package --silent && pkg-utils build --strict --check --clean",
102
103
  "dev": "plugin-kit link-watch",
104
+ "demo:serialization": "tsx scripts/demo-serialization.ts",
105
+ "test:pricing": "tsx scripts/test-pricing.ts",
103
106
  "test": "vitest run",
104
107
  "test:watch": "vitest",
105
108
  "watch": "pkg-utils watch --strict",