Skip to content

Commit 973ed62

Browse files
authored
Merge pull request #314 from MetaMask/feat/v17.2.1
bump scure/base packages
2 parents 888d885 + d8db7ad commit 973ed62

9 files changed

Lines changed: 60 additions & 24 deletions

File tree

.github/workflows/backward.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
npm run pack:lerna
4747
4848
- name: Clone comp tests
49-
uses: actions/checkout@v4
49+
uses: actions/checkout@v6
5050
with:
5151
repository: tkey/backward-compatibility-tests
5252
path: backward-compatibility-tests

.github/workflows/buildMocks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
npm run pack:lerna
3939
4040
- name: Clone comp tests
41-
uses: actions/checkout@master
41+
uses: actions/checkout@v6
4242
with:
4343
repository: tkey/backward-compatibility-tests
4444
path: ./backward-compatibility-tests
@@ -59,7 +59,7 @@ jobs:
5959
cd ./backward-compatibility-tests
6060
npm run build-mocks
6161
62-
- uses: EndBug/add-and-commit@v7
62+
- uses: EndBug/add-and-commit@v9
6363
with:
6464
author_name: Auto
6565
branch: master

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "17.2.0",
2+
"version": "17.2.1",
33
"packages": ["packages/*"],
44
"npmClient": "npm"
55
}

package-lock.json

Lines changed: 45 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/default/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tkey/default",
3-
"version": "17.2.0",
3+
"version": "17.2.1",
44
"description": "TKey default library",
55
"main": "dist/lib.cjs/index.js",
66
"module": "dist/lib.esm/index.js",
@@ -39,14 +39,14 @@
3939
"@tkey/core": "^17.2.0",
4040
"@tkey/service-provider-base": "^17.2.0",
4141
"@tkey/service-provider-torus": "^17.2.0",
42-
"@tkey/share-serialization": "^17.2.0",
42+
"@tkey/share-serialization": "^17.2.1",
4343
"@tkey/share-transfer": "^17.2.0",
4444
"@tkey/storage-layer-torus": "^17.2.0"
4545
},
4646
"devDependencies": {
4747
"@tkey/private-keys": "^17.2.0",
4848
"@tkey/security-questions": "^17.2.0",
49-
"@tkey/seed-phrase": "^17.2.0",
49+
"@tkey/seed-phrase": "^17.2.1",
5050
"@toruslabs/eccrypto": "^7.0.0",
5151
"@toruslabs/http-helpers": "^9.0.0",
5252
"viem": "^2.47.5",

packages/seed-phrase/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tkey/seed-phrase",
3-
"version": "17.2.0",
3+
"version": "17.2.1",
44
"description": "TKey Seed Phrase Module",
55
"author": "Torus Labs",
66
"homepage": "https://github.com/tkey/tkey#readme",
@@ -41,8 +41,8 @@
4141
"@babel/runtime": "7.x"
4242
},
4343
"dependencies": {
44-
"@scure/bip32": "^1.7.0",
45-
"@scure/bip39": "^1.6.0",
44+
"@scure/bip32": "^2.0.1",
45+
"@scure/bip39": "^2.0.1",
4646
"@tkey/common-types": "^17.2.0",
4747
"@toruslabs/metadata-helpers": "^8.2.0"
4848
},

packages/seed-phrase/src/MetamaskSeedPhraseFormat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { HDKey } from "@scure/bip32";
22
import { entropyToMnemonic, mnemonicToSeedSync, validateMnemonic } from "@scure/bip39";
3-
import { wordlist } from "@scure/bip39/wordlists/english";
3+
import { wordlist } from "@scure/bip39/wordlists/english.js";
44
import {
55
generateAddressFromPublicKey,
66
generateID,

packages/share-serialization/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tkey/share-serialization",
3-
"version": "17.2.0",
3+
"version": "17.2.1",
44
"description": "TKey share serialization module",
55
"author": "Torus Labs",
66
"homepage": "https://github.com/tkey/tkey#readme",
@@ -46,9 +46,9 @@
4646
"vitest": "4.1.0"
4747
},
4848
"dependencies": {
49+
"@noble/hashes": "^2.0.1",
4950
"@tkey/common-types": "^17.2.0",
50-
"@toruslabs/metadata-helpers": "^8.2.0",
51-
"ethereum-cryptography": "^3.2.0"
51+
"@toruslabs/metadata-helpers": "^8.2.0"
5252
},
5353
"bugs": {
5454
"url": "https://github.com/tkey/tkey/issues"

packages/share-serialization/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1+
import { sha256 } from "@noble/hashes/sha2.js";
12
import { bytesToHex, hexToBytes } from "@toruslabs/metadata-helpers";
2-
import { sha256 } from "ethereum-cryptography/sha256";
33

44
import ShareSerializationError from "./errors";
55

0 commit comments

Comments
 (0)