Skip to content

Commit

Permalink
Merge branch 'main' into elmar/remove-ethers
Browse files Browse the repository at this point in the history
  • Loading branch information
ekenigs committed Jun 21, 2024
2 parents 28a6a57 + 193957e commit 13c0655
Show file tree
Hide file tree
Showing 24 changed files with 273 additions and 118 deletions.
6 changes: 0 additions & 6 deletions .changeset/quick-parrots-kick.md

This file was deleted.

6 changes: 3 additions & 3 deletions examples/sdk-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
"author": "",
"license": "MIT",
"dependencies": {
"@moonbeam-network/xcm-config": "^2.3.0",
"@moonbeam-network/xcm-sdk": "^2.3.0",
"@moonbeam-network/xcm-utils": "2.1.0"
"@moonbeam-network/xcm-config": "2.4.1",
"@moonbeam-network/xcm-sdk": "2.4.1",
"@moonbeam-network/xcm-utils": "2.1.1"
},
"devDependencies": {
"bun": "^1.0.21"
Expand Down
72 changes: 27 additions & 45 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"tsup": "^8.1.0",
"turbo": "^2.0.3",
"typescript": "^5.4.5",
"viem": "^2.13.8",
"viem": "^2.15.1",
"vitest": "^1.6.0"
},
"lint-staged": {
Expand Down
10 changes: 10 additions & 0 deletions packages/builder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @moonbeam-network/xcm-builder

## 2.3.1

### Patch Changes

- [#278](https://github.com/moonbeam-foundation/xcm-sdk/pull/278) [`b032066`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b032066a07428607b75e6cb6f2a5e9f1e5d78b4f) Thanks [@Rihyx](https://github.com/Rihyx)! - Update Vime and fix vulnerability

- Updated dependencies [[`49b762d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/49b762dbe5882233d0e20ef51d82f92b94888bbe), [`d91de57`](https://github.com/moonbeam-foundation/xcm-sdk/commit/d91de57c34e66356e3b08c13c7f316464b5be670), [`b032066`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b032066a07428607b75e6cb6f2a5e9f1e5d78b4f)]:
- @moonbeam-network/xcm-types@2.2.3
- @moonbeam-network/xcm-utils@2.1.1

## 2.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/builder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonbeam-network/xcm-builder",
"version": "2.3.0",
"version": "2.3.1",
"description": "Moonbeam XCM builder",
"scripts": {
"build": "tsup",
Expand Down Expand Up @@ -49,8 +49,8 @@
"types": "./build/index.d.ts",
"main": "./build/index.cjs",
"dependencies": {
"@moonbeam-network/xcm-types": "2.2.2",
"@moonbeam-network/xcm-utils": "2.1.0",
"@moonbeam-network/xcm-types": "2.2.3",
"@moonbeam-network/xcm-utils": "2.1.1",
"big.js": "^6.2.1"
},
"peerDependencies": {
Expand Down
24 changes: 24 additions & 0 deletions packages/config/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @moonbeam-network/xcm-config

## 2.4.1

### Patch Changes

- [#281](https://github.com/moonbeam-foundation/xcm-sdk/pull/281) [`b33b190`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b33b1901720d928e2227a4f88a9347763eb98356) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Neuroweb ws endpoint and reduce USDT fees

## 2.4.0

### Minor Changes

- [#279](https://github.com/moonbeam-foundation/xcm-sdk/pull/279) [`453c481`](https://github.com/moonbeam-foundation/xcm-sdk/commit/453c48145c636f7257f24442a9e9cb0d1a6ef913) Thanks [@mmaurello](https://github.com/mmaurello)! - Rename Hydra DX to Hydration

## 2.3.1

### Patch Changes

- [#277](https://github.com/moonbeam-foundation/xcm-sdk/pull/277) [`49b762d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/49b762dbe5882233d0e20ef51d82f92b94888bbe) Thanks [@Rihyx](https://github.com/Rihyx)! - Add ERC20 token addresses

- [#278](https://github.com/moonbeam-foundation/xcm-sdk/pull/278) [`b032066`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b032066a07428607b75e6cb6f2a5e9f1e5d78b4f) Thanks [@Rihyx](https://github.com/Rihyx)! - Update Vime and fix vulnerability

- Updated dependencies [[`49b762d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/49b762dbe5882233d0e20ef51d82f92b94888bbe), [`d91de57`](https://github.com/moonbeam-foundation/xcm-sdk/commit/d91de57c34e66356e3b08c13c7f316464b5be670), [`b032066`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b032066a07428607b75e6cb6f2a5e9f1e5d78b4f)]:
- @moonbeam-network/xcm-types@2.2.3
- @moonbeam-network/xcm-builder@2.3.1

## 2.3.0

### Minor Changes
Expand Down
6 changes: 3 additions & 3 deletions packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@moonbeam-network/xcm-config",
"version": "2.3.0",
"version": "2.4.1",
"description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back",
"scripts": {
"build": "tsup",
Expand Down Expand Up @@ -49,8 +49,8 @@
"types": "./build/index.d.ts",
"main": "./build/index.cjs",
"dependencies": {
"@moonbeam-network/xcm-builder": "2.3.0",
"@moonbeam-network/xcm-types": "2.2.2"
"@moonbeam-network/xcm-builder": "2.3.1",
"@moonbeam-network/xcm-types": "2.2.3"
},
"peerDependencies": {
"@polkadot/types": "^11.2.1",
Expand Down
11 changes: 8 additions & 3 deletions packages/config/src/ConfigService/ConfigService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ import {
Parachain,
} from '@moonbeam-network/xcm-types';
import { assetsList, dev, glmr, tt1, unit } from '../assets';
import { hydraDX, moonbaseAlpha, moonbeam, pendulumAlphanet } from '../chains';
import {
hydration,
moonbaseAlpha,
moonbeam,
pendulumAlphanet,
} from '../chains';
import { ConfigService } from './ConfigService';

import { AssetConfig } from '../types/AssetConfig';
Expand Down Expand Up @@ -167,11 +172,11 @@ describe('config service', () => {

const chainConfig = new ChainConfig({
assets: [assetConfig],
chain: hydraDX,
chain: hydration,
});

configService.updateChainConfig(chainConfig);
const updated = configService.getChainConfig(hydraDX);
const updated = configService.getChainConfig(hydration);
expect(updated.getAssetsConfigs()).toStrictEqual(
chainConfig.getAssetsConfigs(),
);
Expand Down
Loading

0 comments on commit 13c0655

Please sign in to comment.