@fabianbormann/cardano-peer-connect
Advanced tools
Comparing version 1.2.11 to 1.2.12
# Changelog | ||
## [1.2.12](https://github.com/fabianbormann/cardano-peer-connect/compare/v1.2.11...v1.2.12) (2023-08-06) | ||
### Bug Fixes | ||
* update meerkat version to solve non-base58 character error, update tracker array ([a37fb53](https://github.com/fabianbormann/cardano-peer-connect/commit/a37fb53a9e5cb7761d930d8f28f21242d8440be0)) | ||
## [1.2.11](https://github.com/fabianbormann/cardano-peer-connect/compare/v1.2.10...v1.2.11) (2023-08-06) | ||
@@ -4,0 +11,0 @@ |
{ | ||
"name": "@fabianbormann/cardano-peer-connect", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"description": "This library aims to provide an abstract class to simplify to wallet implementation for CIP-0045", | ||
@@ -35,5 +35,5 @@ "main": "dist/index.js", | ||
"@basementuniverse/marble-identicons": "^0.1.2", | ||
"@fabianbormann/meerkat": "^1.0.13", | ||
"@fabianbormann/meerkat": "^1.0.14", | ||
"qrcode-svg": "^1.1.0" | ||
} | ||
} |
@@ -6,2 +6,4 @@ # Cardano Peer Connect | ||
<img alt="Release" src="https://img.shields.io/github/actions/workflow/status/fabianbormann/cardano-peer-connect/release.yml?label=Release&style=for-the-badge" /> | ||
<img alt="Bundle" src="https://img.shields.io/github/actions/workflow/status/fabianbormann/cardano-peer-connect/bundle.yml?label=Bundle&style=for-the-badge" /> | ||
<img alt="Publish" src="https://img.shields.io/github/actions/workflow/status/fabianbormann/cardano-peer-connect/publish.yml?label=Publish&style=for-the-badge" /> | ||
<a href="https://conventionalcommits.org"><img alt="conventionalcommits" src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-%23FE5196?logo=conventionalcommits&style=for-the-badge" /></a> | ||
@@ -117,3 +119,3 @@ </p> | ||
```html | ||
<script src="https://fabianbormann.github.io/cardano-peer-connect/bundle.min.js"></script> | ||
<script src="https://fabianbormann.github.io/cardano-peer-connect/latest/index.js"></script> | ||
<script> | ||
@@ -120,0 +122,0 @@ |
@@ -35,3 +35,6 @@ import Meerkat from '@fabianbormann/meerkat'; | ||
protected setUpDiscoveryMeerkcat = (announce: Array<string>, address?: string) => { | ||
protected setUpDiscoveryMeerkcat = ( | ||
announce: Array<string>, | ||
address?: string | ||
) => { | ||
if (address || AutoConnectHelper.getWalletDiscoveryAddress()) { | ||
@@ -122,3 +125,2 @@ this.meerkat.logger.debug( | ||
}: DAppPeerConnectParameters) { | ||
if (loggingEnabled) { | ||
@@ -128,9 +130,10 @@ this.enableLogging = loggingEnabled; | ||
if(!announce) { | ||
if (!announce) { | ||
announce = [ | ||
'https://pro.passwordchaos.gimbalabs.io', | ||
'wss://tracker.files.fm:7073/announce', | ||
'wss://tracker.btorrent.xyz', | ||
'wss://tracker.openwebtorrent.com:443/announce', | ||
] | ||
'wss://tracker.files.fm:7073/announce', | ||
'ws://tracker.files.fm:7072/announce', | ||
'udp://tracker.opentrackr.org:1337/announce', | ||
'http://tracker.openbittorrent.com:80/announce', | ||
]; | ||
} | ||
@@ -146,3 +149,3 @@ | ||
...dAppInfo, | ||
address: this.meerkat.address() | ||
address: this.meerkat.address(), | ||
}; | ||
@@ -378,3 +381,3 @@ | ||
address: string, | ||
args: { api: PeerConnectApi, overwrite?: boolean }, | ||
args: { api: PeerConnectApi; overwrite?: boolean }, | ||
callback: (args: IConnectMessage) => void | ||
@@ -468,3 +471,3 @@ ) => { | ||
connected: true, | ||
error: false | ||
error: false, | ||
}); | ||
@@ -471,0 +474,0 @@ |
Sorry, the diff of this file is too big to display
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
3572383
5688
152