Skip to content
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

Merge develop into 2.0 #1111

Merged
merged 53 commits into from
Aug 31, 2023

Conversation

thibault-martinez
Copy link
Member

No description provided.

abdulmth and others added 30 commits July 25, 2023 12:31
* fix `destroyClient` in WASM

* changelog + version

* Update bindings/wasm/CHANGELOG.md

Co-authored-by: Thibault Martinez <[email protected]>

* fix version, changelog

---------

Co-authored-by: Thibault Martinez <[email protected]>
* Add @deprecated comments

* Update changelogs

* Nit

* bump lock

---------

Co-authored-by: Thibault Martinez <[email protected]>
* fix `BigInt` serialization in Wasm.

* changelog

* format

* move `BigInt` patching to `index.ts`

* format

* remove unused import
* Add cancel jobs

* disable workflow_run
* Version + changelog

* Release description
…de.js (iotaledger#951)

* fix types

* changelog

* typo

---------

Co-authored-by: Thibault Martinez <[email protected]>
* chore: make private fields readonly

* fix: lint

* chore: changelog

* fix: comment

* chore: update changelog

* Nits

* fix: undo breaking change

* Update bindings/nodejs/lib/types/block/signature.ts

Co-authored-by: Abdulrahim Al Methiab <[email protected]>

---------

Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Abdulrahim Al Methiab <[email protected]>
* Fix amounts

* Update bindings/nodejs/CHANGELOG.md

Co-authored-by: Thibault Martinez <[email protected]>

* Update version

---------

Co-authored-by: Thibault Martinez <[email protected]>
* Make `last_sync` a field in `ClientInner`

* Add changelog

* Use tokio mutex instead

* Bump version
* changelog

* added a fixed section

* removed added section

---------

Co-authored-by: Alexandcoats <[email protected]>
* Fix ledger nano downcasting and add test

* changelogs

* fix test

* forgot channels exist

* Improve event handlers and remove remainder assertion
…otaledger#990)

* fix: Prevent loading bindings when importing UtxoInput type. Constructs UtxoInput from outputId without callUtilsMethod.

* fix: Improve variable naming in UTXOInput.fromOutputId

* chore: Update changelog

* chore: Bump nodejs bindings version

* chore: Run prettier

* fix: Attach UTXOInput util method (fromOutputId) dynamically (prevent bindings loading when using type UTXOInput)
* well, you have to start somewhere, right?

* from dusk till dawn...to fix all todos

* fix client todos

* fix secret-manager todos

* fix types todos

* fix remaining todos

* Update bindings/nodejs/lib/types/block/output/output.ts

Co-authored-by: Thoralf-M <[email protected]>

* Update bindings/nodejs/lib/types/block/output/unlock-condition.ts

Co-authored-by: Thoralf-M <[email protected]>

* Update bindings/nodejs/lib/types/block/output/unlock-condition.ts

Co-authored-by: Thoralf-M <[email protected]>

* Update bindings/nodejs/lib/types/block/output/unlock-condition.ts

Co-authored-by: Thoralf-M <[email protected]>

* Some doc comments + format

* Update bindings/nodejs/lib/types/wallet/consolidation-params.ts

Co-authored-by: Alexandcoats <[email protected]>

* Update bindings/nodejs/lib/types/wallet/transaction-options.ts

Co-authored-by: Alexandcoats <[email protected]>

* Update bindings/nodejs/lib/types/wallet/participation.ts

Co-authored-by: Alexandcoats <[email protected]>

* Update bindings/nodejs/lib/types/block/output/unlock-condition.ts

* Apply suggestions from code review

* More review suggestions

* Update bindings/nodejs/lib/types/wallet/output-params.ts

Co-authored-by: Alexandcoats <[email protected]>

* Format

* Fix comment

* udpate json comment

---------

Co-authored-by: Alexandcoats <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
Co-authored-by: Thoralf-M <[email protected]>
Co-authored-by: Brord van Wierst <[email protected]>
* chore: export logger config

* chore: changelog

* Update bindings/nodejs/CHANGELOG.md

Co-authored-by: Thibault Martinez <[email protected]>

---------

Co-authored-by: Thibault Martinez <[email protected]>
* Update dependencies + fix resolutions + nits

* CI fix ?
…r#1020)

* Use dtolnay/rust-toolchain instead of actions-rs/toolchain

* Change setup-rust

* Fix

* Fix input name
Thoralf-M and others added 9 commits August 25, 2023 17:52
* Fix restore backup when no secret manager data is stored

* Add test

* Comment first

* Update version and date

* Update sdk/src/wallet/core/operations/stronghold_backup/mod.rs

Co-authored-by: Thibault Martinez <[email protected]>

---------

Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
…er#1091)

* Add db from 37edd0706ee003a0d17c7da19ba974b17b365cfe

* Properly handle possibly null protocol params (iotaledger#1090)

* Fix migration 3

* changelog

* Update sdk/tests/wallet/wallet_storage.rs

* Nodejs bindings changelog and version bump

---------

Co-authored-by: Alexandcoats <[email protected]>
* ignore RUSTSEC-2023-0052

* Add CI path

* todo

* Add 0053

* update deps

* clippy
* Brainstorm

* Basic idea

* Add encrypted db

* Seems to work

* Define types in migration, refactor

* where in stronghold is the data?

* Make stronghold snapshot migration work

* Add migration to bindings, add get_chrysalis_data()

* Save chrysalis data from snapshot in db

* Address some TODOs

* Address todos

* Add chrysalis-backup-work-factor-0.stronghold

* Fix wasm

* Don't error on ClientDataNotPresent

* Clippy

* Address review comments

* Remove extra function

* Update bindings/nodejs/CHANGELOG.md

Co-authored-by: Thibault Martinez <[email protected]>

* Remove `from`

* Clippy

* Changelog

* Update sdk/src/wallet/storage/constants.rs

* Move function to storage

* Address review comments

* Address review comments

* Review suggestions

* Address review comments

* Add db_encryption_key to Rust, export migrateDbChrysalisToStardust and add nodejs example

* Single import, lint

* Address review comments

---------

Co-authored-by: Thibault Martinez <[email protected]>
Co-authored-by: Thibault Martinez <[email protected]>
* Add PrivateKeySecretManager

* try_from_b58/try_from_hex

* zeroize bytes

* Nits

* Optional bs58

* Changelog

* Secret manager tests folder

* Add tests and fix

* Changelog

* Nit

* Nit

* Update sdk/tests/client/secret_manager/mod.rs

Co-authored-by: Thoralf-M <[email protected]>

* Replace panic with errors

* Remove unwrap

* Under private_key_secret_manager feature

---------

Co-authored-by: Thoralf-M <[email protected]>
Copy link

@DaughterOfMars DaughterOfMars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think!! it's okay??

@thibault-martinez thibault-martinez merged commit 24ac506 into iotaledger:2.0 Aug 31, 2023
20 checks passed
@thibault-martinez thibault-martinez deleted the merge-develop-2.0 branch August 31, 2023 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.