@replohq/canopy-sdk 3.0.3 → 3.0.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.
Files changed (122) hide show
  1. package/analytics/analytics-provider.js +1 -1
  2. package/analytics/get-analytics-sinks.js +1 -1
  3. package/analytics/hooks/use-product-viewed-analytics.js +1 -1
  4. package/analytics/replo-first-party-pixel.js +1 -1
  5. package/analytics/replo-pixel-script.js +1 -1
  6. package/analytics/sinks/ga4-sink.js +1 -1
  7. package/analytics/sinks/meta-sink.js +1 -1
  8. package/analytics/sinks/pinterest-sink.js +1 -1
  9. package/analytics/sinks/reddit-sink.js +1 -1
  10. package/analytics/sinks/replo-sink.js +1 -1
  11. package/analytics/sinks/snapchat-sink.js +1 -1
  12. package/analytics/sinks/tiktok-sink.js +1 -1
  13. package/analytics/sinks/window-sink.js +1 -1
  14. package/analytics/utils/analytics-utils.js +1 -1
  15. package/analytics/utils/navigation-tracker.js +1 -1
  16. package/analytics/utils/shopify-funnel-gate.js +1 -1
  17. package/cart/buy-now-action.js +1 -1
  18. package/cart/cart-actions.js +1 -1
  19. package/cart/cart-loader.js +1 -1
  20. package/cart/cart-provider.js +1 -1
  21. package/cart/cart-schema.js +1 -1
  22. package/cart/cart-types.js +1 -1
  23. package/cart/gateways/cart-gateway.js +1 -1
  24. package/cart/gateways/cookie-cart-gateway.js +1 -1
  25. package/cart/gateways/default-cart-gateway.js +1 -1
  26. package/cart/gateways/resolver-cart-gateway.js +1 -1
  27. package/cart/gateways/stripe-cart-gateway.js +1 -1
  28. package/cart/hooks/use-add-to-cart.js +1 -1
  29. package/cart/hooks/use-buy-now.js +1 -1
  30. package/cart/utils/cart-utils.js +1 -1
  31. package/cart/utils/cookie-cart-persistence.js +1 -1
  32. package/cart/utils/variant-to-cart-line.js +1 -1
  33. package/consent/consent-action.js +1 -1
  34. package/consent/consent-actions.js +1 -1
  35. package/consent/consent-store.js +1 -1
  36. package/consent/cookie.js +1 -1
  37. package/consent/replo-scripts.js +1 -1
  38. package/consent/script-registration-store.js +1 -1
  39. package/consent/script-snippets.js +1 -1
  40. package/consent/window-api.js +1 -1
  41. package/editor/ClientErrorBoundary.js +1 -1
  42. package/editor/DocumentReadyBeacon.js +1 -1
  43. package/editor/LinkInterceptor.js +1 -1
  44. package/editor/NextErrorReporter.js +1 -1
  45. package/editor/annotations/AnnotationLayerMount.js +1 -1
  46. package/editor/annotations/annotationController.js +1 -1
  47. package/editor/annotations/bridgeGate.js +1 -1
  48. package/editor/design-library-preview/DesignLibraryPreview.js +1 -1
  49. package/editor/posthog-relay.js +1 -1
  50. package/editor/select-mode/EditorSelection.js +1 -1
  51. package/editor/select-mode/annotationFrames.js +1 -1
  52. package/editor/select-mode/descriptor/elementDescriptor.js +1 -1
  53. package/editor/select-mode/descriptor/styleExtraction.js +1 -1
  54. package/editor/select-mode/displayModeStore.js +1 -1
  55. package/editor/select-mode/fast-refresh-relay.js +1 -1
  56. package/editor/select-mode/fiber.js +1 -1
  57. package/editor/select-mode/hooks/useCrosshairCursor.js +1 -1
  58. package/editor/select-mode/hooks/useEditModeStateMachine.js +1 -1
  59. package/editor/select-mode/hooks/useOptimisticOverrides.js +1 -1
  60. package/editor/select-mode/hooks/useParentMessaging.js +1 -1
  61. package/editor/select-mode/hooks/useSelectModeController.js +1 -1
  62. package/editor/select-mode/hooks/useSelectionHover.js +1 -1
  63. package/editor/select-mode/hooks/useSelectionInteractions.js +1 -1
  64. package/editor/select-mode/hooks/useSelectionScrollSync.js +1 -1
  65. package/editor/select-mode/hooks/useSiblingResolution.js +1 -1
  66. package/editor/select-mode/iframeRpcChannel.js +1 -1
  67. package/editor/select-mode/inlineTextMarks.js +1 -1
  68. package/editor/select-mode/interactions/selectionGeometry.js +1 -1
  69. package/editor/select-mode/selectModeSession.js +1 -1
  70. package/editor/select-mode/selectionFrame.js +1 -1
  71. package/editor/select-mode/symbolicate.js +1 -1
  72. package/editor/select-mode/tiptapInlineEditor.js +1 -1
  73. package/env.js +1 -1
  74. package/gateways/canopy-api.js +1 -1
  75. package/hooks/use-client-value.js +1 -1
  76. package/hooks/use-formatted-price.js +1 -1
  77. package/lib/canopy-error.js +1 -1
  78. package/lib/get-query-client.js +1 -1
  79. package/lib/integration-utils.js +1 -1
  80. package/lib/shopify-utils.js +1 -1
  81. package/lib/url-utils.js +1 -1
  82. package/loaders/collection-loader.js +1 -1
  83. package/loaders/collection-products-loader.js +1 -1
  84. package/loaders/contentful-entries-loader.js +1 -1
  85. package/loaders/contentful-entry-loader.js +1 -1
  86. package/loaders/invoke-loader-action.js +1 -1
  87. package/loaders/invoke-loader-server.js +1 -1
  88. package/loaders/invoke-loader.js +1 -1
  89. package/loaders/levanta-product-loader.js +1 -1
  90. package/loaders/loader-error-boundary.js +1 -1
  91. package/loaders/loader-keys.js +1 -1
  92. package/loaders/loader-schemas.js +1 -1
  93. package/loaders/metaobject-loader.js +1 -1
  94. package/loaders/metaobjects-loader.js +1 -1
  95. package/loaders/okendo-review-aggregate-loader.js +1 -1
  96. package/loaders/okendo-reviews-loader.js +1 -1
  97. package/loaders/prefetch-loaders.js +1 -1
  98. package/loaders/preview-placeholder.js +1 -1
  99. package/loaders/product-loader-args.js +1 -1
  100. package/loaders/product-loader.js +1 -1
  101. package/loaders/rebuy-recommendations-loader.js +1 -1
  102. package/loaders/reviews-io-review-aggregate-loader.js +1 -1
  103. package/loaders/reviews-io-reviews-loader.js +1 -1
  104. package/loaders/smile-earning-rules-loader.js +1 -1
  105. package/loaders/smile-rewards-loader.js +1 -1
  106. package/loaders/smile-vip-tiers-loader.js +1 -1
  107. package/loaders/statsig-experiment-loader.js +1 -1
  108. package/loaders/vendor-loader-keys.js +1 -1
  109. package/loaders/yotpo-review-aggregate-loader.js +1 -1
  110. package/loaders/yotpo-reviews-loader.js +1 -1
  111. package/money.js +1 -1
  112. package/next/config.js +4 -1
  113. package/next/config.js.map +2 -2
  114. package/next/image-loader.js +1 -1
  115. package/next/open-next.js.map +1 -1
  116. package/orders/order-status-schema.js +1 -1
  117. package/orders/order-status.js +1 -1
  118. package/package.json +1 -1
  119. package/providers/query-provider.js +1 -1
  120. package/providers/replo-provider.js +1 -1
  121. package/routing/evaluate.js +1 -1
  122. package/routing/rules.js +1 -1
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function AnalyticsProvider(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "AnalyticsProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
3
3
  function useProductViewedAnalytics(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "useProductViewedAnalytics",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function ReploPixelScript(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ReploPixelScript",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  class WindowSink {
3
3
  constructor() {
4
4
  throw canopyTombstoneError({
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  class NavigationTracker {
3
3
  lastUrl;
4
4
  onNavigate;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  async function getOrCreateCartAction() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "getOrCreateCartAction",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function CartProvider(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "CartProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone.js";
1
+ import { canopyTombstoneObject } from "../lib/tombstone";
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.js";
1
+ import { canopyTombstoneObject } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
3
3
  async function getCartGateway() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "getCartGateway",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
3
3
  function useBuyNow() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "useBuyNow",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function getCartLineAttribute(_cartLine, _key) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getCartLineAttribute",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function ClientErrorBoundary(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "ClientErrorBoundary",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
3
3
  function AnnotationLayerMount() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "AnnotationLayerMount",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function initAnnotationLayer() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "initAnnotationLayer",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../../lib/tombstone";
3
3
  function EditorSelection() {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "EditorSelection",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function getNearestSelectableElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getNearestSelectableElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
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.js";
5
+ } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function installFastRefreshRelay(_args = {}) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "installFastRefreshRelay",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function getFiberFromElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getFiberFromElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useCrosshairCursor(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useCrosshairCursor",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function isTextEditableElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "isTextEditableElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useOptimisticOverrides() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useOptimisticOverrides",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useParentMessaging(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useParentMessaging",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useSelectModeController() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectModeController",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useSelectionHover(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectionHover",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useSelectionInteractions(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectionInteractions",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function useSelectionScrollSync(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "useSelectionScrollSync",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function getSourceLocationSiblingElements(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getSourceLocationSiblingElements",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function getSelectModeIframeRpcChannel() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getSelectModeIframeRpcChannel",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function isInlineTextMarkElement(_element) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "isInlineTextMarkElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../../lib/tombstone";
2
2
  function getDragPositionFromClient(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getDragPositionFromClient",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneObject } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  function setSelectionFrameEditing(_editing) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "setSelectionFrameEditing",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
2
2
  async function symbolicateSelectedElement(_selectedElement) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "symbolicateSelectedElement",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "./lib/tombstone";
2
2
  async function getEnv() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getEnv",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  class CanopyApiGatewayError extends Error {
3
3
  config;
4
4
  id;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  const useFormattedPrice = (_price, _currency) => {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "useFormattedPrice",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone.js";
1
+ import { canopyTombstoneError } from "./tombstone";
2
2
  class CanopyError extends Error {
3
3
  config;
4
4
  id;
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone.js";
1
+ import { canopyTombstoneError } from "./tombstone";
2
2
  function getQueryClient() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getQueryClient",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone.js";
1
+ import { canopyTombstoneError } from "./tombstone";
2
2
  async function getCheckoutProvider() {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "getCheckoutProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "./tombstone.js";
1
+ import { canopyTombstoneError } from "./tombstone";
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.js";
1
+ import { canopyTombstoneError } from "./tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  async function invokeLoaderAction(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "invokeLoaderAction",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  async function invokeLoaderServer(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "invokeLoaderServer",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  class LoaderErrorBoundary {
4
4
  constructor(_props) {
5
5
  throw canopyTombstoneError({
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone.js";
1
+ import { canopyTombstoneObject } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneObject } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function OkendoReviewsLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "OkendoReviewsLoader",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  async function PrefetchedLoaders(_props) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "PrefetchedLoaders",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  function hasUnfilledRouteParam(_args) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "hasUnfilledRouteParam",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function StatsigExperimentLoader(_props) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "StatsigExperimentLoader",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneObject } from "../lib/tombstone.js";
1
+ import { canopyTombstoneObject } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "./lib/tombstone";
2
2
  function fromMajorUnitsToMinorUnits(_money) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "fromMajorUnitsToMinorUnits",
package/next/config.js CHANGED
@@ -1,4 +1,7 @@
1
- import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone.js";
1
+ import {
2
+ canopyTombstoneError,
3
+ canopyTombstoneObject
4
+ } from "../lib/tombstone.js";
2
5
  function siteConfig(_overrides = {}) {
3
6
  throw canopyTombstoneError({
4
7
  symbol: "siteConfig",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../next/config.ts"],
4
- "sourcesContent": ["import type { NextConfig } from \"next\";\n\nimport { canopyTombstoneError, canopyTombstoneObject } from \"../lib/tombstone\";\n\n/** @deprecated Use siteConfig from @replohq/sdk/next/config. */\nexport function siteConfig(_overrides: NextConfig = {}): NextConfig {\n throw canopyTombstoneError({\n symbol: \"siteConfig\",\n subpath: \"next/config\",\n });\n}\n\nconst nextConfig: NextConfig = canopyTombstoneObject<NextConfig>({\n symbol: \"default export\",\n subpath: \"next/config\",\n replacementImport: 'import nextConfig from \"@replohq/sdk/next/config\";',\n});\n\n/** @deprecated Use the default export from @replohq/sdk/next/config. */\nexport default nextConfig;\n"],
5
- "mappings": "AAEA,SAAS,sBAAsB,6BAA6B;AAGrD,SAAS,WAAW,aAAyB,CAAC,GAAe;AAClE,QAAM,qBAAqB;AAAA,IACzB,QAAQ;AAAA,IACR,SAAS;AAAA,EACX,CAAC;AACH;AAEA,MAAM,aAAyB,sBAAkC;AAAA,EAC/D,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,mBAAmB;AACrB,CAAC;AAGD,IAAO,iBAAQ;",
4
+ "sourcesContent": ["import type { NextConfig } from \"next\";\n\nimport {\n canopyTombstoneError,\n canopyTombstoneObject,\n} from \"../lib/tombstone.js\";\n\n/** @deprecated Use siteConfig from @replohq/sdk/next/config. */\nexport function siteConfig(_overrides: NextConfig = {}): NextConfig {\n throw canopyTombstoneError({\n symbol: \"siteConfig\",\n subpath: \"next/config\",\n });\n}\n\nconst nextConfig: NextConfig = canopyTombstoneObject<NextConfig>({\n symbol: \"default export\",\n subpath: \"next/config\",\n replacementImport: 'import nextConfig from \"@replohq/sdk/next/config\";',\n});\n\n/** @deprecated Use the default export from @replohq/sdk/next/config. */\nexport default nextConfig;\n"],
5
+ "mappings": "AAEA;AAAA,EACE;AAAA,EACA;AAAA,OACK;AAGA,SAAS,WAAW,aAAyB,CAAC,GAAe;AAClE,QAAM,qBAAqB;AAAA,IACzB,QAAQ;AAAA,IACR,SAAS;AAAA,EACX,CAAC;AACH;AAEA,MAAM,aAAyB,sBAAkC;AAAA,EAC/D,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,mBAAmB;AACrB,CAAC;AAGD,IAAO,iBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  function cloudflareLoader(_props) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "default export cloudflareLoader",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../next/open-next.ts"],
4
- "sourcesContent": ["import type { OpenNextConfig } from \"@opennextjs/cloudflare\";\n\nimport { canopyTombstoneObject } from \"../lib/tombstone\";\n\nconst openNextConfig: OpenNextConfig = canopyTombstoneObject<OpenNextConfig>({\n symbol: \"default export\",\n subpath: \"next/open-next\",\n replacementImport:\n 'import openNextConfig from \"@replohq/sdk/next/open-next\";',\n});\n\n/** @deprecated Use the default export from @replohq/sdk/next/open-next. */\nexport default openNextConfig;\n"],
4
+ "sourcesContent": ["import type { OpenNextConfig } from \"@opennextjs/cloudflare\";\n\nimport { canopyTombstoneObject } from \"../lib/tombstone.js\";\n\nconst openNextConfig: OpenNextConfig = canopyTombstoneObject<OpenNextConfig>({\n symbol: \"default export\",\n subpath: \"next/open-next\",\n replacementImport:\n 'import openNextConfig from \"@replohq/sdk/next/open-next\";',\n});\n\n/** @deprecated Use the default export from @replohq/sdk/next/open-next. */\nexport default openNextConfig;\n"],
5
5
  "mappings": "AAEA,SAAS,6BAA6B;AAEtC,MAAM,iBAAiC,sBAAsC;AAAA,EAC3E,QAAQ;AAAA,EACR,SAAS;AAAA,EACT,mBACE;AACJ,CAAC;AAGD,IAAO,oBAAQ;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod";
2
- import { canopyTombstoneObject } from "../lib/tombstone.js";
2
+ import { canopyTombstoneObject } from "../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.3",
3
+ "version": "3.0.4",
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,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { canopyTombstoneError } from "../lib/tombstone.js";
2
+ import { canopyTombstoneError } from "../lib/tombstone";
3
3
  function QueryProvider(_args) {
4
4
  throw canopyTombstoneError({
5
5
  symbol: "QueryProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  async function ReploProvider(_props) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "ReploProvider",
@@ -1,4 +1,4 @@
1
- import { canopyTombstoneError } from "../lib/tombstone.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
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.js";
1
+ import { canopyTombstoneError } from "../lib/tombstone";
2
2
  function reploRedirect(_input) {
3
3
  throw canopyTombstoneError({
4
4
  symbol: "reploRedirect",