@airgap/beacon-core
Advanced tools
Comparing version 3.1.3 to 3.1.4
@@ -71,5 +71,5 @@ "use strict"; | ||
this.storage = config.storage; | ||
// TODO: This is a temporary "fix" to prevent users from creating multiple Client instances | ||
// TODO: This is a temporary "workaround" to prevent users from creating multiple Client instances | ||
if (MockWindow_1.windowRef.beaconCreatedClientInstance) { | ||
console.warn('[BEACON] It looks like you created multiple Beacon SDK Client instances. This can lead to problems. Only create one instance and re-use it everywhere.'); | ||
console.error('[BEACON] It looks like you created multiple Beacon SDK Client instances. This can lead to problems. Only create one instance and re-use it everywhere.'); | ||
} | ||
@@ -76,0 +76,0 @@ else { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.BEACON_VERSION = exports.SDK_VERSION = void 0; | ||
exports.SDK_VERSION = '3.1.3'; | ||
exports.SDK_VERSION = '3.1.4'; | ||
exports.BEACON_VERSION = '3'; | ||
//# sourceMappingURL=constants.js.map |
@@ -41,5 +41,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
this.storage = config.storage; | ||
// TODO: This is a temporary "fix" to prevent users from creating multiple Client instances | ||
// TODO: This is a temporary "workaround" to prevent users from creating multiple Client instances | ||
if (windowRef.beaconCreatedClientInstance) { | ||
console.warn('[BEACON] It looks like you created multiple Beacon SDK Client instances. This can lead to problems. Only create one instance and re-use it everywhere.'); | ||
console.error('[BEACON] It looks like you created multiple Beacon SDK Client instances. This can lead to problems. Only create one instance and re-use it everywhere.'); | ||
} | ||
@@ -46,0 +46,0 @@ else { |
@@ -1,3 +0,3 @@ | ||
export const SDK_VERSION = '3.1.3'; | ||
export const SDK_VERSION = '3.1.4'; | ||
export const BEACON_VERSION = '3'; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@airgap/beacon-core", | ||
"version": "3.1.3", | ||
"version": "3.1.4", | ||
"description": "> TODO: description", | ||
@@ -37,4 +37,4 @@ "author": "Andreas Gassmann <a.gassmann@papers.ch>", | ||
"dependencies": { | ||
"@airgap/beacon-types": "^3.1.3", | ||
"@airgap/beacon-utils": "^3.1.2", | ||
"@airgap/beacon-types": "^3.1.4", | ||
"@airgap/beacon-utils": "^3.1.4", | ||
"@types/libsodium-wrappers": "0.7.9", | ||
@@ -44,3 +44,3 @@ "bs58check": "2.1.2", | ||
}, | ||
"gitHead": "312226a3588eddd804044b52dfcf1d0512f1a9df" | ||
"gitHead": "b7844511c6dac61d77d4094f05d5dd57fc79e03b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
378118
Updated@airgap/beacon-types@^3.1.4
Updated@airgap/beacon-utils@^3.1.4