From 300bbc54505b6e0019b742b93129910e9dcfe535 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Thu, 4 Apr 2024 12:36:12 -0400 Subject: [PATCH 1/3] bump sdk versions --- .changeset/olive-geese-melt.md | 13 ++++++ packages/agent/package.json | 6 +-- packages/api/package.json | 6 +-- packages/identity-agent/package.json | 6 +-- packages/proxy-agent/package.json | 6 +-- packages/user-agent/package.json | 6 +-- pnpm-lock.yaml | 60 ++++++++++++++-------------- 7 files changed, 58 insertions(+), 45 deletions(-) create mode 100644 .changeset/olive-geese-melt.md diff --git a/.changeset/olive-geese-melt.md b/.changeset/olive-geese-melt.md new file mode 100644 index 000000000..dc8f8ac72 --- /dev/null +++ b/.changeset/olive-geese-melt.md @@ -0,0 +1,13 @@ +--- +"@web5/identity-agent": minor +"@web5/proxy-agent": minor +"@web5/user-agent": minor +"@web5/agent": minor +"@web5/api": minor +--- + +- Upgrade `api` and `agent` packages to include the newest `dwn` changes. + - Protocol `can` actions now take an array. + - Protocol `can` verbs are now `['create', 'update', 'delete', 'query', 'subscribe', 'co-update', 'co-delete']` + - `paginagion` is now handles by an object instead of a string. +- Upgrade packages to consume `1.0.0` of foundational `web5` packages. diff --git a/packages/agent/package.json b/packages/agent/package.json index 9a5242e97..2c87a886c 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -72,9 +72,9 @@ "@noble/ciphers": "0.4.1", "@scure/bip39": "1.2.2", "@tbd54566975/dwn-sdk-js": "0.2.21", - "@web5/common": "0.2.4", - "@web5/crypto": "0.4.1", - "@web5/dids": "0.4.3", + "@web5/common": "1.0.0", + "@web5/crypto": "1.0.0", + "@web5/dids": "1.0.0", "abstract-level": "1.0.4", "ed25519-keygen": "0.4.11", "level": "8.0.0", diff --git a/packages/api/package.json b/packages/api/package.json index dea2535b9..762a83805 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -78,9 +78,9 @@ }, "dependencies": { "@web5/agent": "0.3.0", - "@web5/common": "0.2.4", - "@web5/crypto": "0.4.1", - "@web5/dids": "0.4.3", + "@web5/common": "1.0.0", + "@web5/crypto": "1.0.0", + "@web5/dids": "1.0.0", "@web5/user-agent": "0.3.0" }, "devDependencies": { diff --git a/packages/identity-agent/package.json b/packages/identity-agent/package.json index 5002c45b4..c69ac0e72 100644 --- a/packages/identity-agent/package.json +++ b/packages/identity-agent/package.json @@ -70,9 +70,9 @@ }, "dependencies": { "@web5/agent": "0.3.0", - "@web5/common": "0.2.4", - "@web5/crypto": "0.4.1", - "@web5/dids": "0.4.3" + "@web5/common": "1.0.0", + "@web5/crypto": "1.0.0", + "@web5/dids": "1.0.0" }, "devDependencies": { "@playwright/test": "1.40.1", diff --git a/packages/proxy-agent/package.json b/packages/proxy-agent/package.json index 9e8a2d74c..c4031fe33 100644 --- a/packages/proxy-agent/package.json +++ b/packages/proxy-agent/package.json @@ -70,9 +70,9 @@ }, "dependencies": { "@web5/agent": "0.3.0", - "@web5/common": "0.2.4", - "@web5/crypto": "0.4.1", - "@web5/dids": "0.4.3" + "@web5/common": "1.0.0", + "@web5/crypto": "1.0.0", + "@web5/dids": "1.0.0" }, "devDependencies": { "@playwright/test": "1.40.1", diff --git a/packages/user-agent/package.json b/packages/user-agent/package.json index 5bd9d4c89..6ae2aff96 100644 --- a/packages/user-agent/package.json +++ b/packages/user-agent/package.json @@ -70,9 +70,9 @@ }, "dependencies": { "@web5/agent": "0.3.0", - "@web5/common": "0.2.4", - "@web5/crypto": "0.4.1", - "@web5/dids": "0.4.3" + "@web5/common": "1.0.0", + "@web5/crypto": "1.0.0", + "@web5/dids": "1.0.0" }, "devDependencies": { "@playwright/test": "1.40.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index ec9456c78..4fd753f79 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,14 +45,14 @@ importers: specifier: 0.2.21 version: 0.2.21 '@web5/common': - specifier: 0.2.4 - version: 0.2.4 + specifier: 1.0.0 + version: link:../common '@web5/crypto': - specifier: 0.4.1 - version: 0.4.1 + specifier: 1.0.0 + version: link:../crypto '@web5/dids': - specifier: 0.4.3 - version: 0.4.3 + specifier: 1.0.0 + version: link:../dids abstract-level: specifier: 1.0.4 version: 1.0.4 @@ -151,14 +151,14 @@ importers: specifier: 0.3.0 version: link:../agent '@web5/common': - specifier: 0.2.4 - version: 0.2.4 + specifier: 1.0.0 + version: link:../common '@web5/crypto': - specifier: 0.4.1 - version: 0.4.1 + specifier: 1.0.0 + version: link:../crypto '@web5/dids': - specifier: 0.4.3 - version: 0.4.3 + specifier: 1.0.0 + version: link:../dids '@web5/user-agent': specifier: 0.3.0 version: link:../user-agent @@ -685,14 +685,14 @@ importers: specifier: 0.3.0 version: link:../agent '@web5/common': - specifier: 0.2.4 - version: 0.2.4 + specifier: 1.0.0 + version: link:../common '@web5/crypto': - specifier: 0.4.1 - version: 0.4.1 + specifier: 1.0.0 + version: link:../crypto '@web5/dids': - specifier: 0.4.3 - version: 0.4.3 + specifier: 1.0.0 + version: link:../dids devDependencies: '@playwright/test': specifier: 1.40.1 @@ -773,14 +773,14 @@ importers: specifier: 0.3.0 version: link:../agent '@web5/common': - specifier: 0.2.4 - version: 0.2.4 + specifier: 1.0.0 + version: link:../common '@web5/crypto': - specifier: 0.4.1 - version: 0.4.1 + specifier: 1.0.0 + version: link:../crypto '@web5/dids': - specifier: 0.4.3 - version: 0.4.3 + specifier: 1.0.0 + version: link:../dids devDependencies: '@playwright/test': specifier: 1.40.1 @@ -858,14 +858,14 @@ importers: specifier: 0.3.0 version: link:../agent '@web5/common': - specifier: 0.2.4 - version: 0.2.4 + specifier: 1.0.0 + version: link:../common '@web5/crypto': - specifier: 0.4.1 - version: 0.4.1 + specifier: 1.0.0 + version: link:../crypto '@web5/dids': - specifier: 0.4.3 - version: 0.4.3 + specifier: 1.0.0 + version: link:../dids devDependencies: '@playwright/test': specifier: 1.40.1 From 29b293db4d78f5aee51c1d2b486a5c076bdc0d3d Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Thu, 4 Apr 2024 12:45:22 -0400 Subject: [PATCH 2/3] add another changeset --- .changeset/green-olive-goblin.md | 9 +++++++++ .changeset/olive-geese-melt.md | 6 +----- 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/green-olive-goblin.md diff --git a/.changeset/green-olive-goblin.md b/.changeset/green-olive-goblin.md new file mode 100644 index 000000000..d7b737c9c --- /dev/null +++ b/.changeset/green-olive-goblin.md @@ -0,0 +1,9 @@ +--- +"@web5/api": minor +--- + +- Upgrade `api` latest `dwn` changes. + - Protocol `can` actions now take an array. + - Protocol `can` verbs are now `['create', 'update', 'delete', 'query', 'subscribe', 'co-update', 'co-delete']` + - `paginagion` is now handles by an object instead of a string. +- Upgrade packages to consume `1.0.0` of foundational `web5` packages. diff --git a/.changeset/olive-geese-melt.md b/.changeset/olive-geese-melt.md index dc8f8ac72..1ed84990e 100644 --- a/.changeset/olive-geese-melt.md +++ b/.changeset/olive-geese-melt.md @@ -3,11 +3,7 @@ "@web5/proxy-agent": minor "@web5/user-agent": minor "@web5/agent": minor -"@web5/api": minor --- -- Upgrade `api` and `agent` packages to include the newest `dwn` changes. - - Protocol `can` actions now take an array. - - Protocol `can` verbs are now `['create', 'update', 'delete', 'query', 'subscribe', 'co-update', 'co-delete']` - - `paginagion` is now handles by an object instead of a string. - Upgrade packages to consume `1.0.0` of foundational `web5` packages. +- Using foundational `dids` package instead From 375676667ea2c3afed6fa7b98e0b3928a65ec534 Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Thu, 4 Apr 2024 12:49:40 -0400 Subject: [PATCH 3/3] update to patch instead of minor, add second changeset file --- .changeset/green-olive-goblin.md | 2 +- .changeset/olive-geese-melt.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.changeset/green-olive-goblin.md b/.changeset/green-olive-goblin.md index d7b737c9c..fa0f01ca1 100644 --- a/.changeset/green-olive-goblin.md +++ b/.changeset/green-olive-goblin.md @@ -1,5 +1,5 @@ --- -"@web5/api": minor +"@web5/api": patch --- - Upgrade `api` latest `dwn` changes. diff --git a/.changeset/olive-geese-melt.md b/.changeset/olive-geese-melt.md index 1ed84990e..9751b6d04 100644 --- a/.changeset/olive-geese-melt.md +++ b/.changeset/olive-geese-melt.md @@ -1,8 +1,8 @@ --- -"@web5/identity-agent": minor -"@web5/proxy-agent": minor -"@web5/user-agent": minor -"@web5/agent": minor +"@web5/identity-agent": patch +"@web5/proxy-agent": patch +"@web5/user-agent": patch +"@web5/agent": patch --- - Upgrade packages to consume `1.0.0` of foundational `web5` packages.