Allows adding of string multiaddrs

This commit is contained in:
Jaco Greeff 2018-06-24 15:57:30 +02:00
parent fe6a15556f
commit d289b07b83
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@
"test": "echo \"No 'yarn run test' available\""
},
"devDependencies": {
"@polkadot/dev": "^0.20.2",
"@polkadot/dev": "^0.20.3",
"@types/node": "^10.3.4"
}
}

View File

@ -17,8 +17,8 @@ declare namespace PeerInfo {
type MultiAddrSet = {
size: number;
add (addr: MultiAddr): void;
addSafe (add: MultiAddr): void;
add (addr: MultiAddr | string): void;
addSafe (add: MultiAddr | string): void;
delete (addr: MultiAddr): void;
forEach (cb: (addr: MultiAddr, index: number) => any): void;
has (addr: MultiAddr): boolean;

View File

@ -683,9 +683,9 @@
lodash "^4.17.5"
to-fast-properties "^2.0.0"
"@polkadot/dev@^0.20.2":
version "0.20.2"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.20.2.tgz#4e3cc0754eac414794284eb04cad334ad0b39c8f"
"@polkadot/dev@^0.20.3":
version "0.20.3"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.20.3.tgz#4650600dd1f5952ee0054f267c7ebc76dd883593"
dependencies:
"@babel/cli" "^7.0.0-beta.51"
"@babel/core" "^7.0.0-beta.51"