Skip to content

Commit

Permalink
Merge remote-tracking branch 'client/develop' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Mar 21, 2023
2 parents fd9f304 + 7a3f8b0 commit 43f37fa
Show file tree
Hide file tree
Showing 1,279 changed files with 99,975 additions and 459 deletions.
2 changes: 1 addition & 1 deletion .changes/ParticipationEventWithNodes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Return new `ParticipationEventWithNodes` interface instead of `ParticipationEvent, Node[]`.
Expand Down
2 changes: 1 addition & 1 deletion .changes/account-bech32-hrp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Add an optional bech32Hrp to the CreateAccountPayload which can be used to create an account offline.
2 changes: 1 addition & 1 deletion .changes/account-manager-listen-async.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Made account manager `listen` async.
2 changes: 1 addition & 1 deletion .changes/account-recovery.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Don't require address approval on ledger nano during account recovery.
2 changes: 1 addition & 1 deletion .changes/account-sync-options-default.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Change `AccountSyncOptions` default values to all true.
6 changes: 6 additions & 0 deletions .changes/alias-nft-unlock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add alias and nfts output in `try_select_input` to the inputs, when required for an unlock condition of an input.
6 changes: 6 additions & 0 deletions .changes/aliasIdToBech32.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add `aliasIdToBech32()`.
6 changes: 6 additions & 0 deletions .changes/aliasoutputbuilder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

IAliasOutputBuilderOptions::stateMetadata is now a HexEncodedString instead of Uint8Array.
2 changes: 1 addition & 1 deletion .changes/align-transactions.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Return `Transaction` for incoming transactions.
Expand Down
2 changes: 1 addition & 1 deletion .changes/async-destroy.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Make `AccountManager.destroy()` async;
Expand Down
2 changes: 1 addition & 1 deletion .changes/auth.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Change `Auth::{username, password}` to `Auth::basicAuthNamePwd`;
2 changes: 1 addition & 1 deletion .changes/basecoinbalanceAvailable.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

`BaseCoinBalance::available` can't underflow anymore;
7 changes: 7 additions & 0 deletions .changes/basic-auth.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

---
"client-nodejs-binding": patch
---

Merged `IAuth::{username, password}` into `IAuth::basicAuthNamePwd`;
Set basic auth when provided;
6 changes: 6 additions & 0 deletions .changes/bech32-address.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Removed `IInputSigningData::bech32Address`;
6 changes: 6 additions & 0 deletions .changes/build-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Run tsc before publishing.
7 changes: 7 additions & 0 deletions .changes/burn-interface.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

---
"client-nodejs-binding": patch
---

Add `Burn` interface.
Replace `IBuildBlockOptions::allowBurning` with `IBuildBlockOptions::burn`.
2 changes: 1 addition & 1 deletion .changes/claimoutputs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix `Account::claimOutputs()` when no basic outputs are available.
2 changes: 1 addition & 1 deletion .changes/clearlistener-move.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Moved clearListeners internally from a direct method call to using the messaging interface
6 changes: 6 additions & 0 deletions .changes/computeAlias-NftId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add `computeAliasId()` and `computeNftId()` functions.
6 changes: 6 additions & 0 deletions .changes/computeFoundryId.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add `computeFoundryId()`.
42 changes: 39 additions & 3 deletions .changes/config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,49 @@
{
"gitSiteUrl": "https://github.com/iotaledger/wallet.rs/",
"gitSiteUrl": "https://github.com/iotaledger/iota-sdk",
"pkgManagers": {
"javascript": {
"version": true,
"publish": true
}
},
"packages": {
"nodejs-binding": {
"client-nodejs-binding": {
"path": "./client/bindings/nodejs",
"manager": "javascript",
"getPublishedVersion": "npm view ${ pkgFile.pkg.name }@develop version",
"prepublish": [
{
"command": "false || dasel put -f Cargo.toml '.dependencies.iota-client.rev' -v $GITHUB_SHA"
},
{
"command": "dasel put -f Cargo.toml '.dependencies.iota-client.git' -v https://github.com/iotaledger/iota-sdk.rs"
},
{
"command": "dasel put -t json -f Cargo.toml '.dependencies.iota-client.features' -v '[\"message_interface\", \"mqtt\"]'"
},
{
"command": "dasel delete -f Cargo.toml '.dependencies.iota-client.path'"
},
{
"command": "dasel delete -f Cargo.toml '.dependencies.iota-client.default-features'"
},
{
"command": "yarn --ignore-scripts"
},
{
"command": "tsc"
},
{
"command": "cat Cargo.toml"
}
],
"publish": [
{
"command": "yarn publish --access public --loglevel silly --tag develop"
}
]
},
"wallet-nodejs-binding": {
"path": "./wallet/bindings/nodejs",
"manager": "javascript",
"getPublishedVersion": "npm view ${ pkgFile.pkg.name } version",
Expand All @@ -16,7 +52,7 @@
"command": "false || dasel put -f Cargo.toml '.dependencies.iota-wallet.rev' -v $GITHUB_SHA"
},
{
"command": "dasel put -f Cargo.toml '.dependencies.iota-wallet.git' -v https://github.com/iotaledger/wallet.rs"
"command": "dasel put -f Cargo.toml '.dependencies.iota-wallet.git' -v https://github.com/iotaledger/iota-sdk.rs"
},
{
"command": "dasel delete -f Cargo.toml '.dependencies.iota-wallet.path'"
Expand Down
2 changes: 1 addition & 1 deletion .changes/deadlock.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix deadlock when syncing and another function which locked the storage_manager are running at the same time
2 changes: 1 addition & 1 deletion .changes/dont-filter-custom-mandatory-inputs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Don't filter out custom/mandatory inputs.
2 changes: 1 addition & 1 deletion .changes/downgrade-rocksb.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Downgrade rocksdb version.
6 changes: 6 additions & 0 deletions .changes/enum-serialization-attributes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add `u8` representation to serialization and deserialization for `ParticipationEventType`.
2 changes: 1 addition & 1 deletion .changes/expiredNftBurn.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix address for the amount of expired NFTs that get burned with `Account::burnNft()`;
2 changes: 1 addition & 1 deletion .changes/expose-participation-type.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Expose extra participation type and add answers field to TrackedParticipationOverview
2 changes: 1 addition & 1 deletion .changes/faucet.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Add account.requestFundsFromFaucet() command.
6 changes: 6 additions & 0 deletions .changes/fix-build-script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Fix build script filename.
6 changes: 6 additions & 0 deletions .changes/fix-burn-mismatch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"client-nodejs-binding": patch
---

`Burn` fields are now optional.
`Burn::nativeTokens` is now an array.
2 changes: 1 addition & 1 deletion .changes/fix-not-synced-timestamp.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix not synced timestamp issue.
2 changes: 1 addition & 1 deletion .changes/fix-participation-function-enum-variant.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix mistyped `GetParticipationEventIds` enum variant.
6 changes: 6 additions & 0 deletions .changes/fix-rebuild-script.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Fix rebuild script.
2 changes: 1 addition & 1 deletion .changes/fixNftPrepareOutput.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Use correct NFT id for existing NFT in prepareOutput().
2 changes: 1 addition & 1 deletion .changes/fixPrepareOutput.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix min storage deposit amount in prepareOutput().
2 changes: 1 addition & 1 deletion .changes/generateAddress.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Add generateAddress().
6 changes: 6 additions & 0 deletions .changes/get-included-block-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add `Client::getIncludedBlockMetadata`.
2 changes: 1 addition & 1 deletion .changes/get-incoming-tx.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Add getIncomingTransactionData() and IncomingTransactionData type.
2 changes: 1 addition & 1 deletion .changes/get-participation-overview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fixed `Account::getParticipationOverview()` with multiple events and different nodes;
2 changes: 1 addition & 1 deletion .changes/getAccountIndexes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Add getAccountIndexes().
2 changes: 1 addition & 1 deletion .changes/getParticipationOverview.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

`Account::getParticipationOverview` sends requests now in parallel.
2 changes: 1 addition & 1 deletion .changes/getParticipationOverviewEventIds.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

`Account::getParticipationOverview` optional accepts eventIds to filter.
6 changes: 6 additions & 0 deletions .changes/hashTransactionEssence.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

---
"client-nodejs-binding": patch
---

Add `Client::hashTransactionEssence()`;
2 changes: 1 addition & 1 deletion .changes/improve-consolidation-logic.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Improve output consolidation logic.
2 changes: 1 addition & 1 deletion .changes/improve-output-type.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix faulty types for getParticipationEventStatus return value
2 changes: 1 addition & 1 deletion .changes/incoming-txs-requests.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Stop endlessly requesting inaccessible incoming trasactions.
2 changes: 1 addition & 1 deletion .changes/incomingtransactions-type.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
"nodejs-binding": patch
"wallet-nodejs-binding": patch
---

Fix incomingTransactions() return type definition.
Loading

0 comments on commit 43f37fa

Please sign in to comment.