@replohq/canopy-sdk 3.0.2-beta.token-rotation-check.4.712d073 → 3.0.3

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.
Files changed (125) hide show
  1. package/_vendor/replo-utils/lib/url.d.ts +7 -0
  2. package/_vendor/replo-utils/lib/url.mjs +1 -1
  3. package/_vendor/schemas/routing/rules.mjs +1 -1
  4. package/analytics/analytics-provider.js +1 -1
  5. package/analytics/get-analytics-sinks.js +1 -1
  6. package/analytics/hooks/use-product-viewed-analytics.js +1 -1
  7. package/analytics/replo-first-party-pixel.js +1 -1
  8. package/analytics/replo-pixel-script.js +1 -1
  9. package/analytics/sinks/ga4-sink.js +1 -1
  10. package/analytics/sinks/meta-sink.js +1 -1
  11. package/analytics/sinks/pinterest-sink.js +1 -1
  12. package/analytics/sinks/reddit-sink.js +1 -1
  13. package/analytics/sinks/replo-sink.js +1 -1
  14. package/analytics/sinks/snapchat-sink.js +1 -1
  15. package/analytics/sinks/tiktok-sink.js +1 -1
  16. package/analytics/sinks/window-sink.js +1 -1
  17. package/analytics/utils/analytics-utils.js +1 -1
  18. package/analytics/utils/navigation-tracker.js +1 -1
  19. package/analytics/utils/shopify-funnel-gate.js +1 -1
  20. package/cart/buy-now-action.js +1 -1
  21. package/cart/cart-actions.js +1 -1
  22. package/cart/cart-loader.js +1 -1
  23. package/cart/cart-provider.js +1 -1
  24. package/cart/cart-schema.js +1 -1
  25. package/cart/cart-types.js +1 -1
  26. package/cart/gateways/cart-gateway.js +1 -1
  27. package/cart/gateways/cookie-cart-gateway.js +1 -1
  28. package/cart/gateways/default-cart-gateway.js +1 -1
  29. package/cart/gateways/resolver-cart-gateway.js +1 -1
  30. package/cart/gateways/stripe-cart-gateway.js +1 -1
  31. package/cart/hooks/use-add-to-cart.js +1 -1
  32. package/cart/hooks/use-buy-now.js +1 -1
  33. package/cart/utils/cart-utils.js +1 -1
  34. package/cart/utils/cookie-cart-persistence.js +1 -1
  35. package/cart/utils/variant-to-cart-line.js +1 -1
  36. package/{chunk-WKKSDMLR.mjs → chunk-IQVZY6EV.mjs} +34 -1
  37. package/consent/consent-action.js +1 -1
  38. package/consent/consent-actions.js +1 -1
  39. package/consent/consent-store.js +1 -1
  40. package/consent/cookie.js +1 -1
  41. package/consent/replo-scripts.js +1 -1
  42. package/consent/script-registration-store.js +1 -1
  43. package/consent/script-snippets.js +1 -1
  44. package/consent/window-api.js +1 -1
  45. package/editor/ClientErrorBoundary.js +1 -1
  46. package/editor/DocumentReadyBeacon.js +1 -1
  47. package/editor/LinkInterceptor.js +1 -1
  48. package/editor/NextErrorReporter.js +1 -1
  49. package/editor/annotations/AnnotationLayerMount.js +1 -1
  50. package/editor/annotations/annotationController.js +1 -1
  51. package/editor/annotations/bridgeGate.js +1 -1
  52. package/editor/design-library-preview/DesignLibraryPreview.js +1 -1
  53. package/editor/posthog-relay.js +1 -1
  54. package/editor/select-mode/EditorSelection.js +1 -1
  55. package/editor/select-mode/annotationFrames.js +1 -1
  56. package/editor/select-mode/descriptor/elementDescriptor.js +1 -1
  57. package/editor/select-mode/descriptor/styleExtraction.js +1 -1
  58. package/editor/select-mode/displayModeStore.js +1 -1
  59. package/editor/select-mode/fast-refresh-relay.js +1 -1
  60. package/editor/select-mode/fiber.js +1 -1
  61. package/editor/select-mode/hooks/useCrosshairCursor.js +1 -1
  62. package/editor/select-mode/hooks/useEditModeStateMachine.js +1 -1
  63. package/editor/select-mode/hooks/useOptimisticOverrides.js +1 -1
  64. package/editor/select-mode/hooks/useParentMessaging.js +1 -1
  65. package/editor/select-mode/hooks/useSelectModeController.js +1 -1
  66. package/editor/select-mode/hooks/useSelectionHover.js +1 -1
  67. package/editor/select-mode/hooks/useSelectionInteractions.js +1 -1
  68. package/editor/select-mode/hooks/useSelectionScrollSync.js +1 -1
  69. package/editor/select-mode/hooks/useSiblingResolution.js +1 -1
  70. package/editor/select-mode/iframeRpcChannel.js +1 -1
  71. package/editor/select-mode/inlineTextMarks.js +1 -1
  72. package/editor/select-mode/interactions/selectionGeometry.js +1 -1
  73. package/editor/select-mode/selectModeSession.js +1 -1
  74. package/editor/select-mode/selectionFrame.js +1 -1
  75. package/editor/select-mode/symbolicate.js +1 -1
  76. package/editor/select-mode/tiptapInlineEditor.js +1 -1
  77. package/env.js +1 -1
  78. package/gateways/canopy-api.js +1 -1
  79. package/hooks/use-client-value.js +1 -1
  80. package/hooks/use-formatted-price.js +1 -1
  81. package/lib/canopy-error.js +1 -1
  82. package/lib/get-query-client.js +1 -1
  83. package/lib/integration-utils.js +1 -1
  84. package/lib/shopify-utils.js +1 -1
  85. package/lib/url-utils.js +1 -1
  86. package/loaders/collection-loader.js +1 -1
  87. package/loaders/collection-products-loader.js +1 -1
  88. package/loaders/contentful-entries-loader.js +1 -1
  89. package/loaders/contentful-entry-loader.js +1 -1
  90. package/loaders/invoke-loader-action.js +1 -1
  91. package/loaders/invoke-loader-server.js +1 -1
  92. package/loaders/invoke-loader.js +1 -1
  93. package/loaders/levanta-product-loader.js +1 -1
  94. package/loaders/loader-error-boundary.js +1 -1
  95. package/loaders/loader-keys.js +1 -1
  96. package/loaders/loader-schemas.js +1 -1
  97. package/loaders/metaobject-loader.js +1 -1
  98. package/loaders/metaobjects-loader.js +1 -1
  99. package/loaders/okendo-review-aggregate-loader.js +1 -1
  100. package/loaders/okendo-reviews-loader.js +1 -1
  101. package/loaders/prefetch-loaders.js +1 -1
  102. package/loaders/preview-placeholder.js +1 -1
  103. package/loaders/product-loader-args.js +1 -1
  104. package/loaders/product-loader.js +1 -1
  105. package/loaders/rebuy-recommendations-loader.js +1 -1
  106. package/loaders/reviews-io-review-aggregate-loader.js +1 -1
  107. package/loaders/reviews-io-reviews-loader.js +1 -1
  108. package/loaders/smile-earning-rules-loader.js +1 -1
  109. package/loaders/smile-rewards-loader.js +1 -1
  110. package/loaders/smile-vip-tiers-loader.js +1 -1
  111. package/loaders/statsig-experiment-loader.js +1 -1
  112. package/loaders/vendor-loader-keys.js +1 -1
  113. package/loaders/yotpo-review-aggregate-loader.js +1 -1
  114. package/loaders/yotpo-reviews-loader.js +1 -1
  115. package/money.js +1 -1
  116. package/next/config.js +1 -1
  117. package/next/image-loader.js +1 -1
  118. package/next/open-next.js +1 -1
  119. package/orders/order-status-schema.js +1 -1
  120. package/orders/order-status.js +1 -1
  121. package/package.json +5 -1
  122. package/providers/query-provider.js +1 -1
  123. package/providers/replo-provider.js +1 -1
  124. package/routing/evaluate.js +1 -1
  125. package/routing/rules.js +1 -1
@@ -60,3 +60,10 @@ export declare function parseUrl(value: string, base?: string): URL | null;
60
60
  * extensionless paths (product imagery is the primary consumer).
61
61
  */
62
62
  export declare function fileExtensionFromUrl(url: string): string;
63
+ /**
64
+ * Registration inputs are attacker-typeable, and the pipeline fetches them
65
+ * server-side — so only plain public https(+http) origins pass: no
66
+ * credentials, no ports, no IP literals, no localhost/RFC-6762 style names.
67
+ */
68
+ export declare function sanitizePublicHttpUrl(value: string | null): string | null;
69
+ export declare function safeHost(url: string): string | null;
@@ -1,4 +1,4 @@
1
- export { buildUrlSearchParams, fileExtensionFromUrl, isPreviewInternalHostname, isPreviewOrigin, isValidHttpUrl, isValidRoutePath, normalizeCustomDomain, normalizeUrlIncludingProtocolRelative, normalizeUrlScheme, parseUrl, truncateDomain } from '../../../chunk-WKKSDMLR.mjs';
1
+ export { buildUrlSearchParams, fileExtensionFromUrl, isPreviewInternalHostname, isPreviewOrigin, isValidHttpUrl, isValidRoutePath, normalizeCustomDomain, normalizeUrlIncludingProtocolRelative, normalizeUrlScheme, parseUrl, safeHost, sanitizePublicHttpUrl, truncateDomain } from '../../../chunk-IQVZY6EV.mjs';
2
2
  import '../../../chunk-AKZNN7F2.mjs';
3
3
  import '../../../chunk-FNTGY7I5.mjs';
4
4
  import '../../../chunk-UJCSKKID.mjs';
@@ -1,5 +1,5 @@
1
1
  import { getParamSegment, getRouteParams, hasRouteParam, matchSource } from '../../../chunk-VPEVERWE.mjs';
2
- import { parseUrl } from '../../../chunk-WKKSDMLR.mjs';
2
+ import { parseUrl } from '../../../chunk-IQVZY6EV.mjs';
3
3
  import '../../../chunk-AKZNN7F2.mjs';
4
4
  import { ReploError } from '../../../chunk-ZZPQ3E7S.mjs';
5
5
  import '../../../chunk-H36NDYLG.mjs';
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function AnalyticsProvider(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "AnalyticsProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function getAnalyticsSinks(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getAnalyticsSinks",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  function useProductViewedAnalytics(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "useProductViewedAnalytics",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  async function ReploFirstPartyPixel() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "ReploFirstPartyPixel",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ReploPixelScript(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ReploPixelScript",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class GA4Sink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  send;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class MetaSink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  track;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class PinterestSink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  track;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class RedditSink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  track;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class ReploSink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  forward;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class SnapchatSink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  track;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class TikTokSink {
3
3
  // oxlint-disable-next-line typescript/no-explicit-any -- legacy any, may or may not be needed
4
4
  track;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class WindowSink {
3
3
  constructor() {
4
4
  throw canopyTombstoneError({
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function createEventQueue(_checkPixelReady, _sendEvent, _pixelName) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "createEventQueue",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class NavigationTracker {
3
3
  lastUrl;
4
4
  onNavigate;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function gateShopifyOwnedFunnelEvents(_sink) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "gateShopifyOwnedFunnelEvents",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  async function buyNowAction(_input) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "buyNowAction",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  async function getOrCreateCartAction() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "getOrCreateCartAction",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  async function CartLoader(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "CartLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function CartProvider(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "CartProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  const cartSchema = canopyTombstoneObject({
3
3
  symbol: "cartSchema",
4
4
  subpath: "cart/cart-schema",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  const REPLO_ATTRIBUTION_PROPERTY = canopyTombstoneObject({
3
3
  symbol: "REPLO_ATTRIBUTION_PROPERTY",
4
4
  subpath: "cart/cart-types"
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  async function getCartGateway() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "getCartGateway",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  class CookieBasedCartGateway {
3
3
  constructor() {
4
4
  throw canopyTombstoneError({
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  async function createDefaultCartGateway() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "createDefaultCartGateway",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  async function createResolverCartGateway() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "createResolverCartGateway",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  async function createStripeCartGateway() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "createStripeCartGateway",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  function findMerchandiseInQueryCache(_options) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "findMerchandiseInQueryCache",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  function useBuyNow() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "useBuyNow",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function calculateLineItemsSubtotal(_lineItems) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "calculateLineItemsSubtotal",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  async function saveCartToCookie(_cart, _cookieName) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "saveCartToCookie",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function getCartLineAttribute(_cartLine, _key) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getCartLineAttribute",
@@ -152,5 +152,38 @@ function fileExtensionFromUrl(url) {
152
152
  const extension = lastSegment.includes(".") ? lastSegment.split(".").pop() ?? "" : "";
153
153
  return extension.toLowerCase() || "jpg";
154
154
  }
155
+ function sanitizePublicHttpUrl(value) {
156
+ const trimmed = value?.trim();
157
+ if (!trimmed) {
158
+ return null;
159
+ }
160
+ const withScheme = /^[a-z][a-z0-9+.-]*:/iu.test(trimmed) ? trimmed : `https://${trimmed}`;
161
+ let url;
162
+ try {
163
+ url = new URL(withScheme);
164
+ } catch {
165
+ return null;
166
+ }
167
+ if (url.protocol !== "https:" && url.protocol !== "http:") {
168
+ return null;
169
+ }
170
+ if (url.username || url.password || url.port) {
171
+ return null;
172
+ }
173
+ const host = url.hostname.toLowerCase();
174
+ if (!host.includes(".") || host === "localhost" || host.endsWith(".local") || host.endsWith(".internal") || host.endsWith(".lan") || /^\d{1,3}(\.\d{1,3}){3}$/u.test(host) || host.startsWith("[")) {
175
+ return null;
176
+ }
177
+ url.protocol = "https:";
178
+ url.hash = "";
179
+ return url.toString();
180
+ }
181
+ function safeHost(url) {
182
+ try {
183
+ return new URL(url).hostname.toLowerCase();
184
+ } catch {
185
+ return null;
186
+ }
187
+ }
155
188
 
156
- export { buildUrlSearchParams, fileExtensionFromUrl, isPreviewInternalHostname, isPreviewOrigin, isValidHttpUrl, isValidRoutePath, normalizeCustomDomain, normalizeUrlIncludingProtocolRelative, normalizeUrlScheme, parseUrl, truncateDomain };
189
+ export { buildUrlSearchParams, fileExtensionFromUrl, isPreviewInternalHostname, isPreviewOrigin, isValidHttpUrl, isValidRoutePath, normalizeCustomDomain, normalizeUrlIncludingProtocolRelative, normalizeUrlScheme, parseUrl, safeHost, sanitizePublicHttpUrl, truncateDomain };
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function deriveConsentAction(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "deriveConsentAction",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  async function recordConsentAction(_decision) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "recordConsentAction",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
2
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone.js";
3
3
  const consentStore = canopyTombstoneObject({
4
4
  symbol: "consentStore",
5
5
  subpath: "consent/consent-store"
package/consent/cookie.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  const CONSENT_COOKIE_NAME = "replo_consent";
3
3
  const CONSENT_COOKIE_VERSION = 1;
4
4
  const CONSENT_COOKIE_MAX_AGE_SECONDS = 60 * 60 * 24 * 180;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function InjectedScript(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "InjectedScript",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
2
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone.js";
3
3
  const scriptRegistrationStore = canopyTombstoneObject({
4
4
  symbol: "scriptRegistrationStore",
5
5
  subpath: "consent/script-registration-store",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function buildScriptTags(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "buildScriptTags",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  const CONSENT_CHANGE_EVENT = "visitorConsentCollected";
4
4
  function installConsentWindowApi() {
5
5
  throw canopyTombstoneError({
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ClientErrorBoundary(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ClientErrorBoundary",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function DocumentReadyBeacon() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "DocumentReadyBeacon",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function LinkInterceptor() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "LinkInterceptor",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function NextErrorReporter() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "NextErrorReporter",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  function AnnotationLayerMount() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "AnnotationLayerMount",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function initAnnotationLayer() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "initAnnotationLayer",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function isAllowedEditorOrigin(_origin) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "isAllowedEditorOrigin",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  function DesignLibraryPreview() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "DesignLibraryPreview",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function PostHogRelay() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "PostHogRelay",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../../lib/tombstone";
2
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
3
3
  function EditorSelection() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "EditorSelection",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  const ANNOTATION_CONTAINER_ID = "replo-annotation-frames";
3
3
  function setActiveAnnotationBadge(_id) {
4
4
  throw canopyTombstoneError({
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function getNearestSelectableElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getNearestSelectableElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function getDefinedStyles(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getDefinedStyles",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  canopyTombstoneError,
4
4
  canopyTombstoneObject
5
- } from "../../lib/tombstone";
5
+ } from "../../lib/tombstone.js";
6
6
  const displayModeStore = canopyTombstoneObject({
7
7
  symbol: "displayModeStore",
8
8
  subpath: "editor/select-mode/displayModeStore",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function installFastRefreshRelay(_args = {}) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "installFastRefreshRelay",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function getFiberFromElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getFiberFromElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useCrosshairCursor(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useCrosshairCursor",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function isTextEditableElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "isTextEditableElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useOptimisticOverrides() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useOptimisticOverrides",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useParentMessaging(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useParentMessaging",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useSelectModeController() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectModeController",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useSelectionHover(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectionHover",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useSelectionInteractions(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectionInteractions",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function useSelectionScrollSync(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectionScrollSync",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function getSourceLocationSiblingElements(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getSourceLocationSiblingElements",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function getSelectModeIframeRpcChannel() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getSelectModeIframeRpcChannel",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function isInlineTextMarkElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "isInlineTextMarkElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone.js";
2
2
  function getDragPositionFromClient(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getDragPositionFromClient",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../../lib/tombstone";
1
+ import { canopyTombstoneObject } from "../../lib/tombstone.js";
2
2
  const IDLE_SESSION = canopyTombstoneObject({
3
3
  symbol: "IDLE_SESSION",
4
4
  subpath: "editor/select-mode/selectModeSession",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function setSelectionFrameEditing(_editing) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "setSelectionFrameEditing",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  async function symbolicateSelectedElement(_selectedElement) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "symbolicateSelectedElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone";
1
+ import { canopyTombstoneError } from "../../lib/tombstone.js";
2
2
  function createInlineTiptapEditor(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "createInlineTiptapEditor",
package/env.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./lib/tombstone";
1
+ import { canopyTombstoneError } from "./lib/tombstone.js";
2
2
  async function getEnv() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getEnv",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  class CanopyApiGatewayError extends Error {
3
3
  config;
4
4
  id;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function useClientValue(_readValue, _initialValue) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useClientValue",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  const useFormattedPrice = (_price, _currency) => {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "useFormattedPrice",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone";
1
+ import { canopyTombstoneError } from "./tombstone.js";
2
2
  class CanopyError extends Error {
3
3
  config;
4
4
  id;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone";
1
+ import { canopyTombstoneError } from "./tombstone.js";
2
2
  function getQueryClient() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getQueryClient",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone";
1
+ import { canopyTombstoneError } from "./tombstone.js";
2
2
  async function getCheckoutProvider() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getCheckoutProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone";
1
+ import { canopyTombstoneError } from "./tombstone.js";
2
2
  function convertLegacyResourceIdToGraphQLId(_id, _type) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "convertLegacyResourceIdToGraphQLId",
package/lib/url-utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone";
1
+ import { canopyTombstoneError } from "./tombstone.js";
2
2
  function buildBaseUrl(_apiHost) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "buildBaseUrl",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function CollectionLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "CollectionLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function CollectionProductsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "CollectionProductsLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ContentfulEntriesLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ContentfulEntriesLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ContentfulEntryLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ContentfulEntryLoader",
@@ -1,5 +1,5 @@
1
1
  "use server";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  async function invokeLoaderAction(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "invokeLoaderAction",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  async function invokeLoaderServer(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "invokeLoaderServer",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  class LoaderInvokeError extends Error {
3
3
  constructor(_config) {
4
4
  super();
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function LevantaProductLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "LevantaProductLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  class LoaderErrorBoundary {
4
4
  constructor(_props) {
5
5
  throw canopyTombstoneError({
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  const dataLoaderKeysDefinition = {
3
3
  SHOPIFY_PRODUCT: "shopify_storefront.product",
4
4
  SHOPIFY_COLLECTION: "shopify_storefront.collection",
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { canopyTombstoneObject } from "../lib/tombstone";
2
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
3
3
  const imageSchemaDefinition = z.object({
4
4
  url: z.string(),
5
5
  altText: z.string().nullable(),
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function MetaobjectLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "MetaobjectLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function MetaobjectsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "MetaobjectsLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function OkendoReviewAggregateLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "OkendoReviewAggregateLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function OkendoReviewsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "OkendoReviewsLoader",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  async function PrefetchedLoaders(_props) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "PrefetchedLoaders",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function hasUnfilledRouteParam(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "hasUnfilledRouteParam",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function buildProductLoaderArgs(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "buildProductLoaderArgs",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ProductLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ProductLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function RebuyRecommendationsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "RebuyRecommendationsLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ReviewsIoReviewAggregateLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ReviewsIoReviewAggregateLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function ReviewsIoReviewsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ReviewsIoReviewsLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function SmileEarningRulesLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "SmileEarningRulesLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function SmileRewardsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "SmileRewardsLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function SmileVipTiersLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "SmileVipTiersLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function StatsigExperimentLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "StatsigExperimentLoader",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  const DATA_LOADER_KEYS = canopyTombstoneObject({
3
3
  symbol: "DATA_LOADER_KEYS",
4
4
  subpath: "_vendor/schemas/loaderKeys"
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function YotpoReviewAggregateLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "YotpoReviewAggregateLoader",
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function YotpoReviewsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "YotpoReviewsLoader",
package/money.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./lib/tombstone";
1
+ import { canopyTombstoneError } from "./lib/tombstone.js";
2
2
  function fromMajorUnitsToMinorUnits(_money) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "fromMajorUnitsToMinorUnits",
package/next/config.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  function siteConfig(_overrides = {}) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "siteConfig",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function cloudflareLoader(_props) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "default export cloudflareLoader",
package/next/open-next.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone";
1
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
2
2
  const openNextConfig = canopyTombstoneObject({
3
3
  symbol: "default export",
4
4
  subpath: "next/open-next",
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { canopyTombstoneObject } from "../lib/tombstone";
2
+ import { canopyTombstoneObject } from "../lib/tombstone.js";
3
3
  const orderStatusAddressSchemaDefinition = z.object({
4
4
  name: z.string().nullable(),
5
5
  line1: z.string(),
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  async function getOrderStatus(_options) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getOrderStatus",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replohq/canopy-sdk",
3
- "version": "3.0.2-beta.token-rotation-check.4.712d073",
3
+ "version": "3.0.3",
4
4
  "description": "Replo Canopy SDK — cart, analytics, data loaders, and editor runtime for agent-built Next.js sites.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -216,6 +216,10 @@
216
216
  "url": "git+https://github.com/replohq/andytown.git",
217
217
  "directory": "packages/canopy-sdk"
218
218
  },
219
+ "publishConfig": {
220
+ "registry": "https://registry.npmjs.org/",
221
+ "access": "public"
222
+ },
219
223
  "engines": {
220
224
  "node": "22.x"
221
225
  }
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone";
2
+ import { canopyTombstoneError } from "../lib/tombstone.js";
3
3
  function QueryProvider(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "QueryProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  async function ReploProvider(_props) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "ReploProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function evaluateRouting(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "evaluateRouting",
package/routing/rules.js CHANGED
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone";
1
+ import { canopyTombstoneError } from "../lib/tombstone.js";
2
2
  function reploRedirect(_input) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "reploRedirect",