@blotoutio/providers-blotout-wallet-sdk 0.63.0 → 0.63.1
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 +3 -2
- package/index.js +3 -2
- package/index.mjs +3 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -1001,7 +1001,8 @@ const init = (params) => {
|
|
1001
1001
|
(_b = (_a = window[registryKey]).storeAPIFactory) === null || _b === void 0 ? void 0 : _b.call(_a);
|
1002
1002
|
}
|
1003
1003
|
if (!store) {
|
1004
|
-
|
1004
|
+
console.error('Implementation for store API missing!');
|
1005
|
+
return;
|
1005
1006
|
}
|
1006
1007
|
if (
|
1007
1008
|
// if loaded in non-browser SDKs
|
@@ -1021,7 +1022,7 @@ const init = (params) => {
|
|
1021
1022
|
if (experiment.isEnabled) {
|
1022
1023
|
log('Previewing functionality using preview key');
|
1023
1024
|
}
|
1024
|
-
else {
|
1025
|
+
else if (getPreviewKey()) {
|
1025
1026
|
log('Preview key set but does not match the configured key');
|
1026
1027
|
}
|
1027
1028
|
}
|
package/index.js
CHANGED
@@ -1002,7 +1002,8 @@ var ProvidersBlotoutWalletSdk = (function () {
|
|
1002
1002
|
(_b = (_a = window[registryKey]).storeAPIFactory) === null || _b === void 0 ? void 0 : _b.call(_a);
|
1003
1003
|
}
|
1004
1004
|
if (!store) {
|
1005
|
-
|
1005
|
+
console.error('Implementation for store API missing!');
|
1006
|
+
return;
|
1006
1007
|
}
|
1007
1008
|
if (
|
1008
1009
|
// if loaded in non-browser SDKs
|
@@ -1022,7 +1023,7 @@ var ProvidersBlotoutWalletSdk = (function () {
|
|
1022
1023
|
if (experiment.isEnabled) {
|
1023
1024
|
log('Previewing functionality using preview key');
|
1024
1025
|
}
|
1025
|
-
else {
|
1026
|
+
else if (getPreviewKey()) {
|
1026
1027
|
log('Preview key set but does not match the configured key');
|
1027
1028
|
}
|
1028
1029
|
}
|
package/index.mjs
CHANGED
@@ -999,7 +999,8 @@ const init = (params) => {
|
|
999
999
|
(_b = (_a = window[registryKey]).storeAPIFactory) === null || _b === void 0 ? void 0 : _b.call(_a);
|
1000
1000
|
}
|
1001
1001
|
if (!store) {
|
1002
|
-
|
1002
|
+
console.error('Implementation for store API missing!');
|
1003
|
+
return;
|
1003
1004
|
}
|
1004
1005
|
if (
|
1005
1006
|
// if loaded in non-browser SDKs
|
@@ -1019,7 +1020,7 @@ const init = (params) => {
|
|
1019
1020
|
if (experiment.isEnabled) {
|
1020
1021
|
log('Previewing functionality using preview key');
|
1021
1022
|
}
|
1022
|
-
else {
|
1023
|
+
else if (getPreviewKey()) {
|
1023
1024
|
log('Preview key set but does not match the configured key');
|
1024
1025
|
}
|
1025
1026
|
}
|