@blotoutio/edgetag-sdk-js 0.26.6 → 0.28.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
@@ -334,7 +334,7 @@ const getStandardPayload = (payload) => {
334
334
  referrer: getReferrer(),
335
335
  search: getSearch(),
336
336
  locale: getLocale(),
337
- sdkVersion: "0.26.6" ,
337
+ sdkVersion: "0.28.0" ,
338
338
  ...(payload || {}),
339
339
  };
340
340
  let storage = {};
@@ -499,7 +499,9 @@ const isProviderInstanceAllowed = (providersConfig, provider, tagName) => {
499
499
  };
500
500
 
501
501
  const upsert = (map, key, update, createDefault) => {
502
- const currentValue = map.has(key) ? map.get(key) : createDefault();
502
+ const currentValue = map.has(key)
503
+ ? map.get(key)
504
+ : createDefault();
503
505
  return map.set(key, update(currentValue));
504
506
  };
505
507
 
package/index.mjs CHANGED
@@ -332,7 +332,7 @@ const getStandardPayload = (payload) => {
332
332
  referrer: getReferrer(),
333
333
  search: getSearch(),
334
334
  locale: getLocale(),
335
- sdkVersion: "0.26.6" ,
335
+ sdkVersion: "0.28.0" ,
336
336
  ...(payload || {}),
337
337
  };
338
338
  let storage = {};
@@ -497,7 +497,9 @@ const isProviderInstanceAllowed = (providersConfig, provider, tagName) => {
497
497
  };
498
498
 
499
499
  const upsert = (map, key, update, createDefault) => {
500
- const currentValue = map.has(key) ? map.get(key) : createDefault();
500
+ const currentValue = map.has(key)
501
+ ? map.get(key)
502
+ : createDefault();
501
503
  return map.set(key, update(currentValue));
502
504
  };
503
505
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-js",
3
- "version": "0.26.6",
3
+ "version": "0.28.0",
4
4
  "description": "JS SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",