Compare commits

..

3 Commits

Author SHA1 Message Date
semantic-release-bot c4b1909c2b chore(release): 0.2.0-develop.14 [skip ci]
# [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](ac822fb939))
2023-06-24 17:36:37 +00:00
Derrick Hammer e5aa234333
Merge remote-tracking branch 'origin/develop' into develop 2023-06-24 13:35:50 -04:00
Derrick Hammer ac822fb939
fix: switch to using @lumeweb/community-portals 2023-06-24 13:35:26 -04:00
4 changed files with 50 additions and 6 deletions

View File

@ -1,3 +1,10 @@
# [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) # [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,13 +1,14 @@
{ {
"name": "@lumeweb/libweb", "name": "@lumeweb/libweb",
"version": "0.2.0-develop.13", "version": "0.2.0-develop.14",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@lumeweb/libweb", "name": "@lumeweb/libweb",
"version": "0.2.0-develop.13", "version": "0.2.0-develop.14",
"dependencies": { "dependencies": {
"@lumeweb/community-portals": "^0.1.0-develop.2",
"@lumeweb/libportal": "0.2.0-develop.8", "@lumeweb/libportal": "0.2.0-develop.8",
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1" "@noble/hashes": "^1.3.1"
@ -1788,6 +1789,14 @@
"dev": true, "dev": true,
"peer": 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": { "node_modules/@lumeweb/libportal": {
"version": "0.2.0-develop.8", "version": "0.2.0-develop.8",
"resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.8.tgz", "resolved": "https://registry.npmjs.org/@lumeweb/libportal/-/libportal-0.2.0-develop.8.tgz",
@ -1804,6 +1813,34 @@
"web-streams-polyfill": "^3.2.1" "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": { "node_modules/@noble/curves": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.1.0.tgz", "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.1.0.tgz",

View File

@ -1,6 +1,6 @@
{ {
"name": "@lumeweb/libweb", "name": "@lumeweb/libweb",
"version": "0.2.0-develop.13", "version": "0.2.0-develop.14",
"main": "lib/index.js", "main": "lib/index.js",
"type": "module", "type": "module",
"repository": { "repository": {
@ -21,6 +21,7 @@
"semantic-release": "semantic-release" "semantic-release": "semantic-release"
}, },
"dependencies": { "dependencies": {
"@lumeweb/community-portals": "^0.1.0-develop.2",
"@lumeweb/libportal": "0.2.0-develop.8", "@lumeweb/libportal": "0.2.0-develop.8",
"@noble/curves": "^1.1.0", "@noble/curves": "^1.1.0",
"@noble/hashes": "^1.3.1" "@noble/hashes": "^1.3.1"

View File

@ -3,12 +3,11 @@ import { Client } from "@lumeweb/libportal";
import { deriveChildKey } from "#keys.js"; import { deriveChildKey } from "#keys.js";
import { ed25519 } from "@noble/curves/ed25519"; import { ed25519 } from "@noble/curves/ed25519";
import { bytesToHex } from "@noble/hashes/utils"; import { bytesToHex } from "@noble/hashes/utils";
import COMMUNITY_PORTAL_LIST from "@lumeweb/community-portals";
let activePortalMasterKey; let activePortalMasterKey;
export const DEFAULT_PORTAL_LIST: Portal[] = [ export const DEFAULT_PORTAL_LIST = COMMUNITY_PORTAL_LIST;
{ id: "lumeweb", url: "https://web3portal.com", name: "web3portal.com" },
];
let ACTIVE_PORTALS = new Set<Client>(); let ACTIVE_PORTALS = new Set<Client>();