mirror of
https://github.com/fluencelabs/js-libp2p-noise
synced 2025-04-25 11:42:14 +00:00
add web and nodejs builds
This commit is contained in:
parent
0c092a1824
commit
725a1e180d
18
.babelrc
Normal file
18
.babelrc
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"presets": [
|
||||
[
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"node": "10"
|
||||
}
|
||||
}
|
||||
],
|
||||
"@babel/preset-typescript"
|
||||
],
|
||||
"plugins": [
|
||||
"@babel/plugin-proposal-object-rest-spread",
|
||||
"@babel/plugin-proposal-export-default-from",
|
||||
"@babel/plugin-proposal-async-generator-functions"
|
||||
]
|
||||
}
|
@ -5,7 +5,8 @@
|
||||

|
||||
[](https://travis-ci.com/NodeFactoryIo/js-libp2p-noise)
|
||||

|
||||

|
||||

|
||||

|
||||
[](https://discuss.libp2p.io)
|
||||
|
||||
> Noise libp2p handshake for js-libp2p
|
||||
|
@ -4,7 +4,7 @@
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"node": "8"
|
||||
"node": "10"
|
||||
}
|
||||
}
|
||||
],
|
||||
|
@ -4,7 +4,7 @@
|
||||
"@babel/preset-env",
|
||||
{
|
||||
"targets": {
|
||||
"browsers": "last 2 versions, ie 10-11"
|
||||
"browsers": "last 2 versions, not ie <=11"
|
||||
},
|
||||
"modules": false
|
||||
}
|
||||
|
56
yarn.lock
56
yarn.lock
@ -1986,15 +1986,15 @@ chrome-trace-event@^1.0.2:
|
||||
dependencies:
|
||||
tslib "^1.9.0"
|
||||
|
||||
cids@~0.7.1:
|
||||
version "0.7.1"
|
||||
resolved "https://registry.yarnpkg.com/cids/-/cids-0.7.1.tgz#d8bba49a35a0e82110879b5001abf1039c62347f"
|
||||
integrity sha512-qEM4j2GKE/BiT6WdUi6cfW8dairhSLTUE8tIdxJG6SvY33Mp/UPjw+xcO0n1zsllgo72BupzKF/44v+Bg8YPPg==
|
||||
cids@^0.7.3:
|
||||
version "0.7.3"
|
||||
resolved "https://registry.yarnpkg.com/cids/-/cids-0.7.3.tgz#2069c7277c71261717e6844e2e547ca133ccc560"
|
||||
integrity sha512-V0xa0oFIH1GGsGE4vaTsAgiTkrZw3wUVOTAVN/oZU8ptW6oaz4cOdFbqRv+tbienIZq5bG2ok0CRKfUurUtFnA==
|
||||
dependencies:
|
||||
class-is "^1.1.0"
|
||||
multibase "~0.6.0"
|
||||
multicodec "~0.5.1"
|
||||
multihashes "~0.4.14"
|
||||
multicodec "^1.0.0"
|
||||
multihashes "~0.4.15"
|
||||
|
||||
cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3:
|
||||
version "1.0.4"
|
||||
@ -3826,7 +3826,7 @@ libp2p-crypto-secp256k1@~0.4.0:
|
||||
safe-buffer "^5.1.2"
|
||||
secp256k1 "^3.6.2"
|
||||
|
||||
libp2p-crypto@^0.17.1, libp2p-crypto@~0.17.0:
|
||||
libp2p-crypto@^0.17.1:
|
||||
version "0.17.1"
|
||||
resolved "https://registry.yarnpkg.com/libp2p-crypto/-/libp2p-crypto-0.17.1.tgz#20da30d133930e589d9b68057859c65ae677a7cf"
|
||||
integrity sha512-IPz/rn8OtHY1Lae2teowSLw6UMqjkL0eM1fVOdPWRrB8fobDfPuwp67E3v7xGtarf6JSYpugsqTj89KEgbcBtw==
|
||||
@ -3848,6 +3848,28 @@ libp2p-crypto@^0.17.1, libp2p-crypto@~0.17.0:
|
||||
tweetnacl "^1.0.1"
|
||||
ursa-optional "~0.10.1"
|
||||
|
||||
libp2p-crypto@~0.17.2:
|
||||
version "0.17.2"
|
||||
resolved "https://registry.yarnpkg.com/libp2p-crypto/-/libp2p-crypto-0.17.2.tgz#a45a93e047fac02ed3391d772749598fdee85c3a"
|
||||
integrity sha512-mCzxbmqJhZF6AvyJPg80dyobOd2JJZm9BDQNLAkVFvC8d29tPox+Rub9v+AK+QILj8gzzQUj2W1ZLTNLhC98Xg==
|
||||
dependencies:
|
||||
asmcrypto.js "^2.3.2"
|
||||
asn1.js "^5.2.0"
|
||||
bn.js "^5.0.0"
|
||||
browserify-aes "^1.2.0"
|
||||
bs58 "^4.0.1"
|
||||
err-code "^1.1.2"
|
||||
iso-random-stream "^1.1.0"
|
||||
keypair "^1.0.1"
|
||||
libp2p-crypto-secp256k1 "~0.4.0"
|
||||
multihashing-async "~0.8.0"
|
||||
node-forge "~0.9.1"
|
||||
pem-jwk "^2.0.0"
|
||||
protons "^1.0.1"
|
||||
rsa-pem-to-jwk "^1.1.3"
|
||||
tweetnacl "^1.0.1"
|
||||
ursa-optional "~0.10.1"
|
||||
|
||||
loader-runner@^2.4.0:
|
||||
version "2.4.0"
|
||||
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.4.0.tgz#ed47066bfe534d7e84c4c7b9998c2a75607d9357"
|
||||
@ -4195,14 +4217,14 @@ multibase@~0.6.0:
|
||||
dependencies:
|
||||
base-x "3.0.4"
|
||||
|
||||
multicodec@~0.5.1:
|
||||
version "0.5.5"
|
||||
resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-0.5.5.tgz#55c2535b44eca9ea40a13771420153fe075bb36d"
|
||||
integrity sha512-1kOifvwAqp9IdiiTKmpK2tS+LY6GHZdKpk3S2EvW4T32vlwDyA3hJoZtGauzqdedUPVNGChnTksEotVOCVlC+Q==
|
||||
multicodec@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/multicodec/-/multicodec-1.0.0.tgz#75652ff96cc30f63bb56264ef5c7e6526bc0becb"
|
||||
integrity sha512-CBiLdYcMnVnkN/2kL4AaUH3betYXQGKV5CCmN2CfgHUt5xROtsj91w780ltX6Wy7frgc6en8md3h2UQl6jDXAg==
|
||||
dependencies:
|
||||
varint "^5.0.0"
|
||||
|
||||
multihashes@~0.4.13, multihashes@~0.4.14, multihashes@~0.4.15:
|
||||
multihashes@~0.4.13, multihashes@~0.4.15:
|
||||
version "0.4.15"
|
||||
resolved "https://registry.yarnpkg.com/multihashes/-/multihashes-0.4.15.tgz#6dbc55f7f312c6782f5367c03c9783681589d8a6"
|
||||
integrity sha512-G/Smj1GWqw1RQP3dRuRRPe3oyLqvPqUaEDIaoi7JF7Loxl4WAWvhJNk84oyDEodSucv0MmSW/ZT0RKUrsIFD3g==
|
||||
@ -4714,13 +4736,13 @@ pbkdf2@^3.0.3:
|
||||
sha.js "^2.4.8"
|
||||
|
||||
peer-id@^0.13.5:
|
||||
version "0.13.5"
|
||||
resolved "https://registry.yarnpkg.com/peer-id/-/peer-id-0.13.5.tgz#1a0fd8e11a6b62be1304830ca52abe89fd151898"
|
||||
integrity sha512-vDdiP4Qb6yiKD2cKyJqEdL08gL+/847Rbl8qBm+Q7mcrsbzzMzwQ5IBQ2yUeb0um71V5ny5/JqH83wFXv6wSmg==
|
||||
version "0.13.7"
|
||||
resolved "https://registry.yarnpkg.com/peer-id/-/peer-id-0.13.7.tgz#001968fe8d0223f93f724d0cf39ec181adc2c624"
|
||||
integrity sha512-m8LjezhG614dXCFB1WGAytdt3+kKZ0cadAbNq+wOM5dLseevwMt9weLVWAkFRYDtoOrhjlUxscBvj+KtwPm7oA==
|
||||
dependencies:
|
||||
cids "~0.7.1"
|
||||
cids "^0.7.3"
|
||||
class-is "^1.1.0"
|
||||
libp2p-crypto "~0.17.0"
|
||||
libp2p-crypto "~0.17.2"
|
||||
multihashes "~0.4.15"
|
||||
protons "^1.0.1"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user