Skip to content

Commit 3cb5c8b

Browse files
committed
Make supabase a public package
1 parent 4a373c5 commit 3cb5c8b

File tree

9 files changed

+6
-8
lines changed

9 files changed

+6
-8
lines changed

dev-packages/e2e-tests/test-applications/supabase-nextjs/lib/initSupabaseAdmin.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createClient } from '@supabase/supabase-js';
22
import * as Sentry from '@sentry/nextjs';
3+
import { supabaseIntegration } from '@sentry/supabase';
34

45
// These are the default development keys for a local Supabase instance
56
const NEXT_PUBLIC_SUPABASE_URL = 'http://localhost:54321';
@@ -15,7 +16,7 @@ export const supabase = createClient(NEXT_PUBLIC_SUPABASE_URL, SUPABASE_SERVICE_
1516
});
1617

1718
Sentry.addIntegration(
18-
Sentry.supabaseIntegration({
19+
supabaseIntegration({
1920
supabaseClient: supabase,
2021
}),
2122
);

dev-packages/e2e-tests/test-applications/supabase-nextjs/lib/initSupabaseAnon.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { createClient } from '@supabase/supabase-js';
22
import * as Sentry from '@sentry/nextjs';
3+
import { supabaseIntegration } from '@sentry/supabase';
34

45
// These are the default development keys for a local Supabase instance
56
const NEXT_PUBLIC_SUPABASE_URL = 'http://localhost:54321';
@@ -9,7 +10,7 @@ const NEXT_PUBLIC_SUPABASE_ANON_KEY =
910
export const supabase = createClient(NEXT_PUBLIC_SUPABASE_URL, NEXT_PUBLIC_SUPABASE_ANON_KEY);
1011

1112
Sentry.addIntegration(
12-
Sentry.supabaseIntegration({
13+
supabaseIntegration({
1314
supabaseClient: supabase,
1415
}),
1516
);

dev-packages/e2e-tests/test-applications/supabase-nextjs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"dependencies": {
1616
"@next/font": "14.2.15",
1717
"@sentry/nextjs": "latest || *",
18+
"@sentry/supabase": "latest || *",
1819
"@supabase/auth-helpers-react": "0.5.0",
1920
"@supabase/auth-ui-react": "0.4.7",
2021
"@supabase/supabase-js": "2.49.1",

packages/astro/src/index.server.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ export {
117117
startSession,
118118
startSpan,
119119
startSpanManual,
120-
supabaseIntegration,
121120
tediousIntegration,
122121
trpcMiddleware,
123122
updateSpanName,

packages/aws-serverless/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ export {
109109
spanToBaggageHeader,
110110
trpcMiddleware,
111111
updateSpanName,
112-
supabaseIntegration,
113112
zodErrorsIntegration,
114113
profiler,
115114
amqplibIntegration,

packages/browser/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ export {
6262
zodErrorsIntegration,
6363
thirdPartyErrorFilterIntegration,
6464
} from '@sentry/core';
65-
6665
export type { Span } from '@sentry/core';
6766
export { makeBrowserOfflineTransport } from './transports/offline';
6867
export { browserProfilingIntegration } from './profiling/integration';

packages/bun/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ export {
130130
updateSpanName,
131131
zodErrorsIntegration,
132132
profiler,
133-
supabaseIntegration,
134133
amqplibIntegration,
135134
vercelAIIntegration,
136135
logger,

packages/google-cloud-serverless/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export {
108108
spanToBaggageHeader,
109109
trpcMiddleware,
110110
updateSpanName,
111-
supabaseIntegration,
112111
zodErrorsIntegration,
113112
profiler,
114113
amqplibIntegration,

packages/remix/test/integration/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"@sentry/node": "file:../../../node",
3030
"@sentry/opentelemetry": "file:../../../opentelemetry",
3131
"@sentry/react": "file:../../../react",
32+
"@sentry/supabase": "file:../../../supabase",
3233
"@sentry-internal/browser-utils": "file:../../../browser-utils",
3334
"@sentry-internal/replay": "file:../../../replay-internal",
3435
"@sentry-internal/replay-canvas": "file:../../../replay-canvas",
35-
"@sentry-internal/supabase": "file:../../../supabase",
3636
"@sentry-internal/feedback": "file:../../../feedback",
3737
"@sentry-internal/browser-integration-tests": "file:../../../../dev-packages/browser-integration-tests",
3838
"@vanilla-extract/css": "1.13.0",

0 commit comments

Comments
 (0)