@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.
- package/analytics/analytics-provider.js +1 -1
- package/analytics/get-analytics-sinks.js +1 -1
- package/analytics/hooks/use-product-viewed-analytics.js +1 -1
- package/analytics/replo-first-party-pixel.js +1 -1
- package/analytics/replo-pixel-script.js +1 -1
- package/analytics/sinks/ga4-sink.js +1 -1
- package/analytics/sinks/meta-sink.js +1 -1
- package/analytics/sinks/pinterest-sink.js +1 -1
- package/analytics/sinks/reddit-sink.js +1 -1
- package/analytics/sinks/replo-sink.js +1 -1
- package/analytics/sinks/snapchat-sink.js +1 -1
- package/analytics/sinks/tiktok-sink.js +1 -1
- package/analytics/sinks/window-sink.js +1 -1
- package/analytics/utils/analytics-utils.js +1 -1
- package/analytics/utils/navigation-tracker.js +1 -1
- package/analytics/utils/shopify-funnel-gate.js +1 -1
- package/cart/buy-now-action.js +1 -1
- package/cart/cart-actions.js +1 -1
- package/cart/cart-loader.js +1 -1
- package/cart/cart-provider.js +1 -1
- package/cart/cart-schema.js +1 -1
- package/cart/cart-types.js +1 -1
- package/cart/gateways/cart-gateway.js +1 -1
- package/cart/gateways/cookie-cart-gateway.js +1 -1
- package/cart/gateways/default-cart-gateway.js +1 -1
- package/cart/gateways/resolver-cart-gateway.js +1 -1
- package/cart/gateways/stripe-cart-gateway.js +1 -1
- package/cart/hooks/use-add-to-cart.js +1 -1
- package/cart/hooks/use-buy-now.js +1 -1
- package/cart/utils/cart-utils.js +1 -1
- package/cart/utils/cookie-cart-persistence.js +1 -1
- package/cart/utils/variant-to-cart-line.js +1 -1
- package/consent/consent-action.js +1 -1
- package/consent/consent-actions.js +1 -1
- package/consent/consent-store.js +1 -1
- package/consent/cookie.js +1 -1
- package/consent/replo-scripts.js +1 -1
- package/consent/script-registration-store.js +1 -1
- package/consent/script-snippets.js +1 -1
- package/consent/window-api.js +1 -1
- package/editor/ClientErrorBoundary.js +1 -1
- package/editor/DocumentReadyBeacon.js +1 -1
- package/editor/LinkInterceptor.js +1 -1
- package/editor/NextErrorReporter.js +1 -1
- package/editor/annotations/AnnotationLayerMount.js +1 -1
- package/editor/annotations/annotationController.js +1 -1
- package/editor/annotations/bridgeGate.js +1 -1
- package/editor/design-library-preview/DesignLibraryPreview.js +1 -1
- package/editor/posthog-relay.js +1 -1
- package/editor/select-mode/EditorSelection.js +1 -1
- package/editor/select-mode/annotationFrames.js +1 -1
- package/editor/select-mode/descriptor/elementDescriptor.js +1 -1
- package/editor/select-mode/descriptor/styleExtraction.js +1 -1
- package/editor/select-mode/displayModeStore.js +1 -1
- package/editor/select-mode/fast-refresh-relay.js +1 -1
- package/editor/select-mode/fiber.js +1 -1
- package/editor/select-mode/hooks/useCrosshairCursor.js +1 -1
- package/editor/select-mode/hooks/useEditModeStateMachine.js +1 -1
- package/editor/select-mode/hooks/useOptimisticOverrides.js +1 -1
- package/editor/select-mode/hooks/useParentMessaging.js +1 -1
- package/editor/select-mode/hooks/useSelectModeController.js +1 -1
- package/editor/select-mode/hooks/useSelectionHover.js +1 -1
- package/editor/select-mode/hooks/useSelectionInteractions.js +1 -1
- package/editor/select-mode/hooks/useSelectionScrollSync.js +1 -1
- package/editor/select-mode/hooks/useSiblingResolution.js +1 -1
- package/editor/select-mode/iframeRpcChannel.js +1 -1
- package/editor/select-mode/inlineTextMarks.js +1 -1
- package/editor/select-mode/interactions/selectionGeometry.js +1 -1
- package/editor/select-mode/selectModeSession.js +1 -1
- package/editor/select-mode/selectionFrame.js +1 -1
- package/editor/select-mode/symbolicate.js +1 -1
- package/editor/select-mode/tiptapInlineEditor.js +1 -1
- package/env.js +1 -1
- package/gateways/canopy-api.js +1 -1
- package/hooks/use-client-value.js +1 -1
- package/hooks/use-formatted-price.js +1 -1
- package/lib/canopy-error.js +1 -1
- package/lib/get-query-client.js +1 -1
- package/lib/integration-utils.js +1 -1
- package/lib/shopify-utils.js +1 -1
- package/lib/url-utils.js +1 -1
- package/loaders/collection-loader.js +1 -1
- package/loaders/collection-products-loader.js +1 -1
- package/loaders/contentful-entries-loader.js +1 -1
- package/loaders/contentful-entry-loader.js +1 -1
- package/loaders/invoke-loader-action.js +1 -1
- package/loaders/invoke-loader-server.js +1 -1
- package/loaders/invoke-loader.js +1 -1
- package/loaders/levanta-product-loader.js +1 -1
- package/loaders/loader-error-boundary.js +1 -1
- package/loaders/loader-keys.js +1 -1
- package/loaders/loader-schemas.js +1 -1
- package/loaders/metaobject-loader.js +1 -1
- package/loaders/metaobjects-loader.js +1 -1
- package/loaders/okendo-review-aggregate-loader.js +1 -1
- package/loaders/okendo-reviews-loader.js +1 -1
- package/loaders/prefetch-loaders.js +1 -1
- package/loaders/preview-placeholder.js +1 -1
- package/loaders/product-loader-args.js +1 -1
- package/loaders/product-loader.js +1 -1
- package/loaders/rebuy-recommendations-loader.js +1 -1
- package/loaders/reviews-io-review-aggregate-loader.js +1 -1
- package/loaders/reviews-io-reviews-loader.js +1 -1
- package/loaders/smile-earning-rules-loader.js +1 -1
- package/loaders/smile-rewards-loader.js +1 -1
- package/loaders/smile-vip-tiers-loader.js +1 -1
- package/loaders/statsig-experiment-loader.js +1 -1
- package/loaders/vendor-loader-keys.js +1 -1
- package/loaders/yotpo-review-aggregate-loader.js +1 -1
- package/loaders/yotpo-reviews-loader.js +1 -1
- package/money.js +1 -1
- package/next/config.js +4 -1
- package/next/config.js.map +2 -2
- package/next/image-loader.js +1 -1
- package/next/open-next.js.map +1 -1
- package/orders/order-status-schema.js +1 -1
- package/orders/order-status.js +1 -1
- package/package.json +1 -1
- package/providers/query-provider.js +1 -1
- package/providers/replo-provider.js +1 -1
- package/routing/evaluate.js +1 -1
- package/routing/rules.js +1 -1
package/cart/buy-now-action.js
CHANGED
package/cart/cart-actions.js
CHANGED
package/cart/cart-loader.js
CHANGED
package/cart/cart-provider.js
CHANGED
package/cart/cart-schema.js
CHANGED
package/cart/cart-types.js
CHANGED
package/cart/utils/cart-utils.js
CHANGED
package/consent/consent-store.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone
|
|
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
|
|
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;
|
package/consent/replo-scripts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone
|
|
2
|
+
import { canopyTombstoneError, canopyTombstoneObject } from "../lib/tombstone";
|
|
3
3
|
const scriptRegistrationStore = canopyTombstoneObject({
|
|
4
4
|
symbol: "scriptRegistrationStore",
|
|
5
5
|
subpath: "consent/script-registration-store",
|
package/consent/window-api.js
CHANGED
package/editor/posthog-relay.js
CHANGED
package/env.js
CHANGED
package/gateways/canopy-api.js
CHANGED
package/lib/canopy-error.js
CHANGED
package/lib/get-query-client.js
CHANGED
package/lib/integration-utils.js
CHANGED
package/lib/shopify-utils.js
CHANGED
package/lib/url-utils.js
CHANGED
package/loaders/invoke-loader.js
CHANGED
package/loaders/loader-keys.js
CHANGED
package/money.js
CHANGED
package/next/config.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
canopyTombstoneError,
|
|
3
|
+
canopyTombstoneObject
|
|
4
|
+
} from "../lib/tombstone.js";
|
|
2
5
|
function siteConfig(_overrides = {}) {
|
|
3
6
|
throw canopyTombstoneError({
|
|
4
7
|
symbol: "siteConfig",
|
package/next/config.js.map
CHANGED
|
@@ -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 {
|
|
5
|
-
"mappings": "AAEA,
|
|
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
|
}
|
package/next/image-loader.js
CHANGED
package/next/open-next.js.map
CHANGED
|
@@ -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
|
}
|
package/orders/order-status.js
CHANGED
package/package.json
CHANGED
package/routing/evaluate.js
CHANGED
package/routing/rules.js
CHANGED