diff --git a/.changeset/gentle-squids-wait.md b/.changeset/gentle-squids-wait.md deleted file mode 100644 index 37fedb13..00000000 --- a/.changeset/gentle-squids-wait.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -'@moonbeam-network/xcm-config': major -'@moonbeam-network/xcm-utils': major -'@moonbeam-network/xcm-sdk': major -'@moonbeam-network/xcm-builder': major -'@moonbeam-network/xcm-types': major ---- - -Upgrate Viem and ethers major versions - -Breaking changes: we now require either `viem` V2 or `ethers` V6 - -To upgrade to this version just update the corresponding library. Here are the migration guides for both: - -viem: -https://wagmi.sh/core/guides/migrate-from-v1-to-v2 -https://wagmi.sh/react/guides/migrate-from-v1-to-v2 - -ethers: -https://docs.ethers.org/v6/migrating/ diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index 06737ebf..75b03c12 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,9 +12,9 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.28", - "@moonbeam-network/xcm-sdk": "1.4.24", - "@moonbeam-network/xcm-utils": "1.0.4" + "@moonbeam-network/xcm-config": "2.0.0", + "@moonbeam-network/xcm-sdk": "2.0.0", + "@moonbeam-network/xcm-utils": "2.0.0" }, "devDependencies": { "bun": "^1.0.21" diff --git a/package-lock.json b/package-lock.json index 1116ab06..cb3b76dd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,9 +51,9 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.28", - "@moonbeam-network/xcm-sdk": "1.4.24", - "@moonbeam-network/xcm-utils": "1.0.4" + "@moonbeam-network/xcm-config": "2.0.0", + "@moonbeam-network/xcm-sdk": "2.0.0", + "@moonbeam-network/xcm-utils": "2.0.0" }, "devDependencies": { "bun": "^1.0.21" @@ -17227,11 +17227,11 @@ }, "packages/builder": { "name": "@moonbeam-network/xcm-builder", - "version": "1.0.13", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-types": "1.0.4", - "@moonbeam-network/xcm-utils": "1.0.4", + "@moonbeam-network/xcm-types": "2.0.0", + "@moonbeam-network/xcm-utils": "2.0.0", "big.js": "^6.2.1", "type-fest": "^3.8.0" }, @@ -17255,11 +17255,11 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.28", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.13", - "@moonbeam-network/xcm-types": "1.0.4" + "@moonbeam-network/xcm-builder": "2.0.0", + "@moonbeam-network/xcm-types": "2.0.0" }, "peerDependencies": { "@polkadot/types": "^10.10.1", @@ -17269,13 +17269,13 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.24", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.13", - "@moonbeam-network/xcm-config": "1.3.28", - "@moonbeam-network/xcm-types": "1.0.4", - "@moonbeam-network/xcm-utils": "1.0.4", + "@moonbeam-network/xcm-builder": "2.0.0", + "@moonbeam-network/xcm-config": "2.0.0", + "@moonbeam-network/xcm-types": "2.0.0", + "@moonbeam-network/xcm-utils": "2.0.0", "big.js": "^6.2.1" }, "peerDependencies": { @@ -17289,10 +17289,10 @@ }, "packages/types": { "name": "@moonbeam-network/xcm-types", - "version": "1.0.4", + "version": "2.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-utils": "1.0.4", + "@moonbeam-network/xcm-utils": "2.0.0", "big.js": "^6.2.1", "type-fest": "^3.8.0" } @@ -17309,7 +17309,7 @@ }, "packages/utils": { "name": "@moonbeam-network/xcm-utils", - "version": "1.0.4", + "version": "2.0.0", "license": "MIT", "dependencies": { "big.js": "^6.2.1", diff --git a/packages/builder/CHANGELOG.md b/packages/builder/CHANGELOG.md index 73424d7b..e47cb71a 100644 --- a/packages/builder/CHANGELOG.md +++ b/packages/builder/CHANGELOG.md @@ -1,5 +1,28 @@ # @moonbeam-network/xcm-builder +## 2.0.0 + +### Major Changes + +- [#178](https://github.com/moonbeam-foundation/xcm-sdk/pull/178) [`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614) Thanks [@mmaurello](https://github.com/mmaurello)! - Upgrate Viem and ethers major versions + + Breaking changes: we now require either `viem` V2 or `ethers` V6 + + To upgrade to this version just update the corresponding library. Here are the migration guides for both: + + viem: + https://wagmi.sh/core/guides/migrate-from-v1-to-v2 + https://wagmi.sh/react/guides/migrate-from-v1-to-v2 + + ethers: + https://docs.ethers.org/v6/migrating/ + +### Patch Changes + +- Updated dependencies [[`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614)]: + - @moonbeam-network/xcm-utils@2.0.0 + - @moonbeam-network/xcm-types@2.0.0 + ## 1.0.13 ### Patch Changes diff --git a/packages/builder/package.json b/packages/builder/package.json index 240fbe28..398f14f8 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-builder", - "version": "1.0.13", + "version": "2.0.0", "description": "Moonbeam XCM builder", "scripts": { "build": "tsup", @@ -50,8 +50,8 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-types": "1.0.4", - "@moonbeam-network/xcm-utils": "1.0.4", + "@moonbeam-network/xcm-types": "2.0.0", + "@moonbeam-network/xcm-utils": "2.0.0", "big.js": "^6.2.1", "type-fest": "^3.8.0" }, diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index d29b4c4c..820d0d2e 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,28 @@ # @moonbeam-network/xcm-config +## 2.0.0 + +### Major Changes + +- [#178](https://github.com/moonbeam-foundation/xcm-sdk/pull/178) [`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614) Thanks [@mmaurello](https://github.com/mmaurello)! - Upgrate Viem and ethers major versions + + Breaking changes: we now require either `viem` V2 or `ethers` V6 + + To upgrade to this version just update the corresponding library. Here are the migration guides for both: + + viem: + https://wagmi.sh/core/guides/migrate-from-v1-to-v2 + https://wagmi.sh/react/guides/migrate-from-v1-to-v2 + + ethers: + https://docs.ethers.org/v6/migrating/ + +### Patch Changes + +- Updated dependencies [[`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614)]: + - @moonbeam-network/xcm-builder@2.0.0 + - @moonbeam-network/xcm-types@2.0.0 + ## 1.3.28 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index af79d8b6..8384d1d1 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.28", + "version": "2.0.0", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", @@ -50,8 +50,8 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.13", - "@moonbeam-network/xcm-types": "1.0.4" + "@moonbeam-network/xcm-builder": "2.0.0", + "@moonbeam-network/xcm-types": "2.0.0" }, "peerDependencies": { "@polkadot/types": "^10.10.1", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 68c6dd84..78305fca 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,30 @@ # @moonbeam-network/xcm-sdk +## 2.0.0 + +### Major Changes + +- [#178](https://github.com/moonbeam-foundation/xcm-sdk/pull/178) [`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614) Thanks [@mmaurello](https://github.com/mmaurello)! - Upgrate Viem and ethers major versions + + Breaking changes: we now require either `viem` V2 or `ethers` V6 + + To upgrade to this version just update the corresponding library. Here are the migration guides for both: + + viem: + https://wagmi.sh/core/guides/migrate-from-v1-to-v2 + https://wagmi.sh/react/guides/migrate-from-v1-to-v2 + + ethers: + https://docs.ethers.org/v6/migrating/ + +### Patch Changes + +- Updated dependencies [[`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614)]: + - @moonbeam-network/xcm-config@2.0.0 + - @moonbeam-network/xcm-utils@2.0.0 + - @moonbeam-network/xcm-builder@2.0.0 + - @moonbeam-network/xcm-types@2.0.0 + ## 1.4.24 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index b321556c..076fe7ac 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.24", + "version": "2.0.0", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -51,10 +51,10 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.13", - "@moonbeam-network/xcm-config": "1.3.28", - "@moonbeam-network/xcm-types": "1.0.4", - "@moonbeam-network/xcm-utils": "1.0.4", + "@moonbeam-network/xcm-builder": "2.0.0", + "@moonbeam-network/xcm-config": "2.0.0", + "@moonbeam-network/xcm-types": "2.0.0", + "@moonbeam-network/xcm-utils": "2.0.0", "big.js": "^6.2.1" }, "peerDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index a345a741..4824009f 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,27 @@ # @moonbeam-network/xcm-types +## 2.0.0 + +### Major Changes + +- [#178](https://github.com/moonbeam-foundation/xcm-sdk/pull/178) [`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614) Thanks [@mmaurello](https://github.com/mmaurello)! - Upgrate Viem and ethers major versions + + Breaking changes: we now require either `viem` V2 or `ethers` V6 + + To upgrade to this version just update the corresponding library. Here are the migration guides for both: + + viem: + https://wagmi.sh/core/guides/migrate-from-v1-to-v2 + https://wagmi.sh/react/guides/migrate-from-v1-to-v2 + + ethers: + https://docs.ethers.org/v6/migrating/ + +### Patch Changes + +- Updated dependencies [[`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614)]: + - @moonbeam-network/xcm-utils@2.0.0 + ## 1.0.4 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 42845618..421eed3d 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-types", - "version": "1.0.4", + "version": "2.0.0", "description": "Moonbeam XCM Types", "scripts": { "build": "tsup", @@ -49,7 +49,7 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-utils": "1.0.4", + "@moonbeam-network/xcm-utils": "2.0.0", "big.js": "^6.2.1", "type-fest": "^3.8.0" } diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 764410e7..a291a3b6 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,22 @@ # @moonbeam-network/xcm-utils +## 2.0.0 + +### Major Changes + +- [#178](https://github.com/moonbeam-foundation/xcm-sdk/pull/178) [`5e77c1ed8aba82a3b12bf52393cef5b658351614`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5e77c1ed8aba82a3b12bf52393cef5b658351614) Thanks [@mmaurello](https://github.com/mmaurello)! - Upgrate Viem and ethers major versions + + Breaking changes: we now require either `viem` V2 or `ethers` V6 + + To upgrade to this version just update the corresponding library. Here are the migration guides for both: + + viem: + https://wagmi.sh/core/guides/migrate-from-v1-to-v2 + https://wagmi.sh/react/guides/migrate-from-v1-to-v2 + + ethers: + https://docs.ethers.org/v6/migrating/ + ## 1.0.4 ### Patch Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index ae325961..d5ec5da5 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-utils", - "version": "1.0.4", + "version": "2.0.0", "description": "Moonbeam XCM utilities", "scripts": { "build": "tsup",