@distinctagency/cms-client 1.0.0 → 1.1.0
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/dist/index.d.mts +18 -8
- package/dist/index.d.ts +18 -8
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6814,9 +6814,8 @@ function createShopClient(supabase, options) {
|
|
|
6814
6814
|
|
|
6815
6815
|
// src/analytics.tsx
|
|
6816
6816
|
var import_react = __toESM(require_react());
|
|
6817
|
-
var DEFAULT_TRACKING_URL = "https://cms.distinctstudio.co.nz/api/track";
|
|
6818
6817
|
function CmsAnalytics({
|
|
6819
|
-
trackingUrl
|
|
6818
|
+
trackingUrl,
|
|
6820
6819
|
apiKey,
|
|
6821
6820
|
contentItemId,
|
|
6822
6821
|
contentTypeSlug,
|
|
@@ -6901,9 +6900,8 @@ function getSessionId() {
|
|
|
6901
6900
|
// src/page-tracker.tsx
|
|
6902
6901
|
var import_react2 = __toESM(require_react());
|
|
6903
6902
|
var import_navigation = __toESM(require_navigation2());
|
|
6904
|
-
var DEFAULT_TRACKING_URL2 = "https://cms.distinctstudio.co.nz/api/track";
|
|
6905
6903
|
function PageTracker({
|
|
6906
|
-
trackingUrl
|
|
6904
|
+
trackingUrl,
|
|
6907
6905
|
apiKey,
|
|
6908
6906
|
trackScroll = true,
|
|
6909
6907
|
trackTime = true
|