]>
git.codecow.com Git - libnemo.git/log
Chris Duncan [Fri, 25 Jul 2025 13:01:54 +0000 (06:01 -0700)]
Add wallet types so they can be restored properly later.
Chris Duncan [Fri, 25 Jul 2025 12:39:06 +0000 (05:39 -0700)]
Add type for wallet export. Remove references to "session" storage which is no longer used.
Chris Duncan [Fri, 25 Jul 2025 12:34:16 +0000 (05:34 -0700)]
Fix export of all wallet IDs.
Chris Duncan [Fri, 25 Jul 2025 12:31:28 +0000 (05:31 -0700)]
Create dedicated export method for Safe.
Chris Duncan [Fri, 25 Jul 2025 12:14:40 +0000 (05:14 -0700)]
`libnemo_` wallet prefix is unnecessary now that they have their own IndexedDB store.
Chris Duncan [Fri, 25 Jul 2025 12:10:41 +0000 (05:10 -0700)]
Refactor Ledger browser support check to static sync method and deprecate redundant init method. Skip Ledger tests if browser unsupported. Update Ledger types.
Chris Duncan [Fri, 25 Jul 2025 11:42:42 +0000 (04:42 -0700)]
Proceed with destroying accounts and wallet while promises are being fulfilled.
Chris Duncan [Fri, 25 Jul 2025 11:40:22 +0000 (04:40 -0700)]
Checking for null is redundant.
Chris Duncan [Fri, 25 Jul 2025 11:28:02 +0000 (04:28 -0700)]
Rename primary worker method for clarity.
Chris Duncan [Fri, 25 Jul 2025 11:22:24 +0000 (04:22 -0700)]
Merge branch 'releases/v0.1'
Chris Duncan [Thu, 24 Jul 2025 21:42:52 +0000 (14:42 -0700)]
v0.1.0
Chris Duncan [Thu, 24 Jul 2025 21:33:36 +0000 (14:33 -0700)]
Merge branch 'next/sign-from-wallet'
Chris Duncan [Thu, 24 Jul 2025 21:33:01 +0000 (14:33 -0700)]
Update README.
Chris Duncan [Thu, 24 Jul 2025 21:23:56 +0000 (14:23 -0700)]
Add wallet method to sign blocks by account index. Remove nonce signing from Ledger wallet since the underlying device app functionality is broken. Add tests and types accordingly.
Chris Duncan [Thu, 24 Jul 2025 15:21:33 +0000 (08:21 -0700)]
Restore accidentally deleted type.
Chris Duncan [Thu, 24 Jul 2025 15:10:01 +0000 (08:10 -0700)]
Merge branch 'next/mobile'
Chris Duncan [Thu, 24 Jul 2025 15:09:40 +0000 (08:09 -0700)]
Update dependencies.
Chris Duncan [Thu, 24 Jul 2025 15:04:43 +0000 (08:04 -0700)]
Update types.
Chris Duncan [Thu, 24 Jul 2025 14:43:24 +0000 (07:43 -0700)]
Reorder queue methods.
Chris Duncan [Thu, 24 Jul 2025 14:43:03 +0000 (07:43 -0700)]
Set idle flag before exiting queue processing.
Chris Duncan [Thu, 24 Jul 2025 14:00:21 +0000 (07:00 -0700)]
On second thought, just specify the type of array instead of messing with its contents.
Chris Duncan [Thu, 24 Jul 2025 13:57:27 +0000 (06:57 -0700)]
Pop empty object off test queue so type checking still works as well as queue.
Chris Duncan [Thu, 24 Jul 2025 13:56:23 +0000 (06:56 -0700)]
Reenable all tests from main.
Chris Duncan [Thu, 24 Jul 2025 13:56:08 +0000 (06:56 -0700)]
Disable ledger tests for now.
Chris Duncan [Thu, 24 Jul 2025 13:55:58 +0000 (06:55 -0700)]
Fix import url.
Chris Duncan [Wed, 23 Jul 2025 23:46:02 +0000 (16:46 -0700)]
Merge branch 'next/test-coverage'
Chris Duncan [Wed, 23 Jul 2025 23:44:26 +0000 (16:44 -0700)]
Fix account import from public key. Remove tests for private key on Ledger devices.
Chris Duncan [Wed, 23 Jul 2025 22:20:29 +0000 (15:20 -0700)]
bkp
Chris Duncan [Wed, 23 Jul 2025 21:23:07 +0000 (14:23 -0700)]
Typecheck test files.
Chris Duncan [Wed, 23 Jul 2025 21:14:25 +0000 (14:14 -0700)]
Ensure test runner is done before running tests.
Chris Duncan [Wed, 23 Jul 2025 21:14:10 +0000 (14:14 -0700)]
Refactor wallet to throw if mnemonic or seed are accessed while locked.
Chris Duncan [Wed, 23 Jul 2025 20:34:37 +0000 (13:34 -0700)]
Add destroy method to mnemonic class.
Chris Duncan [Wed, 23 Jul 2025 19:55:24 +0000 (12:55 -0700)]
Add blake type definition.
Chris Duncan [Wed, 23 Jul 2025 19:48:19 +0000 (12:48 -0700)]
Add more type definitions.
Chris Duncan [Wed, 23 Jul 2025 19:48:09 +0000 (12:48 -0700)]
Reorder tool functions and explicitly export a const to bundle the tools.
Chris Duncan [Wed, 23 Jul 2025 19:40:03 +0000 (12:40 -0700)]
Include type field on package file.
Chris Duncan [Wed, 23 Jul 2025 17:46:39 +0000 (10:46 -0700)]
Exclude test files from test coverage. Fix coverage report launch.
Chris Duncan [Wed, 23 Jul 2025 17:36:31 +0000 (10:36 -0700)]
Fix conditional dynamic imports in test file to reenable static analysis and type checking.
Chris Duncan [Wed, 23 Jul 2025 17:35:37 +0000 (10:35 -0700)]
Rename file.
Chris Duncan [Wed, 23 Jul 2025 17:34:49 +0000 (10:34 -0700)]
Specify bundles in package based on environment.
Chris Duncan [Wed, 23 Jul 2025 17:33:34 +0000 (10:33 -0700)]
Consolidate testing suite queue into test globals file.
Chris Duncan [Wed, 23 Jul 2025 17:33:06 +0000 (10:33 -0700)]
Add rolodex to type definition file.
Chris Duncan [Wed, 23 Jul 2025 15:39:24 +0000 (08:39 -0700)]
Rename vectors and performance files as modules.
Chris Duncan [Wed, 23 Jul 2025 15:30:27 +0000 (08:30 -0700)]
Test coverage for invalid block signing input.
Chris Duncan [Wed, 23 Jul 2025 15:24:23 +0000 (08:24 -0700)]
Destroy temporary signing account in block method. Check that wallets are destroyed during tests.
Chris Duncan [Wed, 23 Jul 2025 15:23:21 +0000 (08:23 -0700)]
Refactor account import to reduce repeated code.
Chris Duncan [Wed, 23 Jul 2025 15:23:06 +0000 (08:23 -0700)]
Remove ability to sign block from Block using its account since password is not an argument at this time and signing with a locked account should be done from the account itself.
Chris Duncan [Wed, 23 Jul 2025 15:21:48 +0000 (08:21 -0700)]
Reuse internal method for NaCl hashing instead of new Blake instance with the goal of eventually implementing Blake internally.
Chris Duncan [Wed, 23 Jul 2025 15:21:02 +0000 (08:21 -0700)]
Provide more info when wallet destruction fails.
Chris Duncan [Wed, 23 Jul 2025 15:20:40 +0000 (08:20 -0700)]
Remove unused import.
Chris Duncan [Wed, 23 Jul 2025 15:20:31 +0000 (08:20 -0700)]
Consolidate browser and node build scripts.
Chris Duncan [Wed, 23 Jul 2025 15:19:47 +0000 (08:19 -0700)]
Fix JSdoc typo.
Chris Duncan [Wed, 23 Jul 2025 05:48:21 +0000 (22:48 -0700)]
Update imports for performance tests too.
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.
Chris Duncan [Wed, 23 Jul 2025 05:34:24 +0000 (22:34 -0700)]
Use browser build in test webpage.
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.
Chris Duncan [Wed, 23 Jul 2025 05:11:13 +0000 (22:11 -0700)]
Fix legal comments so they are not removed by esbuild.
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.
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.
Chris Duncan [Tue, 22 Jul 2025 00:35:14 +0000 (17:35 -0700)]
Add locked wallet destroy test. Return null seed when locked.
Chris Duncan [Mon, 21 Jul 2025 22:55:13 +0000 (15:55 -0700)]
Use object for destroy calls.
Chris Duncan [Mon, 21 Jul 2025 21:06:12 +0000 (14:06 -0700)]
Fix test coverate report script.
Chris Duncan [Mon, 21 Jul 2025 20:42:07 +0000 (13:42 -0700)]
Delete unused performance webpage.
Chris Duncan [Mon, 21 Jul 2025 20:41:31 +0000 (13:41 -0700)]
Update tests.
Chris Duncan [Mon, 21 Jul 2025 20:23:02 +0000 (13:23 -0700)]
Fix blake exception tests.
Chris Duncan [Mon, 21 Jul 2025 20:19:18 +0000 (13:19 -0700)]
Remove unused convert functions.
Chris Duncan [Mon, 21 Jul 2025 20:16:07 +0000 (13:16 -0700)]
Add BLAKE2b tests for coverage.
Chris Duncan [Mon, 21 Jul 2025 20:15:53 +0000 (13:15 -0700)]
Remove unused convert function.
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.
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.
Chris Duncan [Mon, 21 Jul 2025 18:51:28 +0000 (11:51 -0700)]
Fix imports.
Chris Duncan [Mon, 21 Jul 2025 18:51:15 +0000 (11:51 -0700)]
Remove unused default export.
Chris Duncan [Mon, 21 Jul 2025 18:30:01 +0000 (11:30 -0700)]
Update worker queue type definition. Remove previously emitted types when building.
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.
Chris Duncan [Mon, 21 Jul 2025 18:11:07 +0000 (11:11 -0700)]
Fix sample environment file.
Chris Duncan [Mon, 21 Jul 2025 06:29:42 +0000 (23:29 -0700)]
Update rolodex add method.
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.
Chris Duncan [Mon, 21 Jul 2025 05:16:56 +0000 (22:16 -0700)]
Adjust naming for safe methods again.
Chris Duncan [Mon, 21 Jul 2025 05:15:22 +0000 (22:15 -0700)]
Store iv and salt as buffers instead of strings.
Chris Duncan [Mon, 21 Jul 2025 04:40:24 +0000 (21:40 -0700)]
Create db store for rolodex.
Chris Duncan [Mon, 21 Jul 2025 04:40:02 +0000 (21:40 -0700)]
Update Safe method names for clarity.
Chris Duncan [Sun, 20 Jul 2025 10:45:50 +0000 (03:45 -0700)]
Remove unnecessary statement.
Chris Duncan [Sun, 20 Jul 2025 10:43:03 +0000 (03:43 -0700)]
Fix worker response format. Add cause information to hex convert function.
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.
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.
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.
Chris Duncan [Fri, 18 Jul 2025 21:45:20 +0000 (14:45 -0700)]
Reorganize test globals.
Chris Duncan [Fri, 18 Jul 2025 21:28:29 +0000 (14:28 -0700)]
Remove shim that was never implemented.
Chris Duncan [Fri, 18 Jul 2025 21:27:03 +0000 (14:27 -0700)]
Configure workers differently based on build environment.
Chris Duncan [Fri, 18 Jul 2025 21:25:58 +0000 (14:25 -0700)]
Enable worker communications in node environment.
Chris Duncan [Fri, 18 Jul 2025 21:25:18 +0000 (14:25 -0700)]
Make adjustments to esbuild for node environment.
Chris Duncan [Fri, 18 Jul 2025 20:04:58 +0000 (13:04 -0700)]
Fix undefined constant when in worker.
Chris Duncan [Fri, 18 Jul 2025 17:22:46 +0000 (10:22 -0700)]
Define key iterations as constant.
Chris Duncan [Fri, 18 Jul 2025 16:15:31 +0000 (09:15 -0700)]
Remove unused import.
Chris Duncan [Fri, 18 Jul 2025 16:06:30 +0000 (09:06 -0700)]
Spruce up test output.
Chris Duncan [Fri, 18 Jul 2025 16:06:21 +0000 (09:06 -0700)]
Refactor safe retrieval to get multiple records.
Chris Duncan [Fri, 18 Jul 2025 15:03:02 +0000 (08:03 -0700)]
Use this properly in static context.
Chris Duncan [Fri, 18 Jul 2025 14:20:05 +0000 (07:20 -0700)]
Merge branch 'next/always-locked'
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.
Chris Duncan [Fri, 18 Jul 2025 13:44:39 +0000 (06:44 -0700)]
Update tests.