Skip to content

Commit 9301d95

Browse files
committed
version returning fix for local non-standard fork versions
1 parent 61e84ca commit 9301d95

File tree

3 files changed

+393
-51
lines changed

3 files changed

+393
-51
lines changed

extension-files/bringweb3-sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@emurgo/bringweb3-chrome-extension-kit",
3-
"version": "1.5.1-fix.2",
3+
"version": "1.5.1-fix.3",
44
"description": "Crypto cashback integration kit for crypto outlets extension",
55
"main": "dist/index.js",
66
"module": "dist/index.mjs",

extension-files/bringweb3-sdk/utils/getVersion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import pJson from '../package.json'
22
import { ENV_VERSION } from './config'
33

44
const getVersion = (): string => {
5-
return ENV_VERSION || pJson.version
5+
return (ENV_VERSION || pJson.version).split('-')[0] as string
66
}
77

88
export default getVersion

0 commit comments

Comments
 (0)