-
Notifications
You must be signed in to change notification settings - Fork 45
refactor(sdk)!: comprehensive Evo SDK refactoring #2999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
shumkov
wants to merge
151
commits into
v3.1-dev
Choose a base branch
from
feat/sdk/standard-api-dpp2
base: v3.1-dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+30,494
−19,041
Open
Changes from all commits
Commits
Show all changes
151 commits
Select commit
Hold shift + click to select a range
ec189f6
refactor(sdk): standartize dpp2 api
shumkov dd71a34
refactor: various improvements
shumkov 511b494
refactoring: types and other stuff
shumkov b2d70d6
refactor: to/from object types
shumkov 0283dbd
fix: invalid byte size
shumkov 78590e9
refactor: use typed to form return objects
shumkov 88bcf31
refactor: version
shumkov 10572ac
refactor: use js types directly in method params
shumkov 7863c19
refactor: use specific types and remove js prefix
shumkov 80ba209
refactor: define types for plain and json objects
shumkov 835606c
refactor: use identifier instead of strings
shumkov 9285a32
refactor: use types in conversion macros
shumkov b4359e3
style: fix formatting
shumkov 78e1dbc
refactor: use unified try from options macro
shumkov 1577bd9
refactor: use PlatformVersionLikeJs intead of JsValue
shumkov 952b7a4
refactor: replaced manual `try_from_options` in `ProTxHashWasm` with …
shumkov b72f52a
refactor: types missing `impl_wasm_type_info!`
shumkov 89cc011
test: update tests
shumkov 5803dea
chore: convertion methods for PartialIdentity
shumkov d173cd4
refactor: missing types
shumkov cb7bc43
chore: conversion methods for token transitions
shumkov f174f3b
test: cover conversion methods with tests
shumkov 1bd9ab2
refactor: TryFrom inconsitences
shumkov 49cbebf
refactor(wasm-sdk): add Wasm suffix to exposed DPNS types
claude 43da1da
docs: update
shumkov cf67168
refactor: return types
shumkov c33e6fd
Merge remote-tracking branch 'origin/claude/refactor-wasm-dpp2-V6fo6'…
shumkov 0ad7a10
refactor: remove unchecked
shumkov f232a3c
refactor: missing types
shumkov 68dec57
refactor: more missing types
shumkov 3513d82
refactor: naming conventions
shumkov 370043e
docs: remove todos
shumkov a8b1a04
fix: from_bytes functions panic or corrupt data on invalid input length
shumkov c0b974c
fix: ProTxHashLike rejects ProTxHash objects despite TypeScript type …
shumkov 7c7c845
fix: Reflect::get returns undefined for missing properties instead of…
shumkov eb9b935
refactor: remove redundant .into() calls in Document serialization me…
shumkov 045a97c
fix: properly check for undefined in Reflect::get for required proper…
shumkov 01f65b7
fix: add missing TypeScript type definitions for extern types
shumkov ea8259e
fix: use get_required_property for all required constructor params
shumkov 6a0cf9f
fix: validate numeric JS values before casting to u16/u32
shumkov 9434a52
fix: add field name to try_to_object for cleaner error messages
shumkov 2730dbf
fix: use try_to_object for validated Object conversion in wasm-sdk
shumkov d4d4066
fix: add try_to_bytes helpers for validated Uint8Array conversion
shumkov d6920b1
refactor: add get_optional_property helper for optional JS properties
shumkov 4dc18b3
refactor: replace bitwise OR with logical OR in boolean expressions
shumkov 646a39d
refactor: add try_to_array helper for array validation
shumkov f74d0b6
style: apply rustfmt formatting
shumkov 4c70850
refactor: replace match on boolean with if/else for clippy compliance
shumkov 2fa724d
fix: potential precision loss for large credit values
shumkov 815c523
refactor(wasm): add generic get_optional_property helpers and improve…
shumkov 377bc53
refactor(wasm-dpp2): replace impl_try_from_options macro with generic…
shumkov e91ab47
refactor: stricly use bignint for u64
shumkov 457b544
fix(wasm-dpp2): rename mintingAllowChoosingDestination getter/setter …
shumkov f103f5b
fix(wasm-dpp2): remove redundant static lifetimes from const declarat…
shumkov 20e62a9
refactor: remo get_ prefix from getters
shumkov 6ad55c6
fix(wasm-dpp2): use base58 strings as Map keys for Identifier lookups
shumkov e672d65
fix(wasm-dpp2): rename newTokenDestinationIdentity to newTokensDestin…
shumkov ae72379
test(wasm-dpp2): add loadedPublicKeys setter test for PartialIdentity
shumkov f27f323
fix(wasm-dpp2): convert property-style chai assertions to function calls
shumkov 4f51c5f
test(wasm-dpp2): replace __wbg_ptr checks with instanceof assertions
shumkov f4fa76f
test(wasm-dpp2): fix outputScript setter test to use distinct values
shumkov a8d48e1
fix(wasm-dpp2): update TypeScript types for ContestedDocumentVotePoll…
shumkov 78714db
fix: invliad interfaces
shumkov 435fbff
refactor: snake case to camel case param names
shumkov 436ae79
fix(wasm-dpp2): add try_to_map for safe JS Map validation
shumkov ea2fa2e
fix(wasm-dpp2): rename assetLock to assetLockProof for consistency
shumkov d3cc807
fix(wasm-dpp2): fix coreFeePerByte setter parameter name consistency
shumkov 2875fd2
test(wasm-dpp2): fix duplicate assertions in DocumentsTransitions tests
shumkov a0685e1
fix(wasm-dpp2): add NaN, Infinity, and fractional validation to try_t…
shumkov f34019b
fix(wasm-dpp2): propagate Reflect.get errors in try_from_options helpers
shumkov 522a4a9
fix(wasm-dpp2): use IdentifierLikeOrUndefinedJs for optional identity…
shumkov e76c46a
fix(wasm-dpp2): fix set_minimum_token_cost calling wrong method
shumkov 6e31e40
fix(wasm-dpp2): change fromDocumentTransition to take reference inste…
shumkov ed46a82
fix(wasm-dpp2): rename recipientId to recipientOwnerId in DocumentTra…
shumkov a42a82e
fix(wasm-dpp2): allow clearing tokenPaymentInfo by accepting Option i…
shumkov b36e0bd
fix(wasm-dpp2): change groupContractPosition getter to take &self ins…
shumkov acbaf8a
fix(wasm-dpp2): rename constructor param from actionIsProposer to isA…
shumkov 2769cd2
Merge branch 'v3.0-dev' into feat/sdk/standard-api-dpp2
shumkov 0c2581d
fix(wasm-sdk): use existing wasm-dpp2 utility functions instead of no…
shumkov 8eb5f57
refactor(wasm-dpp2): add try_to_string helper and remove duplicate code
shumkov d3c25da
refactor(wasm): use try_from_options_optional for settings extraction
shumkov 929fd51
refactor(wasm): add JsMapExt trait to DRY up Map building patterns
shumkov 7336eee
refactor(wasm-sdk): use wasm-dpp2 serialization helpers directly
shumkov 83ca89b
refactor(wasm): add try_to_vec generic helper for JS array conversions
shumkov 32ef89d
refactor(wasm-dpp2): simplify Map iteration using for loop
shumkov dce1436
refactor(wasm): add impl_try_from_options macro for consistent option…
shumkov bcd49a7
fix(wasm): resolve clippy warnings
shumkov a599326
style: fix formatting
shumkov fead6b9
test: update dpp2 tests
shumkov 05eb74d
test: migrate tests to type script
shumkov e6cf910
Merge branch 'v3.1-dev' into feat/sdk/standard-api-dpp2
shumkov 2c9f92d
chore: update deps
shumkov 48fe5f8
chore: update TypeScript version
shumkov 426cc04
refactor: fix TS linting errors
shumkov e8a0e80
test: convert wasm-sdk tests to typescript
shumkov da7d8f8
test: convert evo sdk tests to type script
shumkov 09e7253
style: fix linter
shumkov b738a13
test: fix functional tests
shumkov ca7d453
build: configure mocha to use ts-node/esm for TypeScript type checking
shumkov 718dd9b
fix(js-evo-sdk): correct parserOptions.project path in tests eslintrc
shumkov 1f53ef1
test(wasm-dpp2): consolidate duplicate BatchTransition tests
shumkov 9578191
build(wasm-dpp2): add tsconfigRootDir to eslint parserOptions
shumkov 8243116
test: standardize test descriptions to use "should ..." convention
shumkov 978d6ef
test(wasm-dpp2): fix misleading test name in ChainLockProof spec
shumkov 83b4e32
refactor(wasm-dpp2): replace JsValue round-trip with direct try_into …
shumkov 4ab7cbd
refactor(wasm-dpp2): update try_to_* helpers to accept &JsValue
shumkov b248aa0
refactor(wasm-dpp2): add string parsing support to try_to_u* functions
shumkov 6835a94
refactor(wasm-dpp2,wasm-sdk): use utility functions for JS value extr…
shumkov 5c95798
test: fix $format_version field in test assertions
shumkov 6b98dbc
fix(wasm-dpp2): update Document TypeScript typedefs for bigint serial…
shumkov 0bc5ea3
style(wasm-dpp2): fix formatting and clippy warnings
shumkov 45c0455
chore: upgrade eslint to 8.57.0 and remove airbnb-typescript dependency
shumkov 7ddd203
fix(wasm-sdk): add explicit ts-node/esm loader to test:functional script
shumkov 8ec4b87
fix(wasm-sdk,js-evo-sdk): add explicit ts-node/esm loader to test:uni…
shumkov ec4665b
chore(ci): update Node.js version from 20 to 24
shumkov f9153b2
fix(wasm-dpp2): use distinct js_name for set_signature parameter
shumkov 21c99f5
refactor(wasm-dpp2): simplify IdentityPublicKey constructor
shumkov 5407c5a
refactor(wasm-dpp2): change IdentityPublicKey data to accept Uint8Array
shumkov 50eff5b
style(wasm-dpp2): format public_key_in_creation.rs
shumkov 857d1e7
chore: migrate to ESLint 9 with eslint-config-airbnb-extended
shumkov 90bd014
chore: fix ESLint and TypeScript version constraints in packages
shumkov aefe2d4
fix(eslint): resolve lint errors in ESLint 9 migration
shumkov afb12f3
chore: yarn lock
shumkov 0794ae4
chore(dashmate): update tar to ^7.6.0 to fix security vulnerability
shumkov cb35698
chore: yarn lock
shumkov 1242c7e
fix(wasm-sdk): convert hex string to Uint8Array for IdentityPublicKey…
shumkov 36d9d71
chore(dashmate): update tar to 7.5.7 to fix security vulnerability
shumkov c4ac709
fix(wasm-dpp2): convert options to JsValue before using try_from_options
shumkov 800211f
chore(bench-suite): restore lint script and fix lint errors
shumkov 06e6a8b
refactor(wasm-dpp2): use serde for primitive fields in transition opt…
shumkov fdbf4ed
refactor(wasm-dpp2): simplify PlatformVersionWasm conversion with def…
shumkov f584652
refactor(wasm-dpp2): use serde with IdentifierWasm in constructor opt…
shumkov 231cdbf
refactor(wasm-dpp2): use try_to_object for user input validation
shumkov 8e49634
refactor(wasm-dpp2,wasm-sdk): reorder operations to eliminate options…
shumkov 5076ee3
refactor(wasm-dpp2,wasm-sdk): extract wasm_bindgen types manually ins…
shumkov e874ba6
refactor(wasm-dpp2): use impl_try_from_js_value macro for cleaner typ…
shumkov 7661145
refactor(wasm-dpp2): use *Like TypeScript type aliases for flexible i…
shumkov 85aaed8
refactor(wasm-dpp2,wasm-sdk): use macros for signer type conversions
shumkov 8e0c802
refactor(wasm-dpp2): use options object for verifyPublicKey
shumkov 11e22fa
Revert "refactor(wasm-dpp2): use options object for verifyPublicKey"
shumkov af1fe59
refactor(wasm-dpp2): standardize constructors with options objects
shumkov de7848e
refactor(wasm-dpp2): use options objects for identity/transitions and…
shumkov 5680e47
refactor(wasm-dpp2): update tests for options object constructors and…
shumkov 6ed71be
refactor(wasm-dpp2): use serde for data field in IdentityPublicKeyInC…
shumkov a49eab9
refactor(wasm-dpp2): use try_from_options_optional and simplify setters
shumkov 4d3d298
refactor(wasm-dpp2): use options objects for distribution structs and…
shumkov 5d1fc1c
refactor(wasm-dpp2): add explicit setters for distribution struct fields
shumkov 572e29b
refactor(wasm-sdk): use ProTxHashWasm type and improve query deserial…
shumkov cfcb590
fix(wasm-sdk): remove incorrect serde renames for boolean status fields
shumkov fb11810
chore(wasm-dpp2,wasm-sdk): fix pre-existing clippy, formatting, and l…
shumkov 9276ca3
Merge branch 'v3.1-dev' into feat/sdk/standard-api-dpp2
shumkov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-53.3 KB
.yarn/cache/@babel-eslint-parser-npm-7.26.10-52ac28fff9-27eb60d16b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+22.3 KB
.yarn/cache/@babel-helper-compilation-targets-npm-7.28.6-8880f389c9-f512a5aeee.zip
Binary file not shown.
Binary file removed
BIN
-4.31 KB
.yarn/cache/@babel-helper-environment-visitor-npm-7.22.20-260909e014-d80ee98ff6.zip
Binary file not shown.
Binary file removed
BIN
-8.77 KB
.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-7b2ae024cd.zip
Binary file not shown.
Binary file added
BIN
+8.11 KB
.yarn/cache/@babel-helper-globals-npm-7.28.0-8d79c12faf-91445f7edf.zip
Binary file not shown.
Binary file removed
BIN
-4.5 KB
.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip
Binary file not shown.
Binary file added
BIN
+18.1 KB
.yarn/cache/@babel-helper-module-imports-npm-7.28.6-5b95b9145c-64b1380d74.zip
Binary file not shown.
Binary file added
BIN
+45.8 KB
.yarn/cache/@babel-helper-module-transforms-npm-7.28.6-5923cf5a95-2e421c7db7.zip
Binary file not shown.
Binary file removed
BIN
-5.25 KB
.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip
Binary file not shown.
Binary file added
BIN
+9.92 KB
.yarn/cache/@babel-helper-string-parser-npm-7.27.1-d1471e0598-0ae29cc200.zip
Binary file not shown.
Binary file added
BIN
+16.7 KB
.yarn/cache/@babel-helper-validator-identifier-npm-7.28.5-1953d49d2b-8e5d9b0133.zip
Binary file not shown.
Binary file added
BIN
+7.21 KB
.yarn/cache/@babel-helper-validator-option-npm-7.27.1-7c563f0423-db73e6a308.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-41.1 KB
.yarn/cache/@es-joy-jsdoccomment-npm-0.41.0-20acf8fb8c-ea581983f3.zip
Binary file not shown.
Binary file added
BIN
+38.4 KB
.yarn/cache/@es-joy-jsdoccomment-npm-0.50.2-971362ab5d-a309f01bd1.zip
Binary file not shown.
Binary file added
BIN
+82.5 KB
.yarn/cache/@eslint-community-eslint-utils-npm-4.9.1-30ad3d49de-863b546786.zip
Binary file not shown.
Binary file removed
BIN
-66.7 KB
.yarn/cache/@eslint-community-regexpp-npm-4.10.0-6bfb984c81-8c36169c81.zip
Binary file not shown.
Binary file added
BIN
+72.8 KB
.yarn/cache/@eslint-community-regexpp-npm-4.12.2-3d54624470-049b280fdd.zip
Binary file not shown.
Binary file added
BIN
+80.4 KB
.yarn/cache/@eslint-config-array-npm-0.21.1-c33ed9ec91-6eaa043597.zip
Binary file not shown.
Binary file added
BIN
+19.1 KB
.yarn/cache/@eslint-config-helpers-npm-0.4.2-a55655f805-3f2b4712d8.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+18.1 KB
.yarn/cache/@eslint-object-schema-npm-2.1.7-cb962a5b9b-946ef5d623.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.7 KB
.yarn/cache/@humanwhocodes-config-array-npm-0.11.13-12314014f2-9f655e1df7.zip
Binary file not shown.
Binary file removed
BIN
-14 KB
.yarn/cache/@humanwhocodes-object-schema-npm-2.0.1-c23364bbfc-dbddfd0465.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.69 KB
.yarn/cache/@isaacs-balanced-match-npm-4.0.1-8965afafe6-102fbc6d2c.zip
Binary file not shown.
Binary file added
BIN
+16.9 KB
.yarn/cache/@isaacs-brace-expansion-npm-5.0.0-754d3cb3f5-cf3b7f206a.zip
Binary file not shown.
Binary file added
BIN
+32.9 KB
.yarn/cache/@jridgewell-gen-mapping-npm-0.3.13-9bd96ac800-902f8261dc.zip
Binary file not shown.
Binary file added
BIN
+28.2 KB
.yarn/cache/@jridgewell-remapping-npm-2.3.5-df8dacc063-c2bb01856e.zip
Binary file not shown.
Binary file added
BIN
+29.6 KB
.yarn/cache/@jridgewell-sourcemap-codec-npm-1.5.5-5189d9fc79-5d9d207b46.zip
Binary file not shown.
Binary file added
BIN
+52.2 KB
.yarn/cache/@jridgewell-trace-mapping-npm-0.3.31-1ae81d75ac-da0283270e.zip
Binary file not shown.
Binary file added
BIN
+922 KB
.yarn/cache/@napi-rs-wasm-runtime-npm-0.2.12-8f0d65e253-5fd5181824.zip
Binary file not shown.
Binary file added
BIN
+42.5 KB
.yarn/cache/@next-eslint-plugin-next-npm-16.1.5-a20eef2072-8846e6a014.zip
Binary file not shown.
Binary file removed
BIN
-1.96 KB
.yarn/cache/@nicolo-ribaudo-eslint-scope-5-internals-npm-5.1.1-v1-87df86be4b-f2e3b2d6a6.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+193 KB
.yarn/cache/@stylistic-eslint-plugin-npm-5.7.1-d417cddca9-df50c60e11.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-725 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-5.55.0-16386bf9af-05f921647a.zip
Binary file not shown.
Binary file added
BIN
+574 KB
.yarn/cache/@typescript-eslint-eslint-plugin-npm-8.54.0-e6f6e349b5-8f1c74ac77.zip
Binary file not shown.
Binary file removed
BIN
-9.97 KB
.yarn/cache/@typescript-eslint-parser-npm-5.55.0-ee38253ad6-a7c48c1d39.zip
Binary file not shown.
Binary file added
BIN
+6.28 KB
.yarn/cache/@typescript-eslint-parser-npm-8.54.0-9b917cc1cb-d2e09462c9.zip
Binary file not shown.
Binary file added
BIN
+8.01 KB
.yarn/cache/@typescript-eslint-project-service-npm-8.54.0-df3e89508b-93f0483f6b.zip
Binary file not shown.
Binary file removed
BIN
-317 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-5.55.0-d7744f8a94-a089b0f45b.zip
Binary file not shown.
Binary file added
BIN
+187 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-8.54.0-4f2ea67471-3474f3197e.zip
Binary file not shown.
Binary file added
BIN
+6.49 KB
.yarn/cache/@typescript-eslint-tsconfig-utils-npm-8.54.0-73efc09e2a-e9d6b29538.zip
Binary file not shown.
Binary file removed
BIN
-50.2 KB
.yarn/cache/@typescript-eslint-type-utils-npm-5.55.0-333e5c4b16-267a2144fa.zip
Binary file not shown.
Binary file added
BIN
+39.3 KB
.yarn/cache/@typescript-eslint-type-utils-npm-8.54.0-a5168062ab-60e92fb322.zip
Binary file not shown.
Binary file removed
BIN
-42.9 KB
.yarn/cache/@typescript-eslint-types-npm-5.55.0-694e3d296a-5ff3b2880e.zip
Binary file not shown.
Binary file added
BIN
+22.9 KB
.yarn/cache/@typescript-eslint-types-npm-8.53.1-b5f0956f64-9a01aa3433.zip
Binary file not shown.
Binary file added
BIN
+22.9 KB
.yarn/cache/@typescript-eslint-types-npm-8.54.0-75d29a589d-c25cc0bdf9.zip
Binary file not shown.
Binary file removed
BIN
-179 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-5.55.0-aefc08af17-e6c51080c0.zip
Binary file not shown.
Binary file added
BIN
+114 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-8.54.0-643fee1e58-3a545037c6.zip
Binary file not shown.
Binary file removed
BIN
-175 KB
.yarn/cache/@typescript-eslint-utils-npm-5.55.0-6a927fceb5-121c5fc48c.zip
Binary file not shown.
Binary file added
BIN
+73.7 KB
.yarn/cache/@typescript-eslint-utils-npm-8.54.0-c71ca4c1ce-9f88a2a7ab.zip
Binary file not shown.
Binary file removed
BIN
-11 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-5.55.0-7f3c07beeb-5b6a0e4813.zip
Binary file not shown.
Binary file added
BIN
+6.59 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-8.54.0-b1e3d0cbc5-cca5380ee3.zip
Binary file not shown.
Binary file removed
BIN
-13.9 KB
.yarn/cache/@ungap-structured-clone-npm-1.2.0-648f0b82e0-c6fe89a505.zip
Binary file not shown.
Binary file added
BIN
+818 KB
.yarn/cache/@unrs-resolver-binding-darwin-arm64-npm-1.11.1-c78d4bd2cb-10.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.39 KB
.yarn/cache/array-buffer-byte-length-npm-1.0.2-c2be1e97e0-0ae3786195.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+13.8 KB
.yarn/cache/array.prototype.findlast-npm-1.2.5-316cb71d39-7dffcc665a.zip
Binary file not shown.
Binary file removed
BIN
-14.2 KB
.yarn/cache/array.prototype.findlastindex-npm-1.2.3-2a36f4417b-063cbab8ee.zip
Binary file not shown.
Binary file added
BIN
+13.9 KB
.yarn/cache/array.prototype.findlastindex-npm-1.2.6-65fef3f969-5ddb6420e8.zip
Binary file not shown.
Binary file renamed
BIN
+10.9 KB
....flat-npm-1.3.2-350729f7f4-d9d2f6f275.zip → ....flat-npm-1.3.3-51377719d9-f9b992fa07.zip
Binary file not shown.
Binary file added
BIN
+11.8 KB
.yarn/cache/array.prototype.flatmap-npm-1.3.3-db3afdbfda-473534573a.zip
Binary file not shown.
Binary file added
BIN
+11.4 KB
.yarn/cache/array.prototype.tosorted-npm-1.1.4-c1fc919434-874694e5d5.zip
Binary file not shown.
Binary file added
BIN
+11.5 KB
.yarn/cache/arraybuffer.prototype.slice-npm-1.0.4-01f62a9713-4821ebdfe7.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+2.92 KB
...bals-npm-1.0.10-ecb768852b-7ccdc44c2c.zip → ...bals-npm-1.0.11-b3ff8e9483-3afc635abd.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.36 KB
.yarn/cache/data-view-byte-length-npm-1.0.2-96d312fb9c-2a47055fcf.zip
Binary file not shown.
Binary file added
BIN
+7.27 KB
.yarn/cache/data-view-byte-offset-npm-1.0.1-315a12a556-fa3bdfa096.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-31.4 KB
.yarn/cache/eslint-config-airbnb-base-npm-15.0.0-802837dd26-daa68a1dcb.zip
Binary file not shown.
Binary file added
BIN
+74.7 KB
.yarn/cache/eslint-config-airbnb-extended-npm-3.0.1-e232343c3c-24e89d991e.zip
Binary file not shown.
Binary file removed
BIN
-8.09 KB
.yarn/cache/eslint-config-airbnb-typescript-npm-17.0.0-e1f8a377d2-43158416b1.zip
Binary file not shown.
Binary file added
BIN
+8.48 KB
.yarn/cache/eslint-import-context-npm-0.1.9-5e2eb7c9a9-f0778126bb.zip
Binary file not shown.
Binary file added
BIN
+22.5 KB
.yarn/cache/eslint-import-resolver-typescript-npm-4.4.4-e7b670a36b-4f871f6d1a.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-16.9 KB
.yarn/cache/eslint-module-utils-npm-2.8.0-05e42bcab0-a9a7ed93eb.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-423 KB
.yarn/cache/eslint-plugin-import-npm-2.29.0-9cd6da0b0a-d6e8d016f3.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+318 KB
.yarn/cache/eslint-plugin-import-x-npm-4.16.1-b1dd938e9f-d1390d4949.zip
Binary file not shown.
Binary file removed
BIN
-386 KB
.yarn/cache/eslint-plugin-jsdoc-npm-46.9.0-43e0861b76-0dd2068804.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+253 KB
.yarn/cache/eslint-plugin-jsx-a11y-npm-6.10.2-23afcd8d2e-3885507985.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+605 KB
.yarn/cache/eslint-plugin-react-hooks-npm-7.0.1-218b8cae26-12e96c68d5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.21 KB
.yarn/cache/eslint-visitor-keys-npm-1.3.0-c07780a0fb-595ab230e0.zip
Binary file not shown.
Binary file removed
BIN
-9.52 KB
.yarn/cache/eslint-visitor-keys-npm-2.1.0-c31806b6b9-db4547eef5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+14.2 KB
.yarn/cache/function.prototype.name-npm-1.1.8-2cf198aac8-25b9e5bea9.zip
Binary file not shown.
Binary file added
BIN
+9.43 KB
.yarn/cache/get-symbol-description-npm-1.1.0-7a9e0b1c24-a353e3a959.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.73 KB
.yarn/cache/is-finalizationregistry-npm-1.1.1-f9cad6c9aa-0bfb145e9a.zip
Binary file not shown.
Binary file added
BIN
+14.3 KB
.yarn/cache/is-generator-function-npm-1.1.2-d0a84b1a72-cc50fa0103.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.71 KB
.yarn/cache/is-shared-array-buffer-npm-1.0.4-70c977585b-0380d7c60c.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+87.9 KB
...arser-npm-4.0.0-7b035921c4-a225ab874e.zip → ...arser-npm-4.1.0-6f90ea9fa7-30d88f95f6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+196 KB
.yarn/cache/language-subtag-registry-npm-0.3.23-06b360f90f-fe13ed74ab.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+9.43 KB
...tries-npm-2.0.7-2e38392540-1bfbe42a51.zip → ...tries-npm-2.0.8-8f6e2db04a-5b2e80f7af.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+36.3 KB
.yarn/cache/parse-imports-exports-npm-0.2.4-4af940c595-144d459771.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+11.1 KB
.yarn/cache/reflect.getprototypeof-npm-1.0.10-8c3ce862a2-80a4e2be71.zip
Binary file not shown.
Binary file added
BIN
+17.8 KB
.yarn/cache/regexp.prototype.flags-npm-1.5.4-39008ab64c-8ab897ca44.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+6.14 KB
.yarn/cache/spdx-expression-parse-npm-4.0.0-1c2f5caf51-936be681fb.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+7.45 KB
.yarn/cache/stop-iteration-iterator-npm-1.1.0-057344287e-ff36c4db17.zip
Binary file not shown.
Binary file added
BIN
+11 KB
.yarn/cache/string.prototype.includes-npm-2.0.1-12fb63787c-939a5447e4.zip
Binary file not shown.
Binary file added
BIN
+16.4 KB
.yarn/cache/string.prototype.matchall-npm-4.0.12-0bc859367d-e4ab34b9e7.zip
Binary file not shown.
Binary file added
BIN
+6.87 KB
.yarn/cache/string.prototype.repeat-npm-1.0.0-3f87f5fd9e-4b1bd91b75.zip
Binary file not shown.
Binary file added
BIN
+14.9 KB
.yarn/cache/string.prototype.trim-npm-1.2.10-40a44bc719-47bb63cd24.zip
Binary file not shown.
Binary file added
BIN
+11.9 KB
.yarn/cache/string.prototype.trimend-npm-1.0.9-e8729528fb-140c73899b.zip
Binary file not shown.
Binary file added
BIN
+11.8 KB
.yarn/cache/string.prototype.trimstart-npm-1.0.8-8c6b16ba6e-160167dfbd.zip
Binary file not shown.
Binary file renamed
BIN
+350 KB
...e/tar-npm-7.5.6-955ec951c2-cf4a84d79b.zip → ...e/tar-npm-7.5.7-053aec5a88-0d6938dd32.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.66 KB
.yarn/cache/ts-declaration-location-npm-1.0.7-804f747b5c-a7932fc75d.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.88 KB
.yarn/cache/typed-array-byte-length-npm-1.0.3-0769937080-269dad101d.zip
Binary file not shown.
Binary file added
BIN
+9.2 KB
.yarn/cache/typed-array-byte-offset-npm-1.0.4-12f60e4553-c2869aa584.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+9.29 KB
.yarn/cache/which-boxed-primitive-npm-1.1.1-80ca20c912-a877c0667b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| import { configs, plugins } from 'eslint-config-airbnb-extended'; | ||
| import globals from 'globals'; | ||
|
|
||
| /** | ||
| * Base ESLint configuration for all packages. | ||
| * Contains common rules and overrides used across the monorepo. | ||
| */ | ||
| export const baseConfig = [ | ||
| // Register the plugins required by airbnb-extended | ||
| // Each plugin export is a config object with nested plugins | ||
| plugins.stylistic, | ||
| plugins.importX, | ||
| plugins.node, | ||
| ...configs.base.recommended, | ||
| { | ||
| languageOptions: { | ||
| ecmaVersion: 2022, | ||
| sourceType: 'module', | ||
| parserOptions: { | ||
| ecmaVersion: 2022, | ||
| sourceType: 'module', | ||
| }, | ||
| globals: { | ||
| ...globals.node, | ||
| BigInt: 'readonly', | ||
| }, | ||
| }, | ||
| rules: { | ||
| // Common overrides from existing configs | ||
| 'no-plusplus': 'off', | ||
| 'eol-last': ['error', 'always'], | ||
| 'class-methods-use-this': 'off', | ||
| curly: ['warn', 'all'], | ||
| 'no-await-in-loop': 'off', | ||
| 'no-continue': 'off', | ||
| // Custom restricted syntax - remove ForOfStatement restriction from airbnb | ||
| 'no-restricted-syntax': [ | ||
| 'error', | ||
| { | ||
| selector: 'LabeledStatement', | ||
| message: 'Labels are a form of GOTO; using them makes code confusing.', | ||
| }, | ||
| { | ||
| selector: 'WithStatement', | ||
| message: '`with` is disallowed in strict mode.', | ||
| }, | ||
| ], | ||
| // Disable import-x rules that don't work well in monorepo | ||
| 'import-x/no-relative-packages': 'off', | ||
| 'import-x/extensions': 'off', | ||
| 'import-x/no-named-as-default': 'off', | ||
| // Increase line length limit | ||
| '@stylistic/max-len': ['warn', { code: 120, ignoreStrings: true, ignoreTemplateLiterals: true, ignoreUrls: true, ignoreRegExpLiterals: true, ignoreComments: true }], | ||
| // Disable @stylistic rules that weren't enforced before | ||
| '@stylistic/indent': 'off', | ||
| '@stylistic/brace-style': 'off', | ||
| '@stylistic/max-statements-per-line': 'off', | ||
| '@stylistic/operator-linebreak': 'off', | ||
| '@stylistic/member-delimiter-style': 'off', | ||
| '@stylistic/type-annotation-spacing': 'off', | ||
| '@stylistic/arrow-parens': 'off', | ||
| '@stylistic/arrow-spacing': 'off', | ||
| '@stylistic/semi': 'off', | ||
| '@stylistic/comma-spacing': 'off', | ||
| '@stylistic/comma-dangle': 'off', | ||
| '@stylistic/quote-props': 'off', | ||
| '@stylistic/quotes': 'off', | ||
| '@stylistic/lines-between-class-members': 'off', | ||
| '@stylistic/object-curly-newline': 'off', | ||
| '@stylistic/no-mixed-operators': 'off', | ||
| // Disable other rules that weren't enforced before | ||
| 'prefer-arrow-callback': 'off', | ||
| 'prefer-object-has-own': 'off', | ||
| 'no-new': 'off', | ||
| 'no-restricted-exports': 'off', | ||
| // Disable import-x rules that cause too many warnings | ||
| 'import-x/newline-after-import': 'off', | ||
| 'import-x/no-useless-path-segments': 'off', | ||
| 'import-x/no-rename-default': 'off', | ||
| 'import-x/namespace': 'off', | ||
| 'import-x/prefer-default-export': 'off', | ||
| }, | ||
| }, | ||
| ]; | ||
|
|
||
| export default baseConfig; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| import globals from 'globals'; | ||
|
|
||
| /** | ||
| * Mocha test files ESLint configuration. | ||
| * Provides test-specific globals and rule relaxations. | ||
| */ | ||
| export const mochaTestConfig = { | ||
| files: [ | ||
| '**/test/**/*.js', | ||
| '**/test/**/*.ts', | ||
| '**/tests/**/*.js', | ||
| '**/tests/**/*.ts', | ||
| '**/*.spec.js', | ||
| '**/*.spec.ts', | ||
| '**/test-d/**/*.ts', | ||
| ], | ||
| languageOptions: { | ||
| globals: { | ||
| ...globals.mocha, | ||
| expect: 'readonly', | ||
| }, | ||
| }, | ||
| rules: { | ||
| // Allow dev dependencies in tests | ||
| 'import-x/no-extraneous-dependencies': 'off', | ||
| // dirty-chai uses property assertions | ||
| 'no-unused-expressions': 'off', | ||
| '@typescript-eslint/no-unused-expressions': 'off', | ||
| }, | ||
| }; | ||
|
|
||
| export default mochaTestConfig; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| import { configs, plugins } from 'eslint-config-airbnb-extended'; | ||
|
|
||
| /** | ||
| * TypeScript ESLint configuration. | ||
| * Extends base config with TypeScript-specific rules and relaxations. | ||
| */ | ||
| export const typescriptConfig = [ | ||
| // Register the TypeScript plugin | ||
| plugins.typescriptEslint, | ||
| ...configs.base.typescript, | ||
| { | ||
| files: ['**/*.ts', '**/*.tsx'], | ||
| rules: { | ||
| // Disable base rules that conflict with TypeScript versions | ||
| 'no-return-await': 'off', | ||
| '@typescript-eslint/return-await': 'warn', | ||
| 'no-unused-vars': 'off', | ||
| '@typescript-eslint/no-unused-vars': 'warn', | ||
| 'no-shadow': 'off', | ||
| '@typescript-eslint/no-shadow': 'error', | ||
|
|
||
| // Relax strict TypeScript rules for backward compatibility | ||
| '@typescript-eslint/no-require-imports': 'off', | ||
| '@typescript-eslint/no-explicit-any': 'off', | ||
| '@typescript-eslint/ban-ts-comment': 'off', | ||
| '@typescript-eslint/no-unsafe-function-type': 'off', | ||
| '@typescript-eslint/no-this-alias': 'off', | ||
| '@typescript-eslint/no-namespace': 'off', | ||
| '@typescript-eslint/no-use-before-define': 'off', | ||
| 'no-use-before-define': 'off', | ||
|
|
||
| // Disable new @typescript-eslint rules not previously enforced | ||
| '@typescript-eslint/consistent-indexed-object-style': 'off', | ||
| '@typescript-eslint/consistent-type-definitions': 'off', | ||
| '@typescript-eslint/no-inferrable-types': 'off', | ||
| '@typescript-eslint/array-type': 'off', | ||
| '@typescript-eslint/prefer-function-type': 'off', | ||
|
|
||
| // Import resolution handled by TypeScript | ||
| 'import-x/extensions': 'off', | ||
| 'import-x/no-unresolved': 'off', | ||
|
|
||
| // Disable @stylistic rules for TypeScript files (not previously enforced) | ||
| '@stylistic/member-delimiter-style': 'off', | ||
| '@stylistic/type-annotation-spacing': 'off', | ||
| }, | ||
| }, | ||
| ]; | ||
|
|
||
| export default typescriptConfig; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| /** | ||
| * WASM-specific ESLint configuration. | ||
| * Relaxes rules that conflict with WASM bindings and FFI patterns. | ||
| */ | ||
| export const wasmConfig = { | ||
| rules: { | ||
| // WASM bindings use __type, _wbg_ptr naming conventions | ||
| 'no-underscore-dangle': 'off', | ||
| // Legitimate use in hex conversion and buffer operations | ||
| 'no-bitwise': 'off', | ||
| // for-of loops are acceptable in modern TypeScript | ||
| 'no-restricted-syntax': 'off', | ||
| // Extended line length for WASM binding code | ||
| 'max-len': [ | ||
| 'error', | ||
| { | ||
| code: 140, | ||
| ignoreStrings: true, | ||
| ignoreTemplateLiterals: true, | ||
| }, | ||
| ], | ||
| }, | ||
| }; | ||
|
|
||
| export default wasmConfig; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import baseConfig from '../../eslint/base.mjs'; | ||
|
|
||
| export default [ | ||
| ...baseConfig, | ||
| { | ||
| ignores: ['dist/**', 'node_modules/**'], | ||
| }, | ||
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import baseConfig from '../../eslint/base.mjs'; | ||
| import mochaTestConfig from '../../eslint/mocha-tests.mjs'; | ||
|
|
||
| export default [ | ||
| ...baseConfig, | ||
| mochaTestConfig, | ||
| { | ||
| // Generated protobuf code - ignore clients and src generated directories | ||
| ignores: ['dist/**', 'node_modules/**', 'clients/**', 'src/**'], | ||
| }, | ||
| ]; | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.