Skip to content

Commit 10044d7

Browse files
Merge pull request #195 from ElrondNetwork/prepare-release
Deprecate EsdtHelpers in favor of @elrondnetwork/transaction-decoder
2 parents a417947 + b88750e commit 10044d7

File tree

7 files changed

+22
-132
lines changed

7 files changed

+22
-132
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ All notable changes will be documented in this file.
55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

77
## Unreleased
8+
- TBD
9+
10+
## 10.0.1-beta.1
811
- [TokenPayment instead of Balance, where applicable](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/193)
9-
- [Breaking change: deprecate / remove balance & balance builder](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/194)
12+
- [Breaking change: Deprecate / remove balance & balance builder](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/194)
13+
- [Breaking change: Deprecate EsdtHelpers in favor of @elrondnetwork/transaction-decoder](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/195/files)
1014

1115
## 10.0.0-alpha.5
1216
- [Breaking change: adjustements to transaction awaitening and completion, transaction watcher](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/173)
@@ -55,6 +59,7 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
5559
- Remove `interaction.withGasLimitComponents()`. Not so helpful anymore (since `NetworkConfig` isn't a singleton anymore).
5660
- `TokenPayment` should be used instead of `Balance`, where applicable.
5761
- Deprecate / remove `Balance` & `BalanceBuilder`. `TokenPayment` / `IAccountBalance` (a simple big number) should be used instead, depending on the purpose.
62+
- Deprecated `EsdtHelpers` in favor of `@elrondnetwork/transaction-decoder`.
5863

5964
## [10.0.0-beta.3]
6065
- [Extract dapp / signing providers to separate repositories](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/170)

package-lock.json

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@elrondnetwork/erdjs",
3-
"version": "10.0.1-beta.0",
3+
"version": "10.0.1-beta.1",
44
"description": "Smart Contracts interaction framework",
55
"main": "out/index.js",
66
"types": "out/index.d.js",
@@ -36,7 +36,7 @@
3636
"protobufjs": "6.10.2"
3737
},
3838
"devDependencies": {
39-
"@elrondnetwork/erdjs-network-providers": "0.1.3",
39+
"@elrondnetwork/erdjs-network-providers": "0.1.4",
4040
"@elrondnetwork/erdjs-walletcore": "1.0.0",
4141
"@types/assert": "1.4.6",
4242
"@types/chai": "4.2.11",

src/esdtHelpers.spec.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/esdtHelpers.ts

Lines changed: 0 additions & 75 deletions
This file was deleted.

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@ export * from "./networkParams";
1414
export * from "./signableMessage";
1515
export * from "./utils";
1616
export * from "./scArgumentsParser";
17-
export * from "./esdtHelpers";
1817
export * from "./tokenPayment";
1918
export * from "./smartcontracts";

src/testutils/mockProvider.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ export class MockProvider {
2626

2727
this.accounts.set(
2828
MockProvider.AddressOfAlice.bech32(),
29-
new AccountOnNetwork({ nonce: 0, balance: createAccountBalance(1000).toString() })
29+
new AccountOnNetwork({ nonce: 0, balance: createAccountBalance(1000) })
3030
);
3131
this.accounts.set(
3232
MockProvider.AddressOfBob.bech32(),
33-
new AccountOnNetwork({ nonce: 5, balance: createAccountBalance(500).toString() })
33+
new AccountOnNetwork({ nonce: 5, balance: createAccountBalance(500) })
3434
);
3535
this.accounts.set(
3636
MockProvider.AddressOfCarol.bech32(),
37-
new AccountOnNetwork({ nonce: 42, balance: createAccountBalance(300).toString() })
37+
new AccountOnNetwork({ nonce: 42, balance: createAccountBalance(300) })
3838
);
3939
}
4040

0 commit comments

Comments
 (0)