From 775092d3cc2e1ffdb376336156f46d70529a6942 Mon Sep 17 00:00:00 2001 From: vilkinsons <6226576+vilkinsons@users.noreply.github.com> Date: Thu, 8 Aug 2024 17:28:38 +0200 Subject: [PATCH] Migrate libs --- libs/@local/hash-isomorphic-utils/src/blocks.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libs/@local/hash-isomorphic-utils/src/blocks.ts b/libs/@local/hash-isomorphic-utils/src/blocks.ts index 6314830e878..bb8f53fd6fd 100644 --- a/libs/@local/hash-isomorphic-utils/src/blocks.ts +++ b/libs/@local/hash-isomorphic-utils/src/blocks.ts @@ -224,7 +224,12 @@ export const blockProtocolHubOrigin = * – this will also be required for block versioning, where we'll want different source locations for the same componentId */ export const componentIdBase = `https://blockprotocol${ - !blockProtocolHubOrigin.includes("blockprotocol.org") ? "-preview" : "" + !( + // TODO(sentry): Could not automatically migrate - see https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md#deprecate-hub + blockProtocolHubOrigin.includes("blockprotocol.org") + ) + ? "-preview" + : "" }.hashai.workers.dev`; export const paragraphBlockComponentId = `${componentIdBase}/blocks/hash/paragraph`;