diff --git a/.changeset/old-balloons-brush.md b/.changeset/old-balloons-brush.md new file mode 100644 index 000000000..5fbfd2f05 --- /dev/null +++ b/.changeset/old-balloons-brush.md @@ -0,0 +1,9 @@ +--- +"@web5/agent": patch +"@web5/api": patch +"@web5/identity-agent": patch +"@web5/proxy-agent": patch +"@web5/user-agent": patch +--- + +Upgrade `dwn-sdk-js` and `dwn-server` diff --git a/package.json b/package.json index 5f0eb8e41..e7ac8074f 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "@changesets/cli": "^2.27.5", "@npmcli/package-json": "5.0.0", "@typescript-eslint/eslint-plugin": "7.9.0", - "@web5/dwn-server": "0.4.0", + "@web5/dwn-server": "0.4.2", "audit-ci": "^7.0.1", "eslint-plugin-mocha": "10.4.3", "npkill": "0.11.3" diff --git a/packages/agent/package.json b/packages/agent/package.json index 3ce21444f..f93e18a1c 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -71,7 +71,7 @@ "dependencies": { "@noble/ciphers": "0.4.1", "@scure/bip39": "1.2.2", - "@tbd54566975/dwn-sdk-js": "0.4.0", + "@tbd54566975/dwn-sdk-js": "0.4.3", "@web5/common": "1.0.0", "@web5/crypto": "1.0.0", "@web5/dids": "1.1.0", diff --git a/packages/api/package.json b/packages/api/package.json index 89aba6ef9..7a89848c3 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -85,7 +85,7 @@ }, "devDependencies": { "@playwright/test": "1.40.1", - "@tbd54566975/dwn-sdk-js": "0.4.0", + "@tbd54566975/dwn-sdk-js": "0.4.3", "@types/chai": "4.3.6", "@types/eslint": "8.56.10", "@types/mocha": "10.0.1", diff --git a/packages/dev-env/docker-compose.yaml b/packages/dev-env/docker-compose.yaml index f187ff5f8..f78505382 100644 --- a/packages/dev-env/docker-compose.yaml +++ b/packages/dev-env/docker-compose.yaml @@ -3,6 +3,6 @@ version: "3.98" services: dwn-server: container_name: dwn-server - image: ghcr.io/tbd54566975/dwn-server:dwn-sdk-0.4.0 + image: ghcr.io/tbd54566975/dwn-server:dwn-sdk-0.4.3 ports: - "3000:3000" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7e50ae861..09b7eed48 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -25,8 +25,8 @@ importers: specifier: 7.9.0 version: 7.9.0(@typescript-eslint/parser@7.14.1)(eslint@8.57.0)(typescript@5.4.5) '@web5/dwn-server': - specifier: 0.4.0 - version: 0.4.0 + specifier: 0.4.2 + version: 0.4.2 audit-ci: specifier: ^7.0.1 version: 7.0.1 @@ -46,8 +46,8 @@ importers: specifier: 1.2.2 version: 1.2.2 '@tbd54566975/dwn-sdk-js': - specifier: 0.4.0 - version: 0.4.0 + specifier: 0.4.3 + version: 0.4.3 '@web5/common': specifier: 1.0.0 version: 1.0.0 @@ -65,7 +65,7 @@ importers: version: 0.4.11 isomorphic-ws: specifier: ^5.0.0 - version: 5.0.0(ws@8.17.1) + version: 5.0.0(ws@8.18.0) level: specifier: 8.0.0 version: 8.0.0 @@ -174,8 +174,8 @@ importers: specifier: 1.40.1 version: 1.40.1 '@tbd54566975/dwn-sdk-js': - specifier: 0.4.0 - version: 0.4.0 + specifier: 0.4.3 + version: 0.4.3 '@types/chai': specifier: 4.3.6 version: 4.3.6 @@ -2616,6 +2616,11 @@ packages: dependencies: '@noble/hashes': 1.3.3 + /@noble/curves@1.4.2: + resolution: {integrity: sha512-TavHr8qycMChk8UwMld0ZDRvatedkzWfH8IiaeGCfymOP5i0hSCozz9vHOL0nkwk7HRMlFnAiKpS2jrUmSybcw==} + dependencies: + '@noble/hashes': 1.4.0 + /@noble/ed25519@2.0.0: resolution: {integrity: sha512-/extjhkwFupyopDrt80OMWKdLgP429qLZj+z6sYJz90rF2Iz0gjZh2ArMKPImUl13Kx+0EXI2hN9T/KJV0/Zng==} @@ -3351,13 +3356,14 @@ packages: - supports-color dev: true - /@tbd54566975/dwn-sdk-js@0.4.0: - resolution: {integrity: sha512-eBDjIZQEsxAagKwDbHKzML00/jXlnRN9FLnV9Qx/4UkxZdKRM7IXghFnTRE7aYkwQS8nveAVcijBw46ARSPKcw==} + /@tbd54566975/dwn-sdk-js@0.4.3: + resolution: {integrity: sha512-ZV6dXOUkz8nmepElcTSnN8nHpTesS7xYgRry79JqoBwCEjx/TLjSRojwfcV2RhqQuvIaIUtRRDOFrTZ9Vex7pA==} engines: {node: '>= 18'} dependencies: '@ipld/dag-cbor': 9.0.3 '@js-temporal/polyfill': 0.4.4 '@noble/ciphers': 0.5.3 + '@noble/curves': 1.4.2 '@noble/ed25519': 2.0.0 '@noble/secp256k1': 2.0.0 '@web5/dids': 1.1.0 @@ -3377,6 +3383,7 @@ packages: multiformats: 11.0.2 randombytes: 2.1.0 readable-stream: 4.5.2 + uint8arrays: 5.1.0 ulidx: 2.1.0 uuid: 8.3.2 varint: 6.0.0 @@ -3384,12 +3391,12 @@ packages: - encoding - supports-color - /@tbd54566975/dwn-sql-store@0.6.0: - resolution: {integrity: sha512-9o9W2A/gXsmj+n+H5debmOrQelybS9g2sPxFcB46zvT8Zpe9OAKUB9j8s7o1XEeUflyqAW1gf6+q3KKO/UhPHQ==} + /@tbd54566975/dwn-sql-store@0.6.3: + resolution: {integrity: sha512-rKVOc0LP6r9SnPi597DUkQVfPSTl+m89P3oLE2IAcu8dbTdfzsTHmO77nIkqqpGBByHxk7Y1MAVlQHMrrwB65A==} engines: {node: '>=18'} dependencies: '@ipld/dag-cbor': 9.0.5 - '@tbd54566975/dwn-sdk-js': 0.4.0 + '@tbd54566975/dwn-sdk-js': 0.4.3 kysely: 0.26.3 multiformats: 12.0.1 readable-stream: 4.4.2 @@ -4635,12 +4642,12 @@ packages: ms: 2.1.3 dev: false - /@web5/dwn-server@0.4.0: - resolution: {integrity: sha512-2zc/REV4ibLRS0ZljF3905ZYBkv1kAaeXksgIgZrTND/xudJHid3aMKhxV2ihzO+Zvkcva2P5ho7ys4vFSU/EA==} + /@web5/dwn-server@0.4.2: + resolution: {integrity: sha512-f0x5saKdnfFsHHv6BLMo4gz1YwlR08Y5XAW9CZsases+919qlSsi9Ackj+s8sM5wvDPeUMg/jOmmIIKwRHohaw==} hasBin: true dependencies: - '@tbd54566975/dwn-sdk-js': 0.4.0 - '@tbd54566975/dwn-sql-store': 0.6.0 + '@tbd54566975/dwn-sdk-js': 0.4.3 + '@tbd54566975/dwn-sql-store': 0.6.3 better-sqlite3: 8.7.0 body-parser: 1.20.2 bytes: 3.1.2 @@ -4658,7 +4665,7 @@ packages: readable-stream: 4.4.2 response-time: 2.3.2 uuid: 9.0.0 - ws: 8.17.1 + ws: 8.18.0 transitivePeerDependencies: - bufferutil - encoding @@ -7335,7 +7342,7 @@ packages: resolution: {integrity: sha512-nZeamxfymIWLpVcAN0CRrb7uVq3hCOGj9IcL6NMA6VVCVWqj+h9Jo/SmaWuS92AEDf1thmHsM5D5c70hM3j2Tg==} dependencies: sparse-array: 1.3.2 - uint8arrays: 5.0.2 + uint8arrays: 5.1.0 /hard-rejection@2.1.0: resolution: {integrity: sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==} @@ -7875,12 +7882,12 @@ packages: engines: {node: '>=10'} dev: true - /isomorphic-ws@5.0.0(ws@8.17.1): + /isomorphic-ws@5.0.0(ws@8.18.0): resolution: {integrity: sha512-muId7Zzn9ywDsyXgTIafTry2sV3nySZeUDe6YedVd1Hvuuep5AsIlqK+XefWpYTyJG5e503F2xIuT2lcU6rCSw==} peerDependencies: ws: '>=8.17.1' dependencies: - ws: 8.17.1 + ws: 8.18.0 dev: false /istanbul-lib-coverage@3.2.2: @@ -9540,7 +9547,7 @@ packages: dependencies: uint8-varint: 2.0.4 uint8arraylist: 2.4.8 - uint8arrays: 5.0.2 + uint8arrays: 5.1.0 /proxy-addr@2.0.7: resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==} @@ -10891,12 +10898,12 @@ packages: resolution: {integrity: sha512-FwpTa7ZGA/f/EssWAb5/YV6pHgVF1fViKdW8cWaEarjB8t7NyofSWBdOTyFPaGuUG4gx3v1O3PQ8etsiOs3lcw==} dependencies: uint8arraylist: 2.4.8 - uint8arrays: 5.0.2 + uint8arrays: 5.1.0 /uint8arraylist@2.4.8: resolution: {integrity: sha512-vc1PlGOzglLF0eae1M8mLRTBivsvrGsdmJ5RbK3e+QRvRLOZfZhQROTwH/OfyF3+ZVUg9/8hE8bmKP2CvP9quQ==} dependencies: - uint8arrays: 5.0.2 + uint8arrays: 5.1.0 /uint8arrays@3.1.1: resolution: {integrity: sha512-+QJa8QRnbdXVpHYjLoTpJIdCTiw9Ir62nocClWuXIq2JIh4Uta0cQsTSpFL678p2CN8B+XSApwcU+pQEqVpKWg==} @@ -10909,8 +10916,8 @@ packages: dependencies: multiformats: 12.1.3 - /uint8arrays@5.0.2: - resolution: {integrity: sha512-S0GaeR+orZt7LaqzTRs4ZP8QqzAauJ+0d4xvP2lJTA99jIkKsE2FgDs4tGF/K/z5O9I/2W5Yvrh7IuqNeYH+0Q==} + /uint8arrays@5.1.0: + resolution: {integrity: sha512-vA6nFepEmlSKkMBnLBaUMVvAC4G3CTmO58C12y4sq6WPDOR7mOFYOi7GlrQ4djeSbP6JG9Pv9tJDM97PedRSww==} dependencies: multiformats: 13.1.0 @@ -11286,6 +11293,19 @@ packages: optional: true utf-8-validate: optional: true + dev: true + + /ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true /xml@1.0.1: resolution: {integrity: sha512-huCv9IH9Tcf95zuYCsQraZtWnJvBtLVE0QHMOs8bWyZAFZNDcYjsPq1nEx8jKA9y+Beo9v+7OBPRisQTjinQMw==}