@airgap/beacon-core
Advanced tools
Comparing version 3.3.5-beta.6 to 3.3.5-beta.7
@@ -53,2 +53,3 @@ "use strict"; | ||
function BeaconClient(config) { | ||
var _a; | ||
/** The beaconId is a public key that is used to identify one specific application (dapp or wallet). | ||
@@ -70,3 +71,3 @@ * This is used inside a message to specify the sender, for example. | ||
this.iconUrl = config.iconUrl; | ||
this.appUrl = config.appUrl; | ||
this.appUrl = (_a = config.appUrl) !== null && _a !== void 0 ? _a : MockWindow_1.windowRef.location.origin; | ||
this.storage = config.storage; | ||
@@ -73,0 +74,0 @@ // TODO: This is a temporary "workaround" to prevent users from creating multiple Client instances |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.NOTIFICATION_ORACLE_URL = exports.BEACON_VERSION = exports.SDK_VERSION = void 0; | ||
exports.SDK_VERSION = '3.3.5-beta.6'; | ||
exports.SDK_VERSION = '3.3.5-beta.7'; | ||
exports.BEACON_VERSION = '3'; | ||
exports.NOTIFICATION_ORACLE_URL = 'https://beacon-notification-oracle.dev.gke.papers.tech'; | ||
//# sourceMappingURL=constants.js.map |
@@ -23,2 +23,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
constructor(config) { | ||
var _a; | ||
/** The beaconId is a public key that is used to identify one specific application (dapp or wallet). | ||
@@ -40,3 +41,3 @@ * This is used inside a message to specify the sender, for example. | ||
this.iconUrl = config.iconUrl; | ||
this.appUrl = config.appUrl; | ||
this.appUrl = (_a = config.appUrl) !== null && _a !== void 0 ? _a : windowRef.location.origin; | ||
this.storage = config.storage; | ||
@@ -43,0 +44,0 @@ // TODO: This is a temporary "workaround" to prevent users from creating multiple Client instances |
@@ -1,4 +0,4 @@ | ||
export const SDK_VERSION = '3.3.5-beta.6'; | ||
export const SDK_VERSION = '3.3.5-beta.7'; | ||
export const BEACON_VERSION = '3'; | ||
export const NOTIFICATION_ORACLE_URL = 'https://beacon-notification-oracle.dev.gke.papers.tech'; | ||
//# sourceMappingURL=constants.js.map |
{ | ||
"name": "@airgap/beacon-core", | ||
"version": "3.3.5-beta.6", | ||
"version": "3.3.5-beta.7", | ||
"description": "> TODO: description", | ||
@@ -37,4 +37,4 @@ "author": "Andreas Gassmann <a.gassmann@papers.ch>", | ||
"dependencies": { | ||
"@airgap/beacon-types": "^3.3.5-beta.6", | ||
"@airgap/beacon-utils": "^3.3.5-beta.6", | ||
"@airgap/beacon-types": "^3.3.5-beta.7", | ||
"@airgap/beacon-utils": "^3.3.5-beta.7", | ||
"@stablelib/ed25519": "^1.0.3", | ||
@@ -46,3 +46,3 @@ "@stablelib/nacl": "^1.0.4", | ||
}, | ||
"gitHead": "52fa7d4113816cfb91f542a978a0607807607aee" | ||
"gitHead": "e79c1146c2f6e191cf25e678c28113a1bfc55e8d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
376665
6493