@replohq/canopy-sdk 3.0.2 → 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 (132) hide show
  1. package/_vendor/replo-utils/lib/url.d.ts +12 -0
  2. package/_vendor/replo-utils/lib/url.mjs +1 -1
  3. package/_vendor/schemas/generated/consent.d.ts +19 -2
  4. package/_vendor/schemas/generated/selectMode.d.ts +1 -1
  5. package/_vendor/schemas/routing/rules.mjs +1 -1
  6. package/_vendor/schemas/selectMode.d.ts +10 -2
  7. package/_vendor/schemas/selectMode.mjs +1 -1
  8. package/_vendor/schemas/selectModeIframeRpc.d.ts +6 -0
  9. package/_vendor/schemas/selectModeIframeRpc.mjs +6 -1
  10. package/analytics/analytics-provider.js +1 -1
  11. package/analytics/get-analytics-sinks.js +1 -1
  12. package/analytics/hooks/use-product-viewed-analytics.js +1 -1
  13. package/analytics/replo-first-party-pixel.js +1 -1
  14. package/analytics/replo-pixel-script.js +1 -1
  15. package/analytics/sinks/ga4-sink.js +1 -1
  16. package/analytics/sinks/meta-sink.js +1 -1
  17. package/analytics/sinks/pinterest-sink.js +1 -1
  18. package/analytics/sinks/reddit-sink.js +1 -1
  19. package/analytics/sinks/replo-sink.js +1 -1
  20. package/analytics/sinks/snapchat-sink.js +1 -1
  21. package/analytics/sinks/tiktok-sink.js +1 -1
  22. package/analytics/sinks/window-sink.js +1 -1
  23. package/analytics/utils/analytics-utils.js +1 -1
  24. package/analytics/utils/navigation-tracker.js +1 -1
  25. package/analytics/utils/shopify-funnel-gate.js +1 -1
  26. package/cart/buy-now-action.js +1 -1
  27. package/cart/cart-actions.js +1 -1
  28. package/cart/cart-loader.js +1 -1
  29. package/cart/cart-provider.js +1 -1
  30. package/cart/cart-schema.js +1 -1
  31. package/cart/cart-types.js +1 -1
  32. package/cart/gateways/cart-gateway.js +1 -1
  33. package/cart/gateways/cookie-cart-gateway.js +1 -1
  34. package/cart/gateways/default-cart-gateway.js +1 -1
  35. package/cart/gateways/resolver-cart-gateway.js +1 -1
  36. package/cart/gateways/stripe-cart-gateway.js +1 -1
  37. package/cart/hooks/use-add-to-cart.js +1 -1
  38. package/cart/hooks/use-buy-now.js +1 -1
  39. package/cart/utils/cart-utils.js +1 -1
  40. package/cart/utils/cookie-cart-persistence.js +1 -1
  41. package/cart/utils/variant-to-cart-line.js +1 -1
  42. package/{chunk-7GWIUERW.mjs → chunk-2BNHFQZH.mjs} +32 -22
  43. package/{chunk-2GKD6VTQ.mjs → chunk-IQVZY6EV.mjs} +40 -1
  44. package/consent/consent-action.js +1 -1
  45. package/consent/consent-actions.js +1 -1
  46. package/consent/consent-store.js +1 -1
  47. package/consent/cookie.js +1 -1
  48. package/consent/replo-scripts.js +1 -1
  49. package/consent/script-registration-store.js +1 -1
  50. package/consent/script-snippets.js +1 -1
  51. package/consent/window-api.js +1 -1
  52. package/editor/ClientErrorBoundary.js +1 -1
  53. package/editor/DocumentReadyBeacon.js +1 -1
  54. package/editor/LinkInterceptor.js +1 -1
  55. package/editor/NextErrorReporter.js +1 -1
  56. package/editor/annotations/AnnotationLayerMount.js +1 -1
  57. package/editor/annotations/annotationController.js +1 -1
  58. package/editor/annotations/bridgeGate.js +1 -1
  59. package/editor/design-library-preview/DesignLibraryPreview.js +1 -1
  60. package/editor/posthog-relay.js +1 -1
  61. package/editor/select-mode/EditorSelection.js +1 -1
  62. package/editor/select-mode/annotationFrames.js +1 -1
  63. package/editor/select-mode/descriptor/elementDescriptor.js +1 -1
  64. package/editor/select-mode/descriptor/styleExtraction.js +1 -1
  65. package/editor/select-mode/displayModeStore.js +1 -1
  66. package/editor/select-mode/fast-refresh-relay.js +1 -1
  67. package/editor/select-mode/fiber.js +1 -1
  68. package/editor/select-mode/hooks/useCrosshairCursor.js +1 -1
  69. package/editor/select-mode/hooks/useEditModeStateMachine.js +1 -1
  70. package/editor/select-mode/hooks/useOptimisticOverrides.js +1 -1
  71. package/editor/select-mode/hooks/useParentMessaging.js +1 -1
  72. package/editor/select-mode/hooks/useSelectModeController.js +1 -1
  73. package/editor/select-mode/hooks/useSelectionHover.js +1 -1
  74. package/editor/select-mode/hooks/useSelectionInteractions.js +1 -1
  75. package/editor/select-mode/hooks/useSelectionScrollSync.js +1 -1
  76. package/editor/select-mode/hooks/useSiblingResolution.js +1 -1
  77. package/editor/select-mode/iframeRpcChannel.js +1 -1
  78. package/editor/select-mode/inlineTextMarks.js +1 -1
  79. package/editor/select-mode/interactions/selectionGeometry.js +1 -1
  80. package/editor/select-mode/selectModeSession.js +1 -1
  81. package/editor/select-mode/selectionFrame.js +1 -1
  82. package/editor/select-mode/symbolicate.js +1 -1
  83. package/editor/select-mode/tiptapInlineEditor.js +1 -1
  84. package/env.js +1 -1
  85. package/gateways/canopy-api.js +1 -1
  86. package/hooks/use-client-value.js +1 -1
  87. package/hooks/use-formatted-price.js +1 -1
  88. package/lib/canopy-error.js +1 -1
  89. package/lib/get-query-client.js +1 -1
  90. package/lib/integration-utils.js +1 -1
  91. package/lib/shopify-utils.js +1 -1
  92. package/lib/url-utils.js +1 -1
  93. package/loaders/collection-loader.js +1 -1
  94. package/loaders/collection-products-loader.js +1 -1
  95. package/loaders/contentful-entries-loader.js +1 -1
  96. package/loaders/contentful-entry-loader.js +1 -1
  97. package/loaders/invoke-loader-action.js +1 -1
  98. package/loaders/invoke-loader-server.js +1 -1
  99. package/loaders/invoke-loader.js +1 -1
  100. package/loaders/levanta-product-loader.js +1 -1
  101. package/loaders/loader-error-boundary.js +1 -1
  102. package/loaders/loader-keys.js +1 -1
  103. package/loaders/loader-schemas.js +1 -1
  104. package/loaders/metaobject-loader.js +1 -1
  105. package/loaders/metaobjects-loader.js +1 -1
  106. package/loaders/okendo-review-aggregate-loader.js +1 -1
  107. package/loaders/okendo-reviews-loader.js +1 -1
  108. package/loaders/prefetch-loaders.js +1 -1
  109. package/loaders/preview-placeholder.js +1 -1
  110. package/loaders/product-loader-args.js +1 -1
  111. package/loaders/product-loader.js +1 -1
  112. package/loaders/rebuy-recommendations-loader.js +1 -1
  113. package/loaders/reviews-io-review-aggregate-loader.js +1 -1
  114. package/loaders/reviews-io-reviews-loader.js +1 -1
  115. package/loaders/smile-earning-rules-loader.js +1 -1
  116. package/loaders/smile-rewards-loader.js +1 -1
  117. package/loaders/smile-vip-tiers-loader.js +1 -1
  118. package/loaders/statsig-experiment-loader.js +1 -1
  119. package/loaders/vendor-loader-keys.js +1 -1
  120. package/loaders/yotpo-review-aggregate-loader.js +1 -1
  121. package/loaders/yotpo-reviews-loader.js +1 -1
  122. package/money.js +1 -1
  123. package/next/config.js +1 -1
  124. package/next/image-loader.js +1 -1
  125. package/next/open-next.js +1 -1
  126. package/orders/order-status-schema.js +1 -1
  127. package/orders/order-status.js +1 -1
  128. package/package.json +1 -1
  129. package/providers/query-provider.js +1 -1
  130. package/providers/replo-provider.js +1 -1
  131. package/routing/evaluate.js +1 -1
  132. package/routing/rules.js +1 -1
@@ -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",
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,
@@ -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",