Compare commits

..

No commits in common. "v0.2.0-develop.14" and "v0.2.0-develop.13" have entirely different histories.

4 changed files with 6 additions and 50 deletions

View File

@ -1,10 +1,3 @@
# [0.2.0-develop.14](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.13...v0.2.0-develop.14) (2023-06-24)
### Bug Fixes
* switch to using @lumeweb/community-portals ([ac822fb](https://git.lumeweb.com/LumeWeb/libweb/commit/ac822fb9390cfc863a959dc09269479d73a71b80))
# [0.2.0-develop.13](https://git.lumeweb.com/LumeWeb/libweb/compare/v0.2.0-develop.12...v0.2.0-develop.13) (2023-06-24)

41
npm-shrinkwrap.json generated
View File

@ -1,14 +1,13 @@
{
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.14",
"version": "0.2.0-develop.13",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.14",
"version": "0.2.0-develop.13",
"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"
@ -1789,14 +1788,6 @@
"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",
@ -1813,34 +1804,6 @@
"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",

View File

@ -1,6 +1,6 @@
{
"name": "@lumeweb/libweb",
"version": "0.2.0-develop.14",
"version": "0.2.0-develop.13",
"main": "lib/index.js",
"type": "module",
"repository": {
@ -21,7 +21,6 @@
"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"

View File

@ -3,11 +3,12 @@ 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 = COMMUNITY_PORTAL_LIST;
export const DEFAULT_PORTAL_LIST: Portal[] = [
{ id: "lumeweb", url: "https://web3portal.com", name: "web3portal.com" },
];
let ACTIVE_PORTALS = new Set<Client>();