fix: switch to using @lumeweb/community-portals
This commit is contained in:
parent
0d042f7867
commit
ac822fb939
|
@ -8,6 +8,7 @@
|
|||
"name": "@lumeweb/libweb",
|
||||
"version": "0.2.0-develop.12",
|
||||
"dependencies": {
|
||||
"@lumeweb/community-portals": "^0.1.0-develop.2",
|
||||
"@lumeweb/libportal": "0.2.0-develop.8",
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1"
|
||||
|
@ -1788,6 +1789,14 @@
|
|||
"dev": true,
|
||||
"peer": true
|
||||
},
|
||||
"node_modules/@lumeweb/community-portals": {
|
||||
"version": "0.1.0-develop.2",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/community-portals/-/community-portals-0.1.0-develop.2.tgz",
|
||||
"integrity": "sha512-VbbNh0Jidm5ShYBA2AD9bjl9n1Yvs0ExPlx/+bX+xpv/+WpRLV4QfCBF8pzk4+s+pOEN+0s50biJnBITNBC8JA==",
|
||||
"peerDependencies": {
|
||||
"@lumeweb/libweb": "^0.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@lumeweb/libportal": {
|
||||
"version": "0.2.0-develop.8",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.8.tgz",
|
||||
|
@ -1804,6 +1813,34 @@
|
|||
"web-streams-polyfill": "^3.2.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@lumeweb/libweb": {
|
||||
"version": "0.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libweb/-/libweb-0.2.0.tgz",
|
||||
"integrity": "sha512-G2G3vu7k18UA67/UiloIWPn8EytOz94CBsY9WYyhuHlt64y9nCqxIx0+Ze6bQ1mdRcgwKP0x7Tvqvq6WPLn3Ow==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@lumeweb/libportal": "^0.1.0",
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@lumeweb/libweb/node_modules/@lumeweb/libportal": {
|
||||
"version": "0.1.2",
|
||||
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.1.2.tgz",
|
||||
"integrity": "sha512-3lA9yU1VArg4vJrewHD3X+2PKm9h+A8PwKDTRI5ob+xuAKJcDITGa1+JfEiqy4OVu39xGdShPKGk4uDWbxrTNA==",
|
||||
"peer": true,
|
||||
"dependencies": {
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1",
|
||||
"detect-node": "^2.1.0",
|
||||
"multiformats": "^11.0.2",
|
||||
"node-fetch": "^3.3.1",
|
||||
"p-defer": "^4.0.0",
|
||||
"stream-to-blob": "^2.0.1",
|
||||
"tus-js-client": "^3.1.0",
|
||||
"web-streams-polyfill": "^3.2.1"
|
||||
}
|
||||
},
|
||||
"node_modules/@noble/curves": {
|
||||
"version": "1.1.0",
|
||||
"resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.1.0.tgz",
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"semantic-release": "semantic-release"
|
||||
},
|
||||
"dependencies": {
|
||||
"@lumeweb/community-portals": "^0.1.0-develop.2",
|
||||
"@lumeweb/libportal": "0.2.0-develop.8",
|
||||
"@noble/curves": "^1.1.0",
|
||||
"@noble/hashes": "^1.3.1"
|
||||
|
|
|
@ -3,12 +3,11 @@ import { Client } from "@lumeweb/libportal";
|
|||
import { deriveChildKey } from "#keys.js";
|
||||
import { ed25519 } from "@noble/curves/ed25519";
|
||||
import { bytesToHex } from "@noble/hashes/utils";
|
||||
import COMMUNITY_PORTAL_LIST from "@lumeweb/community-portals";
|
||||
|
||||
let activePortalMasterKey;
|
||||
|
||||
export const DEFAULT_PORTAL_LIST: Portal[] = [
|
||||
{ id: "lumeweb", url: "https://web3portal.com", name: "web3portal.com" },
|
||||
];
|
||||
export const DEFAULT_PORTAL_LIST = COMMUNITY_PORTAL_LIST;
|
||||
|
||||
let ACTIVE_PORTALS = new Set<Client>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue