Skip to content

Internal Test#343

Draft
ByteZhang1024 wants to merge 3 commits into
onekeyfrom
test/api
Draft

Internal Test#343
ByteZhang1024 wants to merge 3 commits into
onekeyfrom
test/api

Conversation

@ByteZhang1024

Copy link
Copy Markdown
Contributor

No description provided.

@what-the-diff

what-the-diff Bot commented Jul 18, 2024

Copy link
Copy Markdown

PR Summary

  • Added a New Element to UI
    A watermark component was added to the App interface for branding and identification purposes. Also, the related translations for this component were included in two languages: English (US) and Chinese (zh-CN).

  • Enhanced Playground Area With Testing Elements
    Elements called TestDeviceExpect and related types have been added to the playground area, where developers and users can interactively test the software.

  • Improved Blockchain Operations Support
    The application now has an enhanced capability to interact with various blockchains. This includes Ethereum, NEM, Starcoin, and the Lightning Network. These features allow the application to manage interactions with these blockchain networks, improving the application's interoperability.

  • Crypto API Expansion
    Several functions have been added to interact with various cryptocurrencies. These additions give the application wider capabilities when dealing with different digital currencies.

  • Imported a Context Hook
    The ApplicationContext helps in managing global state throughout the app in an efficient and straightforward manner.

  • Updated Device Manager
    With additional methods, the device manager can now perform more operations, providing richer functionality for device interactions.

  • File System Changes
    New files related to different functionalities were created. Some functionalities are testing features for Bitcoin (BTC) commands like CoinJoin and Ownership. Others involve managing device operations like firmware updates and device information.

  • Device Interaction Modifications
    Several import statements were adjusted for enhanced organization and maintenance.

  • Brought in Enhanced Cryptographical Functionality
    The PR has added more files to enable the application to perform more cryptographic operations and debugging abilities. These new files provide additional computational cryptography.

  • Introduction of a Variety of Blockchain Functionalities
    A broad range of blockchain functionalities has been added regarding properties like emmc, eos, evm, and nem among others. This greatly widens the number of blockchain-related tasks our application can perform.

  • Validation Procedures
    Implemented additional validation functions for getting addresses in various languages (BTC, Aptos, etc.). These changes enhance the reliability and correctness of the application.

  • Firmware Management Enhancements
    Many firmware-related enhancements were made on components like erasing firmware, updating firmware, and uploading firmware. Thus, the application now has improved firmware management abilities.

  • Improved Ethereum Operations
    Removed the getVersionRange function in DeviceRebootToBootloader.ts. Several Ethereum operation related changes were made, hence, enhancing Ethereum operation management.

  • Validation Checks Added
    Added validations for a number of operation results. This way, it bolsters the error handling efficiency

@ByteZhang1024
ByteZhang1024 force-pushed the test/api branch 2 times, most recently from 2ffabf5 to 82b21e5 Compare July 30, 2024 05:01
@socket-security

socket-security Bot commented Jul 30, 2024

Copy link
Copy Markdown

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn High
Protestware or unwanted behavior: npm es5-ext

Note: The script attempts to run a local post-install script, which could potentially contain malicious code. The error handling suggests that it is designed to fail silently, which is a common tactic in malicious scripts.

From: ?npm/es5-ext@0.10.64

ℹ Read more on: This package | This alert | What is protestware?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Consider that consuming this package may come along with functionality unrelated to its primary purpose.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/es5-ext@0.10.64. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@coderabbitai

coderabbitai Bot commented Oct 24, 2024

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch test/api

Comment @coderabbitai help to get the list of available commands and usage tips.

@wabicai
wabicai force-pushed the test/api branch 2 times, most recently from da8ef75 to 332e5da Compare March 21, 2025 03:38
@revan-zhang

revan-zhang commented Aug 14, 2025

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@ByteZhang1024
ByteZhang1024 force-pushed the test/api branch 3 times, most recently from 455943b to 68992e8 Compare December 6, 2025 10:01
Comment thread .github/workflows/build-example-web.yml Fixed
Comment thread .github/workflows/build-example-web.yml Fixed
@socket-security

socket-security Bot commented Feb 6, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​types/​web-bluetooth@​0.0.171001007281100
Added@​types/​w3c-web-usb@​1.0.101001007282100
Addedtypescript@​5.3.31001009010090

View full report

ByteZhang1024 and others added 3 commits February 28, 2026 15:11
Includes test cases and example implementations for all new features.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants