@airgap/beacon-sdk
Advanced tools
Comparing version 0.0.1-beta.12 to 0.0.1-beta.13
@@ -38,4 +38,5 @@ export interface MatrixEvent { | ||
export interface ICommunicationPair { | ||
name: string; | ||
pubKey: string; | ||
relayServer: string; | ||
} |
@@ -50,3 +50,3 @@ "use strict"; | ||
if (!knownPeers.some(peer => peer.pubKey === pubKey)) { | ||
knownPeers.push({ pubKey, relayServer: '' }); | ||
knownPeers.push({ name: '', pubKey, relayServer: '' }); | ||
this.storage | ||
@@ -92,2 +92,3 @@ .set(Storage_1.StorageKey.TRANSPORT_P2P_PEERS, knownPeers) | ||
peers.push({ | ||
name: newPeer.name, | ||
pubKey: newPeer.pubKey, | ||
@@ -94,0 +95,0 @@ relayServer: newPeer.relayServer |
{ | ||
"name": "@airgap/beacon-sdk", | ||
"version": "0.0.1-beta.12", | ||
"version": "0.0.1-beta.13", | ||
"description": "The beacon-sdk is setup in a way to allow for p2p communication between wallets and dapps", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127342
2015