Skip to content

Commit

Permalink
Updated dependencies (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
ekenigs authored Jun 10, 2024
1 parent 44753f6 commit 2ee7f8e
Show file tree
Hide file tree
Showing 10 changed files with 82 additions and 68 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-dogs-develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@moonbeam-network/xcm-config': patch
---

Updated Moonbase Relay WS URL
7 changes: 7 additions & 0 deletions .changeset/healthy-carrots-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@moonbeam-network/xcm-types': patch
'@moonbeam-network/xcm-utils': patch
'@moonbeam-network/xcm-sdk': patch
---

Updated dependencies
111 changes: 56 additions & 55 deletions package-lock.json

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

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"packages/*",
"examples/*"
],
"packageManager": "[email protected]",
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev",
Expand Down Expand Up @@ -56,20 +57,20 @@
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.5.0",
"eslint-plugin-jest": "^28.6.0",
"eslint-plugin-prettier": "^5.1.3",
"ethers": "^6.11.1",
"ethers": "^6.13.0",
"glob": "^10.4.1",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.5",
"prettier": "^3.3.0",
"prettier": "^3.3.1",
"ts-jest": "^29.1.4",
"ts-node": "^10.9.2",
"tsup": "^8.1.0",
"turbo": "^1.13.3",
"turbo": "^2.0.3",
"typescript": "^5.4.5",
"viem": "^2.9.16"
"viem": "^2.13.7"
},
"lint-staged": {
"*.{js,ts}": "eslint --cache --fix --max-warnings=0",
Expand Down
2 changes: 1 addition & 1 deletion packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const alphanetRelay = new Parachain({
name: 'Alphanet Relay',
parachainId: 0,
ss58Format: 42,
ws: 'wss://frag-moonbase-relay-rpc-ws.g.moonbase.moonbeam.network',
ws: 'wss://fro-moon-rpc-1-moonbase-relay-rpc-1.moonbase.ol-infra.network',
});

export const astar = new Parachain({
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@polkadot/api-augment": "^10.10.1",
"@polkadot/types": "^10.10.1",
"@polkadot/util": "^12.5.1",
"ethers": "^6.11.0",
"viem": "^2.9.16"
"ethers": "^6.13.0",
"viem": "^2.13.7"
}
}
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@
"big.js": "^6.2.1"
},
"peerDependencies": {
"viem": "^2.9.16"
"viem": "^2.13.7"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"main": "./build/index.cjs",
"dependencies": {
"big.js": "^6.2.1",
"lru-cache": "^7.17.0"
"lru-cache": "^10.2.2"
},
"devDependencies": {
"@types/big.js": "^6.2.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/src/polkadot/polkadot.api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ApiPromise, WsProvider } from '@polkadot/api';
import { typesBundle } from '@polkadot/apps-config';
import LRU from 'lru-cache';
import { LRUCache } from 'lru-cache';

export enum MRLTypes {
// TODO handle both types according to RT version
Expand All @@ -10,7 +10,7 @@ export enum MRLTypes {
VersionedUserAction = 'VersionedUserAction',
}

const cache = new LRU<string, Promise<ApiPromise>>({
const cache = new LRUCache<string, Promise<ApiPromise>>({
max: 20,
// eslint-disable-next-line sort-keys
dispose: async (promise: Promise<ApiPromise>) => {
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"tasks": {
"build": {
"outputs": ["build/**"],
"dependsOn": ["^build"]
Expand Down

0 comments on commit 2ee7f8e

Please sign in to comment.