Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: add test case
  • Loading branch information
ByteZhang1024 committed Aug 21, 2025
commit deea5da7dfe507dd876b15746bd5ffb15b4cb94f
15 changes: 15 additions & 0 deletions packages/keyring-eth-onekey/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Changed

- Bump axios
- Init Project

[Unreleased]: https://github.com/MetaMask/accounts/
8 changes: 4 additions & 4 deletions packages/keyring-eth-onekey/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ module.exports = merge(baseConfig, {
// An object that configures minimum threshold enforcement for coverage results
coverageThreshold: {
global: {
branches: 52.38,
functions: 91.22,
lines: 90.15,
statements: 90.35,
branches: 74.2,
functions: 91.25,
lines: 92.78,
statements: 92.83,
},
},
});
25 changes: 10 additions & 15 deletions packages/keyring-eth-onekey/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eth-onekey-bridge-keyring",
"version": "0.3.5",
"name": "@metamask/eth-onekey-keyring",
"version": "0.1.0",
"description": "A MetaMask compatible keyring, for onekey hardware wallets",
"keywords": [
"ethereum",
Expand Down Expand Up @@ -38,10 +38,10 @@
"build": "ts-bridge --project tsconfig.build.json --no-references",
"build:clean": "yarn build --clean",
"build:docs": "typedoc",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-trezor-keyring",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-trezor-keyring",
"publish:preview": "yarn npm publish --tag preview",
"changelog:update": "../../scripts/update-changelog.sh @metamask/eth-onekey-keyring",
"changelog:validate": "../../scripts/validate-changelog.sh @metamask/eth-onekey-keyring",
"publish": "yarn npm publish",
"publish:preview": "yarn npm publish --tag preview",
"test": "jest && jest-it-up",
"test:clean": "jest --clearCache",
"test:watch": "jest --watch"
Expand All @@ -50,23 +50,18 @@
"@ethereumjs/tx": "^5.4.0",
"@ethereumjs/util": "^9.1.0",
"@metamask/eth-sig-util": "^8.2.0",
"@metamask/utils": "^11.1.0",
"@noble/hashes": "^1.7.0",
"@onekeyfe/hd-core": "1.1.6-patch.1",
"@onekeyfe/hd-shared": "1.1.6-patch.1",
"@onekeyfe/hd-transport": "1.1.6-patch.1",
"@onekeyfe/hd-web-sdk": "1.1.6-patch.1",
"bytebuffer": "^5.0.1",
"hdkey": "^2.1.0",
"ripple-address-codec": "^5.0.0",
"tslib": "^2.6.2"
"@onekeyfe/hd-core": "1.1.6-patch.4",
"@onekeyfe/hd-shared": "1.1.6-patch.4",
"@onekeyfe/hd-transport": "1.1.6-patch.4",
"@onekeyfe/hd-web-sdk": "1.1.6-patch.4",
"hdkey": "^2.1.0"
},
"devDependencies": {
"@ethereumjs/common": "^4.4.0",
"@lavamoat/allow-scripts": "^3.2.1",
"@lavamoat/preinstall-always-fail": "^2.1.0",
"@metamask/auto-changelog": "^3.4.4",
"@metamask/keyring-utils": "workspace:^",
"@ts-bridge/cli": "^0.6.3",
"@types/bytebuffer": "^5.0.49",
"@types/ethereumjs-tx": "^1.0.1",
Expand Down
Loading
Loading