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

release: v2.48.1 #2385

Merged
merged 4 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.48.1

## What's Changed

* release: proto v2.15.0-beta.2 by @svetoslav-nikol0v in https://github.com/hashgraph/hedera-sdk-js/pull/2367
* ci: update publishing workflow to use appropriate pre release and stable versions by @rbarkerSL in https://github.com/hashgraph/hedera-sdk-js/pull/2364
* feature: custom derivation paths in Mnemonic ECDSA private key derivation by @bguiz in https://github.com/hashgraph/hedera-sdk-js/pull/2341

## v2.48.0

## What's Changed
Expand Down
4 changes: 2 additions & 2 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## Release process of JS SDK

- **Create** a new release branch following the naming convention for:
- stable release - `release/v*.*.*`
- beta release - `release/v*.*.*-beta.*`
- stable release - `release-v*.*.*`
- beta release - `release-v*.*.*-beta.*`
- **Run** the [local node](https://github.com/hashgraph/hedera-local-node)
- **Run** `task test:integration:node`
- **Stop** the [local node](https://github.com/hashgraph/hedera-local-node)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hashgraph/sdk",
"version": "2.48.0",
"version": "2.48.1",
"description": "Hedera™ Hashgraph SDK",
"types": "./lib/index.d.ts",
"main": "./lib/index.cjs",
Expand Down
1 change: 1 addition & 0 deletions src/Mnemonic.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ export default class Mnemonic {
passphrase,
derivationPathValues,
) {
// eslint-disable-next-line deprecation/deprecation
return await this.toEcdsaPrivateKey(passphrase, derivationPathValues);
}

Expand Down
8 changes: 4 additions & 4 deletions src/Status.js
Original file line number Diff line number Diff line change
Expand Up @@ -2938,13 +2938,13 @@ Status.InvalidEndpoint = new Status(351);
*/
Status.GossipEndpointsExceededLimit = new Status(352);

/**
/**
* The transaction attempted to use duplicate `TokenReference`.<br/>
* This affects `TokenReject` attempting to reject same token reference more than once.
*/
Status.TokenReferenceRepeated = new Status(353);

/**
/**
* The account id specified as the owner in `TokenReject` is invalid or does not exist.
*/
Status.InvalidOwnerId = new Status(354);
Expand All @@ -2970,6 +2970,6 @@ Status.InvalidIpv4Address = new Status(357);
Status.EmptyTokenReferenceList = new Status(358);

/*
* The node account is not allowed to be updated
*/
* The node account is not allowed to be updated
*/
Status.UpdateNodeAccountNotAllowed = new Status(359);
4 changes: 3 additions & 1 deletion test/unit/Mnemonic.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,9 @@ describe("Mnemonic", function () {
const result2 = await mnemonic1.calculateDerivationPathValues(DPATH_2);

// NOTE that 0x80000000 == 2147483648
expect(result1).to.deep.equal([-2147483604, -2147483588, -2147483648, 0, 0]);
expect(result1).to.deep.equal([
-2147483604, -2147483588, -2147483648, 0, 0,
]);
expect(result2).to.deep.equal([44, 60, 0, -1, -2]);
});

Expand Down