@blotoutio/edgetag-sdk-js 0.6.7 → 0.6.8

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 CHANGED
@@ -286,7 +286,7 @@ const allowTag = (providers) => {
286
286
  return false;
287
287
  };
288
288
  const allowProviders = (providers) => {
289
- if (!providers) {
289
+ if (!providers || Object.keys(providers).length === 0) {
290
290
  return true;
291
291
  }
292
292
  const allowedProvider = getAllowedProviders();
package/index.esm.js CHANGED
@@ -282,7 +282,7 @@ const allowTag = (providers) => {
282
282
  return false;
283
283
  };
284
284
  const allowProviders = (providers) => {
285
- if (!providers) {
285
+ if (!providers || Object.keys(providers).length === 0) {
286
286
  return true;
287
287
  }
288
288
  const allowedProvider = getAllowedProviders();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blotoutio/edgetag-sdk-js",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "JS SDK for EdgeTag",
5
5
  "author": "Blotout",
6
6
  "license": "MIT",