From d284fff364d76ca306d53b1f6435a86b45af7e1c Mon Sep 17 00:00:00 2001 From: Qiwei Yang Date: Mon, 13 May 2024 10:22:53 +0800 Subject: [PATCH] fix: version (#131) --- package.json | 4 ++-- src/utils/check-message-version.ts | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7a94603..2aea0b4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polkawallet/bridge", - "version": "0.1.7-0", + "version": "0.1.7-3", "description": "polkawallet bridge sdk", "main": "index.js", "types": "index.d.ts", @@ -55,5 +55,5 @@ "jest": "^28.1.1", "typescript": "^4.7.4" }, - "stableVersion": "0.1.6" + "stableVersion": "0.1.7-3" } diff --git a/src/utils/check-message-version.ts b/src/utils/check-message-version.ts index 9a75e56..36455a0 100644 --- a/src/utils/check-message-version.ts +++ b/src/utils/check-message-version.ts @@ -3,8 +3,6 @@ import { AnyApi } from "@acala-network/sdk-core"; export type XCMVersion = "V1" | "V3" | "V4"; export function checkMessageVersion(api: AnyApi) { - return "V4"; - let version: XCMVersion = "V1"; try {