Skip to content

Commit

Permalink
Bump to v1.2.2, update bignumber.js version
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenkhong committed May 11, 2021
1 parent 6bfd8a6 commit abfdf30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "zilswap-sdk",
"version": "1.2.1",
"version": "1.2.2",
"description": "Zilswap TypeScript SDK",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ export class Zilswap {
const promises = this.observedTxs.map(async (observedTx: ObservedTx) => {
const result = await this.zilliqa.blockchain.getTransactionStatus(observedTx.hash)

if (result && result.modificationState == 2) {
if (result && result.modificationState === 2) {
// either confirmed or rejected
const confirmedTxn = await this.zilliqa.blockchain.getTransaction(observedTx.hash)
const receipt = confirmedTxn.getReceipt()
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ base-x@^3.0.2:
safe-buffer "^5.0.1"

bignumber.js@^9.0.0:
version "9.0.0"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.0.tgz#805880f84a329b5eac6e7cb6f8274b6d82bdf075"
integrity sha512-t/OYhhJ2SD+YGBQcjY8GzzDHEk9f3nerxjtfa6tlMXfe7frs/WozhvCNoGvpM0P3bNf3Gq5ZRMlGr5f3r4/N8A==
version "9.0.1"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.0.1.tgz#8d7ba124c882bfd8e43260c67475518d0689e4e5"
integrity sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==

bindings@^1.5.0:
version "1.5.0"
Expand Down

0 comments on commit abfdf30

Please sign in to comment.