From a39f5b85a0ddf04aee3b91d7af69e6f19532b643 Mon Sep 17 00:00:00 2001 From: Anson Date: Thu, 22 Feb 2024 07:57:49 +0300 Subject: [PATCH] Feature/lit 2545 js sdk fix cosmjscrypto (#381) * fix: should add dependencies to related packages * fix: include cosmos dependencies * fix: correct version * fix: correct version --- package.json | 7 +++++-- packages/constants/src/lib/version.ts | 2 +- packages/contracts-sdk/package.json | 5 +++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 199db46495..0ce8d24041 100644 --- a/package.json +++ b/package.json @@ -69,8 +69,11 @@ }, "private": true, "dependencies": { - "@cosmjs/proto-signing": "^0.30.1", - "@cosmjs/stargate": "^0.30.1", + "@cosmjs/proto-signing": "0.30.1", + "@cosmjs/stargate": "0.30.1", + "@cosmjs/encoding": "0.30.1", + "@cosmjs/crypto": "0.30.1", + "@cosmjs/amino": "0.30.1", "@cypress/code-coverage": "^3.10.0", "@cypress/react": "^6.2.0", "@cypress/webpack-dev-server": "^2.3.0", diff --git a/packages/constants/src/lib/version.ts b/packages/constants/src/lib/version.ts index d37bddaa47..7b914148ea 100644 --- a/packages/constants/src/lib/version.ts +++ b/packages/constants/src/lib/version.ts @@ -1 +1 @@ -export const version = '3.2.1'; +export const version = "3.2.1"; diff --git a/packages/contracts-sdk/package.json b/packages/contracts-sdk/package.json index 2455f7b75e..fec67fa1cd 100644 --- a/packages/contracts-sdk/package.json +++ b/packages/contracts-sdk/package.json @@ -18,6 +18,11 @@ "access": "public", "directory": "../../dist/packages/contracts-sdk" }, + "dependencies": { + "@cosmjs/encoding": "0.30.1", + "@cosmjs/crypto": "0.30.1", + "@cosmjs/amino": "0.30.1" + }, "peerDependencies": { "bs58": "^5.0.0", "date-and-time": "^2.4.1",