Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: bump stripe sync engine package (#47105)

Raminder Singh96dfc746b7bb
diff --git a/apps/studio/components/interfaces/Integrations/Landing/Landing.utils.ts b/apps/studio/components/interfaces/Integrations/Landing/Landing.utils.ts
index 16edbd37d11..873c9a3536e 100644
--- a/apps/studio/components/interfaces/Integrations/Landing/Landing.utils.ts
+++ b/apps/studio/components/interfaces/Integrations/Landing/Landing.utils.ts
@@ -1,5 +1,5 @@
+import { parseSchemaComment } from '@stripe/sync-engine/supabase'
import { useMemo } from 'react'
-import { parseSchemaComment } from 'stripe-experiment-sync/supabase'
import { type WrapperMeta } from '../Wrappers/Wrappers.types'
import { wrapperMetaComparator } from '../Wrappers/Wrappers.utils'
diff --git a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StatusDisplay.tsx b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StatusDisplay.tsx
index 488845d21c8..85bb055f2b5 100644
--- a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StatusDisplay.tsx
+++ b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StatusDisplay.tsx
@@ -1,5 +1,5 @@
+import { SchemaInstallationStatus } from '@stripe/sync-engine/supabase'
import { AlertCircle, Check, RefreshCwIcon } from 'lucide-react'
-import { SchemaInstallationStatus } from 'stripe-experiment-sync/supabase'
import {
hasInstallError,
diff --git a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncChangesCard.tsx b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncChangesCard.tsx
index a0bb8094a39..4e15dbd1740 100644
--- a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncChangesCard.tsx
+++ b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/StripeSyncChangesCard.tsx
@@ -1,6 +1,6 @@
+import { SchemaInstallationStatus } from '@stripe/sync-engine/supabase'
import { EdgeFunctions } from 'icons'
import { Layers, Loader2, Table } from 'lucide-react'
-import { SchemaInstallationStatus } from 'stripe-experiment-sync/supabase'
import { Card, CardContent, cn } from 'ui'
import {
diff --git a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/stripe-sync-status.ts b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/stripe-sync-status.ts
index dc5c8c3eb1f..2435e67f208 100644
--- a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/stripe-sync-status.ts
+++ b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/stripe-sync-status.ts
@@ -1,4 +1,4 @@
-import { SchemaInstallationStatus, StripeSchemaComment } from 'stripe-experiment-sync/supabase'
+import { SchemaInstallationStatus, StripeSchemaComment } from '@stripe/sync-engine/supabase'
import type {
StripeSyncState,
diff --git a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/useStripeSyncStatus.ts b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/useStripeSyncStatus.ts
index afcffdc5029..d627b929781 100644
--- a/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/useStripeSyncStatus.ts
+++ b/apps/studio/components/interfaces/Integrations/templates/StripeSyncEngine/useStripeSyncStatus.ts
@@ -1,5 +1,5 @@
+import { getCurrentVersion, parseSchemaComment } from '@stripe/sync-engine/supabase'
import { useEffect } from 'react'
-import { getCurrentVersion, parseSchemaComment } from 'stripe-experiment-sync/supabase'
import {
findStripeSchema,
diff --git a/apps/studio/package.json b/apps/studio/package.json
index ab3291b1c58..5c1c9f7e86b 100644
--- a/apps/studio/package.json
+++ b/apps/studio/package.json
@@ -135,7 +135,7 @@
"sql-formatter": "^15.0.0",
"sqlstring": "^2.3.2",
"streamdown": "^1.3.0",
- "stripe-experiment-sync": "1.0.31",
+ "@stripe/sync-engine": "1.0.32",
"swiper": "^12.1.2",
"tus-js-client": "^4.1.0",
"ui": "workspace:*",
diff --git a/apps/studio/pages/api/integrations/stripe-sync.ts b/apps/studio/pages/api/integrations/stripe-sync.ts
index c55cd743ee8..29dab03e3a8 100644
--- a/apps/studio/pages/api/integrations/stripe-sync.ts
+++ b/apps/studio/pages/api/integrations/stripe-sync.ts
@@ -1,7 +1,7 @@
+import { VERSION } from '@stripe/sync-engine'
+import { install, uninstall } from '@stripe/sync-engine/supabase'
import { waitUntil } from '@vercel/functions'
import { NextApiRequest, NextApiResponse } from 'next'
-import { VERSION } from 'stripe-experiment-sync'
-import { install, uninstall } from 'stripe-experiment-sync/supabase'
import { z } from 'zod'
const InstallBodySchema = z.object({
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index d3b1e77cd91..673021e2845 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -937,6 +937,9 @@ importers:
'@stripe/stripe-js':
specifier: 9.1.0
version: 9.1.0
+ '@stripe/sync-engine':
+ specifier: 1.0.32
+ version: 1.0.32(@types/[email protected])([email protected])
'@supabase/auth-js':
specifier: 'catalog:'
version: 2.108.2
@@ -1168,9 +1171,6 @@ importers:
streamdown:
specifier: ^1.3.0
- stripe-experiment-sync:
- specifier: 1.0.31
- version: 1.0.31(@types/[email protected])([email protected])
swiper:
specifier: ^12.1.2
version: 12.1.2
@@ -7733,6 +7733,10 @@ packages:
resolution: {integrity: sha512-v51LoEfZNiNS/5DcarWPCYgn24w4dqwwALR4GTbMW/N0DDzzj4DgYNoixX6PYvpt6uIJMucGUabn/BHhylggIQ==}
engines: {node: '>=12.16'}
+ '@stripe/[email protected]':
+ resolution: {integrity: sha512-c1Ht5A7Jl0UWDwDr9tzIcpusr3B02l868UT3qgSuFuwVoTyvnX+G8h4n6rJ9hTKD07ktKA2MLL8KnXt1S1wUzA==}
+ hasBin: true
+
'@supabase-labs/[email protected]':
resolution: {integrity: sha512-1ItaKbcImgy7ueYfJcyVYihqCKi9RAee9MKBV8wcCqSMNsrWvw4ibhW8ai91kWsewsiWzIDXVPONgcUcxagk9g==}
@@ -10661,10 +10665,6 @@ packages:
resolution: {integrity: sha512-m/C+AwOAr9/W1UOIZUo232ejMNnJAJtYQjUbHoNTBNTJSvqzzDh7vnrei3o3r3m9blf6ZoDkvcw0VmozNRFJxg==}
engines: {node: '>=12'}
- resolution: {integrity: sha512-JVUnt+DUIzu87TABbhPmNfVdBDt18BLOWjMUFJMSi/Qqg7NTYtabbvSNJGOJ7afbRuv9D/lngizHtP7QyLQ+9w==}
- engines: {node: '>=12'}
-
resolution: {integrity: sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==}
engines: {node: '>=12'}
@@ -16374,10 +16374,6 @@ packages:
resolution: {integrity: sha512-8r3mkIM/2+PpjHoOtiAW8Rg3jJLHaV7xPwG+YRGrv6FP0wwk/toTpATxWYOW0BKdWwl82VT2tFYi5DlROa0Mxg==}
- resolution: {integrity: sha512-v37KFbFB4kpnJYkPxBXvxxsw/i+6GiF+U/5cH3TgZ8GdnHHt8WlykZQOdzhZlJlqZSeLfRC4ditD5CIQK76Qeg==}
- hasBin: true
-
resolution: {integrity: sha512-aT2BU9KkizY9SATf14WhhYVv2uOapBWX0OFWF4xvcj1mPaNotlSc2CsxpS4DS46ZueSppmCF5BX1sNYBtwBvfw==}
engines: {node: '>=12.*'}
@@ -17847,9 +17843,6 @@ packages:
resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}
- resolution: {integrity: sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==}
-
resolution: {integrity: sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==}
@@ -19141,7 +19134,7 @@ snapshots:
'@dotenvx/[email protected]':
dependencies:
commander: 11.1.0
- dotenv: 17.2.3
+ dotenv: 17.4.2
eciesjs: 0.4.15
execa: 5.1.1
fdir: 6.5.0([email protected])
@@ -23993,6 +23986,28 @@ snapshots:
'@stripe/[email protected]': {}
+ dependencies:
+ '@ngrok/ngrok': 1.6.0
+ chalk: 5.4.1
+ commander: 12.1.0
+ dotenv: 16.5.0
+ express: 4.22.1([email protected])
+ inquirer: 12.11.1(@types/[email protected])
+ papaparse: 5.4.1
+ pg: 8.16.3
+ stripe: 17.7.0
+ supabase-management-js: 2.0.2
+ ws: 8.21.0
+ yesql: 7.0.0
+ transitivePeerDependencies:
+ - '@types/node'
+ - bufferutil
+ - debug
+ - pg-native
+ - supports-color
+ - utf-8-validate
+
'@supabase-labs/[email protected]':
dependencies:
'@supabase/supabase-js': 2.108.2
@@ -27295,8 +27310,6 @@ snapshots:
-
@@ -34604,28 +34617,6 @@ snapshots:
dependencies:
js-tokens: 9.0.1
- dependencies:
- '@ngrok/ngrok': 1.6.0
- chalk: 5.4.1
- commander: 12.1.0
- dotenv: 16.5.0
- express: 4.22.1([email protected])
- inquirer: 12.11.1(@types/[email protected])
- papaparse: 5.4.1
- pg: 8.16.3
- stripe: 17.7.0
- supabase-management-js: 2.0.2
- ws: 8.21.0
- yesql: 7.0.0
- transitivePeerDependencies:
- - '@types/node'
- - bufferutil
- - debug
- - pg-native
- - supports-color
- - utf-8-validate
-
dependencies:
'@types/node': 22.13.14
@@ -34679,7 +34670,7 @@ snapshots:
dependencies:
axios: 1.16.0
- zod: 4.3.6
+ zod: 4.4.3
transitivePeerDependencies:
- debug
@@ -36173,8 +36164,6 @@ snapshots:
-