@crelora/mark 0.0.16 → 0.0.18

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 (2) hide show
  1. package/README.md +0 -8
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -196,14 +196,6 @@ Mark.identify('user_123', {
196
196
  - Autocapture (optional): set `autocapture: { pageview: true }` (and optionally `track_route_changes: true`) to emit on first load and SPA route changes. If consent is required and not yet granted, initial pageview is deferred and emitted once consent is granted.
197
197
  - All SDK config and event fields use snake_case (`site_id`, `site_host`, etc.) and map directly to stored payloads and database columns.
198
198
 
199
- ## Breaking changes (snake_case API)
200
-
201
- The SDK uses snake_case for all config options and reserved event fields, aligning with analytics ecosystem conventions (e.g. GA4, Mixpanel). If migrating from an older version:
202
-
203
- - Config: `requireConsent` → `require_consent`, `autoPageview` → `autocapture: { pageview: true }`, `trackRouteChanges` → `track_route_changes`, `includePageContext` → `include_page_context`, `siteId`/`siteHost` → `site_id`/`site_host`, `crossDomain` → `cross_domain`, etc.
204
- - Track payload: use `site_id` and `site_host` for per-event overrides.
205
- - Node `storageDefaults`: use `visitor_id`, `last_click_id`, `campaign_id`, `query_params`, `consent_status`.
206
-
207
199
  ## Support
208
200
 
209
201
  Need help? Reach out through your Crelora account team or file a ticket via the dashboard. Please include the SDK version, runtime (browser or Node), and any reproduction steps so we can assist quickly.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@crelora/mark",
3
3
  "private": false,
4
- "version": "0.0.16",
4
+ "version": "0.0.18",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "type": "module",
7
7
  "main": "./dist/browser.umd.js",