]> git.codecow.com Git - libnemo.git/log
libnemo.git
10 days agoFix possible undefined access.
Chris Duncan [Sun, 9 Aug 2026 20:37:10 +0000 (13:37 -0700)]
Fix possible undefined access.

10 days agoFix promise return.
Chris Duncan [Sun, 9 Aug 2026 19:31:40 +0000 (12:31 -0700)]
Fix promise return.

10 days agoAssign vault worker result to new object for better type resolution.
Chris Duncan [Sun, 9 Aug 2026 19:29:26 +0000 (12:29 -0700)]
Assign vault worker result to new object for better type resolution.

10 days agoPut task metadata in result with object keys.
Chris Duncan [Sun, 9 Aug 2026 19:25:00 +0000 (12:25 -0700)]
Put task metadata in result with object keys.

10 days agoReturn bytes instead of buffer to enable array ops.
Chris Duncan [Sun, 9 Aug 2026 19:22:28 +0000 (12:22 -0700)]
Return bytes instead of buffer to enable array ops.

10 days agoRemove unnecessary returns.
Chris Duncan [Sun, 9 Aug 2026 19:15:57 +0000 (12:15 -0700)]
Remove unnecessary returns.

10 days agoRemove extra brace and redundant type check.
Chris Duncan [Sun, 9 Aug 2026 19:12:44 +0000 (12:12 -0700)]
Remove extra brace and redundant type check.

10 days agoFix missing braces.
Chris Duncan [Sun, 9 Aug 2026 19:06:57 +0000 (12:06 -0700)]
Fix missing braces.

10 days agoRefactor secret buffers to enable proper zeroing.
Chris Duncan [Sun, 9 Aug 2026 18:58:34 +0000 (11:58 -0700)]
Refactor secret buffers to enable proper zeroing.

10 days agoCall other subtype Block methods explicitly.
Chris Duncan [Sun, 9 Aug 2026 16:40:48 +0000 (09:40 -0700)]
Call other subtype Block methods explicitly.

10 days agoRevert to labeled statements for env-specific worker init.
Chris Duncan [Sun, 9 Aug 2026 15:15:29 +0000 (08:15 -0700)]
Revert to labeled statements for env-specific worker init.

10 days agoReplace empty literal object initializer with Object method to avoid prototype pollution.
Chris Duncan [Sun, 9 Aug 2026 14:24:41 +0000 (07:24 -0700)]
Replace empty literal object initializer with Object method to avoid prototype pollution.

10 days agoRevert combined return to env-labeled statements to rely on esbuild instead of shaky...
Chris Duncan [Sun, 9 Aug 2026 14:13:57 +0000 (07:13 -0700)]
Revert combined return to env-labeled statements to rely on esbuild instead of shaky globals.

11 days agoThrow if more than one index passed in signing request.
Chris Duncan [Sun, 9 Aug 2026 09:40:40 +0000 (02:40 -0700)]
Throw if more than one index passed in signing request.

11 days agoSet default account balance and receivable if not yet opened.
Chris Duncan [Sun, 9 Aug 2026 09:34:36 +0000 (02:34 -0700)]
Set default account balance and receivable if not yet opened.

11 days agoReject all worker tasks with a real error object.
Chris Duncan [Sun, 9 Aug 2026 09:25:11 +0000 (02:25 -0700)]
Reject all worker tasks with a real error object.

11 days agoHard cap wallet account derivation at 10,000.
Chris Duncan [Sun, 9 Aug 2026 09:13:41 +0000 (02:13 -0700)]
Hard cap wallet account derivation at 10,000.

11 days agoExtract worker init to static method and teardown to split up termination and rejection.
Chris Duncan [Sun, 9 Aug 2026 09:13:18 +0000 (02:13 -0700)]
Extract worker init to static method and teardown to split up termination and rejection.

11 days agoFix wrong variable.
Chris Duncan [Sun, 9 Aug 2026 09:11:43 +0000 (02:11 -0700)]
Fix wrong variable.

11 days agoAdjust worker returns.
Chris Duncan [Sun, 9 Aug 2026 06:21:32 +0000 (23:21 -0700)]
Adjust worker returns.

11 days agoProvide better error messages from vault.
Chris Duncan [Sun, 9 Aug 2026 03:26:18 +0000 (20:26 -0700)]
Provide better error messages from vault.

11 days agoFix address validation regression.
Chris Duncan [Sun, 9 Aug 2026 01:54:22 +0000 (18:54 -0700)]
Fix address validation regression.

11 days agoFix frontier regex and allow special '0' opening block value.
Chris Duncan [Sat, 8 Aug 2026 21:49:18 +0000 (14:49 -0700)]
Fix frontier regex and allow special '0' opening block value.

11 days agoExplicitly call appropriate block subtype function when refreshing account frontiers.
Chris Duncan [Sat, 8 Aug 2026 21:29:57 +0000 (14:29 -0700)]
Explicitly call appropriate block subtype function when refreshing account frontiers.

11 days agoRefactor address validation as boolean instead of assertion.
Chris Duncan [Sat, 8 Aug 2026 21:17:37 +0000 (14:17 -0700)]
Refactor address validation as boolean instead of assertion.

11 days agoSet account data from account info refresh.
Chris Duncan [Sat, 8 Aug 2026 18:57:15 +0000 (11:57 -0700)]
Set account data from account info refresh.

11 days agoNarrow account_info response validation.
Chris Duncan [Sat, 8 Aug 2026 18:54:36 +0000 (11:54 -0700)]
Narrow account_info response validation.

11 days agoPull address pattern matching out of function to module constant.
Chris Duncan [Sat, 8 Aug 2026 18:53:14 +0000 (11:53 -0700)]
Pull address pattern matching out of function to module constant.

11 days agoAllow any input datatype when validating account addresses.
Chris Duncan [Sat, 8 Aug 2026 18:51:37 +0000 (11:51 -0700)]
Allow any input datatype when validating account addresses.

11 days agoAdd account version to account class.
Chris Duncan [Sat, 8 Aug 2026 18:05:21 +0000 (11:05 -0700)]
Add account version to account class.

11 days agoExtend hex validation to check length.
Chris Duncan [Sat, 8 Aug 2026 17:18:34 +0000 (10:18 -0700)]
Extend hex validation to check length.

11 days agoTypecheck ckd index arg and use VaultError consistently.
Chris Duncan [Sat, 8 Aug 2026 16:22:01 +0000 (09:22 -0700)]
Typecheck ckd index arg and use VaultError consistently.

11 days agoStart fixing Sony version required for epoch blocks during refresh.
Chris Duncan [Sat, 8 Aug 2026 15:54:17 +0000 (08:54 -0700)]
Start fixing Sony version required for epoch blocks during refresh.

12 days agoWait for lock before deleting wallet.
Chris Duncan [Sat, 8 Aug 2026 09:31:09 +0000 (02:31 -0700)]
Wait for lock before deleting wallet.

12 days agoRemove deprecated member.
Chris Duncan [Sat, 8 Aug 2026 09:30:17 +0000 (02:30 -0700)]
Remove deprecated member.

12 days agoRemove redundant condition.
Chris Duncan [Sat, 8 Aug 2026 09:29:42 +0000 (02:29 -0700)]
Remove redundant condition.

12 days agoCheck for index buffer with actual values.
Chris Duncan [Sat, 8 Aug 2026 09:29:11 +0000 (02:29 -0700)]
Check for index buffer with actual values.

12 days agoRemove duplicated copyright header.
Chris Duncan [Sat, 8 Aug 2026 09:28:41 +0000 (02:28 -0700)]
Remove duplicated copyright header.

12 days agoFix error message.
Chris Duncan [Sat, 8 Aug 2026 09:22:29 +0000 (02:22 -0700)]
Fix error message.

12 days agoRemove unused property.
Chris Duncan [Sat, 8 Aug 2026 09:21:56 +0000 (02:21 -0700)]
Remove unused property.

12 days agoEnable version spec for epochs.
Chris Duncan [Sat, 8 Aug 2026 09:19:20 +0000 (02:19 -0700)]
Enable version spec for epochs.

12 days agoResume vault autolock timer when catching async errors.
Chris Duncan [Sat, 8 Aug 2026 09:19:03 +0000 (02:19 -0700)]
Resume vault autolock timer when catching async errors.

12 days agoFix missing wallet type.
Chris Duncan [Sat, 8 Aug 2026 09:09:27 +0000 (02:09 -0700)]
Fix missing wallet type.

12 days agoRevert regex to just check for hex format and maximum length, and rely on left-padded...
Chris Duncan [Sat, 8 Aug 2026 09:06:45 +0000 (02:06 -0700)]
Revert regex to just check for hex format and maximum length, and rely on left-padded byte conversion.

12 days agoMiscellaneous fixes.
Chris Duncan [Sat, 8 Aug 2026 08:35:57 +0000 (01:35 -0700)]
Miscellaneous fixes.

12 days agoIncrease visible account derivation limit now that batches are possible.
Chris Duncan [Sat, 8 Aug 2026 06:42:26 +0000 (23:42 -0700)]
Increase visible account derivation limit now that batches are possible.

12 days agoFix signing calls to also pass index as u32.
Chris Duncan [Sat, 8 Aug 2026 06:33:45 +0000 (23:33 -0700)]
Fix signing calls to also pass index as u32.

12 days agoTransfer account indexes to vault worker as typed array.
Chris Duncan [Sat, 8 Aug 2026 05:10:20 +0000 (22:10 -0700)]
Transfer account indexes to vault worker as typed array.

12 days agoStart refactoring vault to derive accounts in batches which is way more performant.
Chris Duncan [Fri, 7 Aug 2026 23:19:50 +0000 (16:19 -0700)]
Start refactoring vault to derive accounts in batches which is way more performant.

12 days agoDerive link_as_account from link in Blocks.
Chris Duncan [Fri, 7 Aug 2026 21:43:28 +0000 (14:43 -0700)]
Derive link_as_account from link in Blocks.

12 days agoRestrict special object properties from rolodex names.
Chris Duncan [Fri, 7 Aug 2026 21:19:33 +0000 (14:19 -0700)]
Restrict special object properties from rolodex names.

12 days agoFix rep in change block being overwritten by burn account.
Chris Duncan [Fri, 7 Aug 2026 21:11:04 +0000 (14:11 -0700)]
Fix rep in change block being overwritten by burn account.

12 days agoRemove logging from passkey errors.
Chris Duncan [Fri, 7 Aug 2026 21:10:37 +0000 (14:10 -0700)]
Remove logging from passkey errors.

12 days agoFix response fields excluded without flags in request.
Chris Duncan [Fri, 7 Aug 2026 20:51:39 +0000 (13:51 -0700)]
Fix response fields excluded without flags in request.

12 days agoFix account_info fields replaced in v22.
Chris Duncan [Fri, 7 Aug 2026 19:55:20 +0000 (12:55 -0700)]
Fix account_info fields replaced in v22.

12 days agoFix address construction and error logging.
Chris Duncan [Fri, 7 Aug 2026 19:43:33 +0000 (12:43 -0700)]
Fix address construction and error logging.

12 days agoFix missing imports.
Chris Duncan [Fri, 7 Aug 2026 19:36:11 +0000 (12:36 -0700)]
Fix missing imports.

12 days agoNarrow block processing acceptable subtypes since epoch blocks should not be construc...
Chris Duncan [Fri, 7 Aug 2026 19:33:40 +0000 (12:33 -0700)]
Narrow block processing acceptable subtypes since epoch blocks should not be constructible and open blocks are just special receives.

12 days agoConfigure specialized block function for the subtype "open".
Chris Duncan [Fri, 7 Aug 2026 19:22:34 +0000 (12:22 -0700)]
Configure specialized block function for the subtype "open".

12 days agoInclude link as account in Block subtype calls.
Chris Duncan [Fri, 7 Aug 2026 18:04:55 +0000 (11:04 -0700)]
Include link as account in Block subtype calls.

12 days agoMore RPC refactoring.
Chris Duncan [Fri, 7 Aug 2026 16:23:17 +0000 (09:23 -0700)]
More RPC refactoring.

12 days agoRefactor RPC responses implemented so far to produce full responses only and throw...
Chris Duncan [Fri, 7 Aug 2026 16:05:24 +0000 (09:05 -0700)]
Refactor RPC responses implemented so far to produce full responses only and throw otherwise.

12 days agoSpecify valid subtypes in parsed block_info response and fix remaining refresh functi...
Chris Duncan [Fri, 7 Aug 2026 14:01:06 +0000 (07:01 -0700)]
Specify valid subtypes in parsed block_info response and fix remaining refresh function issues.

13 days agoImplement more RPC response validators.
Chris Duncan [Fri, 7 Aug 2026 06:37:24 +0000 (23:37 -0700)]
Implement more RPC response validators.

13 days agoDefine account_balance RPC shape and reuse in accounts_balances.
Chris Duncan [Fri, 7 Aug 2026 05:15:27 +0000 (22:15 -0700)]
Define account_balance RPC shape and reuse in accounts_balances.

13 days agoExtend Hex type to accomodate string expectations.
Chris Duncan [Fri, 7 Aug 2026 04:31:00 +0000 (21:31 -0700)]
Extend Hex type to accomodate string expectations.

13 days agoRemove unnecessary early return.
Chris Duncan [Fri, 7 Aug 2026 04:23:53 +0000 (21:23 -0700)]
Remove unnecessary early return.

13 days agoStart refactoring RPC method response parsing.
Chris Duncan [Fri, 7 Aug 2026 04:20:53 +0000 (21:20 -0700)]
Start refactoring RPC method response parsing.

13 days agoRefactor RPC to require auth upfront instead of getting from env.
Chris Duncan [Thu, 6 Aug 2026 15:19:39 +0000 (08:19 -0700)]
Refactor RPC to require auth upfront instead of getting from env.

2 weeks agoSimplify API exports.
Chris Duncan [Thu, 6 Aug 2026 10:44:12 +0000 (03:44 -0700)]
Simplify API exports.

2 weeks agoExtract mass task rejection and move custom error to separate module for export.
Chris Duncan [Thu, 6 Aug 2026 10:42:32 +0000 (03:42 -0700)]
Extract mass task rejection and move custom error to separate module for export.

2 weeks agoUse custom error for vault exceptions.
Chris Duncan [Thu, 6 Aug 2026 10:31:55 +0000 (03:31 -0700)]
Use custom error for vault exceptions.

2 weeks agoIgnore click delay for automated testing.
Chris Duncan [Thu, 6 Aug 2026 10:14:59 +0000 (03:14 -0700)]
Ignore click delay for automated testing.

2 weeks agoFix vault worker result reporting.
Chris Duncan [Thu, 6 Aug 2026 10:09:31 +0000 (03:09 -0700)]
Fix vault worker result reporting.

2 weeks agoRefactor environment parsing for RPC values.
Chris Duncan [Thu, 6 Aug 2026 10:04:57 +0000 (03:04 -0700)]
Refactor environment parsing for RPC values.

2 weeks agoSpecify action type in vault request calls.
Chris Duncan [Thu, 6 Aug 2026 05:49:51 +0000 (22:49 -0700)]
Specify action type in vault request calls.

2 weeks agoRefactor vault host code error handling.
Chris Duncan [Thu, 6 Aug 2026 05:47:57 +0000 (22:47 -0700)]
Refactor vault host code error handling.

2 weeks agoClear data transferred to and parsed within vault.
Chris Duncan [Thu, 6 Aug 2026 05:43:05 +0000 (22:43 -0700)]
Clear data transferred to and parsed within vault.

2 weeks agoRemove unused job property and 10 second vault request timeout to support UX.
Chris Duncan [Thu, 6 Aug 2026 05:42:41 +0000 (22:42 -0700)]
Remove unused job property and 10 second vault request timeout to support UX.

2 weeks agoWhitespace.
Chris Duncan [Thu, 6 Aug 2026 03:31:39 +0000 (20:31 -0700)]
Whitespace.

2 weeks agoMake assertion message optional.
Chris Duncan [Thu, 6 Aug 2026 03:23:22 +0000 (20:23 -0700)]
Make assertion message optional.

2 weeks agoRemove repetitive error cause, and do not replace with any other info which could...
Chris Duncan [Wed, 5 Aug 2026 23:57:08 +0000 (16:57 -0700)]
Remove repetitive error cause, and do not replace with any other info which could be sensitive like API keys.

2 weeks agoRevert regression.
Chris Duncan [Wed, 5 Aug 2026 23:46:24 +0000 (16:46 -0700)]
Revert regression.

2 weeks agoClear buffers in Tools, but only local ones.
Chris Duncan [Wed, 5 Aug 2026 23:43:01 +0000 (16:43 -0700)]
Clear buffers in Tools, but only local ones.

2 weeks agoSimplify export barrel.
Chris Duncan [Wed, 5 Aug 2026 23:17:53 +0000 (16:17 -0700)]
Simplify export barrel.

2 weeks agoRevert zeroing of buffers not local to function.
Chris Duncan [Wed, 5 Aug 2026 22:46:51 +0000 (15:46 -0700)]
Revert zeroing of buffers not local to function.

2 weeks agoSlice new wallet secrets for user backup before they are erased in finally.
Chris Duncan [Wed, 5 Aug 2026 17:44:37 +0000 (10:44 -0700)]
Slice new wallet secrets for user backup before they are erased in finally.

2 weeks agoTypo.
Chris Duncan [Wed, 5 Aug 2026 08:50:01 +0000 (01:50 -0700)]
Typo.

2 weeks agoMake TypeScript happy.
Chris Duncan [Wed, 5 Aug 2026 08:44:02 +0000 (01:44 -0700)]
Make TypeScript happy.

2 weeks agoExplicitly assign buffers to enable explicit zeroing.
Chris Duncan [Wed, 5 Aug 2026 08:42:05 +0000 (01:42 -0700)]
Explicitly assign buffers to enable explicit zeroing.

2 weeks agoZero out secret bytes when locking vault.
Chris Duncan [Wed, 5 Aug 2026 08:19:58 +0000 (01:19 -0700)]
Zero out secret bytes when locking vault.

2 weeks agoFix missing action for seed usage.
Chris Duncan [Wed, 5 Aug 2026 07:50:46 +0000 (00:50 -0700)]
Fix missing action for seed usage.

2 weeks agoReorganize secret parsing steps.
Chris Duncan [Wed, 5 Aug 2026 07:18:45 +0000 (00:18 -0700)]
Reorganize secret parsing steps.

2 weeks agoAssert data properties so they can be cleared.
Chris Duncan [Wed, 5 Aug 2026 06:56:22 +0000 (23:56 -0700)]
Assert data properties so they can be cleared.

2 weeks agoFix data arg buffer zeroing.
Chris Duncan [Wed, 5 Aug 2026 06:47:11 +0000 (23:47 -0700)]
Fix data arg buffer zeroing.

2 weeks agoAppease them differently.
Chris Duncan [Wed, 5 Aug 2026 06:43:19 +0000 (23:43 -0700)]
Appease them differently.

2 weeks agoAppease the TypeScript gods.
Chris Duncan [Wed, 5 Aug 2026 06:42:13 +0000 (23:42 -0700)]
Appease the TypeScript gods.

2 weeks agoEnable type narrowing which does not work with Array.includes().
Chris Duncan [Wed, 5 Aug 2026 06:40:28 +0000 (23:40 -0700)]
Enable type narrowing which does not work with Array.includes().

2 weeks agoFix missing parenthesis.
Chris Duncan [Wed, 5 Aug 2026 06:37:59 +0000 (23:37 -0700)]
Fix missing parenthesis.

2 weeks agoRefactor vault secret parsing and zero out local copies on error.
Chris Duncan [Wed, 5 Aug 2026 06:34:53 +0000 (23:34 -0700)]
Refactor vault secret parsing and zero out local copies on error.