diff --git a/.changeset/lovely-swans-bow.md b/.changeset/lovely-swans-bow.md deleted file mode 100644 index 2a1882f1a..000000000 --- a/.changeset/lovely-swans-bow.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@xmtp/browser-sdk": patch -"@xmtp/node-sdk": patch ---- - -Refactor signing in browser and node SDKs diff --git a/sdks/browser-sdk/CHANGELOG.md b/sdks/browser-sdk/CHANGELOG.md index b330aca90..aa557ebfd 100644 --- a/sdks/browser-sdk/CHANGELOG.md +++ b/sdks/browser-sdk/CHANGELOG.md @@ -1,5 +1,21 @@ # @xmtp/browser-sdk +## 0.0.4 + +### Patch Changes + +- a1a16a0: + - Added `Signer` interface + - Refactored `Client.create` to accept a `Signer` instead of account address + - Refactored client creation to automatically register and identity + - Added `disableAutoRegister` to `ClientOptions` to allow disabling of client registration after creation + - Removed direct access to all signature functions + - Added `Client.register` method for registering a client + - Added `Client.addAccount` method for adding another account to an installation + - Added `Client.removeAccount` method for removing an account from an installation + - Added `Client.revokeInstallations` method for revoking all other installations + - Added static `Client.canMessage` for checking if an address is on the network without a client + ## 0.0.3 ### Patch Changes diff --git a/sdks/browser-sdk/package.json b/sdks/browser-sdk/package.json index 5733f650e..f36241215 100644 --- a/sdks/browser-sdk/package.json +++ b/sdks/browser-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@xmtp/browser-sdk", - "version": "0.0.3", + "version": "0.0.4", "description": "XMTP client SDK for browsers written in TypeScript", "keywords": [ "xmtp", diff --git a/sdks/node-sdk/CHANGELOG.md b/sdks/node-sdk/CHANGELOG.md index 1ef10e67a..00b5c4f51 100644 --- a/sdks/node-sdk/CHANGELOG.md +++ b/sdks/node-sdk/CHANGELOG.md @@ -1,5 +1,22 @@ # @xmtp/node-sdk +## 0.0.24 + +### Patch Changes + +- a1a16a0: + - Added `Signer` interface + - Refactored `Client.create` to accept a `Signer` instead of account address + - Refactored client creation to automatically register and identity + - Added `disableAutoRegister` to `ClientOptions` to allow disabling of client registration after creation + - Removed direct access to all signature functions + - Added `Client.register` method for registering a client + - Added `Client.addAccount` method for adding another account to an installation + - Added `Client.removeAccount` method for removing an account from an installation + - Added `Client.revokeInstallations` method for revoking all other installations + - Added static `Client.canMessage` for checking if an address is on the network without a client + - Added environment to DB path + ## 0.0.23 ### Patch Changes diff --git a/sdks/node-sdk/package.json b/sdks/node-sdk/package.json index 8a47795db..08f9666f8 100644 --- a/sdks/node-sdk/package.json +++ b/sdks/node-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@xmtp/node-sdk", - "version": "0.0.23", + "version": "0.0.24", "description": "XMTP Node client SDK for interacting with XMTP networks", "keywords": [ "xmtp",