upgrade sdk and px

This commit is contained in:
danisharora099 2023-08-02 16:45:22 +05:30
parent 27cac99013
commit e947949dca
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
2 changed files with 252 additions and 58 deletions

View File

@ -13,9 +13,9 @@
"@multiformats/multiaddr": "11.0.7", "@multiformats/multiaddr": "11.0.7",
"@waku/dns-discovery": "^0.0.15", "@waku/dns-discovery": "^0.0.15",
"@waku/interfaces": "^0.0.16", "@waku/interfaces": "^0.0.16",
"@waku/peer-exchange": "^0.0.14", "@waku/peer-exchange": "^0.0.15",
"@waku/react": "^0.0.3-7aeb24a", "@waku/react": "^0.0.3-7aeb24a",
"@waku/sdk": "^0.0.17", "@waku/sdk": "^0.0.18",
"process": "^0.11.10", "process": "^0.11.10",
"protons-runtime": "^3.1.0", "protons-runtime": "^3.1.0",
"react": "^17.0.2", "react": "^17.0.2",
@ -6951,17 +6951,17 @@
} }
}, },
"node_modules/@waku/peer-exchange": { "node_modules/@waku/peer-exchange": {
"version": "0.0.14", "version": "0.0.15",
"resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.14.tgz", "resolved": "https://registry.npmjs.org/@waku/peer-exchange/-/peer-exchange-0.0.15.tgz",
"integrity": "sha512-MxVDgTTab/63/+d+82qzce7THuGKqo8Rjyo3d8YV5+QliCW4eE4pHhhaAzDP1bDRGyQrn38tgQ38i4/CCSLV5A==", "integrity": "sha512-Yl0IeMT5eRuwjGTFYvEDTfRP1cr9+rSbsCOswnPGSu9Yfuz3VJLhN7tUVY2qUmKv6FbNK1h8s4m6Azad6qgVaw==",
"dependencies": { "dependencies": {
"@libp2p/interface-peer-discovery": "^2.0.0", "@libp2p/interface-peer-discovery": "^2.0.0",
"@libp2p/interfaces": "^3.3.2", "@libp2p/interfaces": "^3.3.2",
"@waku/core": "0.0.21", "@waku/core": "0.0.22",
"@waku/enr": "0.0.15", "@waku/enr": "0.0.16",
"@waku/interfaces": "0.0.16", "@waku/interfaces": "0.0.17",
"@waku/proto": "0.0.5", "@waku/proto": "0.0.5",
"@waku/utils": "0.0.9", "@waku/utils": "0.0.10",
"debug": "^4.3.4", "debug": "^4.3.4",
"it-all": "^3.0.2", "it-all": "^3.0.2",
"it-length-prefixed": "^9.0.1", "it-length-prefixed": "^9.0.1",
@ -6971,48 +6971,33 @@
"node": ">=16" "node": ">=16"
} }
}, },
"node_modules/@waku/peer-exchange/node_modules/@libp2p/interface-peer-discovery": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@libp2p/interface-peer-discovery/-/interface-peer-discovery-2.0.0.tgz",
"integrity": "sha512-Mien5t3Tc+ntP5p50acKUYJN90ouMnq1lOTQDKQNvGcXoajG8A1AEYLocnzVia/MXiexuj6S/Q28WBBacoOlBg==",
"dependencies": {
"@libp2p/interface-peer-info": "^1.0.0",
"@libp2p/interfaces": "^3.0.0"
},
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@waku/peer-exchange/node_modules/@multiformats/multiaddr": { "node_modules/@waku/peer-exchange/node_modules/@multiformats/multiaddr": {
"version": "12.1.3", "version": "12.1.5",
"resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz",
"integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==",
"optional": true,
"peer": true,
"dependencies": { "dependencies": {
"@chainsafe/is-ip": "^2.0.1", "@chainsafe/is-ip": "^2.0.1",
"@chainsafe/netmask": "^2.0.0", "@chainsafe/netmask": "^2.0.0",
"@libp2p/interfaces": "^3.3.1", "@libp2p/interfaces": "^3.3.1",
"dns-over-http-resolver": "^2.1.0", "dns-over-http-resolver": "^2.1.0",
"multiformats": "^11.0.0", "multiformats": "^12.0.1",
"uint8arrays": "^4.0.2", "uint8arrays": "^4.0.2",
"varint": "^6.0.0" "varint": "^6.0.0"
}, },
"engines": { "engines": {
"node": ">=16.0.0", "node": ">=18.0.0",
"npm": ">=7.0.0" "npm": ">=8.6.0"
} }
}, },
"node_modules/@waku/peer-exchange/node_modules/@waku/core": { "node_modules/@waku/peer-exchange/node_modules/@waku/core": {
"version": "0.0.21", "version": "0.0.22",
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.22.tgz",
"integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", "integrity": "sha512-UejYhrKN9Icf/dZ0x8fQ5hFSy+54iXUc0iubzEAFaa8pTeyQHlc3YJIxuzrlTOsxm+ajMZLX19w5l7BDHWrcgQ==",
"dependencies": { "dependencies": {
"@noble/hashes": "^1.3.0", "@noble/hashes": "^1.3.0",
"@waku/interfaces": "0.0.16", "@waku/interfaces": "0.0.17",
"@waku/proto": "0.0.5", "@waku/proto": "0.0.5",
"@waku/utils": "0.0.9", "@waku/utils": "0.0.10",
"debug": "^4.3.4", "debug": "^4.3.4",
"it-all": "^3.0.2", "it-all": "^3.0.2",
"it-length-prefixed": "^9.0.1", "it-length-prefixed": "^9.0.1",
@ -7034,6 +7019,53 @@
} }
} }
}, },
"node_modules/@waku/peer-exchange/node_modules/@waku/enr": {
"version": "0.0.16",
"resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.16.tgz",
"integrity": "sha512-nhIpsbY/fiMa+KCYekZU0vAkyGo4DBO11ujuBFU5fTqer9Lv3HCBN3Ar4J7PahDkoXGiq3SiWZU4//F1SXs1YA==",
"dependencies": {
"@ethersproject/rlp": "^5.7.0",
"@libp2p/crypto": "^1.0.17",
"@libp2p/peer-id": "^2.0.4",
"@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^1.7.1",
"@waku/utils": "0.0.10",
"debug": "^4.3.4",
"js-sha3": "^0.8.0"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/peer-exchange/node_modules/@waku/interfaces": {
"version": "0.0.17",
"resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz",
"integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==",
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/peer-exchange/node_modules/@waku/utils": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.10.tgz",
"integrity": "sha512-IQ1EWrzW+X9B/5r9fzP72n/5to1jl5050Cos/xVnk05GcdepOZdU1O1YgMXXZLIrX4TYlB7BQZUVQrUFTry05Q==",
"dependencies": {
"debug": "^4.3.4",
"uint8arrays": "^4.0.4"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/peer-exchange/node_modules/multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@waku/proto": { "node_modules/@waku/proto": {
"version": "0.0.5", "version": "0.0.5",
"resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz", "resolved": "https://registry.npmjs.org/@waku/proto/-/proto-0.0.5.tgz",
@ -7105,6 +7137,86 @@
"react": "^16.8.0 || ^17 || ^18" "react": "^16.8.0 || ^17 || ^18"
} }
}, },
"node_modules/@waku/react/node_modules/@multiformats/multiaddr": {
"version": "12.1.5",
"resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz",
"integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==",
"optional": true,
"peer": true,
"dependencies": {
"@chainsafe/is-ip": "^2.0.1",
"@chainsafe/netmask": "^2.0.0",
"@libp2p/interfaces": "^3.3.1",
"dns-over-http-resolver": "^2.1.0",
"multiformats": "^12.0.1",
"uint8arrays": "^4.0.2",
"varint": "^6.0.0"
},
"engines": {
"node": ">=18.0.0",
"npm": ">=8.6.0"
}
},
"node_modules/@waku/react/node_modules/@waku/core": {
"version": "0.0.21",
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz",
"integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==",
"dependencies": {
"@noble/hashes": "^1.3.0",
"@waku/interfaces": "0.0.16",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.9",
"debug": "^4.3.4",
"it-all": "^3.0.2",
"it-length-prefixed": "^9.0.1",
"it-pipe": "^3.0.1",
"p-event": "^5.0.1",
"uint8arraylist": "^2.4.3",
"uuid": "^9.0.0"
},
"engines": {
"node": ">=16"
},
"peerDependencies": {
"@multiformats/multiaddr": "^12.0.0",
"libp2p": "^0.45.9"
},
"peerDependenciesMeta": {
"@multiformats/multiaddr": {
"optional": true
}
}
},
"node_modules/@waku/react/node_modules/@waku/sdk": {
"version": "0.0.17",
"resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz",
"integrity": "sha512-PdvS6sQqOnOBN53otMoqSnQkZLjXo49B6AxziAlS6zykJV8SuC5in13oHTrkvODpELJfxk0sEsnnU0j0jEJX9w==",
"dependencies": {
"@chainsafe/libp2p-noise": "^12.0.1",
"@libp2p/mplex": "^8.0.4",
"@libp2p/websockets": "^6.0.3",
"@waku/core": "0.0.21",
"@waku/dns-discovery": "0.0.15",
"@waku/interfaces": "0.0.16",
"@waku/relay": "0.0.4",
"@waku/utils": "0.0.9",
"libp2p": "^0.45.9"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/react/node_modules/multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"optional": true,
"peer": true,
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@waku/relay": { "node_modules/@waku/relay": {
"version": "0.0.4", "version": "0.0.4",
"resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz", "resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.4.tgz",
@ -7186,18 +7298,18 @@
} }
}, },
"node_modules/@waku/sdk": { "node_modules/@waku/sdk": {
"version": "0.0.17", "version": "0.0.18",
"resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.17.tgz", "resolved": "https://registry.npmjs.org/@waku/sdk/-/sdk-0.0.18.tgz",
"integrity": "sha512-PdvS6sQqOnOBN53otMoqSnQkZLjXo49B6AxziAlS6zykJV8SuC5in13oHTrkvODpELJfxk0sEsnnU0j0jEJX9w==", "integrity": "sha512-6WzrsQV6dtSeHM7+MfCjRiEYsVWmgn99PgKk+w0lIjZ+2Yd4brlE7fQrDlq9rV4sM14t232DmgpAODmormLtqg==",
"dependencies": { "dependencies": {
"@chainsafe/libp2p-noise": "^12.0.1", "@chainsafe/libp2p-noise": "^12.0.1",
"@libp2p/mplex": "^8.0.4", "@libp2p/mplex": "^8.0.4",
"@libp2p/websockets": "^6.0.3", "@libp2p/websockets": "^6.0.3",
"@waku/core": "0.0.21", "@waku/core": "0.0.22",
"@waku/dns-discovery": "0.0.15", "@waku/dns-discovery": "0.0.16",
"@waku/interfaces": "0.0.16", "@waku/interfaces": "0.0.17",
"@waku/relay": "0.0.4", "@waku/relay": "0.0.5",
"@waku/utils": "0.0.9", "@waku/utils": "0.0.10",
"libp2p": "^0.45.9" "libp2p": "^0.45.9"
}, },
"engines": { "engines": {
@ -7205,34 +7317,32 @@
} }
}, },
"node_modules/@waku/sdk/node_modules/@multiformats/multiaddr": { "node_modules/@waku/sdk/node_modules/@multiformats/multiaddr": {
"version": "12.1.3", "version": "12.1.5",
"resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.3.tgz", "resolved": "https://registry.npmjs.org/@multiformats/multiaddr/-/multiaddr-12.1.5.tgz",
"integrity": "sha512-rNcS3njkkSwuGF4x58L47jGH5kBXBfJPNsWnrt0gujhNYn6ReDt1je7vEU5/ddrVj0TStgxw+Hm+TkYDK0b60w==", "integrity": "sha512-2c0Mouk6LPzd86eKyw9+ENtoLfe5tJXZVMkbG0BmdYdMb3Wp6B/0wEjde3G3WcqaFhHobGAQPmOgNmVPxi6Vyg==",
"optional": true,
"peer": true,
"dependencies": { "dependencies": {
"@chainsafe/is-ip": "^2.0.1", "@chainsafe/is-ip": "^2.0.1",
"@chainsafe/netmask": "^2.0.0", "@chainsafe/netmask": "^2.0.0",
"@libp2p/interfaces": "^3.3.1", "@libp2p/interfaces": "^3.3.1",
"dns-over-http-resolver": "^2.1.0", "dns-over-http-resolver": "^2.1.0",
"multiformats": "^11.0.0", "multiformats": "^12.0.1",
"uint8arrays": "^4.0.2", "uint8arrays": "^4.0.2",
"varint": "^6.0.0" "varint": "^6.0.0"
}, },
"engines": { "engines": {
"node": ">=16.0.0", "node": ">=18.0.0",
"npm": ">=7.0.0" "npm": ">=8.6.0"
} }
}, },
"node_modules/@waku/sdk/node_modules/@waku/core": { "node_modules/@waku/sdk/node_modules/@waku/core": {
"version": "0.0.21", "version": "0.0.22",
"resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.21.tgz", "resolved": "https://registry.npmjs.org/@waku/core/-/core-0.0.22.tgz",
"integrity": "sha512-o42TIfOWNcO6PMYUkfJcNpDQ1xrO3ZOSDcuLWwsNd2yVTRp2f5hVcvf6XX9pM+uRhEj6RqS06SB4PKCmLqshfw==", "integrity": "sha512-UejYhrKN9Icf/dZ0x8fQ5hFSy+54iXUc0iubzEAFaa8pTeyQHlc3YJIxuzrlTOsxm+ajMZLX19w5l7BDHWrcgQ==",
"dependencies": { "dependencies": {
"@noble/hashes": "^1.3.0", "@noble/hashes": "^1.3.0",
"@waku/interfaces": "0.0.16", "@waku/interfaces": "0.0.17",
"@waku/proto": "0.0.5", "@waku/proto": "0.0.5",
"@waku/utils": "0.0.9", "@waku/utils": "0.0.10",
"debug": "^4.3.4", "debug": "^4.3.4",
"it-all": "^3.0.2", "it-all": "^3.0.2",
"it-length-prefixed": "^9.0.1", "it-length-prefixed": "^9.0.1",
@ -7254,6 +7364,90 @@
} }
} }
}, },
"node_modules/@waku/sdk/node_modules/@waku/dns-discovery": {
"version": "0.0.16",
"resolved": "https://registry.npmjs.org/@waku/dns-discovery/-/dns-discovery-0.0.16.tgz",
"integrity": "sha512-giOgiaF2CWB/0fKh/k1feGYCieG368MJ9e4N7qhoXAvdybUlwSJIQQBwyWiW7zrPVe7ahGIiVUByjC5wqStrPw==",
"dependencies": {
"@libp2p/interface-peer-discovery": "^2.0.0",
"@libp2p/interfaces": "^3.3.2",
"@waku/enr": "0.0.16",
"@waku/utils": "0.0.10",
"debug": "^4.3.4",
"dns-query": "^0.11.2",
"hi-base32": "^0.5.1",
"uint8arrays": "^4.0.4"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/sdk/node_modules/@waku/enr": {
"version": "0.0.16",
"resolved": "https://registry.npmjs.org/@waku/enr/-/enr-0.0.16.tgz",
"integrity": "sha512-nhIpsbY/fiMa+KCYekZU0vAkyGo4DBO11ujuBFU5fTqer9Lv3HCBN3Ar4J7PahDkoXGiq3SiWZU4//F1SXs1YA==",
"dependencies": {
"@ethersproject/rlp": "^5.7.0",
"@libp2p/crypto": "^1.0.17",
"@libp2p/peer-id": "^2.0.4",
"@multiformats/multiaddr": "^12.0.0",
"@noble/secp256k1": "^1.7.1",
"@waku/utils": "0.0.10",
"debug": "^4.3.4",
"js-sha3": "^0.8.0"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/sdk/node_modules/@waku/interfaces": {
"version": "0.0.17",
"resolved": "https://registry.npmjs.org/@waku/interfaces/-/interfaces-0.0.17.tgz",
"integrity": "sha512-/3HrMhpjMwpArm73L05Q7xLPKFeGjvpDlrFq4lqrXjKa8J2VUmiZh6fD9LdYP1ZvhPdzrCRAL+o7+Lb9kt4fvQ==",
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/sdk/node_modules/@waku/relay": {
"version": "0.0.5",
"resolved": "https://registry.npmjs.org/@waku/relay/-/relay-0.0.5.tgz",
"integrity": "sha512-LCBzNVjAXZEgZgzdHCNM72gvtAmWGUzbhtFgZ6SMs2bEJkgwES0c1BUItt/Sn2A+1Booj3afbYGpl6ph23oH3A==",
"dependencies": {
"@chainsafe/libp2p-gossipsub": "^9.1.0",
"@noble/hashes": "^1.3.0",
"@waku/core": "0.0.22",
"@waku/interfaces": "0.0.17",
"@waku/proto": "0.0.5",
"@waku/utils": "0.0.10",
"chai": "^4.3.7",
"debug": "^4.3.4",
"fast-check": "^3.8.1"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/sdk/node_modules/@waku/utils": {
"version": "0.0.10",
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.10.tgz",
"integrity": "sha512-IQ1EWrzW+X9B/5r9fzP72n/5to1jl5050Cos/xVnk05GcdepOZdU1O1YgMXXZLIrX4TYlB7BQZUVQrUFTry05Q==",
"dependencies": {
"debug": "^4.3.4",
"uint8arrays": "^4.0.4"
},
"engines": {
"node": ">=16"
}
},
"node_modules/@waku/sdk/node_modules/multiformats": {
"version": "12.0.1",
"resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.0.1.tgz",
"integrity": "sha512-s01wijBJoDUqESWSzePY0lvTw7J3PVO9x2Cc6ASI5AMZM2Gnhh7BC17+nlFhHKU7dDzaCaRfb+NiqNzOsgPUoQ==",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
}
},
"node_modules/@waku/utils": { "node_modules/@waku/utils": {
"version": "0.0.9", "version": "0.0.9",
"resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz", "resolved": "https://registry.npmjs.org/@waku/utils/-/utils-0.0.9.tgz",

View File

@ -8,10 +8,10 @@
"@waku/react": "^0.0.3-7aeb24a", "@waku/react": "^0.0.3-7aeb24a",
"@waku/dns-discovery": "^0.0.15", "@waku/dns-discovery": "^0.0.15",
"@waku/interfaces": "^0.0.16", "@waku/interfaces": "^0.0.16",
"@waku/peer-exchange": "^0.0.14", "@waku/peer-exchange": "^0.0.15",
"@livechat/ui-kit": "^0.5.0-24", "@livechat/ui-kit": "^0.5.0-24",
"@multiformats/multiaddr": "11.0.7", "@multiformats/multiaddr": "11.0.7",
"@waku/sdk": "^0.0.17", "@waku/sdk": "^0.0.18",
"process": "^0.11.10", "process": "^0.11.10",
"protons-runtime": "^3.1.0", "protons-runtime": "^3.1.0",
"react": "^17.0.2", "react": "^17.0.2",