]> git.codecow.com Git - libnemo.git/log
libnemo.git
6 months agoFix private property access.
Chris Duncan [Sat, 20 Sep 2025 22:09:53 +0000 (15:09 -0700)]
Fix private property access.

6 months agoReturn block hash as hex only and convert back to bytes if needed.
Chris Duncan [Sat, 20 Sep 2025 22:00:19 +0000 (15:00 -0700)]
Return block hash as hex only and convert back to bytes if needed.

6 months agoRemove class self-references.
Chris Duncan [Sat, 20 Sep 2025 21:24:53 +0000 (14:24 -0700)]
Remove class self-references.

6 months agoDevice connection rate limits itself to twice per second so align polling with that.
Chris Duncan [Sat, 20 Sep 2025 06:38:43 +0000 (23:38 -0700)]
Device connection rate limits itself to twice per second so align polling with that.

6 months agoScrap complicated promise weaving with simple serial queue.
Chris Duncan [Sat, 20 Sep 2025 06:36:29 +0000 (23:36 -0700)]
Scrap complicated promise weaving with simple serial queue.

6 months agoFix test order.
Chris Duncan [Sat, 20 Sep 2025 06:35:39 +0000 (23:35 -0700)]
Fix test order.

6 months agoWait for polling to end before executing command.
Chris Duncan [Sat, 20 Sep 2025 05:47:51 +0000 (22:47 -0700)]
Wait for polling to end before executing command.

6 months agoClose devices instead of forgetting them.
Chris Duncan [Fri, 19 Sep 2025 21:06:51 +0000 (14:06 -0700)]
Close devices instead of forgetting them.

6 months agoSplit up interface swap tests from main Ledger permission tests. Add busy flag. Ensur...
Chris Duncan [Fri, 19 Sep 2025 08:39:39 +0000 (01:39 -0700)]
Split up interface swap tests from main Ledger permission tests. Add busy flag. Ensure transport closes with finally calls. Override USB with HID if it's supported. Could use some cleanup but almost there I think.

6 months agoFix error message typo.
Chris Duncan [Fri, 19 Sep 2025 07:19:09 +0000 (00:19 -0700)]
Fix error message typo.

6 months agoRefactor Ledger polling. Working OK now, just need to verify fix for polling while...
Chris Duncan [Thu, 18 Sep 2025 21:37:25 +0000 (14:37 -0700)]
Refactor Ledger polling. Working OK now, just need to verify fix for polling while busy and polling Bluetooth which doesn't really work well.

6 months agoRemove extra event listeners.
Chris Duncan [Thu, 18 Sep 2025 03:56:57 +0000 (20:56 -0700)]
Remove extra event listeners.

6 months agoRequire Ledger dependency instead of making it optional. Update consuming classes...
Chris Duncan [Wed, 17 Sep 2025 22:20:01 +0000 (15:20 -0700)]
Require Ledger dependency instead of making it optional. Update consuming classes as needed. Start fixing device event listeners.

6 months agoOutput linked sourcemap only in dev builds to reduce source file size.
Chris Duncan [Wed, 17 Sep 2025 19:31:22 +0000 (12:31 -0700)]
Output linked sourcemap only in dev builds to reduce source file size.

6 months agoUpdate browser target to regain ArrayBuffer functions.
Chris Duncan [Wed, 17 Sep 2025 15:18:12 +0000 (08:18 -0700)]
Update browser target to regain ArrayBuffer functions.

6 months agoFix map iterator.
Chris Duncan [Wed, 17 Sep 2025 15:07:39 +0000 (08:07 -0700)]
Fix map iterator.

6 months agoAvoid self references by using static this. Explictly type transport responses and...
Chris Duncan [Wed, 17 Sep 2025 15:00:22 +0000 (08:00 -0700)]
Avoid self references by using static this. Explictly type transport responses and errors. Fix USB vendor ID reference.

6 months agoSet Ledger vendor ID explicitly and document source link.
Chris Duncan [Wed, 17 Sep 2025 14:59:09 +0000 (07:59 -0700)]
Set Ledger vendor ID explicitly and document source link.

6 months agoRestore IIFE build.
Chris Duncan [Wed, 17 Sep 2025 14:58:40 +0000 (07:58 -0700)]
Restore IIFE build.

6 months agoChange Ledger package dependencies to optional peers provided by consumer and move...
Chris Duncan [Wed, 17 Sep 2025 14:58:32 +0000 (07:58 -0700)]
Change Ledger package dependencies to optional peers provided by consumer and move Ledger initialization to a function of the Tools module.

6 months agoSet Ledger status once when starting or stopping connection polling.
Chris Duncan [Wed, 17 Sep 2025 13:06:22 +0000 (06:06 -0700)]
Set Ledger status once when starting or stopping connection polling.

6 months agoDynamically export Ledger class and start building additional support for its feature...
Chris Duncan [Tue, 16 Sep 2025 21:51:14 +0000 (14:51 -0700)]
Dynamically export Ledger class and start building additional support for its features in Wallet and tests.

6 months agoScrap IIFE build.
Chris Duncan [Tue, 16 Sep 2025 21:50:41 +0000 (14:50 -0700)]
Scrap IIFE build.

6 months agoAdd UNSUPPORTED as a valid Ledger status instead of throwing.
Chris Duncan [Tue, 16 Sep 2025 20:44:03 +0000 (13:44 -0700)]
Add UNSUPPORTED as a valid Ledger status instead of throwing.

6 months agoReorganize Ledger class to top lib directory instead of wallet.
Chris Duncan [Tue, 16 Sep 2025 20:32:03 +0000 (13:32 -0700)]
Reorganize Ledger class to top lib directory instead of wallet.

6 months agoMerge branch 'releases/v0.9'
Chris Duncan [Mon, 15 Sep 2025 23:47:04 +0000 (16:47 -0700)]
Merge branch 'releases/v0.9'

6 months agov0.9.0 releases/v0.9
Chris Duncan [Mon, 15 Sep 2025 23:44:15 +0000 (16:44 -0700)]
v0.9.0

6 months agoMerge branch 'next/ledger-webhid'
Chris Duncan [Mon, 15 Sep 2025 23:24:45 +0000 (16:24 -0700)]
Merge branch 'next/ledger-webhid'

6 months agoSo much code has to be excluded for useful test coverage that it's not worth keeping...
Chris Duncan [Mon, 15 Sep 2025 23:21:16 +0000 (16:21 -0700)]
So much code has to be excluded for useful test coverage that it's not worth keeping the annotations.

6 months agoOpt-in implemented classes and functions to test code coverage.
Chris Duncan [Mon, 15 Sep 2025 22:46:20 +0000 (15:46 -0700)]
Opt-in implemented classes and functions to test code coverage.

6 months agoDisable all test code coverage by default to exclude bundled dependencies.
Chris Duncan [Mon, 15 Sep 2025 22:29:17 +0000 (15:29 -0700)]
Disable all test code coverage by default to exclude bundled dependencies.

6 months agoFix test script arguments.
Chris Duncan [Mon, 15 Sep 2025 21:33:23 +0000 (14:33 -0700)]
Fix test script arguments.

6 months agoClean up all restored wallets after test.
Chris Duncan [Mon, 15 Sep 2025 21:28:31 +0000 (14:28 -0700)]
Clean up all restored wallets after test.

6 months agoFix build script execution.
Chris Duncan [Mon, 15 Sep 2025 21:25:23 +0000 (14:25 -0700)]
Fix build script execution.

6 months agoFix missing constants from unminified build.
Chris Duncan [Mon, 15 Sep 2025 21:25:03 +0000 (14:25 -0700)]
Fix missing constants from unminified build.

6 months agoUpdate dependencies.
Chris Duncan [Mon, 15 Sep 2025 21:16:23 +0000 (14:16 -0700)]
Update dependencies.

6 months agoSimplify prod build option overrides.
Chris Duncan [Mon, 15 Sep 2025 21:14:53 +0000 (14:14 -0700)]
Simplify prod build option overrides.

6 months agoInclude IIFE module in production builds.
Chris Duncan [Mon, 15 Sep 2025 21:10:10 +0000 (14:10 -0700)]
Include IIFE module in production builds.

6 months agoRename build scripts.
Chris Duncan [Mon, 15 Sep 2025 21:09:12 +0000 (14:09 -0700)]
Rename build scripts.

6 months agoReorganize polyfills again.
Chris Duncan [Mon, 15 Sep 2025 21:08:26 +0000 (14:08 -0700)]
Reorganize polyfills again.

6 months agoSeparate esbuild config from build scripts.
Chris Duncan [Mon, 15 Sep 2025 21:04:02 +0000 (14:04 -0700)]
Separate esbuild config from build scripts.

6 months agoRename esbuild files for clarity.
Chris Duncan [Mon, 15 Sep 2025 21:01:57 +0000 (14:01 -0700)]
Rename esbuild files for clarity.

6 months agoMove all esbuild artifacts into their own directory.
Chris Duncan [Mon, 15 Sep 2025 21:01:11 +0000 (14:01 -0700)]
Move all esbuild artifacts into their own directory.

6 months agoMinify in prod builds only.
Chris Duncan [Mon, 15 Sep 2025 20:59:04 +0000 (13:59 -0700)]
Minify in prod builds only.

6 months agoRemove unnecessary expansion.
Chris Duncan [Mon, 15 Sep 2025 20:58:16 +0000 (13:58 -0700)]
Remove unnecessary expansion.

6 months agoOrganize esbuild-injected files to their own directory.
Chris Duncan [Mon, 15 Sep 2025 20:49:08 +0000 (13:49 -0700)]
Organize esbuild-injected files to their own directory.

6 months agoAdd Ledger connection as a configurable setting for wallets.
Chris Duncan [Mon, 15 Sep 2025 19:20:03 +0000 (12:20 -0700)]
Add Ledger connection as a configurable setting for wallets.

6 months agoFix test destroying Ledger connection before signature rejection can be checked.
Chris Duncan [Mon, 15 Sep 2025 15:41:02 +0000 (08:41 -0700)]
Fix test destroying Ledger connection before signature rejection can be checked.

6 months agoFix Ledger verify method.
Chris Duncan [Mon, 15 Sep 2025 15:24:47 +0000 (08:24 -0700)]
Fix Ledger verify method.

6 months agoPrivatize Ledger transport.
Chris Duncan [Mon, 15 Sep 2025 14:44:08 +0000 (07:44 -0700)]
Privatize Ledger transport.

6 months agoAdd HID event listeners.
Chris Duncan [Mon, 15 Sep 2025 14:23:23 +0000 (07:23 -0700)]
Add HID event listeners.

6 months agoFix documentation.
Chris Duncan [Mon, 15 Sep 2025 14:22:49 +0000 (07:22 -0700)]
Fix documentation.

6 months agoRemove unused symbol.
Chris Duncan [Mon, 15 Sep 2025 13:51:25 +0000 (06:51 -0700)]
Remove unused symbol.

6 months agoDefine type of Ledger vendor ID.
Chris Duncan [Mon, 15 Sep 2025 13:51:10 +0000 (06:51 -0700)]
Define type of Ledger vendor ID.

6 months agoSet Ledger status after disconnecting.
Chris Duncan [Sun, 14 Sep 2025 22:23:09 +0000 (15:23 -0700)]
Set Ledger status after disconnecting.

6 months agoMove Ledger disconnect function out of wallet lock method and into Ledger class....
Chris Duncan [Sun, 14 Sep 2025 20:41:51 +0000 (13:41 -0700)]
Move Ledger disconnect function out of wallet lock method and into Ledger class. Add disconnect loops for HID and BLE in addition to USB.

6 months agoAdd test for fractional nano amounts.
Chris Duncan [Sun, 14 Sep 2025 06:56:20 +0000 (23:56 -0700)]
Add test for fractional nano amounts.

6 months agoMerge branch 'main' into next/ledger-webhid
Chris Duncan [Sat, 13 Sep 2025 07:05:13 +0000 (00:05 -0700)]
Merge branch 'main' into next/ledger-webhid

6 months agoMerge branch 'releases/v0.8'
Chris Duncan [Sat, 13 Sep 2025 06:59:10 +0000 (23:59 -0700)]
Merge branch 'releases/v0.8'

6 months agov0.8.1 releases/v0.8
Chris Duncan [Sat, 13 Sep 2025 06:54:29 +0000 (23:54 -0700)]
v0.8.1

6 months agoMerge branch 'releases/v0.7'
Chris Duncan [Sat, 13 Sep 2025 06:51:26 +0000 (23:51 -0700)]
Merge branch 'releases/v0.7'

6 months agov0.7.1 releases/v0.7
Chris Duncan [Sat, 13 Sep 2025 06:48:06 +0000 (23:48 -0700)]
v0.7.1

6 months agoMerge branch 'releases/v0.6'
Chris Duncan [Sat, 13 Sep 2025 06:45:41 +0000 (23:45 -0700)]
Merge branch 'releases/v0.6'

6 months agov0.6.1 releases/v0.6
Chris Duncan [Sat, 13 Sep 2025 06:40:25 +0000 (23:40 -0700)]
v0.6.1

6 months agoMerge branch 'releases/v0.5'
Chris Duncan [Sat, 13 Sep 2025 06:38:00 +0000 (23:38 -0700)]
Merge branch 'releases/v0.5'

6 months agov0.5.4 releases/v0.5
Chris Duncan [Sat, 13 Sep 2025 06:28:42 +0000 (23:28 -0700)]
v0.5.4

6 months agoMerge branch 'releases/v0.4'
Chris Duncan [Sat, 13 Sep 2025 06:18:34 +0000 (23:18 -0700)]
Merge branch 'releases/v0.4'

6 months agov0.4.3 releases/v0.4
Chris Duncan [Sat, 13 Sep 2025 06:12:56 +0000 (23:12 -0700)]
v0.4.3

6 months agoMerge branch 'releases/v0.3'
Chris Duncan [Sat, 13 Sep 2025 06:11:26 +0000 (23:11 -0700)]
Merge branch 'releases/v0.3'

6 months agov0.3.3 releases/v0.3
Chris Duncan [Sat, 13 Sep 2025 06:06:56 +0000 (23:06 -0700)]
v0.3.3

6 months agoFix restored wallets with undefined type.
Chris Duncan [Sat, 13 Sep 2025 05:27:22 +0000 (22:27 -0700)]
Fix restored wallets with undefined type.

6 months agoFix restored wallets with undefined type.
Chris Duncan [Sat, 13 Sep 2025 05:27:22 +0000 (22:27 -0700)]
Fix restored wallets with undefined type.

6 months agoFix restored wallets with undefined type.
Chris Duncan [Sat, 13 Sep 2025 05:46:52 +0000 (22:46 -0700)]
Fix restored wallets with undefined type.

6 months agoFix restored wallets with undefined type.
Chris Duncan [Sat, 13 Sep 2025 05:43:32 +0000 (22:43 -0700)]
Fix restored wallets with undefined type.

6 months agoFix restored wallets with undefined type.
Chris Duncan [Sat, 13 Sep 2025 05:27:22 +0000 (22:27 -0700)]
Fix restored wallets with undefined type.

6 months agoFix restored wallets with undefined type.
Chris Duncan [Sat, 13 Sep 2025 05:27:22 +0000 (22:27 -0700)]
Fix restored wallets with undefined type.

6 months agoPrioritize HID over USB.
Chris Duncan [Wed, 10 Sep 2025 22:22:02 +0000 (15:22 -0700)]
Prioritize HID over USB.
Current Ledger firmware is having issues communicating over WebUSB. WebHID is a different tech stack, and Ledger recommends using it first and foremost, so reorder priority of transports.

6 months agoMerge branch 'releases/v0.8'
Chris Duncan [Wed, 10 Sep 2025 22:05:27 +0000 (15:05 -0700)]
Merge branch 'releases/v0.8'

6 months agov0.8.0
Chris Duncan [Wed, 10 Sep 2025 22:00:48 +0000 (15:00 -0700)]
v0.8.0

6 months agoMerge branch 'next/lock-message'
Chris Duncan [Wed, 10 Sep 2025 21:49:48 +0000 (14:49 -0700)]
Merge branch 'next/lock-message'

6 months agoMerge branch 'releases/v0.7'
Chris Duncan [Wed, 10 Sep 2025 21:33:30 +0000 (14:33 -0700)]
Merge branch 'releases/v0.7'

6 months agoTest invalid autolock config.
Chris Duncan [Wed, 10 Sep 2025 20:55:25 +0000 (13:55 -0700)]
Test invalid autolock config.

6 months agoRequire 10-second minimum vault timeout.
Chris Duncan [Wed, 10 Sep 2025 20:54:58 +0000 (13:54 -0700)]
Require 10-second minimum vault timeout.

6 months agoImplement vault timer config in wallet.
Chris Duncan [Wed, 10 Sep 2025 06:15:23 +0000 (23:15 -0700)]
Implement vault timer config in wallet.

6 months agoRefactor timeout config.
Chris Duncan [Wed, 10 Sep 2025 04:44:32 +0000 (21:44 -0700)]
Refactor timeout config.
Get timeout config from data extraction.
Throw if locked when calling config.
Limit to 0 minutes min and 10 minutes max.
Reset timer on new config.
Use configured timeout for other timer resets.

6 months agoFix tsc complaint about ArrayBufferLike.
Chris Duncan [Wed, 10 Sep 2025 04:26:36 +0000 (21:26 -0700)]
Fix tsc complaint about ArrayBufferLike.

6 months agoDraft vault config.
Chris Duncan [Tue, 9 Sep 2025 21:48:50 +0000 (14:48 -0700)]
Draft vault config.

6 months agoSet vault ticker no-op that won't get shaken as dead code.
Chris Duncan [Tue, 9 Sep 2025 21:37:30 +0000 (14:37 -0700)]
Set vault ticker no-op that won't get shaken as dead code.

6 months agoCheck that navigator exists in test environment before dereferencing.
Chris Duncan [Tue, 9 Sep 2025 21:24:25 +0000 (14:24 -0700)]
Check that navigator exists in test environment before dereferencing.

6 months agoFix test loading arbitrary wallet instead of intended one.
Chris Duncan [Tue, 9 Sep 2025 21:22:17 +0000 (14:22 -0700)]
Fix test loading arbitrary wallet instead of intended one.

6 months agoAdd support for Ledger psuedo-unlock in Vault so that Wallet isLocked still works...
Chris Duncan [Tue, 9 Sep 2025 21:01:19 +0000 (14:01 -0700)]
Add support for Ledger psuedo-unlock in Vault so that Wallet isLocked still works regardless of wallet type.

6 months agoFix account map iteration in Ledger test.
Chris Duncan [Tue, 9 Sep 2025 20:59:45 +0000 (13:59 -0700)]
Fix account map iteration in Ledger test.

6 months agoMove vault lock resolution to method out of action handler.
Chris Duncan [Tue, 9 Sep 2025 20:10:33 +0000 (13:10 -0700)]
Move vault lock resolution to method out of action handler.

6 months agoSkip Ledger tests if no USB support.
Chris Duncan [Tue, 9 Sep 2025 20:09:57 +0000 (13:09 -0700)]
Skip Ledger tests if no USB support.

6 months agoImplement notification to wallet of vault lock or unlock.
Chris Duncan [Tue, 9 Sep 2025 19:32:22 +0000 (12:32 -0700)]
Implement notification to wallet of vault lock or unlock.

6 months agoInclude source maps for debugging dev builds.
Chris Duncan [Tue, 9 Sep 2025 14:48:12 +0000 (07:48 -0700)]
Include source maps for debugging dev builds.

6 months agoRemove dead code from previous testing.
Chris Duncan [Tue, 9 Sep 2025 13:20:34 +0000 (06:20 -0700)]
Remove dead code from previous testing.

6 months agov0.7.0
Chris Duncan [Tue, 9 Sep 2025 05:12:08 +0000 (22:12 -0700)]
v0.7.0

6 months agoMerge branch 'next/maps'
Chris Duncan [Tue, 9 Sep 2025 04:56:33 +0000 (21:56 -0700)]
Merge branch 'next/maps'

6 months agoUpdate type definitions.
Chris Duncan [Tue, 9 Sep 2025 04:50:37 +0000 (21:50 -0700)]
Update type definitions.