Skip to content

Commit 8828d28

Browse files
author
ivaylonikolov7
authored
chore(release): v2.85.0 (#4149)
Signed-off-by: Ivaylo Nikolov <ivaylo.nikolov@limechain.tech>
1 parent 409028a commit 8828d28

86 files changed

Lines changed: 685 additions & 938 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
# v2.85.0
9+
10+
### Fixed
11+
- Fixed spurious `FreezeTransaction.endTime` deprecation warnings when deserializing a freeze transaction from protobuf; `_fromProtobuf` now assigns `_endTime` directly instead of routing through the deprecated constructor path. [#4095](https://github.com/hiero-ledger/hiero-sdk-js/pull/4095) [#4067](https://github.com/hiero-ledger/hiero-sdk-js/issues/4067)
12+
- Clarified `FreezeTransaction.endTime` deprecation messaging and JSDoc to note that the network ignores this field and there is no replacement. [#4095](https://github.com/hiero-ledger/hiero-sdk-js/pull/4095)
13+
- Fixed `Mnemonic.calculateDerivationPathValues()` silently returning an array of empty values for malformed BIP-44 derivation paths; it now throws a descriptive error that includes the invalid input and the expected format. [#3992](https://github.com/hiero-ledger/hiero-sdk-js/pull/3992) [#3995](https://github.com/hiero-ledger/hiero-sdk-js/issues/3995)
14+
815
# v2.84.0
916

1017
### Added

eslint.config.cjs

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ const tsParser = require("@typescript-eslint/parser");
88
const typescriptEslint = require("@typescript-eslint/eslint-plugin");
99
const deprecation = require("eslint-plugin-deprecation");
1010
// eslint-plugin-n v18+ is ESM-only and no longer resolvable through
11-
// FlatCompat's "plugin:n/recommended" string, so consume its flat config
12-
// directly. `.default` unwraps the ESM namespace returned by require().
13-
const nodePlugin = require("eslint-plugin-n").default;
11+
// FlatCompat's "plugin:n/recommended" string, so consume its flat config directly.
12+
const nodePluginModule = require("eslint-plugin-n");
13+
const nodePlugin = nodePluginModule.configs
14+
? nodePluginModule
15+
: nodePluginModule.default;
1416
const js = require("@eslint/js");
1517

1618
const { FlatCompat } = require("@eslint/eslintrc");
@@ -22,6 +24,16 @@ const compat = new FlatCompat({
2224
});
2325

2426
module.exports = defineConfig([
27+
{
28+
ignores: [
29+
"examples/demo-umd/**",
30+
"examples/frontend-examples/**",
31+
"examples/react-native-example/**",
32+
"examples/react-native-example-legacy/**",
33+
"examples/simple_rest_signature_provider/**",
34+
"examples/custom-grpc-web-proxies-network/**",
35+
],
36+
},
2537
{
2638
languageOptions: {
2739
globals: {
@@ -107,4 +119,20 @@ module.exports = defineConfig([
107119
"deprecation/deprecation": "warn",
108120
},
109121
},
122+
{
123+
files: ["examples/**/*.js"],
124+
languageOptions: {
125+
parserOptions: {
126+
project: ["./examples/tsconfig.json"],
127+
tsconfigRootDir: __dirname,
128+
},
129+
},
130+
rules: {
131+
"n/no-process-exit": "off",
132+
"jsdoc/require-description": "off",
133+
"jsdoc/no-blank-block-descriptions": "off",
134+
"jsdoc/reject-any-type": "off",
135+
"jsdoc/escape-inline-tags": "off",
136+
},
137+
},
110138
]);

examples/Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ tasks:
5050

5151
"lint:js":
5252
cmds:
53-
- ./node_modules/.bin/eslint --fix "*.json" "**/*.js"
53+
- ./node_modules/.bin/eslint --fix "**/*.js"

examples/account/alias.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import dotenv from "dotenv";
1414

1515
dotenv.config();
1616

17+
/**
18+
*
19+
*/
1720
async function main() {
1821
if (
1922
process.env.OPERATOR_ID == null ||

examples/account/allowance.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import dotenv from "dotenv";
1919

2020
dotenv.config();
2121

22+
/**
23+
*
24+
*/
2225
async function main() {
2326
if (
2427
process.env.OPERATOR_ID == null ||

examples/account/create-high-volume.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ import dotenv from "dotenv";
1111

1212
dotenv.config();
1313

14+
/**
15+
*
16+
*/
1417
async function main() {
1518
if (
1619
!process.env.OPERATOR_ID ||

examples/account/create-with-alias-and-receiver-signature.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ Reference: [HIP-583 Expand alias support in CryptoCreate & CryptoTransfer Transa
2525
- Get the `AccountInfo` and show that the account has contractAccountId
2626
*/
2727

28+
/**
29+
*
30+
*/
2831
async function main() {
2932
if (process.env.OPERATOR_ID == null || process.env.OPERATOR_KEY == null) {
3033
throw new Error(

examples/account/create-with-alias.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ Reference: [HIP-583 Expand alias support in CryptoCreate & CryptoTransfer Transa
2323
- Get the `AccountInfo` and show that the account has contractAccountId
2424
*/
2525

26+
/**
27+
*
28+
*/
2629
async function main() {
2730
if (process.env.OPERATOR_ID == null || process.env.OPERATOR_KEY == null) {
2831
throw new Error(

examples/account/create-with-thresholdkey.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ dotenv.config();
2020
* Step 0: Set up client connection to Hedera network
2121
*/
2222

23+
/**
24+
*
25+
*/
2326
async function main() {
2427
if (
2528
!process.env.OPERATOR_ID ||

examples/account/create.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ import dotenv from "dotenv";
1010

1111
dotenv.config();
1212

13+
/**
14+
*
15+
*/
1316
async function main() {
1417
if (
1518
process.env.OPERATOR_ID == null ||

0 commit comments

Comments
 (0)