Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
39aff55
Remove "boundaryAdapters" (simplification).
andreibancioiu Apr 8, 2022
d969e1e
Remove smartContract.getOwner() (surprising behavior of function, usa…
andreibancioiu Apr 8, 2022
19044a9
Remove unexpected assertions (Signature class).
andreibancioiu Apr 8, 2022
d8867a7
Remove opaque, quite redundant verification (ErrTransactionNotSigned).
andreibancioiu Apr 8, 2022
16e448f
Remove transaction.awaitSigned() (it isn't useful in relation with an…
andreibancioiu Apr 8, 2022
3f9f257
Remove transaction.awaitHashed() (lacks use-case).
andreibancioiu Apr 8, 2022
32bdc92
Remove opaque side-effect (contract address computed upon signing the…
andreibancioiu Apr 8, 2022
f5cdd6f
Remove not used events.
andreibancioiu Apr 9, 2022
dc1758a
Remove not used interfaces (e.g. ISignable is not needed in erdjs, bu…
andreibancioiu Apr 9, 2022
da5c6f9
Fix tests.
andreibancioiu Apr 9, 2022
126c911
Remove not used fields: contract.code, contract.codeMetadata.
andreibancioiu Apr 9, 2022
4a05628
Remove field not used.
andreibancioiu Apr 9, 2022
886f957
Remove interaction.getContract(). Add interaction.getContractAddress().
andreibancioiu Apr 9, 2022
1257041
Refactor tests (deployments).
andreibancioiu Apr 9, 2022
d1f8031
Remove not-needed interface (IResultsParser).
andreibancioiu Apr 9, 2022
c3e1593
Remove function Code.fromFile() (was relying on "fs").
andreibancioiu Apr 9, 2022
6f3ace2
Remove not needed function: Code.nothing().
andreibancioiu Apr 9, 2022
5d25c39
Remove not used constant, packages.
andreibancioiu Apr 9, 2022
a318767
erdjs does not depend on "axios" and "fs" anymore. Changed the way an…
andreibancioiu Apr 9, 2022
8e55cf0
Remove not used files.
andreibancioiu Apr 9, 2022
568f5b8
Update changelog.
andreibancioiu Apr 9, 2022
211ac2b
Fix npm run compile.
andreibancioiu Apr 10, 2022
894ed1f
Fix after review (rename interface).
andreibancioiu Apr 11, 2022
305ba50
Update package-lock.
andreibancioiu Apr 11, 2022
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
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.

## Unreleased
- TBD
- [Breaking changes: cleanup and minor improvements prior release (step 1)](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/190)

## 10.0.0-alpha.5
- [Breaking change: adjustements to transaction awaitening and completion, transaction watcher](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/173)
Expand Down Expand Up @@ -41,8 +41,14 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
- Moved network providers and contract wrappers to separate repositories:
- https://github.com/ElrondNetwork/elrond-sdk-erdjs-network-providers
- https://github.com/ElrondNetwork/elrond-sdk-erdjs-contract-wrappers
- Rename `methods` to `methodsExplicit`. Rename `methodsAuto` (only added in erdjs 10 beta) to `methods` (default choice). Therefore, by default, interactions are created without having to pass `TypedValue` objects as parameters. Automatic type inference is applied.
- Remove `SmartContractController` (downgraded to a mere test utility).
- Renamed `methods` to `methodsExplicit`. Rename `methodsAuto` (only added in erdjs 10 beta) to `methods` (default choice). Therefore, by default, interactions are created without having to pass `TypedValue` objects as parameters. Automatic type inference is applied.
- Removed `SmartContractController` (downgraded to a mere test utility).
- erdjs does not depend on `axios` and `fs` anymore. Changed the way an `AbiRegistry` is created. Removed function `Code.fromFile()` (was relying on `fs`).
- Removed `smartContract.getOwner()` (surprising behavior of function, usage not recommended).
- Removed `transaction.awaitHashed()` (lacks use-case).
- Removed `transaction.awaitSigned()` (it isn't useful in relation with any of our signing providers).
- Removed not used interfaces (e.g. `ISignable` is not needed in erdjs, but in walletcore).
- Removed `interaction.getContract()`. Add `interaction.getContractAddress()`.

## [10.0.0-beta.3]
- [Extract dapp / signing providers to separate repositories](https://github.com/ElrondNetwork/elrond-sdk-erdjs/pull/170)
Expand Down
56 changes: 14 additions & 42 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"tests-mainnet": "mocha $(find . -name '*.main.net.spec.ts')",
"compile-browser": "tsc -p tsconfig.json && browserify out/index.js -o out-browser/erdjs.js --standalone erdjs -p esmify",
"compile-browser-min": "tsc -p tsconfig.json && browserify out/index.js -o out-browser/erdjs.min.js --standalone erdjs -p esmify -p tinyify",
"compile": "tsc -p tsconfig.json && npm run copy-files",
"compile": "tsc -p tsconfig.json",
"compile-proto": "npx pbjs -t static-module -w commonjs -o src/proto/compiled.js src/proto/transaction.proto && npx pbts -o src/proto/compiled.d.ts src/proto/compiled.js",
"copy-files": "mkdir -p out/testutils/ && mkdir -p out/abi/ && cp -R src/abi/* out/abi/",
"browser-tests": "make clean && make browser-tests && http-server --port=9876 -o browser-tests/index.html",
"lint": "tslint --project .",
"pretest": "npm run compile",
Expand All @@ -29,12 +28,9 @@
"license": "GPL-3.0-or-later",
"dependencies": {
"@elrondnetwork/transaction-decoder": "0.1.0",
"abort-controller": "3.0.0",
"axios": "0.24.0",
"bech32": "1.1.4",
"bignumber.js": "9.0.1",
"buffer": "6.0.3",
"json-bigint": "1.0.0",
"json-duplicate-key-handle": "1.0.0",
"keccak": "3.0.1",
"protobufjs": "6.10.2"
Expand All @@ -48,6 +44,7 @@
"@types/node": "13.13.2",
"@types/protobufjs": "6.0.0",
"assert": "2.0.0",
"axios": "0.24.0",
"browserify": "17.0.0",
"chai": "4.2.0",
"esmify": "2.1.1",
Expand Down
109 changes: 0 additions & 109 deletions src/abi/builtinFunctions.abi.json

This file was deleted.

Loading