@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 +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
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();
|