Skip to content

Commit

Permalink
Release/1.6.2 (#845)
Browse files Browse the repository at this point in the history
* added listener for window closing (#752)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix displaying amount in CSPR only for Casper (#753)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* UI changed based on a new design (#754)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed skeleton for NFT image and made small changes (#755)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add remembering scroll position in the NFT, Deploys and Tokens list (#759)

* added remembering scroll position in the NFT list and removed background fetch for nft

* added remembering scroll position in the NFT list and removed background fetch for nft

* added remembering scroll position in the Deploys list, removed background fetch for deploys and made some improvements

* small improvements

* added remembering scroll position in the Casper token activity list and small improvements

* added remembering scroll position in the ERC20 token activity list and small improvements

* removed duplication and small fix

* fixed infinity scroll for NFT

* fixed infinity scroll for Deploys tab

* fixed infinity scroll for Casper token activity

* fixed infinity scroll for ERC20 token activity

* unused infinite scroll hook removed

* updated error handler for account deploys and NFT tokens request

---------

Co-authored-by: ost-ptk <[email protected]>

* illustrations are updated (#762)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix native transfer in Firefox (#763)

* added a check for deploy hash before the extended deploys info request

* updated manifest permission for Firefox

* removed comment

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added tooltip on hover hash (#764)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* Redesign list of NFTs (#766)

* Redesign list of NFTs

* Fix PR issues and add useAsyncEffect hook

* Fix issue with audio loading state

* Fix issue with deploy timestamp (#768)

* Release 1.5.2 version (#777)

* feature: add NFT token transfer (#769)

* added UI for NFT token transfer flow and business logic draft

* added nft transfer logic

* added fix for deploy timestamp issue

* removed unused packages

* removed back button from success screen

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix issues with the layout of a deploy list (#772)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump sqlite3 from 5.0.8 to 5.1.6 (#694)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.8 to 5.1.6.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Commits](TryGhost/node-sqlite3@v5.0.8...v5.1.6)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump json5 from 1.0.1 to 1.0.2 (#695)

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump dns-packet from 5.3.1 to 5.6.0 (#696)

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.6.0.
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](mafintosh/dns-packet@v5.3.1...v5.6.0)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump xml2js and web-ext (#697)

Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [web-ext](https://github.com/mozilla/web-ext). These dependencies need to be updated together.


Updates `xml2js` from 0.4.23 to 0.5.0
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0)

Updates `web-ext` from 7.5.0 to 7.6.2
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](mozilla/web-ext@7.5.0...7.6.2)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: web-ext
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* build(deps-dev): bump eslint-plugin-jsx-a11y from 6.6.1 to 6.7.1 (#703)

Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.6.1 to 6.7.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-jsx-a11y@v6.6.1...v6.7.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump fs-extra from 11.1.0 to 11.1.1 (#705)

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.0 to 11.1.1.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](jprichardson/node-fs-extra@11.1.0...11.1.1)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump i18next-conv from 13.1.0 to 14.0.0 (#706)

Bumps [i18next-conv](https://github.com/i18next/i18next-gettext-converter) from 13.1.0 to 14.0.0.
- [Release notes](https://github.com/i18next/i18next-gettext-converter/releases)
- [Changelog](https://github.com/i18next/i18next-gettext-converter/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-gettext-converter@v13.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: i18next-conv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump word-wrap from 1.2.3 to 1.2.4 (#731)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump apollo-server-core from 3.11.1 to 3.12.1 (#765)

Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.11.1 to 3.12.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Commits](https://github.com/apollographql/apollo-server/commits/[email protected]/packages/apollo-server-core)

---
updated-dependencies:
- dependency-name: apollo-server-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump i18next from 21.10.0 to 23.5.1 (#773)

Bumps [i18next](https://github.com/i18next/i18next) from 21.10.0 to 23.5.1.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v21.10.0...v23.5.1)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix account status indicator (#775)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump eslint from 8.28.0 to 8.49.0 (#776)

Bumps [eslint](https://github.com/eslint/eslint) from 8.28.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.28.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump got and @redux-devtools/cli (#780)

Bumps [got](https://github.com/sindresorhus/got) to 11.8.6 and updates ancestor dependency [@redux-devtools/cli](https://github.com/reduxjs/redux-devtools). These dependencies need to be updated together.


Updates `got` from 9.6.0 to 11.8.6
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](sindresorhus/got@v9.6.0...v11.8.6)

Updates `@redux-devtools/cli` from 1.0.7 to 3.0.1
- [Release notes](https://github.com/reduxjs/redux-devtools/releases)
- [Commits](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/[email protected])

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
- dependency-name: "@redux-devtools/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-player from 2.12.0 to 2.13.0 (#785)

Bumps [react-player](https://github.com/CookPete/react-player) from 2.12.0 to 2.13.0.
- [Changelog](https://github.com/cookpete/react-player/blob/master/CHANGELOG.md)
- [Commits](cookpete/react-player@v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: react-player
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump prettier from 2.8.0 to 3.0.3 (#786)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.0...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump redux from 4.2.0 to 4.2.1 (#787)

Bumps [redux](https://github.com/reduxjs/redux) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/reduxjs/redux/releases)
- [Changelog](https://github.com/reduxjs/redux/blob/master/CHANGELOG.md)
- [Commits](reduxjs/redux@v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: redux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump webpack-dev-server from 4.11.1 to 4.15.1 (#788)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.1 to 4.15.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.11.1...v4.15.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/chrome from 0.0.203 to 0.0.246 (#791)

Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.203 to 0.0.246.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

---
updated-dependencies:
- dependency-name: "@types/chrome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* added message for not supporting reverse look-up modality (#783)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added a placeholder for the contract logo (#784)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix issue with prettier config (#792)

* fixed issue with prettier config

* fixed code style errors

---------

Co-authored-by: ost-ptk <[email protected]>

* added new UI for erc-20 action displaying (#790)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump geckodriver from 3.2.0 to 4.2.1 (#793)

Bumps [geckodriver](https://github.com/webdriverio-community/node-geckodriver) from 3.2.0 to 4.2.1.
- [Release notes](https://github.com/webdriverio-community/node-geckodriver/releases)
- [Changelog](https://github.com/webdriverio-community/node-geckodriver/blob/main/CHANGELOG.md)
- [Commits](webdriverio-community/node-geckodriver@v3.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: geckodriver
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump react-query from 3.39.2 to 3.39.3 (#794)

Bumps [react-query](https://github.com/tannerlinsley/react-query) from 3.39.2 to 3.39.3.
- [Release notes](https://github.com/tannerlinsley/react-query/releases)
- [Commits](https://github.com/tannerlinsley/react-query/commits)

---
updated-dependencies:
- dependency-name: react-query
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-router-dom from 6.4.4 to 6.16.0 (#795)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.4.4 to 6.16.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump @scure/bip39 from 1.1.0 to 1.2.1 (#796)

Bumps [@scure/bip39](https://github.com/paulmillr/scure-bip39) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/paulmillr/scure-bip39/releases)
- [Commits](paulmillr/scure-bip39@1.1.0...1.2.1)

---
updated-dependencies:
- dependency-name: "@scure/bip39"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump electron from 25.8.0 to 25.8.1 (#798)

Bumps [electron](https://github.com/electron/electron) from 25.8.0 to 25.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.8.0...v25.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump lint-staged from 13.0.4 to 14.0.1 (#800)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.0.4 to 14.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/okonet/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v13.0.4...v14.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump tsconfig-paths-webpack-plugin from 4.0.0 to 4.1.0 (#801)

Bumps [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](dividab/tsconfig-paths-webpack-plugin@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: tsconfig-paths-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump @types/facepaint from 1.2.2 to 1.2.3 (#803)

Bumps [@types/facepaint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/facepaint) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/facepaint)

---
updated-dependencies:
- dependency-name: "@types/facepaint"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump webpack-cli from 5.0.0 to 5.1.4 (#804)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.0 to 5.1.4.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/[email protected]@5.1.4)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* removed input type from the transaction fee fields (#807)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* changed method of creating Keys for signing (#808)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix scope of bugs (#809)

* fixed issue with transfer NFT error after wallet unlocking and some improvements

* fixed issue with empty NFT details page after wallet unlocking and some improvements

* fixed issue with home screen scroll

* possible fix for an issue with a gap above the sticky tabs container

* fixed an issue with the scrollable Import account screen

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with the navigation menu screen scroll (#818)

Co-authored-by: ost-ptk <[email protected]>

* casper logo updated (#817)

Co-authored-by: ost-ptk <[email protected]>

* removed the tooltip with the full public key when the user has only one account (#819)

Co-authored-by: ost-ptk <[email protected]>

* build(deps-dev): bump electron from 25.8.1 to 25.9.0 (#822)

Bumps [electron](https://github.com/electron/electron) from 25.8.1 to 25.9.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.8.1...v25.9.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* disabled send button on NFT details page after this NFT was sent (#824)

Co-authored-by: ost-ptk <[email protected]>

* fixed issue with the scroll on home page (#825)

Co-authored-by: ost-ptk <[email protected]>

* Release 1.6.0 version (#826)

* added countdown for user password length (#806)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add change password page (#799)

* fixed issue with prettier config

* fixed code style errors

* added change password page and small refactor

* merge conflict fixed

* merge conflict issues fixed

---------

Co-authored-by: ost-ptk <[email protected]>

* added a checkbox for setting the max transfer amount for CSPR transfer and some refactoring (#805)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with words highlighting in the confirm secret phrase view (#823)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add dark mode (#821)

* added dark mode

* merge conflict issues fixed

* changed png images to svg

* Fix DefaultTheme interface

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* build(deps): bump @scure/bip32 from 1.1.1 to 1.3.2 (#812)

Bumps [@scure/bip32](https://github.com/paulmillr/scure-bip32) from 1.1.1 to 1.3.2.
- [Release notes](https://github.com/paulmillr/scure-bip32/releases)
- [Commits](paulmillr/scure-bip32@1.1.1...1.3.2)

---
updated-dependencies:
- dependency-name: "@scure/bip32"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump webpack from 5.76.0 to 5.88.2 (#813)

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.88.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.0...v5.88.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-plugin-react from 7.31.11 to 7.33.2 (#814)

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.11 to 7.33.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.31.11...v7.33.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/preset-env from 7.20.2 to 7.23.2 (#828)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.20.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve skeleton for dark mode (#835)

* Release 1.6.1 version (#837)

* fixed issue with insufficient data for displaying erc-20 tokens (#840)

Co-authored-by: ost-ptk <[email protected]>

* Improve erc20 tokens fetching

* Update README.md to add reference to CSPR.click for integration (#842)

* Release 1.6.2 version

* Improve erc20 tokens fetching (#843)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Ostap Piatkovskyi <[email protected]>
Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammet Kara <[email protected]>
  • Loading branch information
5 people authored Nov 2, 2023
1 parent b46d34e commit 4da3c73
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 36 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

---

## Integrate Casper Wallet Into Your App

The recommended way of integrating Casper Wallet into your app is through [CSPR.click](https://CSPR.click), which provides a combined integration of major wallets in the Casper ecosystem, all at once, without the burden of maintaining multiple integrations at the same time. Please head over to [the CSPR.click documentation](https://docs.cspr.click) to start.

## Testing Casper Wallet integration on **Casper Wallet Playground**

*Casper Wallet Playground is a React webapp created as a developer tool to help test integration with various features available in Casper Wallet.*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Casper Wallet",
"description": "Securely manage your CSPR tokens and interact with dapps with the self-custody wallet for the Casper blockchain.",
"version": "1.6.1",
"version": "1.6.2",
"author": "MAKE LLC",
"scripts": {
"devtools:redux": "redux-devtools --hostname=localhost",
Expand Down
4 changes: 2 additions & 2 deletions src/apps/popup/pages/home/components/tokens-list/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ export const formatErc20TokenBalance = (
name: token.contract_name,
balance: token.balance,
amount: erc20Amount,
symbol: token.metadata.symbol,
decimals: token.metadata.decimals,
symbol: token.metadata?.symbol || '',
decimals: token.metadata?.decimals,
amountFiat: null,
icon: token.icon_url || 'assets/icons/erc20-avatar.svg'
};
Expand Down
34 changes: 7 additions & 27 deletions src/background/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,7 @@ import {
MapExtendedDeploy,
MapPaginatedExtendedDeploys
} from '@libs/services/account-activity-service';
import {
fetchContractPackage,
fetchErc20Tokens
} from '@libs/services/erc20-service';
import { fetchErc20Tokens } from '@libs/services/erc20-service';

import { openWindow } from './open-window';
import {
Expand Down Expand Up @@ -102,7 +99,7 @@ import {
} from './redux/settings/actions';
import { activeOriginChanged } from './redux/active-origin/actions';
import { selectApiConfigBasedOnActiveNetwork } from './redux/settings/selectors';
import { getUrlOrigin, hasHttpPrefix, notEmpty } from '@src/utils';
import { getUrlOrigin, hasHttpPrefix } from '@src/utils';
import {
CannotGetActiveAccountError,
CannotGetSenderOriginError
Expand Down Expand Up @@ -642,28 +639,11 @@ browser.runtime.onMessage.addListener(
});

if (tokensList) {
const erc20Tokens = await Promise.allSettled(
tokensList?.map(token =>
fetchContractPackage({
casperApiUrl,
contractPackageHash: token.contract_package_hash
}).then(contractPackage => ({
...contractPackage,
balance: token.balance,
contractHash: token.latest_contract?.contract_hash
}))
)
).then(results =>
results
.map(result => {
if (result.status === 'fulfilled') {
return result.value;
} else {
return null;
}
})
.filter(notEmpty)
);
const erc20Tokens = tokensList.map(token => ({
balance: token.balance,
contractHash: token.latest_contract?.contract_hash,
...(token?.contract_package ?? {})
}));

return sendResponse(
serviceMessage.fetchErc20TokensResponse(erc20Tokens)
Expand Down
2 changes: 1 addition & 1 deletion src/libs/services/erc20-service/constants.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const getErc20TokensUrl = (casperApiUrl: string, accountHash: string) =>
`${casperApiUrl}/accounts/${accountHash}/erc20-tokens?fields=latest_contract`;
`${casperApiUrl}/accounts/${accountHash}/erc20-tokens?fields=latest_contract,contract_package`;

export const getContractPackageUrl = (
casperApiUrl: string,
Expand Down
1 change: 1 addition & 0 deletions src/libs/services/erc20-service/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export interface Erc20Token {
protocol_version: string;
timestamp: string;
};
contract_package: ContractPackage;
}

export interface ContractPackage {
Expand Down
2 changes: 1 addition & 1 deletion src/libs/ui/components/token-plate/token-plate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const TokenPlate = ({
type="bodyHash"
color="contentSecondary"
ellipsis={!!(token?.symbol && token.symbol.length > 6)}
loading={!token?.symbol}
loading={!token?.symbol && token?.symbol !== ''}
>
{token?.symbol}
</Typography>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@
CODE_SIGN_ENTITLEMENTS = "Casper Wallet/Casper Wallet.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 30;
CURRENT_PROJECT_VERSION = 32;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Casper Wallet/Info.plist";
Expand All @@ -578,7 +578,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 1.6.1;
MARKETING_VERSION = 1.6.2;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand All @@ -601,7 +601,7 @@
CODE_SIGN_ENTITLEMENTS = "Casper Wallet/Casper Wallet.entitlements";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 30;
CURRENT_PROJECT_VERSION = 32;
ENABLE_HARDENED_RUNTIME = YES;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "Casper Wallet/Info.plist";
Expand All @@ -615,7 +615,7 @@
"@executable_path/../Frameworks",
);
MACOSX_DEPLOYMENT_TARGET = 10.14;
MARKETING_VERSION = 1.6.1;
MARKETING_VERSION = 1.6.2;
OTHER_LDFLAGS = (
"-framework",
SafariServices,
Expand Down

0 comments on commit 4da3c73

Please sign in to comment.