diff --git a/.changes/pre.json b/.changes/pre.json index c3b5a7fa86..946b5e216a 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -3,6 +3,7 @@ "changes": [ ".changes/IBip32Chain.md", ".changes/ParticipationEventWithNodes.md", + ".changes/account-balance.md", ".changes/account-bech32-hrp.md", ".changes/account-manager-listen-async.md", ".changes/account-recovery.md", @@ -22,6 +23,7 @@ ".changes/bech32-address.md", ".changes/build-fix.md", ".changes/burn-interface.md", + ".changes/burn-native-tokens.md", ".changes/claimoutputs.md", ".changes/clearlistener-move.md", ".changes/computeAlias-NftId.md", @@ -46,11 +48,13 @@ ".changes/fix-use-correct-sync-options.md", ".changes/fixNftPrepareOutput.md", ".changes/fixPrepareOutput.md", + ".changes/generate-ed25519-evm-addresses.md", ".changes/generateAddress.md", ".changes/get-included-block-metadata.md", ".changes/get-incoming-tx.md", ".changes/get-participation-overview.md", ".changes/getAccountIndexes.md", + ".changes/getIncomingTransaction.md", ".changes/getParticipationOverview.md", ".changes/getParticipationOverviewEventIds.md", ".changes/hashTransactionEssence.md", @@ -61,6 +65,7 @@ ".changes/input-signing-data.md", ".changes/install.md", ".changes/ledger-nano-prompt.md", + ".changes/ledger-status-locked.md", ".changes/managerOptions.md", ".changes/merge-send-micro-amount.md", ".changes/move-participation-functions.md", @@ -101,6 +106,7 @@ ".changes/rocksdb-19.md", ".changes/sdr-prepare-output.md", ".changes/send-params.md", + ".changes/sign-evm.md", ".changes/sign-verify-ed25519.md", ".changes/signature-unlock.md", ".changes/signatureUnlock.md", @@ -113,6 +119,7 @@ ".changes/tagAndMetadataHex.md", ".changes/tagged-data-payload.md", ".changes/tx-len-validation.md", + ".changes/typed-events.md", ".changes/uint8array-replace-number-array.md.md", ".changes/unhealthy-nodes.md", ".changes/unlock-inputs.md", diff --git a/sdk/src/wallet/bindings/nodejs/CHANGELOG.md b/sdk/src/wallet/bindings/nodejs/CHANGELOG.md index 071649b33b..806bd75ed4 100644 --- a/sdk/src/wallet/bindings/nodejs/CHANGELOG.md +++ b/sdk/src/wallet/bindings/nodejs/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## \[2.0.3-rc.36] + +- [`43fed82c`](https://github.com/iotaledger/iota-sdk/commit/43fed82ce5d11fc6da0003565c44f10843165a32)([#498](https://github.com/iotaledger/iota-sdk/pull/498)) Rename `AccountBalance` to `Balance`. +- [`e6b709e3`](https://github.com/iotaledger/iota-sdk/commit/e6b709e381c69e8d007f6f4a0e5017bccfe7a6c7)([#501](https://github.com/iotaledger/iota-sdk/pull/501)) Changed `Burn.nativeTokens` from `INativeToken[]` to `Map`; +- [`df2f8ce0`](https://github.com/iotaledger/iota-sdk/commit/df2f8ce0ab3235b67c75ff89cb7e2c553d9557d3)([#453](https://github.com/iotaledger/iota-sdk/pull/453)) Rename generateAddresses to generateEd25519Addresses for Account. + Add generateEvmAddresses function for Account. +- [`8f5cbae0`](https://github.com/iotaledger/iota-sdk/commit/8f5cbae05a19a38222d55dbd7ba95c53d54e25e3)([#469](https://github.com/iotaledger/iota-sdk/pull/469)) Rename `getIncomingTransactionData` to `getIncomingTransaction`. + Change `incomingTransactions()` return type from `[string, Transaction][]`to `Transaction[]`. +- [`020770df`](https://github.com/iotaledger/iota-sdk/commit/020770df163623b58b93be67d60cd8bbf95b1fe2)([#553](https://github.com/iotaledger/iota-sdk/pull/553)) `LedgerNanoStatus::locked` is now optional since it's an IOTA/Shimmer specific API. +- [`b5e8a185`](https://github.com/iotaledger/iota-sdk/commit/b5e8a185a6fcda5103aa43eee3e4ded502212127)([#530](https://github.com/iotaledger/iota-sdk/pull/530)) Add `Account::signEvm` method. Add `EvmSignature` to types. +- [`bfed9aad`](https://github.com/iotaledger/iota-sdk/commit/bfed9aad82404b235f863f5f8cd87e4f010fad85)([#11](https://github.com/iotaledger/iota-sdk/pull/11)) `EventType` renamed to `WalletEventType`. + Properly typed events. + ## \[2.0.3-rc.35] - [`6df8879f`](https://github.com/iotaledger/iota-sdk/commit/6df8879f70fe58b2445deb65e7d2aa83284d3d36)([#385](https://github.com/iotaledger/iota-sdk/pull/385)) Remove `IncreaseNativeTokenSupplyOptions`. diff --git a/sdk/src/wallet/bindings/nodejs/package.json b/sdk/src/wallet/bindings/nodejs/package.json index 6cb056b2f1..88dd758a70 100644 --- a/sdk/src/wallet/bindings/nodejs/package.json +++ b/sdk/src/wallet/bindings/nodejs/package.json @@ -1,64 +1,64 @@ { - "name": "@iota/wallet", - "version": "2.0.3-rc.35", - "description": "Node.js binding to the wallet library", - "main": "out/lib/index.js", - "types": "out/lib/index.d.ts", - "scripts": { - "lint": "eslint --ignore-path .eslintignore --ext .js,.ts .", - "format": "prettier --ignore-path .eslintignore -w \"{,*/**/}*.{ts,js,json}\"", - "format-check": "prettier --ignore-path .eslintignore -c \"{,*/**/}*.{ts,js,json}\"", - "build": "node scripts/neon-build && tsc", - "build:neon": "cargo-cp-artifact -ac iota-wallet-nodejs ./index.node -- cargo build --release --message-format=json-render-diagnostics", - "docs-wiki-build": "typedoc --githubPages false --disableSources --excludePrivate --excludeInternal --excludeNotDocumented --plugin typedoc-plugin-markdown --theme markdown --hideBreadcrumbs --entryDocument api_ref.md --readme none --hideGenerator --sort source-order --exclude ./**/src/index.ts --out ../../documentation/docs/references/nodejs ./lib/index.ts ", - "prebuild-x64": "prebuild --runtime napi --target 6 --prepack scripts/neon-build.js --strip --arch x64", - "prebuild-arm64": "prebuild --runtime napi --target 6 --prepack scripts/neon-build.js --strip --arch arm64", - "rebuild": "node scripts/neon-build && tsc && node scripts/strip.js", - "install": "prebuild-install --runtime napi --tag-prefix='wallet-nodejs-binding-v' && tsc || npm run rebuild", - "test": "jest --forceExit" - }, - "author": "IOTA Foundation ", - "license": "Apache-2.0", - "dependencies": { - "@iota/types": "^1.0.0-beta.15", - "cargo-cp-artifact": "^0.1.6", - "prebuild-install": "^7.1.1", - "typescript": "^4.9.4" - }, - "devDependencies": { - "@types/jest": "^29.4.0", - "@typescript-eslint/eslint-plugin": "^5.30.7", - "@typescript-eslint/parser": "^5.30.7", - "electron-build-env": "^0.2.0", - "eslint": "^8.20.0", - "eslint-config-prettier": "^8.5.0", - "jest": "^29.4.2", - "prebuild": "^11.0.4", - "prettier": "^2.8.3", - "ts-jest": "^29.0.5", - "typedoc": "^0.23.24", - "typedoc-plugin-markdown": "^3.14.0" - }, - "overrides": { - "tar@<=4.4.17": "^4.4.19", - "tar@2.0.0": "^4.4.19", - "simple-get@1.4.2": "^2.8.2" - }, - "resolutions": { - "tar": "^4.4.19", - "simple-get": "^2.8.2" - }, - "repository": { - "type": "git", - "url": "git+https://github.com/iotaledger/iota-sdk.git" - }, - "binary": { - "napi_versions": [ - 6 - ] - }, - "bugs": { - "url": "https://github.com/iotaledger/iota-sdk/issues" - }, - "homepage": "https://github.com/iotaledger/iota-sdk#readme" + "name": "@iota/wallet", + "version": "2.0.3-rc.36", + "description": "Node.js binding to the wallet library", + "main": "out/lib/index.js", + "types": "out/lib/index.d.ts", + "scripts": { + "lint": "eslint --ignore-path .eslintignore --ext .js,.ts .", + "format": "prettier --ignore-path .eslintignore -w \"{,*/**/}*.{ts,js,json}\"", + "format-check": "prettier --ignore-path .eslintignore -c \"{,*/**/}*.{ts,js,json}\"", + "build": "node scripts/neon-build && tsc", + "build:neon": "cargo-cp-artifact -ac iota-wallet-nodejs ./index.node -- cargo build --release --message-format=json-render-diagnostics", + "docs-wiki-build": "typedoc --githubPages false --disableSources --excludePrivate --excludeInternal --excludeNotDocumented --plugin typedoc-plugin-markdown --theme markdown --hideBreadcrumbs --entryDocument api_ref.md --readme none --hideGenerator --sort source-order --exclude ./**/src/index.ts --out ../../documentation/docs/references/nodejs ./lib/index.ts ", + "prebuild-x64": "prebuild --runtime napi --target 6 --prepack scripts/neon-build.js --strip --arch x64", + "prebuild-arm64": "prebuild --runtime napi --target 6 --prepack scripts/neon-build.js --strip --arch arm64", + "rebuild": "node scripts/neon-build && tsc && node scripts/strip.js", + "install": "prebuild-install --runtime napi --tag-prefix='wallet-nodejs-binding-v' && tsc || npm run rebuild", + "test": "jest --forceExit" + }, + "author": "IOTA Foundation ", + "license": "Apache-2.0", + "dependencies": { + "@iota/types": "^1.0.0-beta.15", + "cargo-cp-artifact": "^0.1.6", + "prebuild-install": "^7.1.1", + "typescript": "^4.9.4" + }, + "devDependencies": { + "@types/jest": "^29.4.0", + "@typescript-eslint/eslint-plugin": "^5.30.7", + "@typescript-eslint/parser": "^5.30.7", + "electron-build-env": "^0.2.0", + "eslint": "^8.20.0", + "eslint-config-prettier": "^8.5.0", + "jest": "^29.4.2", + "prebuild": "^11.0.4", + "prettier": "^2.8.3", + "ts-jest": "^29.0.5", + "typedoc": "^0.23.24", + "typedoc-plugin-markdown": "^3.14.0" + }, + "overrides": { + "tar@<=4.4.17": "^4.4.19", + "tar@2.0.0": "^4.4.19", + "simple-get@1.4.2": "^2.8.2" + }, + "resolutions": { + "tar": "^4.4.19", + "simple-get": "^2.8.2" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/iotaledger/iota-sdk.git" + }, + "binary": { + "napi_versions": [ + 6 + ] + }, + "bugs": { + "url": "https://github.com/iotaledger/iota-sdk/issues" + }, + "homepage": "https://github.com/iotaledger/iota-sdk#readme" }