From ddb38d0da0c510e9af00afddffe228c22cb830cd Mon Sep 17 00:00:00 2001 From: Liran Cohen Date: Thu, 4 Apr 2024 13:15:30 -0400 Subject: [PATCH] Release `api` and `agent` packages. (#482) * bump sdk versions * add another changeset * update to patch instead of minor, add second changeset file --- .changeset/green-olive-goblin.md | 9 +++++ .changeset/olive-geese-melt.md | 9 +++++ 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 ++++++++++++++-------------- 8 files changed, 63 insertions(+), 45 deletions(-) create mode 100644 .changeset/green-olive-goblin.md create mode 100644 .changeset/olive-geese-melt.md diff --git a/.changeset/green-olive-goblin.md b/.changeset/green-olive-goblin.md new file mode 100644 index 000000000..fa0f01ca1 --- /dev/null +++ b/.changeset/green-olive-goblin.md @@ -0,0 +1,9 @@ +--- +"@web5/api": patch +--- + +- 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 new file mode 100644 index 000000000..9751b6d04 --- /dev/null +++ b/.changeset/olive-geese-melt.md @@ -0,0 +1,9 @@ +--- +"@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. +- Using foundational `dids` package instead 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