From 4f1307a5e88f25219e957ab22290e375e0a59433 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Thu, 24 Oct 2024 09:57:55 -0400 Subject: [PATCH] upgrade dwn-sdk-js to include did web default resolver --- package-lock.json | 135 +++++++++------------------------------------- package.json | 12 ++--- 2 files changed, 32 insertions(+), 115 deletions(-) diff --git a/package-lock.json b/package-lock.json index d323bd6..2ee9dc3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,18 +1,18 @@ { "name": "@web5/dwn-server", - "version": "0.6.0", + "version": "0.6.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@web5/dwn-server", - "version": "0.6.0", + "version": "0.6.1", "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.5.1", - "@tbd54566975/dwn-sql-store": "0.6.8", - "@web5/common": "^1.0.2", - "@web5/crypto": "^1.0.3", - "@web5/dids": "^1.1.3", + "@tbd54566975/dwn-sdk-js": "0.5.2", + "@tbd54566975/dwn-sql-store": "0.6.9", + "@web5/common": "^1.1.0", + "@web5/crypto": "^1.0.6", + "@web5/dids": "^1.2.0", "better-sqlite3": "^8.5.0", "body-parser": "^1.20.2", "bytes": "3.1.2", @@ -607,9 +607,9 @@ "dev": true }, "node_modules/@tbd54566975/dwn-sdk-js": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.5.1.tgz", - "integrity": "sha512-4xfDttiXOzs7h3PHODflHxHP7Z1HlNod6BN+HX6elXKlqOlBueORrzB72BnzVBbv35eDRJR5w2upmGsUoq3dGg==", + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sdk-js/-/dwn-sdk-js-0.5.2.tgz", + "integrity": "sha512-14DAtDVZbHmcLkHeEszgNn3bhe/jsHaCQxT5cfGqTkECcT76XSd4lWiHSWCPe4ure7OP0GMwu8ZKzDudcDGNug==", "dependencies": { "@ipld/dag-cbor": "9.0.3", "@js-temporal/polyfill": "0.4.4", @@ -710,12 +710,12 @@ } }, "node_modules/@tbd54566975/dwn-sql-store": { - "version": "0.6.8", - "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sql-store/-/dwn-sql-store-0.6.8.tgz", - "integrity": "sha512-2F1ACH9GKUBQm8kEKzyLdWw36Dakhx+Z8HAbPsNqbj9w8qht/AEykTJNhvcAi07G2Un83PfqCYDJURs8tM92tA==", + "version": "0.6.9", + "resolved": "https://registry.npmjs.org/@tbd54566975/dwn-sql-store/-/dwn-sql-store-0.6.9.tgz", + "integrity": "sha512-r2fxEKs+JSh5P3nsgYOZy6NC91gkXp9V/3KsHIPjI7af9gPemiTLanFVvUvX+ntKceteyx/4cbISE1ZwIw6t4w==", "dependencies": { "@ipld/dag-cbor": "9.0.5", - "@tbd54566975/dwn-sdk-js": "0.5.1", + "@tbd54566975/dwn-sdk-js": "0.5.2", "kysely": "0.26.3", "multiformats": "12.0.1", "readable-stream": "4.4.2" @@ -1210,9 +1210,9 @@ "dev": true }, "node_modules/@web5/common": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.2.tgz", - "integrity": "sha512-SerGdrxZF47yidvhrRa8sGLEOunIlDHppxrtWYCuKMVgtQKgheEmaS4+xchGAc/mZggJX4LlwJbRuniIiSaXrw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.1.0.tgz", + "integrity": "sha512-h08WsnMK7eyCfCgrV++6/h/0xoQeVbJJ/D5uqb2d+wUeTMpQ99bJWAt0if/2AOOB4+8CvyfVc4e9gRZM/YyN+Q==", "dependencies": { "@isaacs/ttlcache": "1.4.1", "level": "8.0.1", @@ -1278,14 +1278,14 @@ } }, "node_modules/@web5/crypto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.3.tgz", - "integrity": "sha512-gZJKo0scX+L53E2K/5cgEiFYxejzHP2RSg64ncF6TitOnCNxUyWjofovgufb+u3ZpGC4iuliD7V0o1C+V73Law==", + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@web5/crypto/-/crypto-1.0.6.tgz", + "integrity": "sha512-sxlMZZTEc5hgkavyn+2gRilSaY8N8mKQZkurW0T59XXFbTTD5GDIS+L2z57YXX9Jwdj+mOc5YtSI7Evjvrf+CQ==", "dependencies": { "@noble/ciphers": "0.5.3", "@noble/curves": "1.3.0", "@noble/hashes": "1.4.0", - "@web5/common": "1.0.1" + "@web5/common": "1.1.0" }, "engines": { "node": ">=18.0.0" @@ -1310,68 +1310,15 @@ "url": "https://paulmillr.com/funding/" } }, - "node_modules/@web5/crypto/node_modules/@web5/common": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.1.tgz", - "integrity": "sha512-dxczXqzWt6HCwuNyOVBeakg6GgOpP74tVEVxBeKkb+D3XcSP96mYaDtky5ZnjY4iBYb16SaCgwje+sgevOL51A==", - "dependencies": { - "@isaacs/ttlcache": "1.4.1", - "level": "8.0.1", - "multiformats": "13.1.0", - "readable-stream": "4.4.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@web5/crypto/node_modules/abstract-level": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/abstract-level/-/abstract-level-1.0.4.tgz", - "integrity": "sha512-eUP/6pbXBkMbXFdx4IH2fVgvB7M0JvR7/lIL33zcs0IBcwjdzSSl31TOJsaCzmKSSDF9h8QYSOJux4Nd4YJqFg==", - "dependencies": { - "buffer": "^6.0.3", - "catering": "^2.1.0", - "is-buffer": "^2.0.5", - "level-supports": "^4.0.0", - "level-transcoder": "^1.0.1", - "module-error": "^1.0.1", - "queue-microtask": "^1.2.3" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@web5/crypto/node_modules/level": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/level/-/level-8.0.1.tgz", - "integrity": "sha512-oPBGkheysuw7DmzFQYyFe8NAia5jFLAgEnkgWnK3OXAuJr8qFT+xBQIwokAZPME2bhPFzS8hlYcL16m8UZrtwQ==", - "dependencies": { - "abstract-level": "^1.0.4", - "browser-level": "^1.0.1", - "classic-level": "^1.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/level" - } - }, - "node_modules/@web5/crypto/node_modules/multiformats": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-13.1.0.tgz", - "integrity": "sha512-HzdtdBwxsIkzpeXzhQ5mAhhuxcHbjEHH+JQoxt7hG/2HGFjjwyolLo7hbaexcnhoEuV4e0TNJ8kkpMjiEYY4VQ==" - }, "node_modules/@web5/dids": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.1.3.tgz", - "integrity": "sha512-M9EfsEYcOtYuEvUQjow4vpxXbD0Sz5H8EuDXMtwuvP4UdYL0ATl+60F8+8HDmwPFeUy6M2wxuoixrLDwSRFwZA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@web5/dids/-/dids-1.2.0.tgz", + "integrity": "sha512-1YkmKaBHA0QRIxANg3dziCG0yY/9XYY6e2KVNUhv1zq2RcPVmIVAcivG4OSwwfcmWieG+H3bE2A4fCLftj3U3g==", "dependencies": { "@decentralized-identity/ion-sdk": "1.0.4", "@dnsquery/dns-packet": "6.1.1", - "@web5/common": "1.0.0", - "@web5/crypto": "1.0.3", + "@web5/common": "1.1.0", + "@web5/crypto": "1.0.6", "abstract-level": "1.0.4", "bencode": "4.0.0", "buffer": "6.0.3", @@ -1382,36 +1329,6 @@ "node": ">=18.0.0" } }, - "node_modules/@web5/dids/node_modules/@web5/common": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@web5/common/-/common-1.0.0.tgz", - "integrity": "sha512-3JHF6X5o0h+3oAVQeBC4XpMoZeEYZYdEmQdgpOfKv/rnSru2yHQSAM+0wbIvEFcSCmelBT3u7rUAcpJjelLB0w==", - "dependencies": { - "@isaacs/ttlcache": "1.4.1", - "level": "8.0.0", - "multiformats": "11.0.2", - "readable-stream": "4.4.2" - }, - "engines": { - "node": ">=18.0.0" - } - }, - "node_modules/@web5/dids/node_modules/@web5/common/node_modules/level": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/level/-/level-8.0.0.tgz", - "integrity": "sha512-ypf0jjAk2BWI33yzEaaotpq7fkOPALKAgDBxggO6Q9HGX2MRXn0wbP1Jn/tJv1gtL867+YOjOB49WaUF3UoJNQ==", - "dependencies": { - "browser-level": "^1.0.1", - "classic-level": "^1.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/level" - } - }, "node_modules/@web5/dids/node_modules/abstract-level": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/abstract-level/-/abstract-level-1.0.4.tgz", diff --git a/package.json b/package.json index d58a537..bcb89dd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@web5/dwn-server", "type": "module", - "version": "0.6.0", + "version": "0.6.1", "files": [ "dist", "src" @@ -26,11 +26,11 @@ "url": "https://github.com/TBD54566975/dwn-server/issues" }, "dependencies": { - "@tbd54566975/dwn-sdk-js": "0.5.1", - "@tbd54566975/dwn-sql-store": "0.6.8", - "@web5/common": "^1.0.2", - "@web5/crypto": "^1.0.3", - "@web5/dids": "^1.1.3", + "@tbd54566975/dwn-sdk-js": "0.5.2", + "@tbd54566975/dwn-sql-store": "0.6.9", + "@web5/common": "^1.1.0", + "@web5/crypto": "^1.0.6", + "@web5/dids": "^1.2.0", "better-sqlite3": "^8.5.0", "body-parser": "^1.20.2", "bytes": "3.1.2",