]> git.codecow.com Git - libnemo.git/log
libnemo.git
8 months agoSeparate node and browser options during build. Conditionally import lib based on...
Chris Duncan [Wed, 23 Jul 2025 05:46:04 +0000 (22:46 -0700)]
Separate node and browser options during build. Conditionally import lib based on environment when testing.

8 months agoUse browser build in test webpage.
Chris Duncan [Wed, 23 Jul 2025 05:34:24 +0000 (22:34 -0700)]
Use browser build in test webpage.

8 months agoModify scripts to publish both browser and node builds, and pass tests before publishing.
Chris Duncan [Wed, 23 Jul 2025 05:32:26 +0000 (22:32 -0700)]
Modify scripts to publish both browser and node builds, and pass tests before publishing.

8 months agoFix legal comments so they are not removed by esbuild.
Chris Duncan [Wed, 23 Jul 2025 05:11:13 +0000 (22:11 -0700)]
Fix legal comments so they are not removed by esbuild.

8 months agoSet seed to null when locking and destroying. Import salt as entropy when fetching...
Chris Duncan [Wed, 23 Jul 2025 05:08:35 +0000 (22:08 -0700)]
Set seed to null when locking and destroying. Import salt as entropy when fetching from safe.

8 months agoRequire seed to derive accounts. Update tests to check for null seed instead of blank.
Chris Duncan [Tue, 22 Jul 2025 02:51:43 +0000 (19:51 -0700)]
Require seed to derive accounts. Update tests to check for null seed instead of blank.

8 months agoAdd locked wallet destroy test. Return null seed when locked.
Chris Duncan [Tue, 22 Jul 2025 00:35:14 +0000 (17:35 -0700)]
Add locked wallet destroy test. Return null seed when locked.

8 months agoUse object for destroy calls.
Chris Duncan [Mon, 21 Jul 2025 22:55:13 +0000 (15:55 -0700)]
Use object for destroy calls.

8 months agoFix test coverate report script.
Chris Duncan [Mon, 21 Jul 2025 21:06:12 +0000 (14:06 -0700)]
Fix test coverate report script.

8 months agoDelete unused performance webpage.
Chris Duncan [Mon, 21 Jul 2025 20:42:07 +0000 (13:42 -0700)]
Delete unused performance webpage.

8 months agoUpdate tests.
Chris Duncan [Mon, 21 Jul 2025 20:41:31 +0000 (13:41 -0700)]
Update tests.

8 months agoFix blake exception tests.
Chris Duncan [Mon, 21 Jul 2025 20:23:02 +0000 (13:23 -0700)]
Fix blake exception tests.

8 months agoRemove unused convert functions.
Chris Duncan [Mon, 21 Jul 2025 20:19:18 +0000 (13:19 -0700)]
Remove unused convert functions.

8 months agoAdd BLAKE2b tests for coverage.
Chris Duncan [Mon, 21 Jul 2025 20:16:07 +0000 (13:16 -0700)]
Add BLAKE2b tests for coverage.

8 months agoRemove unused convert function.
Chris Duncan [Mon, 21 Jul 2025 20:15:53 +0000 (13:15 -0700)]
Remove unused convert function.

8 months agoFix test suites to work with Node test runner by collecting all promises at once...
Chris Duncan [Mon, 21 Jul 2025 20:05:40 +0000 (13:05 -0700)]
Fix test suites to work with Node test runner by collecting all promises at once per file.

8 months agoReturn wallet derived accounts private keys as bytes instead of strings. Remove unuse...
Chris Duncan [Mon, 21 Jul 2025 20:04:39 +0000 (13:04 -0700)]
Return wallet derived accounts private keys as bytes instead of strings. Remove unused imports. Remove extraneous logging.

8 months agoFix imports.
Chris Duncan [Mon, 21 Jul 2025 18:51:28 +0000 (11:51 -0700)]
Fix imports.

8 months agoRemove unused default export.
Chris Duncan [Mon, 21 Jul 2025 18:51:15 +0000 (11:51 -0700)]
Remove unused default export.

8 months agoUpdate worker queue type definition. Remove previously emitted types when building.
Chris Duncan [Mon, 21 Jul 2025 18:30:01 +0000 (11:30 -0700)]
Update worker queue type definition. Remove previously emitted types when building.

8 months agoMigrate rolodex to IndexedDB. Fix safe methods to only return once transaction is...
Chris Duncan [Mon, 21 Jul 2025 18:26:27 +0000 (11:26 -0700)]
Migrate rolodex to IndexedDB. Fix safe methods to only return once transaction is complete and requests committed. Update tests.

8 months agoFix sample environment file.
Chris Duncan [Mon, 21 Jul 2025 18:11:07 +0000 (11:11 -0700)]
Fix sample environment file.

8 months agoUpdate rolodex add method.
Chris Duncan [Mon, 21 Jul 2025 06:29:42 +0000 (23:29 -0700)]
Update rolodex add method.

8 months agoSave rolodex data insecurely by using same empty password when storing and fetching...
Chris Duncan [Mon, 21 Jul 2025 06:21:45 +0000 (23:21 -0700)]
Save rolodex data insecurely by using same empty password when storing and fetching since it's not key data.

8 months agoAdjust naming for safe methods again.
Chris Duncan [Mon, 21 Jul 2025 05:16:56 +0000 (22:16 -0700)]
Adjust naming for safe methods again.

8 months agoStore iv and salt as buffers instead of strings.
Chris Duncan [Mon, 21 Jul 2025 05:15:22 +0000 (22:15 -0700)]
Store iv and salt as buffers instead of strings.

8 months agoCreate db store for rolodex.
Chris Duncan [Mon, 21 Jul 2025 04:40:24 +0000 (21:40 -0700)]
Create db store for rolodex.

8 months agoUpdate Safe method names for clarity.
Chris Duncan [Mon, 21 Jul 2025 04:40:02 +0000 (21:40 -0700)]
Update Safe method names for clarity.

8 months agoRemove unnecessary statement.
Chris Duncan [Sun, 20 Jul 2025 10:45:50 +0000 (03:45 -0700)]
Remove unnecessary statement.

8 months agoFix worker response format. Add cause information to hex convert function.
Chris Duncan [Sun, 20 Jul 2025 10:43:03 +0000 (03:43 -0700)]
Fix worker response format. Add cause information to hex convert function.

8 months agoRefactor types for data passed to workers and reduce back to one parameter with buffe...
Chris Duncan [Sun, 20 Jul 2025 10:31:43 +0000 (03:31 -0700)]
Refactor types for data passed to workers and reduce back to one parameter with buffers extracted for transfer. Rename worker queue file for clarity. Get node test runner half working.

8 months agoMove test runner check into its own file so it only runs once in node.
Chris Duncan [Sat, 19 Jul 2025 21:56:21 +0000 (14:56 -0700)]
Move test runner check into its own file so it only runs once in node.

8 months agoUse dev package to test IndexedDB calls in node. Configure workers to use worker...
Chris Duncan [Sat, 19 Jul 2025 21:51:44 +0000 (14:51 -0700)]
Use dev package to test IndexedDB calls in node. Configure workers to use worker threads in node. Update equality assertion to match node test runner calls. Use test runner test functions in node environment.

8 months agoReorganize test globals.
Chris Duncan [Fri, 18 Jul 2025 21:45:20 +0000 (14:45 -0700)]
Reorganize test globals.

8 months agoRemove shim that was never implemented.
Chris Duncan [Fri, 18 Jul 2025 21:28:29 +0000 (14:28 -0700)]
Remove shim that was never implemented.

8 months agoConfigure workers differently based on build environment.
Chris Duncan [Fri, 18 Jul 2025 21:27:03 +0000 (14:27 -0700)]
Configure workers differently based on build environment.

8 months agoEnable worker communications in node environment.
Chris Duncan [Fri, 18 Jul 2025 21:25:58 +0000 (14:25 -0700)]
Enable worker communications in node environment.

8 months agoMake adjustments to esbuild for node environment.
Chris Duncan [Fri, 18 Jul 2025 21:25:18 +0000 (14:25 -0700)]
Make adjustments to esbuild for node environment.

8 months agoFix undefined constant when in worker.
Chris Duncan [Fri, 18 Jul 2025 20:04:58 +0000 (13:04 -0700)]
Fix undefined constant when in worker.

8 months agoDefine key iterations as constant.
Chris Duncan [Fri, 18 Jul 2025 17:22:46 +0000 (10:22 -0700)]
Define key iterations as constant.

8 months agoRemove unused import.
Chris Duncan [Fri, 18 Jul 2025 16:15:31 +0000 (09:15 -0700)]
Remove unused import.

8 months agoSpruce up test output.
Chris Duncan [Fri, 18 Jul 2025 16:06:30 +0000 (09:06 -0700)]
Spruce up test output.

8 months agoRefactor safe retrieval to get multiple records.
Chris Duncan [Fri, 18 Jul 2025 16:06:21 +0000 (09:06 -0700)]
Refactor safe retrieval to get multiple records.

8 months agoUse this properly in static context.
Chris Duncan [Fri, 18 Jul 2025 15:03:02 +0000 (08:03 -0700)]
Use this properly in static context.

8 months agoMerge branch 'next/always-locked'
Chris Duncan [Fri, 18 Jul 2025 14:20:05 +0000 (07:20 -0700)]
Merge branch 'next/always-locked'

8 months agoShorten account private key export method and make primary implementation private...
Chris Duncan [Fri, 18 Jul 2025 14:17:59 +0000 (07:17 -0700)]
Shorten account private key export method and make primary implementation private. Pass buffer data directly to worker queue assignments instead of using intermediate variables. Update tests.

8 months agoUpdate tests.
Chris Duncan [Fri, 18 Jul 2025 13:44:39 +0000 (06:44 -0700)]
Update tests.

8 months agoProcess derived public keys from wallet in single call.
Chris Duncan [Fri, 18 Jul 2025 13:07:40 +0000 (06:07 -0700)]
Process derived public keys from wallet in single call.

8 months agoFix block private key account proxy.
Chris Duncan [Fri, 18 Jul 2025 07:07:16 +0000 (00:07 -0700)]
Fix block private key account proxy.

8 months agoRemove logging now that issues with account derivation are fixed.
Chris Duncan [Fri, 18 Jul 2025 07:04:55 +0000 (00:04 -0700)]
Remove logging now that issues with account derivation are fixed.

8 months agoFix public key bug in account constructor.
Chris Duncan [Fri, 18 Jul 2025 07:03:30 +0000 (00:03 -0700)]
Fix public key bug in account constructor.

8 months agoFix bugs in data transfer to workers.
Chris Duncan [Fri, 18 Jul 2025 06:31:44 +0000 (23:31 -0700)]
Fix bugs in data transfer to workers.

8 months agoBegin refactoring to allow Accounts to be encrypted en masse while retaining their...
Chris Duncan [Fri, 18 Jul 2025 06:05:03 +0000 (23:05 -0700)]
Begin refactoring to allow Accounts to be encrypted en masse while retaining their index for their Wallet.

8 months agoFormatting.
Chris Duncan [Fri, 18 Jul 2025 05:56:56 +0000 (22:56 -0700)]
Formatting.

8 months agoUse type alias to simplify definitions.
Chris Duncan [Fri, 18 Jul 2025 04:41:08 +0000 (21:41 -0700)]
Use type alias to simplify definitions.

8 months agoGenerate encryption key once per safe storage request.
Chris Duncan [Thu, 17 Jul 2025 21:43:59 +0000 (14:43 -0700)]
Generate encryption key once per safe storage request.

8 months agoAdd worker-related types to definition file.
Chris Duncan [Thu, 17 Jul 2025 19:32:51 +0000 (12:32 -0700)]
Add worker-related types to definition file.

8 months agoRename queue method for clarity.
Chris Duncan [Thu, 17 Jul 2025 17:01:46 +0000 (10:01 -0700)]
Rename queue method for clarity.

8 months agoCombine imports from public data into one method. Reorganize methods.
Chris Duncan [Thu, 17 Jul 2025 16:25:23 +0000 (09:25 -0700)]
Combine imports from public data into one method. Reorganize methods.

8 months agoEmit types to new ignored directory.
Chris Duncan [Thu, 17 Jul 2025 15:48:56 +0000 (08:48 -0700)]
Emit types to new ignored directory.

8 months agoStart migrating to bespoke type definition file.
Chris Duncan [Thu, 17 Jul 2025 15:46:08 +0000 (08:46 -0700)]
Start migrating to bespoke type definition file.

8 months agoMark restricted constructors as private to inform Typescript engine.
Chris Duncan [Thu, 17 Jul 2025 15:37:22 +0000 (08:37 -0700)]
Mark restricted constructors as private to inform Typescript engine.

8 months agoFix esbuild common options file type and type import.
Chris Duncan [Thu, 17 Jul 2025 15:30:55 +0000 (08:30 -0700)]
Fix esbuild common options file type and type import.

8 months agoFormatting.
Chris Duncan [Thu, 17 Jul 2025 15:22:16 +0000 (08:22 -0700)]
Formatting.

8 months agoAdd logging to Safe now that prod build removes logging statements. Leave retrieved...
Chris Duncan [Thu, 17 Jul 2025 13:13:41 +0000 (06:13 -0700)]
Add logging to Safe now that prod build removes logging statements. Leave retrieved records in the db until explicitly destroyed. Refactor key derivation and record data validation.

8 months agoImplement esbuild common options. Add build target for prod that strips logging and...
Chris Duncan [Thu, 17 Jul 2025 13:12:31 +0000 (06:12 -0700)]
Implement esbuild common options. Add build target for prod that strips logging and debugging. Update package scripts.

8 months agoRename to assume browser target for esbuild dev work.
Chris Duncan [Thu, 17 Jul 2025 13:11:31 +0000 (06:11 -0700)]
Rename to assume browser target for esbuild dev work.

8 months agoExport esbuild options common to all build targets.
Chris Duncan [Thu, 17 Jul 2025 13:10:19 +0000 (06:10 -0700)]
Export esbuild options common to all build targets.

8 months agoFormatting.
Chris Duncan [Thu, 17 Jul 2025 12:55:55 +0000 (05:55 -0700)]
Formatting.

8 months agoRemove debugger statement.
Chris Duncan [Thu, 17 Jul 2025 00:23:05 +0000 (17:23 -0700)]
Remove debugger statement.

8 months agoFix block signing tests.
Chris Duncan [Thu, 17 Jul 2025 00:19:44 +0000 (17:19 -0700)]
Fix block signing tests.

8 months agoRefactor to support multiple stores at once.
Chris Duncan [Wed, 16 Jul 2025 21:58:18 +0000 (14:58 -0700)]
Refactor to support multiple stores at once.

8 months agoLock accounts using the wallet seed by default. Refactor account unlock method as...
Chris Duncan [Wed, 16 Jul 2025 14:58:45 +0000 (07:58 -0700)]
Lock accounts using the wallet seed by default. Refactor account unlock method as export method. Always overwrite records in Safe db. Update tests.

8 months agoLock accounts using wallet seed as password when locking wallet.
Chris Duncan [Wed, 16 Jul 2025 14:23:53 +0000 (07:23 -0700)]
Lock accounts using wallet seed as password when locking wallet.

8 months agoUse different salt and IV when storing in safe. Encode entire object of buffers as...
Chris Duncan [Wed, 16 Jul 2025 14:20:10 +0000 (07:20 -0700)]
Use different salt and IV when storing in safe. Encode entire object of buffers as base32 before stringifying and encrypting as single object.

8 months agoUse static codecs for convert functions. Formatting.
Chris Duncan [Wed, 16 Jul 2025 14:18:00 +0000 (07:18 -0700)]
Use static codecs for convert functions. Formatting.

8 months agoRefactor account class.
Chris Duncan [Wed, 16 Jul 2025 06:03:39 +0000 (23:03 -0700)]
Refactor account class.

8 months agoMerge branch 'next/bytes-to-workers'
Chris Duncan [Wed, 16 Jul 2025 04:08:47 +0000 (21:08 -0700)]
Merge branch 'next/bytes-to-workers'

8 months agoResume testing wallet import.
Chris Duncan [Wed, 16 Jul 2025 04:07:46 +0000 (21:07 -0700)]
Resume testing wallet import.

8 months agoAdd signing method to Account class and simplify Block sign method accordingly.
Chris Duncan [Wed, 16 Jul 2025 04:06:22 +0000 (21:06 -0700)]
Add signing method to Account class and simplify Block sign method accordingly.

8 months agoRemove unused import
Chris Duncan [Wed, 16 Jul 2025 03:46:55 +0000 (20:46 -0700)]
Remove unused import

8 months agoReturn results directly from workers instead of always putting in an array now that...
Chris Duncan [Wed, 16 Jul 2025 03:29:44 +0000 (20:29 -0700)]
Return results directly from workers instead of always putting in an array now that we use Data objects.

8 months agoRemove debugger statement.
Chris Duncan [Wed, 16 Jul 2025 03:05:46 +0000 (20:05 -0700)]
Remove debugger statement.

8 months agoCall single account from test and uncomment tests.
Chris Duncan [Wed, 16 Jul 2025 03:03:41 +0000 (20:03 -0700)]
Call single account from test and uncomment tests.

8 months agoFix signature verification.
Chris Duncan [Tue, 15 Jul 2025 21:39:00 +0000 (14:39 -0700)]
Fix signature verification.

8 months agoFix wallet import from libnemo ID.
Chris Duncan [Tue, 15 Jul 2025 21:14:56 +0000 (14:14 -0700)]
Fix wallet import from libnemo ID.

8 months agoFix issue with restoring from new wallet ID format with prefix.
Chris Duncan [Tue, 15 Jul 2025 20:58:36 +0000 (13:58 -0700)]
Fix issue with restoring from new wallet ID format with prefix.

8 months agoFix account lock and unlock.
Chris Duncan [Tue, 15 Jul 2025 20:54:28 +0000 (13:54 -0700)]
Fix account lock and unlock.

8 months agoFix conversion of detached buffers to hexadecimal.
Chris Duncan [Tue, 15 Jul 2025 20:42:07 +0000 (13:42 -0700)]
Fix conversion of detached buffers to hexadecimal.

8 months agoFix account derivation. Start extracting types to bespoke type definition file.
Chris Duncan [Tue, 15 Jul 2025 19:36:05 +0000 (12:36 -0700)]
Fix account derivation. Start extracting types to bespoke type definition file.

8 months agoFix null coin and use Nano as default for BIP-44 ckd.
Chris Duncan [Tue, 15 Jul 2025 18:50:47 +0000 (11:50 -0700)]
Fix null coin and use Nano as default for BIP-44 ckd.

8 months agoDo not store mnemonic if it does not exist.
Chris Duncan [Tue, 15 Jul 2025 18:43:14 +0000 (11:43 -0700)]
Do not store mnemonic if it does not exist.

8 months agoLots of refactoring to support bytes for workers and to simplify how workers work.
Chris Duncan [Tue, 15 Jul 2025 18:36:48 +0000 (11:36 -0700)]
Lots of refactoring to support bytes for workers and to simplify how workers work.

8 months agoFormatting.
Chris Duncan [Tue, 15 Jul 2025 12:36:48 +0000 (05:36 -0700)]
Formatting.

8 months agoFormatting.
Chris Duncan [Tue, 15 Jul 2025 12:36:03 +0000 (05:36 -0700)]
Formatting.

8 months agoMerge pool into workers barrel module.
Chris Duncan [Tue, 15 Jul 2025 12:33:37 +0000 (05:33 -0700)]
Merge pool into workers barrel module.

8 months agoFormatting.
Chris Duncan [Tue, 15 Jul 2025 12:33:11 +0000 (05:33 -0700)]
Formatting.

8 months agoMerge base wallet with barrel module.
Chris Duncan [Tue, 15 Jul 2025 12:25:52 +0000 (05:25 -0700)]
Merge base wallet with barrel module.

8 months agoBig refactoring, need to fix Safe set and get, how the data is structured.
Chris Duncan [Mon, 14 Jul 2025 21:35:37 +0000 (14:35 -0700)]
Big refactoring, need to fix Safe set and get, how the data is structured.

8 months agoUse for loop instead of map function for performance.
Chris Duncan [Mon, 14 Jul 2025 16:44:27 +0000 (09:44 -0700)]
Use for loop instead of map function for performance.