@blotoutio/edgetag-sdk-js 0.39.0 → 0.40.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/index.cjs.js CHANGED
@@ -364,7 +364,7 @@ const getStandardPayload = (payload) => {
364
364
  referrer: getReferrer(),
365
365
  search: getSearch(),
366
366
  locale: getLocale(),
367
- sdkVersion: "0.39.0" ,
367
+ sdkVersion: "0.40.0" ,
368
368
  ...(payload || {}),
369
369
  };
370
370
  let storage = {};
@@ -780,6 +780,7 @@ const handleConsent = (consent, options) => {
780
780
  }
781
781
  pkg.init({
782
782
  userId,
783
+ baseUrl: getUrl(),
783
784
  manifest: {
784
785
  tagName,
785
786
  variables: variablesSet,
@@ -940,6 +941,7 @@ const handleManifest = (manifest, consent) => {
940
941
  if (hasConsent) {
941
942
  pkg.init({
942
943
  userId,
944
+ baseUrl: getUrl(),
943
945
  manifest: provider,
944
946
  sendTag,
945
947
  sendEdgeData: handleData,
package/index.mjs CHANGED
@@ -362,7 +362,7 @@ const getStandardPayload = (payload) => {
362
362
  referrer: getReferrer(),
363
363
  search: getSearch(),
364
364
  locale: getLocale(),
365
- sdkVersion: "0.39.0" ,
365
+ sdkVersion: "0.40.0" ,
366
366
  ...(payload || {}),
367
367
  };
368
368
  let storage = {};
@@ -778,6 +778,7 @@ const handleConsent = (consent, options) => {
778
778
  }
779
779
  pkg.init({
780
780
  userId,
781
+ baseUrl: getUrl(),
781
782
  manifest: {
782
783
  tagName,
783
784
  variables: variablesSet,
@@ -938,6 +939,7 @@ const handleManifest = (manifest, consent) => {
938
939
  if (hasConsent) {
939
940
  pkg.init({
940
941
  userId,
942
+ baseUrl: getUrl(),
941
943
  manifest: provider,
942
944
  sendTag,
943
945
  sendEdgeData: handleData,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-js",
3
- "version": "0.39.0",
3
+ "version": "0.40.0",
4
4
  "description": "JS SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",