Compare commits

...
925 Commits
Author SHA1 Message Date
github-actions[bot] 5ce56670d1 [CI Skip] release/stable 2.6.2
skip-checks: true
2022-06-25 06:02:24 +00:00
Jaco 414392e69b 2.6.2 (#657)
* 2.6.2

* CHANGELOG
2022-06-25 08:59:36 +03:00
github-actions[bot] ae5b64a75f [CI Skip] bump/beta 2.6.2-0-x
skip-checks: true
2022-06-23 14:27:01 +00:00
Jaco f2077dcab2 Bump dev deps (#656) 2022-06-23 17:24:01 +03:00
github-actions[bot] 75d03bb15a [CI Skip] release/stable 2.6.1
skip-checks: true
2022-06-23 09:01:27 +00:00
Jaco 269ec7adb7 2.6.1 (#655) 2022-06-23 11:58:22 +03:00
github-actions[bot] 03e6974c25 [CI Skip] release/beta 2.5.2-0
skip-checks: true
2022-06-21 04:49:38 +00:00
Jaco a31c524878 Bump TS to 4.7.4 (#654) 2022-06-21 07:47:19 +03:00
github-actions[bot] a057f0c279 [CI Skip] release/stable 2.5.1
skip-checks: true
2022-06-19 05:37:35 +00:00
Jaco 06dcc3bc5b 2.5.1 (#653) 2022-06-19 08:35:18 +03:00
github-actions[bot] fc3df455ef [CI Skip] release/beta 2.4.2-2
skip-checks: true
2022-06-12 08:14:09 +00:00
Jaco 121715231d Update issue template (#651) 2022-06-12 11:11:47 +03:00
github-actions[bot] a35c1f98e8 [CI Skip] release/beta 2.4.2-1
skip-checks: true
2022-06-11 05:44:34 +00:00
Jaco fbaf440766 Bump deps (& issue template) (#650) 2022-06-11 08:42:20 +03:00
github-actions[bot] 813c589752 [CI Skip] release/beta 2.4.2-0
skip-checks: true
2022-06-05 06:18:23 +00:00
Jaco 806ae4fe42 Bump deps (#649) 2022-06-05 09:16:01 +03:00
github-actions[bot] 75507c5fa7 [CI Skip] release/stable 2.4.1
skip-checks: true
2022-06-04 06:28:48 +00:00
Jaco d1c265130e 2.4.1 (#648) 2022-06-04 09:26:22 +03:00
github-actions[bot] 0eb4663442 [CI Skip] release/beta 2.3.2-1
skip-checks: true
2022-06-04 04:49:49 +00:00
Jaco 9e134ff95e Bump deps (#647) 2022-06-04 07:47:13 +03:00
github-actions[bot] c09d58bba1 [CI Skip] release/beta 2.3.2-0
skip-checks: true
2022-05-30 07:27:38 +00:00
Jaco fdc2b5011b Bump TS (#645) 2022-05-30 10:24:01 +03:00
github-actions[bot] 420ad06a7e [CI Skip] release/stable 2.3.1
skip-checks: true
2022-05-30 06:16:17 +00:00
Jaco 28988479c5 2.3.1 (#644) 2022-05-30 09:13:48 +03:00
github-actions[bot] 700b04e2ec [CI Skip] release/stable 2.2.1
skip-checks: true
2022-05-14 05:13:26 +00:00
Jaco b092fe8c6d 2.2.1 (#641) 2022-05-14 08:10:34 +03:00
github-actions[bot] b25f6e46d8 [CI Skip] release/stable 2.1.1
skip-checks: true
2022-04-30 05:52:47 +00:00
Jaco 62e934dba7 2.1.1 (#638) 2022-04-30 08:49:49 +03:00
github-actions[bot] cb073d755d [CI Skip] release/beta 2.0.2-2
skip-checks: true
2022-04-29 11:36:13 +00:00
Jaco c9cd6898fe Bump TS (#637) 2022-04-29 14:33:40 +03:00
github-actions[bot] 106f2aac72 [CI Skip] release/beta 2.0.2-1
skip-checks: true
2022-04-27 07:41:11 +00:00
Jaco 16dbecf0d2 Bump @polkadot/dev (#636)
* Bump @polkadot/dev

* Rebump dev

* Add crypto polyfill

* Adjust expectations
2022-04-27 10:38:13 +03:00
github-actions[bot] dc023fe2c6 [CI Skip] release/beta 2.0.2-0
skip-checks: true
2022-04-23 07:00:05 +00:00
Jaco 6c2d03a6c5 Remove jsx-runtime alias for React 18 (#635)
* Remove jsx-runtime alias for React 18

* Adjust override

* s/cb/fn/
2022-04-23 09:57:36 +03:00
github-actions[bot] e4787f1b25 [CI Skip] release/stable 2.0.1
skip-checks: true
2022-04-09 08:00:12 +00:00
Jaco 779fedd4ae 2.0.1 (#633) 2022-04-09 10:57:41 +03:00
github-actions[bot] 08d71f0675 [CI Skip] release/beta 1.4.2-2
skip-checks: true
2022-04-06 13:03:58 +00:00
Jaco e598c7bb42 Make icon generation more robust (#632)
* Make icon generation more robust

* Update packages/ui-shared/src/icons/polkadot.ts
2022-04-06 16:00:26 +03:00
github-actions[bot] fb360420e5 [CI Skip] release/beta 1.4.2-1
skip-checks: true
2022-04-06 12:51:35 +00:00
Jaco 2184bb5adc Bump deps (#631) 2022-04-06 15:48:56 +03:00
github-actions[bot] 854e812ef3 [CI Skip] release/beta 1.4.2-0
skip-checks: true
2022-04-05 06:34:05 +00:00
Jaco cc17aa3fc3 Bump @polkadot/dev (#630) 2022-04-05 09:31:31 +03:00
github-actions[bot] d57a700d40 [CI Skip] release/stable 1.4.1
skip-checks: true
2022-03-27 08:52:24 +00:00
Jaco 37c398b1a7 1.4.1 (#629) 2022-03-27 11:49:56 +03:00
github-actions[bot] 2f27f2bac9 [CI Skip] release/beta 1.3.2-1
skip-checks: true
2022-03-27 06:27:47 +00:00
Jaco 090218d0b9 Bump TypeScript (#628) 2022-03-27 09:24:50 +03:00
github-actions[bot] 4799a69823 [CI Skip] release/beta 1.3.2-0
skip-checks: true
2022-03-23 05:55:21 +00:00
Jaco 6548982bb5 Bump dev (#627) 2022-03-23 07:52:25 +02:00
github-actions[bot] d1fe833d0f [CI Skip] release/stable 1.3.1
skip-checks: true
2022-03-19 09:38:09 +00:00
Jaco 60c6168307 1.3.1 (#626) 2022-03-19 11:35:11 +02:00
github-actions[bot] d0b418f4c8 [CI Skip] release/beta 1.2.2-0
skip-checks: true
2022-03-17 05:38:29 +00:00
Jaco bce751eea1 Bump dev deps (#625) 2022-03-17 07:36:01 +02:00
github-actions[bot] 0029165ce2 [CI Skip] release/stable 1.2.1
skip-checks: true
2022-03-12 08:33:20 +00:00
Jaco c4be7219ae 1.2.1 (#624) 2022-03-12 10:30:52 +02:00
github-actions[bot] 4755cd9f64 [CI Skip] release/beta 1.1.2-10
skip-checks: true
2022-03-10 08:01:47 +00:00
Jaco 2f7fd73daf Bump deps (#623) 2022-03-10 09:58:35 +02:00
github-actions[bot] 99337bebd4 [CI Skip] release/beta 1.1.2-9
skip-checks: true
2022-03-07 08:18:05 +00:00
Jaco 2331d7c92b Support bundlers where import.meta.url is undefined (#622) 2022-03-07 10:15:10 +02:00
github-actions[bot] ece28e79b4 [CI Skip] release/beta 1.1.2-8
skip-checks: true
2022-03-04 07:43:17 +00:00
Jaco 00538595c1 Adjust auto actions (#621)
* Adjust auto actions

* Adjust
2022-03-04 09:40:58 +02:00
github-actions[bot] b36d8ca632 [CI Skip] release/beta 1.1.2-7
skip-checks: true
2022-03-03 09:31:14 +00:00
Jaco f4f815434f Remove checkout from auto-{approve, merge} actions (#620) 2022-03-03 11:28:04 +02:00
github-actions[bot] a1f64b8ac6 [CI Skip] release/beta 1.1.2-6
skip-checks: true
2022-03-02 05:23:28 +00:00
Jaco 2cd4e2d45e Replace mergify with action (#619) 2022-03-02 07:20:49 +02:00
github-actions[bot] f622b77400 [CI Skip] release/beta 1.1.2-5
skip-checks: true
2022-03-01 10:17:36 +00:00
Jaco 5616acf038 Bump TS (#618) 2022-03-01 10:14:37 +00:00
github-actions[bot] ca64769cd1 [CI Skip] release/beta 1.1.2-4
skip-checks: true
2022-02-28 07:08:22 +00:00
Jaco edbb65f1a5 Adjust approve workflow (#617)
* Adjust approve workflow

* Update .github/workflows/approve.yml
2022-02-28 07:05:56 +00:00
github-actions[bot] 7b7cd6a32a [CI Skip] release/beta 1.1.2-3
skip-checks: true
2022-02-23 10:36:23 +00:00
Jaco 278fb511f0 Skip job on non-local repo 2022-02-23 12:33:49 +02:00
github-actions[bot] 8604939a2f [CI Skip] release/beta 1.1.2-2
skip-checks: true
2022-02-23 10:03:02 +00:00
Jaco e6f5b3f161 Use jacogr/action-approve (#616) 2022-02-23 12:00:07 +02:00
github-actions[bot] e9fec39840 [CI Skip] release/beta 1.1.2-1
skip-checks: true
2022-02-16 07:17:13 +00:00
Jaco 3d925abc02 Bump deps (#615) 2022-02-16 07:14:11 +00:00
github-actions[bot] 84baf9e8cc [CI Skip] release/beta 1.1.2-0
skip-checks: true
2022-02-15 07:26:41 +00:00
Jaco f8e4de56d2 Add mergify (#614) 2022-02-15 09:24:20 +02:00
github-actions[bot] 1205cebcf9 [CI Skip] release/stable 1.1.1
skip-checks: true
2022-02-14 08:00:15 +00:00
Jaco 6e20fbf5ac 1.1.1 (#613) 2022-02-14 09:57:22 +02:00
github-actions[bot] 3ee4e229c4 [CI Skip] release/beta 1.0.2-3
skip-checks: true
2022-02-13 12:52:50 +00:00
Jaco 35d14ce9ed Don't run scripts on CI (#612)
* Don't run scripts on CI

* Bump deps
2022-02-13 14:50:19 +02:00
github-actions[bot] d4947f0408 [CI Skip] release/beta 1.0.2-2
skip-checks: true
2022-02-10 05:23:52 +00:00
Jaco a85419a50f Bump dev deps (#610) 2022-02-10 07:20:48 +02:00
github-actions[bot] 44b7a41948 [CI Skip] release/beta 1.0.2-1
skip-checks: true
2022-02-01 07:42:12 +00:00
Jaco cd936ed89c timerDelay property to QR display for frame timing (#608)
* timerDelay property to QR display for frame timing

* Bump deps
2022-02-01 09:39:41 +02:00
github-actions[bot] 184a6293cc [CI Skip] release/beta 1.0.2-0
skip-checks: true
2022-02-01 07:07:44 +00:00
Jaco 6a279beff3 Adjust QR state/timeout ordering (#607)
* Adjust QR state/timeout ordering

* CHANGELOG
2022-02-01 09:05:09 +02:00
Jaco 35c8535be1 Cleanup webpack example configs (#606)
* Remove Buffer/process plugins

* Adjust

* Cleanup README
2022-01-29 11:54:55 +02:00
github-actions[bot] 7a04464686 [CI Skip] release/stable 1.0.1
skip-checks: true
2022-01-29 07:07:50 +00:00
Jaco ebac0cda56 1.0.1 (#605) 2022-01-29 09:05:20 +02:00
github-actions[bot] 6cef850c7b [CI Skip] release/beta 0.89.4-1
skip-checks: true
2022-01-29 06:39:44 +00:00
Jaco 4ab2b3fea6 Remove Ledger export in ui-keyring (#604) 2022-01-29 08:37:10 +02:00
github-actions[bot] c03cfde36b [CI Skip] release/beta 0.89.4-0
skip-checks: true
2022-01-28 05:58:22 +00:00
Jaco be0c446248 Bump deps (#603) 2022-01-28 07:55:47 +02:00
github-actions[bot] 8951958a18 [CI Skip] release/stable 0.89.3
skip-checks: true
2022-01-23 06:50:44 +00:00
Jaco 0d8151f34c 0.89.3 (#601) 2022-01-23 08:48:00 +02:00
github-actions[bot] 05fb9e5a74 [CI Skip] release/beta 0.89.3-1
skip-checks: true
2022-01-22 11:56:43 +00:00
Jaco 6505e28bed Bump deps (#600) 2022-01-22 13:54:05 +02:00
github-actions[bot] c3f102304e [CI Skip] release/beta 0.89.3-0
skip-checks: true
2022-01-19 12:23:39 +00:00
Jaco c2eab17f1e Bump 3rd party deps (#599)
* Bump 3rd party deps

* Rebump dev
2022-01-19 14:20:12 +02:00
github-actions[bot] ac6322ba9d [CI Skip] release/stable 0.89.2
skip-checks: true
2022-01-15 11:19:46 +00:00
Jaco dcd3d3ece3 0.89.2 (#598) 2022-01-15 13:16:55 +02:00
github-actions[bot] f78632ee47 [CI Skip] release/beta 0.89.2-6
skip-checks: true
2022-01-15 11:09:23 +00:00
Jaco ba5348857d @polkadot/util 8.3.2 (incl. all from common repo) (#597) 2022-01-15 13:06:03 +02:00
github-actions[bot] d933007065 [CI Skip] release/beta 0.89.2-5
skip-checks: true
2022-01-14 10:20:26 +00:00
Jaco 8429133ad1 Manual format of tsconfig.build.json (#596) 2022-01-14 12:17:51 +02:00
github-actions[bot] 3d4aed84ae [CI Skip] release/beta 0.89.2-4
skip-checks: true
2022-01-14 05:35:26 +00:00
Jaco 2db0a2156c Bump dependencies (#595) 2022-01-14 07:32:17 +02:00
github-actions[bot] 785582716c [CI Skip] release/beta 0.89.2-3
skip-checks: true
2022-01-13 08:10:55 +00:00
Jaco a08209f745 Update .mailmap 2022-01-13 10:07:31 +02:00
github-actions[bot] 910ea2be7f [CI Skip] release/beta 0.89.2-2
skip-checks: true
2022-01-12 09:19:27 +00:00
Jaco 1c9b7d7f36 Align tsconfig.build.json with other polkadot-js (#594) 2022-01-12 11:16:18 +02:00
github-actions[bot] b5c6468f17 [CI Skip] release/beta 0.89.2-1
skip-checks: true
2022-01-12 05:33:43 +00:00
Jaco 8e2ae1f5d9 Bump dev (w/ contrib update) (#593) 2022-01-12 07:30:22 +02:00
github-actions[bot] cc35de0536 [CI Skip] release/beta 0.89.2-0
skip-checks: true
2022-01-11 07:06:25 +00:00
Jaco 3951fa7499 Add tsconfig.build (#591) 2022-01-11 09:03:28 +02:00
github-actions[bot] 5caa168bf7 [CI Skip] release/stable 0.89.1
skip-checks: true
2022-01-09 06:49:55 +00:00
Jaco 89de8d44d3 0.89.1 (#589) 2022-01-09 08:47:11 +02:00
github-actions[bot] aa38aadec7 [CI Skip] release/beta 0.88.2-4
skip-checks: true
2022-01-07 11:07:20 +00:00
Jaco 2ca72741a5 Bump util* (#588) 2022-01-07 13:04:38 +02:00
github-actions[bot] 34ec0a54f7 [CI Skip] release/beta 0.88.2-3
skip-checks: true
2022-01-06 06:08:00 +00:00
Jaco 61600fcf26 Bump dev (w/ detectPackage) (#587) 2022-01-06 08:04:39 +02:00
github-actions[bot] c29242a872 [CI Skip] release/beta 0.88.2-2
skip-checks: true
2022-01-05 07:01:18 +00:00
Jaco 3208f02cf5 Bump dev (#586) 2022-01-05 08:58:39 +02:00
github-actions[bot] 85b41503fe [CI Skip] release/beta 0.88.2-1
skip-checks: true
2022-01-04 10:21:43 +00:00
Jaco ff9d8680c3 fetch-depth 0 (#585) 2022-01-04 12:18:38 +02:00
github-actions[bot] 6467ab8791 [CI Skip] release/beta 0.88.2-0
skip-checks: true
2022-01-02 17:14:29 +00:00
Jaco dcd9b1b691 Remove lint rule overrides (#583)
* Remove lint rule overrides

* Swap to base rules
2022-01-02 19:11:06 +02:00
github-actions[bot] 81b8116742 [CI Skip] release/stable 0.88.1
skip-checks: true
2022-01-02 07:36:11 +00:00
Jaco cbbe125da9 0.88.1 (#582)
* 0.88.1

* Apply bundle where missing
2022-01-02 09:33:26 +02:00
github-actions[bot] ea29793d8d [CI Skip] release/beta 0.87.8-8
skip-checks: true
2022-01-01 16:31:23 +00:00
Jaco 6f423bb250 2022 (#581) 2022-01-01 18:28:21 +02:00
github-actions[bot] c814d719a1 [CI Skip] release/beta 0.87.8-7
skip-checks: true
2022-01-01 08:48:01 +00:00
Jaco a5e321f78f Bump dev (#580) 2022-01-01 10:45:20 +02:00
github-actions[bot] 4c3b99c9c6 [CI Skip] release/beta 0.87.8-6
skip-checks: true
2022-01-01 07:29:56 +00:00
Jaco b06e35bd03 2022 (#579) 2022-01-01 09:26:28 +02:00
github-actions[bot] bbc5916770 [CI Skip] release/beta 0.87.8-5
skip-checks: true
2021-12-31 15:27:24 +00:00
Jaco 2275440f87 Introduce detectOther (#578) 2021-12-31 17:24:48 +02:00
github-actions[bot] f48ba44a88 [CI Skip] release/beta 0.87.8-4
skip-checks: true
2021-12-31 13:10:19 +00:00
Jaco 0467c16bee Mock __dirname via cjs import (#577)
* Mock __dirname via cjs import

* CHANGELOG
2021-12-31 15:07:43 +02:00
github-actions[bot] 757b138977 [CI Skip] release/beta 0.87.8-3
skip-checks: true
2021-12-31 07:58:58 +00:00
Jaco cfc85f7aa4 Bump babel (#576) 2021-12-31 09:56:15 +02:00
github-actions[bot] 8d18f1d131 [CI Skip] release/beta 0.87.8-2
skip-checks: true
2021-12-30 10:17:10 +00:00
Jaco 0570a776b9 Adjust keyring load with additional hashes (#574) 2021-12-30 12:14:18 +02:00
github-actions[bot] 597b9ae61f [CI Skip] release/beta 0.87.8-1
skip-checks: true
2021-12-29 05:29:12 +00:00
Jaco aff8ae42ad Bump deps (#573) 2021-12-29 07:26:05 +02:00
github-actions[bot] 0729402ef6 [CI Skip] release/beta 0.87.8-0
skip-checks: true
2021-12-28 07:32:19 +00:00
Jaco 2904beb171 Support for multi genesisHash in keyring accounts (#481)
* Support for multi genesisHash in keyring accounts

* genesis

* Only single in keyring
2021-12-28 09:29:03 +02:00
github-actions[bot] 1905a165c4 [CI Skip] release/stable 0.87.7
skip-checks: true
2021-12-27 07:06:54 +00:00
Jaco c354a09c1a 0.87.7 (#571) 2021-12-27 09:03:45 +02:00
github-actions[bot] 9392460ac2 [CI Skip] release/beta 0.87.7-4
skip-checks: true
2021-12-26 10:37:32 +00:00
Jaco bcbd9f74f8 Bump deps (#570) 2021-12-26 12:34:28 +02:00
github-actions[bot] 0c1e7be88c [CI Skip] release/beta 0.87.7-3
skip-checks: true
2021-12-25 10:12:55 +00:00
Jaco bbc509507d Bump berry (#569) 2021-12-25 12:10:17 +02:00
github-actions[bot] a5bfbd9c27 [CI Skip] release/beta 0.87.7-2
skip-checks: true
2021-12-24 14:47:29 +00:00
Jaco 081b482d41 Remove @polkadot/ts dep (#568)
* Remove @polkadot/ts dep

* Bump dev

* Adjust, correct deps
2021-12-24 16:45:01 +02:00
github-actions[bot] 205fbbda2c [CI Skip] release/beta 0.87.7-1
skip-checks: true
2021-12-23 07:22:26 +00:00
Jaco 1bbda07e2a Bump dev, adjust req. dependencies (#567) 2021-12-23 09:19:23 +02:00
github-actions[bot] c89601d72b [CI Skip] release/beta 0.87.7-0
skip-checks: true
2021-12-21 15:46:56 +00:00
Jaco 2af291057a Remove RN example app (no maintainer) (#566)
* Remove RN example app (no maintainer)

* Adjust tsconfig.json

* yarn.lock
2021-12-21 17:44:30 +02:00
github-actions[bot] eec754cd66 [CI Skip] release/stable 0.87.6
skip-checks: true
2021-12-19 07:49:03 +00:00
Jaco a77ef34b54 0.87.6 2021-12-19 09:46:39 +02:00
github-actions[bot] f6cfacdd91 [CI Skip] release/beta 0.87.6-3
skip-checks: true
2021-12-19 07:42:49 +00:00
Jaco e0862e715c 0.87.6 (#564)
* 0.87.6

* Update CHANGELOG.md
2021-12-19 09:40:21 +02:00
github-actions[bot] d974650abe [CI Skip] release/beta 0.87.6-2
skip-checks: true
2021-12-14 06:31:49 +00:00
Jaco cab6086826 Use tsconfig references (#561)
* Use tsconfig references

* Adjust

* tesconfig.eslint.json

* Bumps
2021-12-14 08:28:51 +02:00
github-actions[bot] 1cc9fb245f [CI Skip] release/beta 0.87.6-1
skip-checks: true
2021-12-13 06:45:39 +00:00
Jaco fd86a2136f Update yarn.lock (#560) 2021-12-13 08:42:20 +02:00
Jaco 0961a69b34 Align codeclimate.yml (#556) 2021-12-13 08:30:10 +02:00
YuriandJaco 6a515a1c53 Add webpack 5 support (#557)
* Add webpack 5 support

* Update packages/example-react/webpack.config.js

* lint

* Update yarn.lock

Co-authored-by: Jaco <jacogr@gmail.com>
2021-12-13 08:29:38 +02:00
Jaco 8fbea71039 Add tsconfig.base (#559)
* Add tsconfig.base

* Adjust tsconfig
2021-12-13 08:16:37 +02:00
github-actions[bot] 16210ebde2 [CI Skip] release/beta 0.87.6-0
skip-checks: true
2021-12-12 09:28:39 +00:00
Jaco 67779821d1 Bump tsc (#558) 2021-12-12 11:25:38 +02:00
github-actions[bot] 22e1fa2bed [CI Skip] release/stable 0.87.5
skip-checks: true
2021-12-05 11:54:19 +00:00
Jaco 4f0388a413 0.87.5 (#554) 2021-12-05 13:51:45 +02:00
github-actions[bot] 2e08877383 [CI Skip] release/stable 0.87.4
skip-checks: true
2021-12-05 09:14:56 +00:00
Jaco 285b9ba97a 0.87.4 (#553) 2021-12-05 11:12:22 +02:00
github-actions[bot] e03f41f43b [CI Skip] release/beta 0.87.4-0
skip-checks: true
2021-12-01 08:00:05 +00:00
Jaco a066b6af74 Fix stale cron (#552)
* Fix stale cron

* every 3 hours
2021-12-01 09:57:38 +02:00
github-actions[bot] 7fe6171240 [CI Skip] release/stable 0.87.3
skip-checks: true
2021-12-01 07:45:42 +00:00
Jaco b900371690 Bump common (#551)
* Bump common

* 0.87.3, CHANGELOG

* CHANGELOG
2021-12-01 09:43:25 +02:00
github-actions[bot] 5637875344 [CI Skip] release/beta 0.87.3-0
skip-checks: true
2021-11-30 15:38:12 +00:00
Jaco e0ad510e97 Use hasProcess for process check (#550) 2021-11-30 17:35:03 +02:00
github-actions[bot] 266307fbc2 [CI Skip] release/stable 0.87.2
skip-checks: true
2021-11-30 06:27:26 +00:00
Jaco 3f131a58c8 0.87.2 (#549) 2021-11-30 08:25:15 +02:00
github-actions[bot] 7d195211c1 [CI Skip] release/beta 0.87.2-0
skip-checks: true
2021-11-29 13:59:41 +00:00
Andrei Eres 5d402a56da Fix raising error if process has not defined yet (#548) 2021-11-29 15:57:18 +02:00
github-actions[bot] f6a46f2d33 [CI Skip] release/stable 0.87.1
skip-checks: true
2021-11-28 05:23:43 +00:00
Jaco 2b71f0164c Bump common (#547)
* Bump common

* 0.87.1
2021-11-28 07:21:18 +02:00
Github Actions 6381e571cf [CI Skip] release/beta 0.86.8-0
skip-checks: true
2021-11-24 14:59:58 +00:00
Jaco d5bbee2bad Adjust stale schedule (#546) 2021-11-24 16:57:26 +02:00
Github Actions e8df066f50 [CI Skip] release/stable 0.86.7
skip-checks: true
2021-11-22 05:27:30 +00:00
Jaco b3bef159dd 0.86.7 (#545) 2021-11-22 07:25:20 +02:00
Github Actions 2f28f04b22 [CI Skip] release/stable 0.86.6
skip-checks: true
2021-11-21 06:43:01 +00:00
Jaco 0a96372186 0.86.6 (#544) 2021-11-21 08:40:38 +02:00
Github Actions 41edf711ec [CI Skip] release/beta 0.86.6-0
skip-checks: true
2021-11-18 12:46:10 +00:00
Jaco d38a8dfd96 Bump deps (#543) 2021-11-18 14:43:31 +02:00
Github Actions 465152698d [CI Skip] release/stable 0.86.5
skip-checks: true
2021-11-07 07:42:47 +00:00
Jaco 84a18f3c0b 0.86.5 (#540) 2021-11-07 09:40:23 +02:00
Github Actions f222cbb6c0 [CI Skip] release/stable 0.86.4
skip-checks: true
2021-11-06 12:00:07 +00:00
Jaco 6ceb397c87 0.86.4 (#539) 2021-11-06 13:57:13 +02:00
Github Actions bd7fa3db34 [CI Skip] release/beta 0.86.4-1
skip-checks: true
2021-11-05 04:29:57 +00:00
Jaco f6e6c83950 Use objectSpread as applicable (#538)
* Use objectSpread as applicable

* Updates

* Add objectSpread import
2021-11-05 06:27:07 +02:00
Github Actions 2910128399 [CI Skip] release/beta 0.86.4-0
skip-checks: true
2021-11-03 16:16:42 +00:00
Jaco 58ad6efadb Correct Qr signature type (#537) 2021-11-03 18:13:33 +02:00
Github Actions 5c0f70a4a2 [CI Skip] release/stable 0.86.3
skip-checks: true
2021-11-01 11:39:31 +00:00
Jaco 921bb0a4a0 0.86.3 (#536) 2021-11-01 13:37:11 +02:00
Github Actions 10450a350b [CI Skip] release/beta 0.86.3-3
skip-checks: true
2021-10-26 11:29:54 +00:00
Jaco 60bce7c0fa Add .skip-npm for examples 2021-10-26 14:26:51 +03:00
Github Actions aa36e56ff6 [CI Skip] release/beta 0.86.3-2
skip-checks: true
2021-10-26 11:16:09 +00:00
Jaco 653a4a8f39 Bump dev (#535) 2021-10-26 14:13:40 +03:00
Github Actions 9b9fa77bc8 [CI Skip] release/beta 0.86.3-1
skip-checks: true
2021-10-25 11:31:41 +00:00
Jaco 0427f8e2af Bump dev (#534) 2021-10-25 14:28:54 +03:00
Github Actions 7b45a86daa [CI Skip] release/beta 0.86.3-0
skip-checks: true
2021-10-25 09:34:02 +00:00
Jaco c94427d150 Reorder package.json fields (#533) 2021-10-25 12:31:38 +03:00
Github Actions b9179a391e [CI Skip] release/stable 0.86.2
skip-checks: true
2021-10-24 17:37:13 +00:00
Jaco ade03fcc7e 0.86.2 (#532) 2021-10-24 20:34:35 +03:00
Github Actions dc2c83d21c [CI Skip] release/beta 0.86.2-1
skip-checks: true
2021-10-19 05:06:57 +00:00
Jaco 9c012e02d2 Bump deps (#531) 2021-10-19 08:04:18 +03:00
Github Actions 47576d50e0 [CI Skip] release/beta 0.86.2-0
skip-checks: true
2021-10-18 04:23:33 +00:00
Jaco 782f87fc17 Bump dev (w/ eslint 8 & fixes) (#530) 2021-10-18 07:21:06 +03:00
Github Actions bc4b5090b4 [CI Skip] release/stable 0.86.1
skip-checks: true
2021-10-16 06:46:49 +00:00
Jaco 24dc52741b 0.86.1 (#525) 2021-10-16 09:44:31 +03:00
Github Actions 725feb2528 [CI Skip] release/beta 0.85.6-0
skip-checks: true
2021-10-13 15:41:53 +00:00
Nikos Kontakis 196e851fa3 Fix undefined process error that may appear when using ui (#524) 2021-10-13 18:38:49 +03:00
Github Actions 633ca5fd2e [CI Skip] release/stable 0.85.5
skip-checks: true
2021-10-10 06:57:50 +00:00
Jaco 5f0c9889c5 0.85.5 (#523)
* 0.85.5

* Bump
2021-10-10 09:55:19 +03:00
Github Actions 1e95898bd5 [CI Skip] release/stable 0.85.4
skip-checks: true
2021-09-17 14:43:02 +00:00
Jaco f069f4997a 0.85.4 (#521) 2021-09-17 16:40:33 +02:00
Github Actions 4451c5e984 [CI Skip] release/beta 0.85.4-3
skip-checks: true
2021-09-14 11:51:26 +00:00
Jaco 1830a32e77 Bump deps (#520) 2021-09-14 13:48:33 +02:00
Github Actions b910a2e335 [CI Skip] release/beta 0.85.4-2
skip-checks: true
2021-09-05 08:24:41 +00:00
Jaco 4ae5d9495f Bump deps (#519) 2021-09-05 10:22:23 +02:00
Github Actions 2aa64b62a9 [CI Skip] release/beta 0.85.4-1
skip-checks: true
2021-09-01 16:45:48 +00:00
Jaco c8f2f119f0 Jest config cleanup (#518)
* Jest config cleanup

* Bump
2021-09-01 18:43:01 +02:00
Github Actions eeca1f8f50 [CI Skip] release/stable 0.85.3
skip-checks: true
2021-08-29 20:53:34 +00:00
Jaco b74034a809 0.85.3 (#517)
* 0.85.3

* CHANGELOG
2021-08-29 22:50:42 +02:00
Github Actions b356f26e08 [CI Skip] release/stable 0.85.2
skip-checks: true
2021-08-28 06:46:45 +00:00
Jaco c9c3011441 0.85.2 (#515) 2021-08-28 08:43:52 +02:00
Github Actions d2fcebd84a [CI Skip] release/beta 0.85.2-1
skip-checks: true
2021-08-26 08:32:22 +00:00
Jaco 9c47628233 Bump dev (w/ jsx linting) (#514) 2021-08-26 10:29:23 +02:00
Github Actions 28956664cc [CI Skip] release/beta 0.85.2-0
skip-checks: true
2021-08-17 07:41:09 +00:00
Jaco 994f303064 Bump dev (#513) 2021-08-17 09:38:23 +02:00
Github Actions 52a09f4364 [CI Skip] release/stable 0.85.1
skip-checks: true
2021-08-15 11:01:23 +00:00
Jaco 6abb0f79b6 0.85.1 (#512) 2021-08-15 12:58:46 +02:00
Github Actions 2afd941483 [CI Skip] release/beta 0.84.4-2
skip-checks: true
2021-08-13 11:52:10 +00:00
Jaco Greeff fd43c16853 bump berry 2021-08-13 14:49:13 +03:00
Github Actions c27f971878 [CI Skip] release/beta 0.84.4-1
skip-checks: true
2021-08-13 11:19:06 +00:00
Jaco e48115c557 Bump dev (#511)
* Bump dev

* CHANGELOG

* Bump common
2021-08-13 13:15:45 +02:00
Nantian 3f0c2d82e8 fix bigint type (#510) 2021-08-13 13:08:59 +02:00
Github Actions 544fbb5e6d [CI Skip] release/beta 0.84.4-0
skip-checks: true
2021-08-10 09:36:20 +00:00
Jaco dfde4d7989 Bump deps (#509) 2021-08-10 11:33:42 +02:00
Github Actions d80f0ce906 [CI Skip] release/stable 0.84.3
skip-checks: true
2021-08-02 09:24:07 +00:00
Jaco 6a6a247b1f 0.84.3 (#507) 2021-08-02 11:21:03 +02:00
Github Actions b7c5a9a509 [CI Skip] release/stable 0.84.2
skip-checks: true
2021-07-26 07:00:30 +00:00
Jaco 8694cb45e3 0.84.2 (#506) 2021-07-26 08:57:35 +02:00
Github Actions c075950e93 [CI Skip] release/stable 0.84.1
skip-checks: true
2021-07-11 10:28:38 +00:00
Jaco 3e555546cd 0.84 (#505) 2021-07-11 12:25:29 +02:00
Github Actions 63440d051f [CI Skip] release/beta 0.83.2-5
skip-checks: true
2021-07-09 15:22:27 +00:00
Jaco 0cd16ee2d7 Bundle adjust (#504)
* Bundle adjust

* Bumps
2021-07-09 17:19:48 +02:00
Github Actions 3803286251 [CI Skip] release/beta 0.83.2-4
skip-checks: true
2021-07-09 13:32:55 +00:00
Jaco 2d801b535e Browser bundle build (incomplete) (#503)
* Browser bundle build (incomplete)

* globals
2021-07-09 15:30:05 +02:00
Github Actions f2189f3780 [CI Skip] release/beta 0.83.2-3
skip-checks: true
2021-07-09 12:47:08 +00:00
Jaco be251919d6 Add bundle.ts files for browser bundling (#502) 2021-07-09 14:44:16 +02:00
Github Actions bdec479885 [CI Skip] release/beta 0.83.2-2
skip-checks: true
2021-07-09 12:37:29 +00:00
Jaco ed56f21bcb Bump common (#501) 2021-07-09 14:34:42 +02:00
Github Actions 76e1248c5f [CI Skip] release/beta 0.83.2-1
skip-checks: true
2021-07-07 07:40:29 +00:00
Jaco Greeff b6f12ba822 Bump common 2021-07-07 10:37:54 +03:00
Github Actions 0892532f5c [CI Skip] release/beta 0.83.2-0
skip-checks: true
2021-07-07 07:29:00 +00:00
Jaco 99ea536891 Bump common (#500)
* Bump common

* CHANGELOG

* Direct rxjs import
2021-07-07 09:26:09 +02:00
Github Actions ad59098b70 [CI Skip] release/stable 0.83.1
skip-checks: true
2021-07-05 09:39:00 +00:00
Jaco 8f4e839d21 0.83 (#499) 2021-07-05 11:35:43 +02:00
Github Actions 994e0f1ee4 [CI Skip] release/beta 0.82.2-1
skip-checks: true
2021-07-03 06:25:36 +00:00
Shawn TabriziandJaco d0016d6672 Add a new notification setting (#498)
* add notification type to ui_settings

* notificationType -> notification

* Update packages/ui-settings/src/Settings.ts

* Update packages/ui-settings/src/Settings.ts

Co-authored-by: Jaco <jacogr@gmail.com>
2021-07-03 09:22:39 +03:00
Github Actions 3c3cd43bf6 [CI Skip] release/beta 0.82.2-0
skip-checks: true
2021-07-02 07:17:24 +00:00
Jaco 4cb7e0e239 Bump TS (#497) 2021-07-02 09:14:03 +02:00
Github Actions 5f00d9f310 [CI Skip] release/stable 0.82.1
skip-checks: true
2021-06-26 08:09:33 +00:00
Jaco 9393bb9b3f 0.82 (#496) 2021-06-26 10:06:47 +02:00
Github Actions 120fe69329 [CI Skip] release/beta 0.81.2-5
skip-checks: true
2021-06-25 11:34:16 +00:00
Jaco fd9fdf37d9 Bump deps (#495) 2021-06-25 13:31:05 +02:00
Github Actions b857ce4614 [CI Skip] release/beta 0.81.2-4
skip-checks: true
2021-06-25 09:23:16 +00:00
Antoine Estienne 78450918dc Refactor logic to better use prefix (#491)
* refactor logic to better use prefix

* lint
2021-06-25 11:20:19 +02:00
Github Actions 3b0b86c4b7 [CI Skip] release/beta 0.81.2-3
skip-checks: true
2021-06-25 09:10:31 +00:00
Jaco 335296bc56 Fix ss58 0 set (#494) 2021-06-25 11:07:20 +02:00
Github Actions beca59750a [CI Skip] release/beta 0.81.2-2
skip-checks: true
2021-06-24 12:13:31 +00:00
Jaco a5dc09f7e7 Bump keyring (w/ Ethereum address allowance) (#492) 2021-06-24 14:10:59 +02:00
Github Actions 2e892c00cd [CI Skip] release/beta 0.81.2-1
skip-checks: true
2021-06-23 09:18:06 +00:00
Jaco d168127e23 Bump deps (#490) 2021-06-23 11:15:29 +02:00
Github Actions 6ae99fa573 [CI Skip] release/beta 0.81.2-0
skip-checks: true
2021-06-21 14:22:46 +00:00
Antoine EstienneandJaco d7a30db878 use onError in ScanAddress (#488)
* use onError in ScanAddress

* Update packages/react-qr/src/ScanAddress.tsx

Co-authored-by: Jaco <jacogr@gmail.com>

* lint

Co-authored-by: Jaco <jacogr@gmail.com>
2021-06-21 16:19:50 +02:00
Github Actions 8acd7d49a8 [CI Skip] release/stable 0.81.1
skip-checks: true
2021-06-20 05:16:02 +00:00
Jaco c65e7a28c7 0.81 (#489) 2021-06-20 07:13:03 +02:00
Github Actions 106784d5b4 [CI Skip] release/beta 0.80.2-2
skip-checks: true
2021-06-17 06:54:17 +00:00
Jaco bcbfa193f5 Update babel config require (#486) 2021-06-17 08:51:53 +02:00
Github Actions 0fb6b0a21a [CI Skip] release/beta 0.80.2-1
skip-checks: true
2021-06-16 16:52:01 +00:00
Antoine Estienne 26e0ecbbd1 Aadd isEthereum props to ScanAddress to import eth addresses (#484)
* add isEthereum props to ScanAddress to import eth addresses

* fix missing seed
2021-06-16 19:49:32 +03:00
Github Actions 4c097c5001 [CI Skip] release/beta 0.80.2-0
skip-checks: true
2021-06-15 10:28:41 +00:00
Nikos KontakisandJaco 851c452782 add new type in api - settings in order to support different types of… (#476)
* add new type in api - settings in order to support different types of 'urls' - json-rpc and substrate-connect; This makes the previous used apiURL deprecated

* Alter name from apiTypeUrl to apiType

* export types of possible endpoints

* minor fix on sequence of vars

* Fix lint error concerning imports

* Fix lint error concerning imports

* Fix PR comments: import types instead of import; seperate types from settings

* fix lint error

* Update packages/ui-settings/src/types.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-06-15 12:25:57 +02:00
Github Actions f345a70b9f [CI Skip] release/stable 0.80.1
skip-checks: true
2021-06-14 07:17:52 +00:00
Jaco 8866703ad2 0.80 (#483) 2021-06-14 09:15:25 +02:00
Github Actions 0adac5f9fa [CI Skip] release/beta 0.79.2-2
skip-checks: true
2021-06-08 15:09:06 +00:00
Jaco Greeff b19e20c82a .prettierignore 2021-06-08 18:05:39 +03:00
Github Actions eef76f5734 [CI Skip] release/beta 0.79.2-1
skip-checks: true
2021-06-07 14:03:47 +00:00
Jaco Greeff 6e3243cde7 Adjust cron locks 2021-06-07 17:00:33 +03:00
Github Actions 48292b06d8 [CI Skip] release/beta 0.79.2-0
skip-checks: true
2021-06-06 19:28:14 +00:00
Jaco Greeff da1203125e Adjust semgrep check 2021-06-06 22:25:17 +03:00
Github Actions e0fcfd2d1d [CI Skip] release/stable 0.79.1
skip-checks: true
2021-06-06 17:47:50 +00:00
Jaco b02a3ba421 0.79 (#482) 2021-06-06 19:44:47 +02:00
Github Actions f41c1516ed [CI Skip] release/beta 0.78.2-17
skip-checks: true
2021-06-05 11:10:33 +00:00
Jaco Greeff f7d9737950 No semgrep.yml on forks 2021-06-05 14:07:44 +03:00
Github Actions 6ab36a36c5 [CI Skip] release/beta 0.78.2-16
skip-checks: true
2021-06-05 06:41:00 +00:00
Jaco Greeff 640065171b push-master.yml adjust skip 2021-06-05 09:38:00 +03:00
Github Actions b9ac67f6a8 [CI Skip] release/beta 0.78.2-15
skip-checks: true
2021-06-05 06:22:23 +00:00
Jaco Greeff def168928c semgrep.yml on PR 2021-06-05 09:20:03 +03:00
Github Actions db67cf32b1 [CI Skip] release/beta 0.78.2-14
skip-checks: true
2021-06-04 15:01:28 +00:00
Jaco Greeff e134e707c9 semgrep.yml update 2021-06-04 17:58:07 +03:00
Github Actions f174bb188e [CI Skip] release/beta 0.78.2-13
skip-checks: true
2021-06-04 10:42:20 +00:00
Jaco c487a0acf4 Bump deps (#480) 2021-06-04 13:39:54 +03:00
Github Actions d152a182f3 [CI Skip] release/beta 0.78.2-12
skip-checks: true
2021-06-04 08:42:06 +00:00
Jaco Greeff 660f65dab6 semgrep on master only 2021-06-04 11:38:52 +03:00
Github Actions 841d44180f [CI Skip] release/beta 0.78.2-11
skip-checks: true
2021-06-04 05:39:04 +00:00
Jaco Greeff 7c64e75648 semgrep only for non-forked 2021-06-04 08:36:03 +03:00
Github Actions b6ac318e95 [CI Skip] release/beta 0.78.2-10
skip-checks: true
2021-06-03 08:29:14 +00:00
Jaco b99c316fe0 BN type imports (#479) 2021-06-03 10:26:36 +02:00
Github Actions b069b69bcf [CI Skip] release/beta 0.78.2-9
skip-checks: true
2021-06-03 05:11:13 +00:00
Jaco 805c2088aa WebHID as experimental (#478) 2021-06-03 07:08:03 +02:00
Github Actions baf6c58280 [CI Skip] release/beta 0.78.2-8
skip-checks: true
2021-06-03 05:05:06 +00:00
Jaco dd21ee2eb4 WebHid selection (#477) 2021-06-03 07:02:42 +02:00
Github Actions d3e5ba557d [CI Skip] release/beta 0.78.2-7
skip-checks: true
2021-06-02 16:06:38 +00:00
Jaco Greeff 8d10679cac Merge branch 'master' of github.com:polkadot-js/ui 2021-06-02 19:04:07 +03:00
Jaco Greeff 8eab5c731e fix stale.yml 2021-06-02 19:03:55 +03:00
Github Actions 93107eb800 [CI Skip] release/beta 0.78.2-6
skip-checks: true
2021-06-02 07:11:24 +00:00
Jaco Greeff 7c17d9a304 cron workflows 2021-06-02 10:07:43 +03:00
Github Actions 3cb7b9ec17 [CI Skip] release/beta 0.78.2-5
skip-checks: true
2021-06-01 10:01:04 +00:00
Jaco Greeff 9fed78b350 semgrep.yml 2021-06-01 12:58:22 +03:00
Github Actions c01135f515 [CI Skip] release/beta 0.78.2-4
skip-checks: true
2021-06-01 06:07:00 +00:00
Jaco Greeff 6bf0c428d5 cron daily only 2021-06-01 09:04:04 +03:00
Github Actions 0dbcd23747 [CI Skip] release/beta 0.78.2-3
skip-checks: true
2021-05-31 20:19:04 +00:00
Jaco Greeff fdc1834491 cron locks 2021-05-31 23:15:53 +03:00
Github Actions b684af3f50 [CI Skip] release/beta 0.78.2-2
skip-checks: true
2021-05-31 07:49:09 +00:00
Jaco 24b76e63f8 Update .123trigger 2021-05-31 09:46:12 +02:00
Github Actions d7fd57c431 [CI Skip] release/beta 0.78.2-1
skip-checks: true
2021-05-31 07:44:43 +00:00
Jaco Greeff 7da91dba9b Bump dev 2021-05-31 10:41:29 +03:00
Jaco b8e78ccb99 Bump dev (#475) 2021-05-31 09:17:00 +02:00
Jaco Greeff 8b7494699a lock.yml 2021-05-30 22:23:36 +03:00
Github Actions 3b221f7a5a [CI Skip] release/beta 0.78.2-1
skip-checks: true
2021-05-30 09:45:30 +00:00
Jaco ab5ae15257 Bump berry (#474) 2021-05-30 11:42:46 +02:00
Github Actions 9f2921791d [CI Skip] release/beta 0.78.2-0
skip-checks: true
2021-05-29 08:22:16 +00:00
Jaco Greeff 200f12803a Update stale.yml 2021-05-29 11:19:15 +03:00
Github Actions a8e6f90fbf [CI Skip] release/stable 0.78.1
skip-checks: true
2021-05-29 07:44:19 +00:00
Jaco 8f6ad2fc5e 0.78 (#473) 2021-05-29 09:40:54 +02:00
Github Actions 4c24f08e73 [CI Skip] release/beta 0.77.2-2
skip-checks: true
2021-05-28 08:42:55 +00:00
Jaco Greeff c1c185fc25 Update stale.yml 2021-05-28 11:39:46 +03:00
Github Actions 325217736e [CI Skip] release/beta 0.77.2-1
skip-checks: true
2021-05-28 08:18:39 +00:00
Jaco 71b16b5036 Add stale.yml (#472) 2021-05-28 10:15:42 +02:00
Github Actions abc50b3e30 [CI Skip] release/beta 0.77.2-0
skip-checks: true
2021-05-26 08:06:51 +00:00
Jaco 44690ffe3b Bump dev (fixup jest tests) (#471) 2021-05-26 10:03:44 +02:00
Github Actions 153852c87b [CI Skip] release/stable 0.77.1
skip-checks: true
2021-05-25 05:19:24 +00:00
Jaco cfc219702c 0.77 (#470) 2021-05-25 07:16:35 +02:00
Jaco 623a264cbe Bump deps (#469) 2021-05-25 07:10:12 +02:00
Github Actions a616ee7146 [CI Skip] release/stable 0.76.1
skip-checks: true
2021-05-16 18:22:51 +00:00
Jaco e3719881e7 0.76 (#468) 2021-05-16 20:19:53 +02:00
Github Actions 1cbad7a0df [CI Skip] release/beta 0.75.2-4
skip-checks: true
2021-05-12 13:10:57 +00:00
Jaco a3beb29c82 Bump common (#467) 2021-05-12 15:07:51 +02:00
Github Actions d4882d8add [CI Skip] release/beta 0.75.2-3
skip-checks: true
2021-05-11 13:41:17 +00:00
Jaco 56969e32cb Bump deps (#466) 2021-05-11 15:37:59 +02:00
Github Actions 1015b30a22 [CI Skip] release/beta 0.75.2-2
skip-checks: true
2021-05-11 13:16:42 +00:00
Antoine EstienneandJaco 99ee4afaf8 Add types to injected accounts in keyring load functions (#464)
* add types to injected accounts

* Update packages/ui-keyring/src/Keyring.ts

Co-authored-by: Jaco <jacogr@gmail.com>

* Update packages/ui-keyring/src/Keyring.ts

Co-authored-by: Jaco <jacogr@gmail.com>

Co-authored-by: Jaco <jacogr@gmail.com>
2021-05-11 15:13:13 +02:00
Github Actions db2647aada [CI Skip] release/beta 0.75.2-1
skip-checks: true
2021-05-07 12:30:42 +00:00
Jaco 3543bd1d24 Bump common (#465) 2021-05-07 14:27:38 +02:00
Github Actions da7e070261 [CI Skip] release/beta 0.75.2-0
skip-checks: true
2021-04-30 05:56:13 +00:00
Jaco b107e72459 Bump deps (#463) 2021-04-30 07:53:34 +02:00
Github Actions 95bfbfcab9 [CI Skip] release/stable 0.75.1
skip-checks: true
2021-04-25 05:32:06 +00:00
Jaco 887fb80d83 0.75 (#462) 2021-04-25 07:28:52 +02:00
Github Actions efa068c189 [CI Skip] release/beta 0.74.2-0
skip-checks: true
2021-04-22 06:44:41 +00:00
Jaco f368fa077e Bump deps (#461) 2021-04-22 08:41:38 +02:00
Github Actions 4b6e7678ad [CI Skip] release/stable 0.74.1
skip-checks: true
2021-04-18 09:24:47 +00:00
Jaco e1b31afafd Bump common (#460)
* Bump common

* Bumps

* 0.74
2021-04-18 11:21:54 +02:00
Github Actions f875934459 [CI Skip] release/beta 0.73.2-0
skip-checks: true
2021-04-15 12:27:26 +00:00
Jaco e9ab4e1186 Bump common (#459) 2021-04-15 14:24:02 +02:00
Github Actions 7278364873 [CI Skip] release/stable 0.73.1
skip-checks: true
2021-04-12 07:16:36 +00:00
Jaco Greeff 291a478290 0.73 (#458) 2021-04-12 09:13:37 +02:00
Github Actions 4768817661 [CI Skip] release/beta 0.72.2-0
skip-checks: true
2021-04-08 09:09:32 +00:00
Jaco Greeff ebf561f48c Bump deps (#457) 2021-04-08 11:06:28 +02:00
Github Actions 8bdfd18e1f [CI Skip] release/stable 0.72.1
skip-checks: true
2021-03-15 12:52:03 +00:00
Jaco Greeff 5e48c1036f 0.72 (#456) 2021-03-15 13:48:52 +01:00
Github Actions 4370e87fea [CI Skip] release/beta 0.71.4-2
skip-checks: true
2021-03-11 18:28:10 +00:00
雪霁 0864aef698 Batch export patch up (#455)
* .

* .

* fix lint

* .

* change on request

* .
2021-03-11 19:25:04 +01:00
Github Actions b898dff53f [CI Skip] release/beta 0.71.4-1
skip-checks: true
2021-03-10 13:15:39 +00:00
Jaco Greeff 15056a5a6c Bump deps (#454) 2021-03-10 14:12:32 +01:00
Github Actions 2f5df3e46f [CI Skip] release/beta 0.71.4-0
skip-checks: true
2021-03-09 18:58:41 +00:00
雪霁 fd3176c36e Batch export (#449)
* .

* .

* fix lint

* .

* change on request
2021-03-09 19:55:31 +01:00
Github Actions 942bd2baf5 [CI Skip] release/stable 0.71.3
skip-checks: true
2021-03-08 15:34:16 +00:00
Jaco Greeff db67b97b7a 0.71.3 (common deps) (#453)
* 0.71.3 (common deps)

* Update CHANGELOG.md
2021-03-08 16:31:52 +01:00
Github Actions c45d42f606 [CI Skip] release/stable 0.71.2
skip-checks: true
2021-03-07 15:48:27 +00:00
Jaco Greeff 401e55a7bd 0.71.2 (#452)
* 0.71.2

* Bumps
2021-03-07 16:46:07 +01:00
Github Actions 5a0158c372 [CI Skip] release/stable 0.71.1
skip-checks: true
2021-03-06 06:52:05 +00:00
Jaco Greeff 2509347330 0.71 (#451) 2021-03-06 07:48:44 +01:00
Github Actions a5bc4bc902 [CI Skip] release/beta 0.70.2-3
skip-checks: true
2021-03-05 16:08:03 +00:00
Jaco Greeff 7588f21b8f Bump util/util-crypto (#450) 2021-03-05 17:04:56 +01:00
Github Actions 78ca8b86a8 [CI Skip] release/beta 0.70.2-2
skip-checks: true
2021-03-03 09:25:24 +00:00
Jaco Greeff fc9cb7da9e Bump deps (& berry) (#448) 2021-03-03 10:22:44 +01:00
Github Actions 70dacc878c [CI Skip] release/beta 0.70.2-1
skip-checks: true
2021-03-02 20:46:35 +00:00
Jaco Greeff 0eebd52577 Default to type: module (#447) 2021-03-02 21:43:36 +01:00
Github Actions 100f22bcfe [CI Skip] release/beta 0.70.2-0
skip-checks: true
2021-03-01 20:50:00 +00:00
Jaco Greeff 36d479380f Bump deps (#446) 2021-03-01 21:47:02 +01:00
Github Actions aff728dd5e [CI Skip] release/stable 0.70.1
skip-checks: true
2021-02-28 13:19:40 +00:00
Jaco Greeff a0c8fa1a84 0.70 (#445)
* 0.70

* Correct util versions
2021-02-28 14:17:02 +01:00
Github Actions a88990cc73 [CI Skip] release/beta 0.69.2-3
skip-checks: true
2021-02-28 10:26:09 +00:00
Jaco Greeff 15c03c0aff Detection for mismatched monorepo deps (#444)
* Detection for mismatched monorepo deps

* Bump common
2021-02-28 11:23:11 +01:00
Github Actions aa3d6803f7 [CI Skip] release/beta 0.69.2-2
skip-checks: true
2021-02-26 08:11:45 +00:00
Jaco Greeff 0bf8b0a35b Bump common (#443) 2021-02-26 09:09:02 +01:00
Github Actions 3fd29ee299 [CI Skip] release/beta 0.69.2-1
skip-checks: true
2021-02-16 12:30:22 +00:00
Jaco Greeff 1fb62d2964 Bump deps (& use packageInfo detection) (#441) 2021-02-16 13:27:29 +01:00
Github Actions 756af81132 [CI Skip] release/beta 0.69.2-0
skip-checks: true
2021-02-08 16:53:33 +00:00
Jaco Greeff 0ebce80650 Bump util (#439) 2021-02-08 17:50:38 +01:00
Github Actions 743311ec19 [CI Skip] release/stable 0.69.1
skip-checks: true
2021-02-07 13:58:22 +00:00
Jaco Greeff d8237f0687 0.69 (#438)
* 0.69

* Adjust

* Adjust

* Update CHANGELOG.md
2021-02-07 14:55:32 +01:00
Github Actions 68f3d13d09 [CI Skip] release/stable 0.68.1
skip-checks: true
2021-02-01 08:32:18 +00:00
Jaco Greeff b9194310a9 0.68 (#437) 2021-02-01 09:29:46 +01:00
Github Actions 670078158c [CI Skip] release/beta 0.67.2-0
skip-checks: true
2021-01-28 14:13:00 +00:00
Jaco Greeff 0f0bea2624 ed25519 w/ bip44 option (#436)
* ed25519 w/ bip44 option

* naming

* Rename Ledger option (no bip32-ed25519 compatible)
2021-01-28 15:10:03 +01:00
Github Actions 82bd15b09c [CI Skip] release/stable 0.67.1
skip-checks: true
2021-01-24 16:27:39 +00:00
Jaco Greeff 9e3b69931f 0.67 (#434) 2021-01-24 17:25:13 +01:00
Github Actions b8ed514ca8 [CI Skip] release/beta 0.66.4-3
skip-checks: true
2021-01-24 16:18:29 +00:00
Jaco Greeff 079ebdb39b Bump common ref 2021-01-24 16:52:22 +01:00
Github Actions 230a35faf0 [CI Skip] release/beta 0.66.4-2
skip-checks: true
2021-01-24 11:27:13 +00:00
Jaco Greeff 943e60b47b Bump common (#433) 2021-01-24 12:24:56 +01:00
Github Actions cc67d386b8 [CI Skip] release/beta 0.66.4-1
skip-checks: true
2021-01-19 22:11:12 +00:00
Jaco Greeff 54384279b2 Bump deps (#432) 2021-01-19 23:08:13 +01:00
Github Actions 83fcb1fa7b [CI Skip] release/beta 0.66.4-0
skip-checks: true
2021-01-18 14:15:34 +00:00
Thibaut Sardan a83e2802ed store hardware wallets (#431) 2021-01-18 15:12:36 +01:00
Github Actions 27d524c758 [CI Skip] release/stable 0.66.3
skip-checks: true
2021-01-18 12:19:55 +00:00
Jaco Greeff 262e010a08 Path for stable x-rxjs 2021-01-18 13:17:27 +01:00
Github Actions c3a8f0c3d7 [CI Skip] release/stable 0.66.2
skip-checks: true
2021-01-17 16:31:29 +00:00
Jaco Greeff b045104c3e 0.66.2 Stable common 2021-01-17 17:29:05 +01:00
Github Actions 12bc342cc6 [CI Skip] release/stable 0.66.1
skip-checks: true
2021-01-17 15:06:52 +00:00
Jaco Greeff 1a1f351207 0.6 (#430) 2021-01-17 16:03:59 +01:00
Github Actions 510d33fd89 [CI Skip] release/beta 0.65.2-5
skip-checks: true
2021-01-14 21:57:26 +00:00
Jaco Greeff 19c68dada7 Use @polkadot/hw-ledger from common (#429) 2021-01-14 22:54:38 +01:00
Github Actions 089b24f505 [CI Skip] release/beta 0.65.2-4
skip-checks: true
2021-01-14 09:48:12 +00:00
Jaco Greeff 3f6a37a535 Bump deps (#428)
* Bump deps

* Bump deps
2021-01-14 10:45:10 +01:00
Github Actions 596331daf3 [CI Skip] release/beta 0.65.2-3
skip-checks: true
2021-01-13 18:49:54 +00:00
Adam DossaandAdam Dossa f665d0a590 Add Polymesh Ledger Integration (#427)
* Add Polymesh Ledger Integration

* Fix ordering

Co-authored-by: Adam Dossa <adamdossa@Adams-MacBook-Pro.local>
2021-01-13 19:46:53 +01:00
Github Actions 0c6c6c9a91 [CI Skip] release/beta 0.65.2-2
skip-checks: true
2021-01-07 21:03:35 +00:00
Jaco Greeff 9abdd88a3d Bump deps (#426) 2021-01-07 22:00:48 +01:00
Github Actions cdb927da2a [CI Skip] release/beta 0.65.2-1
skip-checks: true
2021-01-07 20:15:41 +00:00
Lovesh Harchandani 214fa1538a Allow Ledger support for Dock (#425)
Signed-off-by: lovesh <lovesh.bond@gmail.com>
2021-01-07 21:12:25 +01:00
Github Actions 97d74944cb [CI Skip] release/beta 0.65.2-0
skip-checks: true
2021-01-03 10:48:56 +00:00
Jaco Greeff f003063b94 2021 (#424) 2021-01-03 11:46:19 +01:00
Github Actions 08132ef566 [CI Skip] release/stable 0.65.1
skip-checks: true
2020-12-28 10:59:29 +00:00
Jaco Greeff 1fbbc0500d 0.65 (#423) 2020-12-28 11:56:21 +01:00
Github Actions 708ee3b7bd [CI Skip] release/beta 0.64.2-1
skip-checks: true
2020-12-21 19:16:15 +00:00
Jaco Greeff 3d0afd017a jdenticon imports 2020-12-21 20:13:08 +01:00
Github Actions bf67852b59 [CI Skip] release/beta 0.64.2-0
skip-checks: true
2020-12-21 12:21:22 +00:00
Jaco Greeff 105fb61f71 Cleanup deps (#422) 2020-12-21 13:18:20 +01:00
Github Actions d4f81a92e0 [CI Skip] release/stable 0.64.1
skip-checks: true
2020-12-21 10:53:42 +00:00
Jaco Greeff 353a15827b No types export from index (#421)
* No types export from index

* Fix use

* bump

* Bumps

* CHANGELOG

* OCD
2020-12-21 11:50:34 +01:00
Github Actions 6a3bf8c0b3 [CI Skip] release/beta 0.63.2-4
skip-checks: true
2020-12-21 08:48:34 +00:00
Jaco Greeff 9a20feb417 Bumps 2020-12-21 09:45:38 +01:00
Github Actions a25ae21074 [CI Skip] release/beta 0.63.2-3
skip-checks: true
2020-12-18 10:53:31 +00:00
Jaco Greeff f9428ee6d2 Bump dev 2020-12-18 11:50:32 +01:00
Github Actions 3746b608b2 [CI Skip] release/beta 0.63.2-2
skip-checks: true
2020-12-17 13:00:57 +00:00
Jaco Greeff 769995549d Mark detectPackage as sideEffect 2020-12-17 13:57:54 +01:00
Github Actions 98c497b0aa [CI Skip] release/beta 0.63.2-1
skip-checks: true
2020-12-17 12:30:46 +00:00
Jaco Greeff 96a1c981bc Update detectPackage with callback 2020-12-17 13:28:05 +01:00
Github Actions 82fc187983 [CI Skip] release/beta 0.63.2-0
skip-checks: true
2020-12-16 15:30:36 +00:00
Jaco Greeff fc22cc0456 Allow import.meta.url for detectPackage (#420)
* Allow import.meta.url for detectPackage

* Bump deps
2020-12-16 16:27:33 +01:00
Github Actions b40167c1e2 [CI Skip] release/stable 0.63.1
skip-checks: true
2020-12-14 12:24:30 +00:00
Jaco Greeff 8dd942d070 0.63 (#419) 2020-12-14 13:21:52 +01:00
Github Actions 0e810ba308 [CI Skip] release/beta 0.62.2-28
skip-checks: true
2020-12-12 09:26:15 +00:00
Jaco Greeff 4288680bce Bump deps (#418) 2020-12-12 10:23:14 +01:00
Github Actions 5d82af6912 [CI Skip] release/beta 0.62.2-27
skip-checks: true
2020-12-11 18:11:45 +00:00
Jaco Greeff 7607dc9e9d Bump deps (#417) 2020-12-11 19:08:39 +01:00
Github Actions 0795451801 [CI Skip] release/beta 0.62.2-26
skip-checks: true
2020-12-11 09:49:48 +00:00
Jaco Greeff e061c22ab1 Bump dev 2020-12-11 10:47:03 +01:00
Github Actions 9562762403 [CI Skip] release/beta 0.62.2-25
skip-checks: true
2020-12-10 18:13:33 +00:00
Jaco Greeff c1e961a938 Build esm (don't yet use) (#416)
* Build esm (don't yet use)

* fix ui-assets
2020-12-10 19:10:58 +01:00
Github Actions c48f44830e [CI Skip] release/beta 0.62.2-24
skip-checks: true
2020-12-09 19:49:23 +00:00
Jaco Greeff 558f5b0286 Bump dev (esm alongside cjs) (#415) 2020-12-09 20:46:23 +01:00
Github Actions b1a9cbdabb [CI Skip] release/beta 0.62.2-23
skip-checks: true
2020-12-09 00:44:17 +00:00
Jaco Greeff 7e494673e0 Convert all to named imports (#414) 2020-12-09 01:41:44 +01:00
Github Actions a5434d4428 [CI Skip] release/beta 0.62.2-22
skip-checks: true
2020-12-08 10:26:42 +00:00
Jaco Greeff 582f1ca294 Remove --fix on CI (#412) 2020-12-08 11:23:44 +01:00
Github Actions fcebfeae60 [CI Skip] release/beta 0.62.2-21
skip-checks: true
2020-12-07 15:44:02 +00:00
Jaco Greeff bb308f87e7 Bup dev (import sorting) (#411) 2020-12-07 16:41:26 +01:00
Github Actions 5445177055 [CI Skip] release/beta 0.62.2-20
skip-checks: true
2020-12-05 09:59:25 +00:00
Jaco Greeff b705f2bed1 Bump deps (minor) (#410) 2020-12-05 10:56:37 +01:00
Github Actions 4a79ef073c [CI Skip] release/beta 0.62.2-19
skip-checks: true
2020-12-02 17:39:26 +00:00
Jaco Greeff ce79a80a18 Optional pair type (account-only) (#409) 2020-12-02 18:36:28 +01:00
Github Actions 9c72628a39 [CI Skip] release/beta 0.62.2-18
skip-checks: true
2020-12-01 21:08:07 +00:00
Jaco Greeff 61416c3f23 Bump berry (#407)
* Bump berry

* rewrite
2020-12-01 22:04:57 +01:00
Github Actions 27d7dfda02 [CI Skip] release/beta 0.62.2-17
skip-checks: true
2020-12-01 12:36:39 +00:00
Jaco Greeff 487c638185 Use import type (#406) 2020-12-01 13:33:48 +01:00
Github Actions 57eece03d8 [CI Skip] release/beta 0.62.2-16
skip-checks: true
2020-11-30 12:21:45 +00:00
Jaco Greeff f62f214e88 Bump deps (#405)
* Bump deps

* Dedupe
2020-11-30 13:18:45 +01:00
Github Actions d33504ff72 [CI Skip] release/beta 0.62.2-15
skip-checks: true
2020-11-25 16:17:10 +00:00
Thibaut Sardan fc68b5ae0e export type for icon theme (#404) 2020-11-25 17:14:26 +01:00
Github Actions 55c52ed5ad [CI Skip] release/beta 0.62.2-14
skip-checks: true
2020-11-24 12:43:19 +00:00
Jaco Greeff 923a08f7fc Bumps (#403)
* Bumps

* Remove unneeded dev dep
2020-11-24 13:40:27 +01:00
Github Actions 284d36dd6d [CI Skip] release/beta 0.62.2-13
skip-checks: true
2020-11-20 08:39:25 +00:00
Jaco Greeff f648e6db08 Ledger libs bump (#402) 2020-11-20 09:36:42 +01:00
Github Actions c771560a7c [CI Skip] release/beta 0.62.2-12
skip-checks: true
2020-11-11 16:48:35 +00:00
Jaco Greeff 9b89ac19ba catch, ignore 2020-11-11 17:45:46 +01:00
Jaco Greeff 1d369c13d8 Allow injection failure 2020-11-11 17:44:22 +01:00
Github Actions ad2c3bb12a [CI Skip] release/beta 0.62.2-11
skip-checks: true
2020-11-11 13:06:36 +00:00
Jaco Greeff b951a67b3f Fix Ledger HID imports 2020-11-11 14:03:30 +01:00
Github Actions 17f37f0c05 [CI Skip] release/beta 0.62.2-10
skip-checks: true
2020-11-11 12:39:30 +00:00
Jaco Greeff c71da72328 Dev bump (#401)
* Swap with USB libs

* Update dev

* Bump deps
2020-11-11 13:36:38 +01:00
Github Actions 3c743bd668 [CI Skip] release/beta 0.62.2-9
skip-checks: true
2020-11-10 21:34:34 +00:00
Jaco Greeff 1e2fdfba58 Swap with USB libs (#400) 2020-11-10 22:31:26 +01:00
Github Actions 03db260ed6 [CI Skip] release/beta 0.62.2-8
skip-checks: true
2020-11-10 18:20:11 +00:00
Jaco Greeff d47cdf8a7b keyringOption 2020-11-10 19:17:08 +01:00
Github Actions 8d41ea5eba [CI Skip] release/beta 0.62.2-7
skip-checks: true
2020-11-10 17:44:36 +00:00
Jaco Greeff 573fd7ba6a keyringOption expose 2020-11-10 18:41:27 +01:00
Github Actions 6425131822 [CI Skip] release/beta 0.62.2-6
skip-checks: true
2020-11-10 17:22:38 +00:00
Jaco Greeff d81e91af7b Bumps 2020-11-10 18:19:24 +01:00
Github Actions f1576f280d [CI Skip] release/beta 0.62.2-5
skip-checks: true
2020-11-10 15:14:55 +00:00
Jaco Greeff 2692c90106 Split Ledger (& transports) into package (#399)
* Split Ledger (& transports) into package

* Fix browser/node resolution

* Bump
2020-11-10 16:11:50 +01:00
Github Actions 0da5471b3e [CI Skip] release/beta 0.62.2-4
skip-checks: true
2020-11-10 13:22:40 +00:00
Jaco Greeff e5a8d695bb Re-enable esnext builds (#398) 2020-11-10 14:19:29 +01:00
Github Actions 24b91a73c7 [CI Skip] release/beta 0.62.2-3
skip-checks: true
2020-11-09 22:32:51 +00:00
Jaco Greeff 1ad3b6ab98 Bumps 2020-11-09 23:30:03 +01:00
Github Actions 7fa869d33c [CI Skip] release/beta 0.62.2-2
skip-checks: true
2020-11-09 21:31:15 +00:00
Jaco Greeff 4b95eeae06 unused esnext 2020-11-09 22:28:10 +01:00
Github Actions c7e79d9816 [CI Skip] release/beta 0.62.2-1
skip-checks: true
2020-11-09 20:00:22 +00:00
Jaco Greeff 4d6d9abbc0 Bump common/api (#397) 2020-11-09 20:57:18 +01:00
Github Actions bc5973bdaf [CI Skip] release/beta 0.62.2-0
skip-checks: true
2020-11-09 16:43:35 +00:00
Jaco Greeff f6c7f638a1 Build esnext modules (#396) 2020-11-09 17:40:47 +01:00
Github Actions 0c9412c55f [CI Skip] release/stable 0.62.1
skip-checks: true
2020-11-09 11:27:20 +00:00
Jaco Greeff a3ece8770c 0.62 (#395)
* 0.62

* Fix to 0.62
2020-11-09 12:24:27 +01:00
Github Actions 77a9377503 [CI Skip] release/beta 0.61.2-7
skip-checks: true
2020-11-06 11:13:46 +00:00
Jaco Greeff e63b08f053 Ethereum address encoding (#394)
* Ethereum address encoding

* Remove encode
2020-11-06 12:10:26 +01:00
Github Actions 6356f9d0b7 [CI Skip] release/beta 0.61.2-6
skip-checks: true
2020-11-06 09:50:33 +00:00
Jaco Greeff 01d753ff99 Bump deps (#392) 2020-11-06 10:47:15 +01:00
Github Actions 8e151b721a [CI Skip] release/beta 0.61.2-5
skip-checks: true
2020-11-03 14:38:37 +00:00
Jaco Greeff ff1a31a336 Add ethereum icon type (#391) 2020-11-03 15:35:10 +01:00
Github Actions 2b0dac8097 [CI Skip] release/beta 0.61.2-4
skip-checks: true
2020-10-26 14:52:05 +00:00
Jaco Greeff 7b640d4503 Remove copy-to-apps script 2020-10-26 15:48:39 +01:00
Github Actions f4659fb67c [CI Skip] release/beta 0.61.2-3
skip-checks: true
2020-10-26 11:29:04 +00:00
Jaco Greeff c0393bcc7c Bump GH actions (#389)
* Bump GH actions

* Rewrite
2020-10-26 12:25:42 +01:00
Github Actions 0f5108ca90 [CI Skip] release/beta 0.61.2-2
skip-checks: true
2020-10-23 15:53:46 +00:00
Jaco Greeff fffbbdcb55 Explicit version for styled-components (#388) 2020-10-23 17:49:03 +02:00
Github Actions 16d29df52a [CI Skip] release/beta 0.61.2-1
skip-checks: true
2020-10-23 11:20:00 +00:00
Jaco Greeff 4ba9e97386 Bump deps (#387) 2020-10-23 13:15:54 +02:00
Github Actions 3a8d9c3fcb [CI Skip] release/beta 0.61.2-0
skip-checks: true
2020-10-23 08:23:14 +00:00
Jaco Greeff 15c73e6e07 Add docs redirect to root (#386) 2020-10-23 10:18:44 +02:00
Github Actions 122e2c40ce [CI Skip] release/stable 0.61.1
skip-checks: true
2020-10-19 06:47:04 +00:00
Jaco Greeff 14ac686780 0.61 (#384) 2020-10-19 08:42:35 +02:00
Github Actions 8e4ecac74b [CI Skip] release/beta 0.60.2-3
skip-checks: true
2020-10-17 09:00:30 +00:00
Thibaut Sardan a1808f590e Use @polkadot/networks (#382)
* adapt ss58

* fix yarn.lock ?

* cater for kusama hashes

* yarn update-interactive

* much nicer chains
2020-10-17 10:56:12 +02:00
Github Actions 72127121ca [CI Skip] release/beta 0.60.2-2
skip-checks: true
2020-10-17 08:16:14 +00:00
Jaco Greeff d77dddfda0 Remove (unused) typedoc (#383)
* Remove (unused) typedoc

* rm typedoc package
2020-10-17 10:11:46 +02:00
Github Actions 42877edd0b [CI Skip] release/beta 0.60.2-1
skip-checks: true
2020-10-16 13:49:47 +00:00
Jaco Greeff c077dfe24e List both deps & peers (optional with default) (#381)
* List both deps & peers (optional with default)

* Apply suggestions from code review
2020-10-16 15:45:22 +02:00
Github Actions 7f4e90a2cf [CI Skip] release/beta 0.60.2-0
skip-checks: true
2020-10-14 12:29:42 +00:00
WoeOm 4d7b19e64b add darwinia ss58 (#379) 2020-10-14 14:25:08 +02:00
Github Actions 127c937e5d [CI Skip] release/stable 0.60.1
skip-checks: true
2020-10-07 12:48:28 +00:00
Jaco Greeff a0fc946ee7 CHANGELOG 2020-10-07 14:43:55 +02:00
Jaco Greeff 35dd0b2561 Bump dev (#377) 2020-10-07 14:15:34 +02:00
Github Actions 33ef29361f [CI Skip] release/stable 0.60.0
skip-checks: true
2020-10-04 13:45:08 +00:00
Jaco Greeff 7953d92bfc Bump dev (no lerna) (#376) 2020-10-04 15:41:34 +02:00
Github Actions 4089bca9d5 [CI Skip] release/beta 0.60.0-beta.0
skip-checks: true
2020-09-30 12:24:44 +00:00
Jaco Greeff fea7424a7d Allow for Custom IdentityIcon override (#375) 2020-09-30 14:20:50 +02:00
Github Actions d4923b80fc [CI Skip] release/stable 0.59.1
skip-checks: true
2020-09-28 08:11:53 +00:00
Jaco Greeff 678d4dc524 0.59 (#374) 2020-09-28 10:08:08 +02:00
Github Actions 4e92aab586 [CI Skip] release/beta 0.59.0-beta.12
skip-checks: true
2020-09-25 15:05:57 +00:00
Jaco Greeff 1833b1a28f Bump Ledger libs (WebUSB) (#373) 2020-09-25 17:02:09 +02:00
Github Actions 3ca640fd3c [CI Skip] release/beta 0.59.0-beta.11
skip-checks: true
2020-09-25 11:29:07 +00:00
Jaco Greeff 0017139d69 Bump keyring (#372) 2020-09-25 13:25:17 +02:00
Github Actions 87fd12c002 [CI Skip] release/beta 0.59.0-beta.10
skip-checks: true
2020-09-24 13:38:29 +00:00
Jaco Greeff 723641ac57 Expose createFromJSON 2020-09-24 15:34:43 +02:00
Github Actions 4155547c0b [CI Skip] release/beta 0.59.0-beta.9
skip-checks: true
2020-09-24 13:05:28 +00:00
Jaco Greeff 262b8ad7c3 Bump deps (#371)
* Bump deps

* Headers
2020-09-24 15:01:56 +02:00
Jaco Greeff 64f630d904 SPDX (#370) 2020-09-17 16:12:52 +02:00
Github Actions 8525c59b9a [CI Skip] release/beta 0.59.0-beta.8
skip-checks: true
2020-09-17 07:06:39 +00:00
Jaco Greeff 0288421cef Bump deps (#369) 2020-09-17 09:03:29 +02:00
Github Actions 8f1ae11d9c [CI Skip] release/beta 0.59.0-beta.7
skip-checks: true
2020-09-16 10:03:29 +00:00
Jaco Greeff 8f61882bf7 Bump deps (#367) 2020-09-16 12:00:05 +02:00
Github Actions 12cba3f23d [CI Skip] release/beta 0.59.0-beta.6
skip-checks: true
2020-09-14 20:05:04 +00:00
Jaco Greeff 05d8d95991 Fix API to 1.33 2020-09-14 22:01:41 +02:00
Github Actions adbaa6caf4 [CI Skip] release/beta 0.59.0-beta.5
skip-checks: true
2020-09-14 18:49:53 +00:00
Jaco Greeff db6948d658 Indices for ledger account/address (#366) 2020-09-14 20:46:49 +02:00
Github Actions 6ca5ac62eb [CI Skip] release/beta 0.59.0-beta.4
skip-checks: true
2020-09-11 17:21:20 +00:00
Jaco Greeff 0b63b9eaf9 useMem to replace useEffect/useState (#365) 2020-09-11 19:17:38 +02:00
Github Actions b62cfcaf94 [CI Skip] release/beta 0.59.0-beta.3
skip-checks: true
2020-09-09 10:09:07 +00:00
Jaco Greeff e24cf09608 Bumps (#364) 2020-09-09 12:05:22 +02:00
Github Actions 815bbd647c [CI Skip] release/beta 0.59.0-beta.2
skip-checks: true
2020-09-06 11:12:26 +00:00
Jaco Greeff 54a325f306 Bump deps (#363) 2020-09-06 13:09:31 +02:00
Github Actions d5b9362c85 [CI Skip] release/beta 0.59.0-beta.1
skip-checks: true
2020-09-05 06:07:11 +00:00
Jaco Greeff 55f3ca652d Bump deps (#362) 2020-09-05 08:03:27 +02:00
Github Actions 1cce48ef53 [CI Skip] release/beta 0.59.0-beta.0
skip-checks: true
2020-09-03 13:01:53 +00:00
Jaco Greeff 44bf1f4260 Bump dev (#361)
* Bump dev

* Ordering
2020-09-03 14:58:05 +02:00
Github Actions a26ef77df2 [CI Skip] release/stable 0.58.1
skip-checks: true
2020-08-31 16:02:16 +00:00
Jaco Greeff 0bffc7af3c 0.58.1 (#360) 2020-08-31 17:58:20 +02:00
Github Actions 496dc7fe2e [CI Skip] release/beta 0.58.0-beta.9
skip-checks: true
2020-08-27 08:58:01 +00:00
Vlad Proshchavaiev 3610d1b921 Add Subsocial to ss58 defaults (#358) 2020-08-27 10:53:37 +02:00
Github Actions abdfa588a6 [CI Skip] release/beta 0.58.0-beta.8
skip-checks: true
2020-08-26 14:04:31 +00:00
Jaco Greeff ccfa730713 Bump deps (#357)
* Bump deps

* Update packages/ui-settings/src/defaults/crypto.ts

* .eslintrc
2020-08-26 15:59:57 +02:00
Github Actions 3eb8799f67 [CI Skip] release/beta 0.58.0-beta.7
skip-checks: true
2020-08-18 10:07:03 +00:00
Jaco Greeff 42e57ee0ca Bump deps (#356) 2020-08-18 12:03:28 +02:00
Github Actions e37751672b [CI Skip] release/beta 0.58.0-beta.6
skip-checks: true
2020-08-13 09:10:37 +00:00
Jaco Greeff 9768383b40 Bump deps (#355) 2020-08-13 11:07:06 +02:00
Github Actions b87479f618 [CI Skip] release/beta 0.58.0-beta.5
skip-checks: true
2020-08-10 19:29:47 +00:00
Jaco Greeff fdc310b32e Support scanning name where ":" is contained within (#354) 2020-08-10 21:26:11 +02:00
Github Actions 8766481109 [CI Skip] release/beta 0.58.0-beta.4
skip-checks: true
2020-08-08 07:10:35 +00:00
Jaco Greeff d4575f7e65 Bump deps (#353) 2020-08-08 09:07:31 +02:00
Github Actions 59952cbb3a [CI Skip] release/beta 0.58.0-beta.3
skip-checks: true
2020-08-06 13:19:07 +00:00
Jaco Greeff 492e1739bc Bump berry (#352)
* Bump berry

* Rewrite
2020-08-06 15:15:56 +02:00
Github Actions a6065f7154 [CI Skip] release/beta 0.58.0-beta.2
skip-checks: true
2020-07-31 12:35:14 +00:00
Jaco Greeff 11c44643aa Bump deps (#351) 2020-07-31 14:29:50 +02:00
Github Actions 04b61d6b7a [CI Skip] release/beta 0.58.0-beta.1
skip-checks: true
2020-07-27 12:13:22 +00:00
Jaco Greeff bc15f44780 Bump to next beta 2020-07-27 14:09:23 +02:00
Github Actions 735b18d59f [CI Skip] release/stable 0.57.3
skip-checks: true
2020-07-27 12:07:25 +00:00
Jaco Greeff 5001dea3c1 Add updated yarn.lock 2020-07-27 14:03:50 +02:00
Jaco Greeff 1be84c778b 0.57.3 (CHANGELOG typo) 2020-07-27 14:03:10 +02:00
Github Actions ddb1b8169b [CI Skip] release/stable 0.57.2
skip-checks: true
2020-07-27 12:00:47 +00:00
Jaco Greeff e077259037 0.57.2 (after failed 0.57.1 release) 2020-07-27 13:57:06 +02:00
Github Actions c88bccb560 [CI Skip] release/stable 0.57.1
skip-checks: true
2020-07-27 11:53:15 +00:00
Jaco Greeff 5bd2b3c85e Actual bump to 0.57 2020-07-27 13:48:41 +02:00
Github Actions 078d6800a6 [CI Skip] release/beta 0.57.0-beta.2
skip-checks: true
2020-07-27 11:47:25 +00:00
Jaco Greeff 4126dffc96 0.57 (#350) 2020-07-27 13:43:18 +02:00
Github Actions 61400d4c03 [CI Skip] release/beta 0.57.0-beta.1
skip-checks: true
2020-07-21 20:33:33 +00:00
Jaco Greeff a3ab735c4e Adjust password checks for v3 (#349) 2020-07-21 22:29:50 +02:00
Github Actions 0138ac3e4a [CI Skip] release/beta 0.57.0-beta.0
skip-checks: true
2020-07-21 09:22:08 +00:00
Jaco Greeff 0dcbdcac3a JSON v3 (#348) 2020-07-21 11:18:19 +02:00
Github Actions cc86e71837 [CI Skip] release/stable 0.56.1
skip-checks: true
2020-07-20 15:31:28 +00:00
Jaco Greeff 00d24f587b 0.56 (#346) 2020-07-20 17:27:23 +02:00
Github Actions c2683d10c6 [CI Skip] release/beta 0.56.0-beta.3
skip-checks: true
2020-07-17 12:30:25 +00:00
Jaco Greeff 11f5607272 Bump dev 2020-07-17 14:26:25 +02:00
Github Actions 259326cb5b [CI Skip] release/beta 0.56.0-beta.2
skip-checks: true
2020-07-17 07:58:51 +00:00
Jaco Greeff dad6590660 Bump deps (#345) 2020-07-17 09:54:43 +02:00
Github Actions b68b4cc374 [CI Skip] release/beta 0.56.0-beta.1
skip-checks: true
2020-07-11 07:35:09 +00:00
Jaco Greeff 7ffa17e372 Flatten Identicon (remove extra wrapper) (#343) 2020-07-11 09:31:22 +02:00
Github Actions c02a4d381c [CI Skip] release/beta 0.56.0-beta.0
skip-checks: true
2020-07-06 17:27:26 +00:00
carumusan ab6e20a0dc Add kulupu (#342) 2020-07-06 19:22:00 +02:00
Github Actions 51dece8b0f [CI Skip] release/stable 0.55.1
skip-checks: true
2020-07-02 11:49:16 +00:00
Jaco Greeff 2452470163 0.55 (#341) 2020-07-02 13:44:36 +02:00
Github Actions edbdb4f239 [CI Skip] release/beta 0.55.0-beta.6
skip-checks: true
2020-07-02 09:54:25 +00:00
Jaco Greeff 43da3b50de Assert of single key 2020-07-02 11:49:54 +02:00
yuhui1208 a3658de7c2 [Stores] make FileStroe read key safely (#338)
* safely readKey

* fix ci

* fix

* fix type error

* Modify judgment

* fix

* fix

* fix lint
2020-07-02 11:44:04 +02:00
Github Actions 74315ec825 [CI Skip] release/beta 0.55.0-beta.5
skip-checks: true
2020-07-02 06:07:03 +00:00
Jaco Greeff 4c58f48645 Bump deps (#340)
* Bump deps

* Adjust for new eslint parser
2020-07-02 08:01:50 +02:00
Github Actions c8f4983946 [CI Skip] release/beta 0.55.0-beta.4
skip-checks: true
2020-07-01 11:44:59 +00:00
Jaco Greeff ea7fad63a6 Ignore .DS_Store (#339)
As per https://github.com/polkadot-js/ui/issues/337#issuecomment-651617556
2020-07-01 13:39:41 +02:00
Github Actions 65352f4253 [CI Skip] release/beta 0.55.0-beta.3
skip-checks: true
2020-06-28 05:40:43 +00:00
Jaco Greeff 11922b1b02 Only apply before on highlight for icons (#336) 2020-06-28 07:35:17 +02:00
Github Actions 47752593b0 [CI Skip] release/beta 0.55.0-beta.2
skip-checks: true
2020-06-25 10:20:37 +00:00
Jaco Greeff 8dfaea2bfc Dep cleanups (#335) 2020-06-25 12:15:27 +02:00
Github Actions b288773d15 [CI Skip] release/beta 0.55.0-beta.1
skip-checks: true
2020-06-24 07:34:57 +00:00
Jaco Greeff 25d9da3144 Bump dependencies (#334)
* Bump dependencies

* QR display component to functional

* Small adjustments
2020-06-24 09:29:43 +02:00
Github Actions 841819d249 [CI Skip] release/beta 0.55.0-beta.0
skip-checks: true
2020-06-22 19:35:29 +00:00
Jaco Greeff 47fa7f9f0e Ledger dependencies bump (#332)
* Bump Ledger deps, adjust interfaces

* Cleanup with correct ledger exports

* Align deps

* 0.10.4
2020-06-22 21:31:17 +02:00
Jaco Greeff ed2c9e5c41 Bumps 2020-06-22 20:42:21 +02:00
Jaco Greeff 985177dd96 Bump deps (#333) 2020-06-22 20:37:44 +02:00
Github Actions 95a1a4f9a2 [CI Skip] release/stable 0.54.1
skip-checks: true
2020-06-16 07:06:08 +00:00
Jaco Greeff e142284713 0.54 (#331)
* 0.54

* 0.54
2020-06-16 09:01:20 +02:00
Github Actions be246413fa [CI Skip] release/beta 0.54.0-beta.7
skip-checks: true
2020-06-12 21:00:11 +00:00
Hanwen Cheng c7bf1d2ec9 allow qr to scan seed qr (#330)
* allow qr to scan seed qr

* simplify flow

* use original orders

* remove trailing spaces
2020-06-12 22:54:40 +02:00
Github Actions 48327feb34 [CI Skip] release/beta 0.54.0-beta.6
skip-checks: true
2020-06-05 20:35:31 +00:00
Jaco Greeff afa6950f0c Rewrite yarn (#329) 2020-06-05 22:30:09 +02:00
Github Actions 2adedba064 [CI Skip] release/beta 0.54.0-beta.5
skip-checks: true
2020-06-05 20:24:11 +00:00
Jaco Greeff 2309998889 Bump deps (#328) 2020-06-05 22:19:38 +02:00
Github Actions a8f906a15e [CI Skip] 0.54.0-beta.4
skip-checks: true
2020-05-30 07:08:00 +00:00
Jaco Greeff 990d4394af Rename Substrate entry to "generic" (#327)
* Rename Substrate entry to "generic"

* Rewrite yarn.lock

* Linting (base package update)
2020-05-30 09:03:08 +02:00
Github Actions 66f65052f6 [CI Skip] 0.54.0-beta.3
skip-checks: true
2020-05-27 15:53:51 +00:00
Jaco GreeffandHanwen Cheng 9252de79d4 Add genesisHash to signer payload (#323)
* Add genesisHash to signer payload

* fix order and add tests (#324)

* fix order and add tests

* Update packages/react-qr/src/util.spec.ts

* Update packages/react-qr/src/util.spec.ts

Co-authored-by: Jaco Greeff <jacogr@gmail.com>

* Apply suggestions from code review

Co-authored-by: Hanwen Cheng <heawen.cheng@gmail.com>
2020-05-27 17:48:32 +02:00
Github Actions a31ef816bd [CI Skip] 0.54.0-beta.2
skip-checks: true
2020-05-24 07:40:05 +00:00
Jaco Greeff 2df46e88ce Bump deps w/ eslint (#322)
* Bump deps w/ eslint

* theme default
2020-05-24 09:35:43 +02:00
Github Actions 050d1966c6 [CI Skip] 0.54.0-beta.1
skip-checks: true
2020-05-19 10:22:31 +00:00
Jaco Greeff b38301efae Ordering for crypto types (#321) 2020-05-19 12:18:06 +02:00
Github Actions 90aa4bad13 [CI Skip] 0.54.0-beta.0
skip-checks: true
2020-05-15 11:02:52 +00:00
Jaco Greeff b6909b132a Bump deps (#320) 2020-05-15 12:57:38 +02:00
Github Actions 47dede29c3 [CI Skip] 0.53.1
skip-checks: true
2020-05-14 14:51:40 +00:00
Jaco Greeff be5ee1a71b 0.53 (#319) 2020-05-14 16:47:09 +02:00
Github Actions 2b1d612528 [CI Skip] 0.53.0-beta.6
skip-checks: true
2020-05-14 09:55:18 +00:00
Alexander Krupenkin 82315bd349 Added ECDSA crypto type (#313) 2020-05-14 11:50:25 +02:00
Github Actions 0fa2fe3b32 [CI Skip] 0.53.0-beta.5
skip-checks: true
2020-05-14 06:08:42 +00:00
Jaco Greeff a60d8fa005 Bump deps (#318)
* Bump deps

* @polkadot/util bump
2020-05-14 08:04:12 +02:00
Github Actions e5b53991f2 [CI Skip] 0.53.0-beta.4
skip-checks: true
2020-05-12 15:37:19 +00:00
Jake Naviasky 8d39fabad7 Add Edgeware chain prefix to settings. (#317) 2020-05-12 17:31:59 +02:00
Github Actions ee6efc5bf8 [CI Skip] 0.53.0-beta.3
skip-checks: true
2020-05-11 09:47:22 +00:00
Jaco Greeff 435a9b3cd4 Bump deps (#316)
* Bump deps

* Remove unused deps

* Bump berry

* Bump berry
2020-05-11 11:43:05 +02:00
Github Actions e84758440f [CI Skip] 0.53.0-beta.2
skip-checks: true
2020-05-06 09:19:02 +00:00
Jaco Greeff e320d943a6 Bump deps (#315) 2020-05-06 11:14:20 +02:00
Github Actions 9b0de9f9fb [CI Skip] 0.53.0-beta.1
skip-checks: true
2020-04-24 17:54:57 +00:00
Jaco Greeff dd55faec48 Sort who on multisig (#312) 2020-04-24 19:50:09 +02:00
Github Actions c32343671a [CI Skip] 0.53.0-beta.0
skip-checks: true
2020-04-24 16:06:56 +00:00
Jaco Greeff e88351e994 addMultisig for ui-keyring (#311)
* addMultisig for ui-keyring

* Bumps

* Spelling.
2020-04-24 18:02:13 +02:00
Github Actions 2e323be1c3 [CI Skip] 0.52.1
skip-checks: true
2020-04-16 05:46:28 +00:00
Jaco Greeff 8111ce1ce6 0.52 (#310)
* 0.52

* Actual date ;)
2020-04-16 07:42:57 +02:00
Github Actions f946b7d8fe [CI Skip] 0.52.0-beta.32
skip-checks: true
2020-04-12 07:11:28 +00:00
Jaco Greeff 7251b1f763 Cleanup shared, consistency with standards (#309)
* Cleanup shared, consistency with standards

* Re-add item

* Cleanup webpack demos
2020-04-12 09:06:32 +02:00
Github Actions a1aa280cb9 [CI Skip] 0.52.0-beta.31
skip-checks: true
2020-04-12 05:32:53 +00:00
Jaco Greeff a268160ffd isAlternative (#308) 2020-04-12 07:28:16 +02:00
Github Actions 87187649d1 [CI Skip] 0.52.0-beta.30
skip-checks: true
2020-04-07 20:01:23 +00:00
Jaco Greeff b2ba6aa7ae Bumps 2020-04-07 21:56:19 +02:00
Jaco Greeff e95dc3932b Bump common 2020-04-07 21:36:04 +02:00
Github Actions 68579a0b86 [CI Skip] 0.52.0-beta.29
skip-checks: true
2020-04-06 11:01:24 +00:00
Jaco Greeff ae447e52c9 Trigger 2020-04-06 12:56:23 +02:00
Github Actions 1d66e071e9 [CI Skip] 0.52.0-beta.28
skip-checks: true
2020-04-06 10:31:46 +00:00
Jaco Greeff e26f9aedb6 Use bundled node (#307) 2020-04-06 12:27:46 +02:00
Github Actions d83c45cb2f [CI Skip] 0.52.0-beta.27
skip-checks: true
2020-04-06 08:38:43 +00:00
Jaco Greeff b695647acf Remove extension store (#306) 2020-04-06 10:16:07 +02:00
Github Actions 0d179f9d0b [CI Skip] 0.52.0-beta.26
skip-checks: true
2020-04-05 08:01:42 +00:00
Jaco Greeff 6e60311ba7 Bump deps (#305) 2020-04-05 09:57:04 +02:00
Github Actions a6a7ef040f [CI Skip] 0.52.0-beta.25
skip-checks: true
2020-04-04 08:52:06 +00:00
Jaco Greeff e2637b06a0 Bump deps (#304) 2020-04-04 10:47:33 +02:00
Github Actions ec5caf8fe1 [CI Skip] 0.52.0-beta.24
skip-checks: true
2020-04-01 21:01:46 +00:00
Jaco Greeff 7428ef8eb7 Bump dev (#303) 2020-04-01 22:57:30 +02:00
Github Actions d29edf679e [CI Skip] 0.52.0-beta.23
skip-checks: true
2020-04-01 19:29:10 +00:00
Jaco Greeff 175f876101 Bump dev (incl. eslint fixes) (#302)
* Bump dev (incl. eslint fixes)

* Ordering fixes
2020-04-01 21:24:45 +02:00
Github Actions cc4fa53339 [CI Skip] 0.52.0-beta.22
skip-checks: true
2020-04-01 11:23:17 +00:00
Jaco Greeff 371262d056 Bump dev, apply JSX rules (#301) 2020-04-01 13:18:28 +02:00
Github Actions cd5a881f32 [CI Skip] 0.52.0-beta.21
skip-checks: true
2020-03-27 07:57:05 +00:00
Jaco Greeff 95882ea875 Exhaustive hooks (#300) 2020-03-27 08:52:52 +01:00
Github Actions 3edeae30a0 [CI Skip] 0.52.0-beta.20
skip-checks: true
2020-03-26 12:21:29 +00:00
Hanwen Cheng 44f7e6a436 Add qr support for networkSpecs (#299)
* add qr support for networkSpecs

* make lint happy with spaces

* make lint happier

* remove path id in networkspecs type

* Update tsconfig.json
2020-03-26 13:16:47 +01:00
Github Actions 03033b8d7c [CI Skip] 0.52.0-beta.19
skip-checks: true
2020-03-22 18:16:13 +00:00
Jaco Greeff a25f813f6b Bump API (#298) 2020-03-22 19:11:54 +01:00
Github Actions 873ac2a3ee [CI Skip] 0.52.0-beta.18
skip-checks: true
2020-03-21 10:41:38 +00:00
Jaco Greeff ee613b1578 Bump dev (#297) 2020-03-21 11:37:03 +01:00
Github Actions 6f5adca0cc [CI Skip] 0.52.0-beta.17
skip-checks: true
2020-03-21 09:32:10 +00:00
Jaco Greeff 49c4c592f1 Bump deps (#296)
* Bump deps

* @types/jest

* TS 3.8.3
2020-03-21 10:27:57 +01:00
Github Actions b5882bf3a4 [CI Skip] 0.52.0-beta.16
skip-checks: true
2020-03-16 14:36:11 +00:00
Jaco Greeff 5ad56a9520 Add yarn matrix (#295) 2020-03-16 15:31:37 +01:00
Github Actions 0afc9908ed [CI Skip] 0.52.0-beta.15
skip-checks: true
2020-03-16 13:47:13 +00:00
Jaco Greeff 6c55f6ea53 Collapse actions matrix (#294) 2020-03-16 14:42:33 +01:00
Github Actions 1eef52e286 [CI Skip] 0.52.0-beta.14
skip-checks: true
2020-03-15 07:25:14 +00:00
Jaco Greeff c1644287e1 Remove non-working CI cache (#293) 2020-03-15 08:21:31 +01:00
Github Actions 1ceee77b27 [CI Skip] 0.52.0-beta.13
skip-checks: true
2020-03-15 05:15:01 +00:00
Jaco Greeff faea66eed8 rxjs to dependency 2020-03-15 06:10:47 +01:00
Github Actions f211a19eab [CI Skip] 0.52.0-beta.12
skip-checks: true
2020-03-15 05:04:43 +00:00
Jaco Greeff ad9abfb0d8 Missing peerDependencies 2020-03-15 06:00:31 +01:00
Github Actions 204b0b46ef [CI Skip] 0.52.0-beta.11
skip-checks: true
2020-03-14 17:40:52 +00:00
Jaco Greeff 5ddcec777f Missing explicit deps 2020-03-14 18:36:31 +01:00
Github Actions 0055d7573b [CI Skip] 0.52.0-beta.10
skip-checks: true
2020-03-14 17:25:26 +00:00
Jaco Greeff 92998eb817 Add missing peerDependency 2020-03-14 18:21:12 +01:00
Github Actions a11dc52cfe [CI Skip] 0.52.0-beta.9
skip-checks: true
2020-03-14 12:24:57 +00:00
Jaco Greeff b2175a60cd Some additional functional wrappers (#292) 2020-03-14 13:20:39 +01:00
Github Actions 9bba6b0c28 [CI Skip] 0.52.0-beta.8
skip-checks: true
2020-03-14 11:46:18 +00:00
Jaco Greeff 8865d2a2c5 Some functional components (#291)
* Some functional components

* Pass param to useCallback

* Bump berry

* Scan -> functional
2020-03-14 12:41:57 +01:00
Github Actions 067f1a4fa7 [CI Skip] 0.52.0-beta.7
skip-checks: true
2020-03-14 09:05:57 +00:00
Jaco Greeff 15c6b1cef6 Bump deps (#290) 2020-03-14 10:01:47 +01:00
Github Actions f49b5a0389 [CI Skip] 0.52.0-beta.6
skip-checks: true
2020-03-09 07:29:31 +00:00
Keith Ingram 5e86263fe3 fix ff api url issue (#289) 2020-03-09 08:24:45 +01:00
Github Actions 9fce0e2d51 [CI Skip] 0.52.0-beta.5
skip-checks: true
2020-02-29 12:56:01 +00:00
Jaco Greeff 6cbabfbe80 Minify yarn plugins (#288) 2020-02-29 13:50:27 +01:00
Github Actions 32c1ca8abf [CI Skip] 0.52.0-beta.4
skip-checks: true
2020-02-28 13:24:53 +00:00
Jaco Greeff 31e8904f7a Swap to yarn 2 (#287) 2020-02-28 14:19:03 +01:00
Github Actions 1229bedffb [CI Skip] 0.52.0-beta.3
skip-checks: true
2020-02-22 17:21:23 +00:00
Jaco Greeff e69e98182b Control priv access via # (#286) 2020-02-22 18:19:35 +01:00
Github Actions 3b71f10d1e [CI Skip] 0.52.0-beta.2
skip-checks: true
2020-02-19 20:07:15 +00:00
Jaco Greeff 992eed1bfc Centrifuge logo (#285) 2020-02-19 21:05:32 +01:00
Github Actions 873b1c40e8 [CI Skip] 0.52.0-beta.1
skip-checks: true
2020-02-19 17:07:38 +00:00
Jaco Greeff 7e0171bb9f Add Centrifuge logo (#284) 2020-02-19 18:05:22 +01:00
Github Actions 309f652ce6 [CI Skip] 0.52.0-beta.0
skip-checks: true
2020-02-18 16:09:45 +00:00
Jaco Greeff 2ba4444ca4 Internal ss58Format handling (#283) 2020-02-18 17:07:53 +01:00
Github Actions 826de3ddf0 [CI Skip] 0.51.1
skip-checks: true
2020-02-18 09:00:43 +00:00
Jaco Greeff 1e4148f2cf 0.51 (#282) 2020-02-18 09:58:35 +01:00
Github Actions 5827a9702c [CI Skip] 0.51.0-beta.1
skip-checks: true
2020-02-17 20:05:29 +00:00
Jaco Greeff fd11071566 Bump deps (#281) 2020-02-17 21:02:55 +01:00
Github Actions 7b7d467143 [CI Skip] 0.51.0-beta.0
skip-checks: true
2020-02-17 14:09:48 +00:00
Jaco Greeff 170b778dcf Add GH actions yarn cache (#280) 2020-02-17 15:07:46 +01:00
Github Actions bc5be9e382 [CI Skip] 0.50.1
skip-checks: true
2020-02-16 08:20:07 +00:00
Jaco Greeff 6fb91e2e56 0.50 (#279)
* 0.50

* Dep bumps
2020-02-16 09:18:04 +01:00
Github Actions c29613faed [CI Skip] 0.50.0-beta.4
skip-checks: true
2020-02-14 15:31:51 +00:00
Jaco Greeff 7b6ff51186 Bump deps (& @types to dev deps) (#278) 2020-02-14 16:30:08 +01:00
Github Actions 44043a9374 [CI Skip] 0.50.0-beta.3
skip-checks: true
2020-02-14 08:51:34 +00:00
Jaco Greeff e4159028ae Bump dev (#277) 2020-02-14 09:49:29 +01:00
Github Actions b6424bdb15 [CI Skip] 0.50.0-beta.2
skip-checks: true
2020-02-13 15:09:53 +00:00
Jaco Greeff 9e5a2ac7c5 Bump dev (#276)
* Bump dev

* Fix linting
2020-02-13 16:07:21 +01:00
Github Actions 924e69bc7b [CI Skip] 0.50.0-beta.1
skip-checks: true
2020-02-12 16:11:31 +00:00
Jaco Greeff 4f025cb9ec Explicit deps & bumps (#275) 2020-02-12 17:08:52 +01:00
Github Actions 9902c9351d [CI Skip] 0.50.0-beta.0
skip-checks: true
2020-02-10 17:39:21 +00:00
Drew Stone 536a6dd877 Add Edgeware testnet and mainnet updated endpoints (#274) 2020-02-10 18:37:11 +01:00
Github Actions 00e702e24f [CI Skip] 0.49.1
skip-checks: true
2020-02-06 16:00:42 +00:00
Jaco Greeff 7c39f68a1a 0.49 (#273) 2020-02-06 16:58:25 +01:00
Github Actions ba9f571c83 [CI Skip] 0.49.0-beta.3
skip-checks: true
2020-02-06 14:27:45 +00:00
Jaco Greeff d12387f4ae Add a resolver for jest (#272) 2020-02-06 15:25:08 +01:00
Github Actions 4bed02e395 [CI Skip] 0.49.0-beta.2
skip-checks: true
2020-02-05 17:35:37 +00:00
Nikhil Ranjan ee23a50c06 Updated to valid javascript (#271)
; cannot be used with => .
2020-02-05 18:33:19 +01:00
Github Actions 7f383fffc9 [CI Skip] 0.49.0-beta.1
skip-checks: true
2020-02-04 11:37:49 +00:00
Jaco Greeff 42b421be44 Bump deps (#270) 2020-02-04 12:35:32 +01:00
Github Actions 121fe3008a [CI Skip] 0.49.0-beta.0
skip-checks: true
2020-02-03 12:59:24 +00:00
Jaco Greeff 55fd797707 Bump deps (#269) 2020-02-03 13:56:45 +01:00
Github Actions a92c2a0c85 [CI Skip] 0.48.1
skip-checks: true
2020-01-30 16:54:29 +00:00
Jaco Greeff 2677b543fb 0.48 (#268) 2020-01-30 17:51:52 +01:00
Github Actions 76d5ef9c71 [CI Skip] 0.48.0-beta.18
skip-checks: true
2020-01-29 09:53:45 +00:00
Jaco Greeff 083f901c4c Bump deps (#267) 2020-01-29 10:51:29 +01:00
Github Actions 7d2bcf57c3 [CI Skip] 0.48.0-beta.17
skip-checks: true
2020-01-28 18:07:50 +00:00
Jaco Greeff 9579e6b744 Bump common (#266) 2020-01-28 19:05:18 +01:00
Github Actions 8aaa326039 [CI Skip] 0.48.0-beta.16
skip-checks: true
2020-01-28 17:10:32 +00:00
Jaco Greeff fe4e6df901 Bump deps (#265) 2020-01-28 18:08:00 +01:00
Github Actions 9866faa41d [CI Skip] 0.48.0-beta.15
skip-checks: true
2020-01-26 10:00:20 +00:00
Jaco Greeff b814d754b8 Bump deps (#264)
* Bump deps

* Update tests

* Update mdEngine
2020-01-26 10:57:37 +01:00
Github Actions 8183559a5f [CI Skip] 0.48.0-beta.14
skip-checks: true
2020-01-22 16:04:32 +00:00
Jaco Greeff b78194837d Add Westend (#263) 2020-01-22 17:01:53 +01:00
Github Actions 5896ddbb43 [CI Skip] 0.48.0-beta.13
skip-checks: true
2020-01-21 13:26:51 +00:00
Jaco Greeff 698472af5e Allow scanning of account with name (#262) 2020-01-21 14:24:06 +01:00
Github Actions 41a96bf01a [CI Skip] 0.48.0-beta.12
skip-checks: true
2020-01-15 12:56:56 +00:00
菩提 74393eddce fix some bugs (#260)
* fix some bugs

* fix some bugs
2020-01-15 13:54:19 +01:00
Github Actions e65e5460e5 [CI Skip] 0.48.0-beta.11
skip-checks: true
2020-01-15 11:43:16 +00:00
Jaco Greeff 848d190f2a Kusama display name (#258) 2020-01-15 12:40:39 +01:00
Github Actions d995e1cb03 [CI Skip] 0.48.0-beta.10
skip-checks: true
2020-01-14 08:21:47 +00:00
Jaco Greeff ca7772536f Bump API & common (#257) 2020-01-14 09:18:56 +01:00
Github Actions 1a8fd3900c [CI Skip] 0.48.0-beta.9
skip-checks: true
2020-01-13 15:42:22 +00:00
Jaco Greeff f811c6db13 Missor scanig display (#256) 2020-01-13 16:39:42 +01:00
Github Actions 33d1ba3d1e [CI Skip] 0.48.0-beta.8
skip-checks: true
2020-01-06 15:40:37 +00:00
Wei Tang 6bc4e5373b Add Kulupu to the network selection list (#254)
* Add Kulupu to the network selection list

* Fix trailing space
2020-01-06 16:38:00 +01:00
Github Actions f653f970f5 [CI Skip] 0.48.0-beta.7
skip-checks: true
2020-01-06 14:08:46 +00:00
Jaco Greeff 560c6746d8 Missing types bump 2020-01-06 15:05:40 +01:00
Github Actions d39e46401a [CI Skip] 0.48.0-beta.6
skip-checks: true
2020-01-06 13:54:19 +00:00
Jaco Greeff dee9cdb3d3 Bump deps (#255) 2020-01-06 14:51:16 +01:00
Github Actions f961f7a9d9 [CI Skip] 0.48.0-beta.5
skip-checks: true
2019-12-17 20:39:21 +00:00
Vlad Proshchavaiev 24694e137d Fix typo on packages page in docs (#253) 2019-12-17 21:36:36 +01:00
Github Actions 0cf421d5d8 [CI Skip] 0.48.0-beta.4
skip-checks: true
2019-12-16 13:06:27 +00:00
Jaco Greeff a7acf8fdac Remove Alexander support (#252) 2019-12-16 14:03:25 +01:00
Github Actions de47c2e20c [CI Skip] 0.48.0-beta.3
skip-checks: true
2019-12-11 17:29:49 +00:00
Drew Stone a8df514ce3 Use working testnet wss (#251) 2019-12-11 18:17:55 +01:00
Github Actions 49019b2b6d [CI Skip] 0.48.0-beta.2
skip-checks: true
2019-12-10 21:20:22 +00:00
Jaco Greeff 619659ad34 Disable Edgeware mainnet for now (#250) 2019-12-10 22:17:25 +01:00
Github Actions 6c84ba2c14 [CI Skip] 0.48.0-beta.1
skip-checks: true
2019-12-07 13:34:44 +00:00
Jaco Greeff f4a570ca17 Bump deps (#249) 2019-12-07 14:32:04 +01:00
Github Actions fde6485eff [CI Skip] 0.48.0-beta.0
skip-checks: true
2019-12-05 10:28:41 +00:00
Jaco Greeff d47361f88b Bump deps (#248) 2019-12-05 11:26:04 +01:00
Github Actions f044ebaf5b [CI Skip] 0.47.1
skip-checks: true
2019-11-29 12:09:41 +00:00
Jaco Greeff 4c64274130 CC3 (#246)
* CC3

* W3F endpoint

* Bumps

* Bumps

* Bump API

* 0.47.1 CHANGELOG

* Update CHANGELOG with chain genesis ranges

* 0.47
2019-11-29 13:07:10 +01:00
Github Actions 1dcd1ef148 [CI Skip] 0.47.0-beta.12
skip-checks: true
2019-11-29 09:57:27 +00:00
Jaco Greeff b3f255a2b9 Add chain genesis, lookups for toggle (#247) 2019-11-29 10:54:49 +01:00
Github Actions afbf853a54 [CI Skip] 0.47.0-beta.11
skip-checks: true
2019-11-26 11:48:38 +00:00
Jaco Greeff 43374152bc Bump deps (#245) 2019-11-26 12:45:52 +01:00
Github Actions 10f7960423 [CI Skip] 0.47.0-beta.10
skip-checks: true
2019-11-23 15:07:35 +00:00
Luke Sugiura 2bfd2244e8 remove language options (#244) 2019-11-23 16:04:54 +01:00
Github Actions aa3568528a [CI Skip] 0.47.0-beta.9
skip-checks: true
2019-11-22 20:27:36 +00:00
Github Actions 192749a4cc [CI Skip] 0.47.0-beta.8
skip-checks: true
2019-11-22 17:17:27 +00:00
Luke Sugiura 35e08e3c9c Export SettingsStruct (#243)
* export SettingsStruct

* oops I forgot to add semicolon
2019-11-22 18:14:34 +01:00
Github Actions 428e59ea9b [CI Skip] 0.47.0-beta.7
skip-checks: true
2019-11-21 14:38:08 +00:00
Luke Sugiura ff00277443 add English and Japanese option (#242) 2019-11-21 15:35:28 +01:00
Github Actions 5262825841 [CI Skip] 0.47.0-beta.6
skip-checks: true
2019-11-13 11:14:21 +00:00
Jaco Greeff 391ab5130e Bump deps (#241)
* Bump deps

* assert doing  it's job

* Unsused import

* throw -> assert
2019-11-13 12:11:47 +01:00
Github Actions 47e81eda5c [CI Skip] 0.47.0-beta.5 2019-11-10 15:47:45 +00:00
Jaco Greeff 6066d0e6f4 Bump QR display timeouts (adjust after looping) (#237)
* Bump QR display timeouts (adjust after looping)

* timerId to state
2019-11-10 16:45:01 +01:00
Github Actions 3173b7dfc1 [CI Skip] 0.47.0-beta.4 2019-11-10 15:37:00 +00:00
Jaco Greeff be451f1bdb Bump deps (#240) 2019-11-10 16:33:58 +01:00
Github Actions 18151afdd3 [CI Skip] 0.47.0-beta.3 2019-11-06 22:30:53 +00:00
Jaco Greeff f6c85f275a Bump deps (#239) 2019-11-06 23:28:15 +01:00
Github Actions 2901193c51 [CI Skip] 0.47.0-beta.2 2019-11-06 16:47:10 +00:00
Jaco Greeff ebcb4115a5 Bump deps 2019-11-06 17:44:12 +01:00
Github Actions 2c03eade34 [CI Skip] 0.47.0-beta.1 2019-10-28 16:20:06 +00:00
Jaco Greeff eac21d2148 Use GH_PAT is checkout action 2019-10-28 17:16:02 +01:00
Github Actions ac093ec55f [CI Skip] 0.47.0-beta.0 2019-10-28 09:19:42 +00:00
Jaco Greeff 0c215d9883 Bump ledger deps (#238)
* Bump ledger deps

* Rewrite yarn.lock
2019-10-28 10:16:06 +01:00
Github Actions e41332610e [CI Skip] 0.46.1 2019-10-25 11:03:09 +00:00
Jaco Greeff 76efc5609b 0.46 (#236) 2019-10-25 12:59:49 +02:00
Github Actions b4cfbf03fe [CI Skip] 0.46.0-beta.16 2019-10-25 07:11:16 +00:00
Jaco Greeff 7e9af00a8b Bump internal deps (#235) 2019-10-25 09:07:59 +02:00
Github Actions 9cc98d75cb [CI Skip] 0.46.0-beta.15 2019-10-24 13:12:32 +00:00
Jaco Greeff d9cc92db14 Camera settings (#234) 2019-10-24 15:08:29 +02:00
Github Actions ff351a0f31 [CI Skip] 0.46.0-beta.14 2019-10-22 11:40:50 +00:00
Jaco Greeff f2f36e2db0 Bump deps (#232)
* Bump deps

* Linting updates (remove hack)
2019-10-22 13:37:20 +02:00
Github Actions 4de930db05 [CI Skip] 0.46.0-beta.13 2019-10-16 10:39:38 +00:00
Jaco Greeff c58835059d Docs update, getting started (#219)
* Docs update, getting started

* Typos

* Cleanups, linking

* Update with additional packages
2019-10-16 12:35:34 +02:00
Github Actions b1c1f108e7 [CI Skip] 0.46.0-beta.12 2019-10-16 10:08:27 +00:00
Jaco Greeff c751dbbdcf Bump deps (#231) 2019-10-16 12:04:11 +02:00
Github Actions 2ccf452a2f [CI Skip] 0.46.0-beta.11 2019-10-12 13:30:00 +00:00
Jaco Greeff 89cb92a8ca Update build merge (#230) 2019-10-12 15:27:25 +02:00
Github Actions 2881ae2834 [CI Skip] 0.46.0-beta.10 2019-10-11 11:08:41 +00:00
Jaco Greeff 809073002e Remove CC token on PR test (#229) 2019-10-11 13:05:04 +02:00
Jaco Greeff 1852678216 [CI Skip] 0.46.0-beta.9 2019-10-11 08:35:58 +00:00
Jaco Greeff 79aaacb4c6 Bump deps (#228) 2019-10-11 10:31:44 +02:00
Jaco Greeff 94675df10a [CI Skip] 0.46.0-beta.8 2019-10-10 19:26:39 +00:00
Cameron Franz b3e9b70341 react-native example app port (#223)
* add readme

* react-native example app

* update readme

* add ios-cli dep

* revert package.json change

* update readme

* update readme

* don't auto launch metro

* add react native scripts

* nohoist @react-native-community/**

* update readme

* undo wrong README change

* remove react-native root dep

* copyright headers

* semi-style

* add default gitignore

* finish linting

* remove test for now

* fix typescript errors

* fix linting

* update scripts

* update deps and version

* update readme

* remove accidental dep

* update readme

* bump deps

* update yarn.lock

* actually update yarn.lock

* fix yarn.lock conflicts by updating exampleReactNative deps
2019-10-10 21:22:21 +02:00
Jaco Greeff cd1fc14c16 [CI Skip] 0.46.0-beta.7 2019-10-09 13:56:50 +00:00
Jaco Greeff 147fec6100 Swap CI to GH actions (#227) 2019-10-09 15:52:58 +02:00
Travis CI 462b62cc7f [CI Skip] 0.46.0-beta.6 2019-10-08 14:35:12 +00:00
Jaco Greeff 6b1a84cd9d Bump deps (#226) 2019-10-08 16:25:01 +02:00
YJ e9ad511134 fix #224: decrease frame size to 1024, set multipart bool (#225)
* fix: decrease frame size to 1024, set multipart bool

* revert irrelevant change

* fix: revert multipart indicator
2019-10-08 16:21:46 +02:00
Travis CI f144702833 [CI Skip] 0.46.0-beta.5 2019-10-07 15:25:16 +00:00
Jaco Greeff b41c5198b5 Update BOUNTIES.md 2019-10-07 17:09:27 +02:00
Jaco Greeff ee260e7e14 Create BOUNTIES.md 2019-10-07 17:08:19 +02:00
Jaco Greeff 148c023952 Rename push.yml to pr.yml 2019-10-07 16:15:23 +02:00
Travis CI 62faf53391 [CI Skip] 0.46.0-beta.4 2019-10-07 13:43:39 +00:00
Jaco Greeff fee714fc1f Action only on PR 2019-10-07 15:24:24 +02:00
Travis CI 6127ae18cc [CI Skip] 0.46.0-beta.3 2019-10-07 11:12:53 +00:00
Jaco Greeff a2ee1fcd1c Run workflow on PR 2019-10-07 13:04:14 +02:00
Travis CI e2a7ef95da [CI Skip] 0.46.0-beta.2 2019-10-04 10:20:53 +00:00
Jaco Greeff b0298500ee Split GH actions (#222) 2019-10-04 12:03:42 +02:00
Travis CI f0275f03c9 [CI Skip] 0.46.0-beta.1 2019-10-04 07:57:55 +00:00
Jaco Greeff b3a4cadcd1 Add GH actions (#221) 2019-10-04 09:38:45 +02:00
Travis CI 7c3967ee5b [CI Skip] 0.46.0-beta.0 2019-10-01 14:11:29 +00:00
Jaco Greeff a0637fee5b Include workspace deps (demos) from build (#220)
* Include workspace deps (demos) from build

* Fix React demo
2019-10-01 16:02:35 +02:00
Travis CI f00ff53fc1 [CI Skip] 0.45.1 2019-09-26 14:14:14 +00:00
Jaco Greeff c5d32c3986 0.45 (#217) 2019-09-26 16:06:53 +02:00
Travis CI 80dc636afa [CI Skip] 0.45.0-beta.15 2019-09-26 08:20:08 +00:00
Jaco Greeff b197c4bbb7 CC2 (#216) 2019-09-26 10:04:45 +02:00
Travis CI aa2625cb2b [CI Skip] 0.45.0-beta.14 2019-09-25 12:08:00 +00:00
Jaco Greeff 741ca2a150 Bump deps (#215) 2019-09-25 14:00:43 +02:00
Travis CI fb59238ef0 [CI Skip] 0.45.0-beta.13 2019-09-18 10:45:07 +00:00
Jaco Greeff 337f377ee9 Ledger transports arrays for node vs web vs rn (#214)
* Ledger transports arrays for node vs web vs rn

* Flatten requires
2019-09-18 12:38:30 +02:00
Travis CI 77ad1b1901 [CI Skip] 0.45.0-beta.12 2019-09-18 08:23:12 +00:00
Jaco Greeff 6fce4b7260 Mump upstream ledger deps 2019-09-18 10:16:31 +02:00
Travis CI 76c13392a8 [CI Skip] 0.45.0-beta.11 2019-09-18 06:15:55 +00:00
Jaco Greeff 0175ef628d Ledger sign signatures (#213)
* Ledger sign signatures

* wrapResult -> withApp

* version: [major, minor, patch]
2019-09-18 08:09:19 +02:00
Travis CI 448d67b7f8 [CI Skip] 0.45.0-beta.10 2019-09-17 20:42:05 +00:00
Jaco Greeff 00c15f35c0 Add thin Ledger default wrapper (#212)
* Add thin Ledger default wrapper

* move showAddress confirmFlag

* Add node hid support

* export Ledger

* addHardware

* libusb dep for CircleCI

* Cleanup typings (buffer expected)
2019-09-17 22:35:32 +02:00
Travis CI 4579adbdec [CI Skip] 0.45.0-beta.9 2019-09-17 11:27:59 +00:00
Jaco Greeff 425ca93aa0 Add Ledger interfaces (#211) 2019-09-17 13:21:18 +02:00
Travis CI 34b0350501 [CI Skip] 0.45.0-beta.8 2019-09-17 07:12:15 +00:00
Jaco Greeff 800700d50e Add isHardware flags (#210)
* Add isHardware flags

* Ledger connection  options
2019-09-17 09:05:51 +02:00
Travis CI 03303a222e [CI Skip] 0.45.0-beta.7 2019-09-16 18:53:24 +00:00
Jaco Greeff e87647e3d9 Add example-{react, vue} (#209)
* Add example-{react, vue}

* Update CHANGELOG.md

* Update README.md
2019-09-16 20:46:47 +02:00
Travis CI bff1651481 [CI Skip] 0.45.0-beta.6 2019-09-15 06:35:58 +00:00
Jaco Greeff f95112f3d6 Edgeware mainnet RPC (#208) 2019-09-15 08:29:30 +02:00
Travis CI e6d56236f2 [CI Skip] 0.45.0-beta.5 2019-09-13 18:15:49 +00:00
Jaco Greeff b9f45d19f5 Fix hosted-by display 2019-09-13 20:09:05 +02:00
Travis CI 8c37e274cc [CI Skip] 0.45.0-beta.4 2019-09-13 12:52:45 +00:00
Jaco Greeff d0ef98b18e Introduce ICON_DEFAULT_HOST (#207) 2019-09-13 14:46:21 +02:00
Travis CI cde5b61b33 [CI Skip] 0.45.0-beta.3 2019-09-13 12:05:10 +00:00
Jaco Greeff 3f253ddbe1 Settings for icon (#206) 2019-09-13 13:58:26 +02:00
Travis CI 209cb4d815 [CI Skip] 0.45.0-beta.2 2019-09-13 10:33:08 +00:00
Jaco Greeff 435cf90cb7 Highlight to non-orange 2019-09-13 12:23:50 +02:00
Travis CI abfb07e238 [CI Skip] 0.45.0-beta.1 2019-09-13 06:59:03 +00:00
Jaco Greeff b12abc3c78 Tone-down highlights (#205) 2019-09-13 08:52:36 +02:00
Travis CI 07644a0434 [CI Skip] 0.45.0-beta.0 2019-09-12 20:52:59 +00:00
Jaco Greeff c31e508b45 Add edgeware test 2 (#200)
* Add edgeware test 2

* Add egdeware logos
2019-09-12 22:46:29 +02:00
247 changed files with 21430 additions and 17638 deletions
+1
View File
@@ -0,0 +1 @@
2.6.2
+28
View File
@@ -0,0 +1,28 @@
2
0.57.20.57.3
0.66.2
0.66.3
0.71.2
0.71.3
0.84.2
0.84.3
0.85.2
0.85.3
0.85.4
0.85.5
0.86.2
0.86.3
0.86.4
0.86.5
0.86.6
0.86.7
0.87.2
0.87.3
0.87.4
0.87.5
0.87.6
0.87.7
0.89.2
0.89.3
2.6.2
-1
View File
@@ -1 +0,0 @@
module.exports = require('./babel.config.js');
-24
View File
@@ -1,24 +0,0 @@
version: 2
jobs:
build:
branches:
ignore:
- gh-pages
working_directory: ~/polkadot-js
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install-deps
command: yarn install --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- ~/.cache/yarn
- run:
name: build
command: yarn polkadot-dev-circleci-build
+14
View File
@@ -1,3 +1,17 @@
checks:
argument-count:
config:
threshold: 5
method-complexity:
config:
threshold: 7
method-count:
config:
threshold: 25
method-lines:
config:
threshold: 30
exclude_patterns:
- "**/*.spec.js"
- "**/*.spec.ts"
-3
View File
@@ -1,3 +0,0 @@
**/build/*
**/coverage/*
**/node_modules/*
+9 -1
View File
@@ -1,7 +1,15 @@
const base = require('@polkadot/dev-react/config/eslint');
// Copyright 2017-2022 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
const base = require('@polkadot/dev/config/eslint.cjs');
module.exports = {
...base,
ignorePatterns: [
...base.ignorePatterns,
'jest/**/*',
'**/*.d.ts'
],
parserOptions: {
...base.parserOptions,
project: [
+50
View File
@@ -0,0 +1,50 @@
<!--
For general support, howto, coding and bundling questions, please use the Substrate & Polkadot StackExchange at https://substrate.stackexchange.com/ and get other ecosystem developers involved. This issues in this repository are meant for the tracking of feature requests and bug reports.
While all issues are looked at non-bug and non-features would take quite a bit longer to get to and may yield less than satisfactory responses in this format.
Additionally, please ensure you have done a search on the existing and closed issues before logging a new request. This saves time on all sides.
-->
* **I'm submitting a ...**
<!--- Try and classify your actual report -->
- [ ] Bug report
- [ ] Feature request
- [ ] Support request (please bear the comments above in mind)
- [ ] Other
* **What is the current behavior and expected behavior?**
<!--- If you're describing a bug, tell us what should happen -->
<!--- If you're suggesting a change/improvement, tell us how it should work -->
* **What is the motivation for changing the behavior?**
<!--- Not obligatory, but suggest a motivation for the request -->
<!--- or ideas how to implement the addition or change -->
* **Please tell us about your environment:**
<!--- Include as many relevant details about the environment you experienced the issue in -->
<!--- Also snsure that you have tested against the latest stable releases if a bug -->
- Version:
- Environment:
- [ ] Node.js
- [ ] Browser
- [ ] Other (limited support for other environments available)
- Language:
- [ ] JavaScript
- [ ] TypeScript
- [ ] Other
+16
View File
@@ -0,0 +1,16 @@
name: bot
on:
pull_request:
types: [labeled]
jobs:
approve:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-approve@master
with:
authors: jacogr
labels: -auto
token: ${{ secrets.GH_PAT_BOT }}
+16
View File
@@ -0,0 +1,16 @@
name: bot
on:
pull_request:
types: [labeled]
jobs:
merge:
runs-on: ubuntu-latest
steps:
- uses: jacogr/action-merge@master
with:
checks: build,lint,test
labels: -auto
strategy: squash
token: ${{ secrets.GH_PAT_BOT }}
+25
View File
@@ -0,0 +1,25 @@
name: 'Lock Threads'
on:
schedule:
- cron: '25 2/3 * * *'
jobs:
lock:
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: dessant/lock-threads@v2
with:
github-token: ${{ secrets.GH_PAT_BOT }}
issue-lock-inactive-days: '7'
issue-lock-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a new issue
if you think you have a related problem or query.
pr-lock-inactive-days: '2'
pr-lock-comment: >
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.
+18
View File
@@ -0,0 +1,18 @@
name: PR
on: [pull_request]
jobs:
pr:
strategy:
matrix:
step: ['lint', 'test', 'build']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/checkout@v2
- name: ${{ matrix.step }}
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}
+29
View File
@@ -0,0 +1,29 @@
name: Master
on:
push:
branches:
- master
jobs:
master:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]')"
strategy:
matrix:
step: ['build:release']
name: ${{ matrix.step }}
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
GH_PAT: ${{ secrets.GH_PAT }}
GH_RELEASE_GITHUB_API_TOKEN: ${{ secrets.GH_PAT }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: ${{ matrix.step }}
run: |
yarn install --immutable | grep -v 'YN0013'
yarn ${{ matrix.step }}
+20
View File
@@ -0,0 +1,20 @@
name: Semgrep
on:
pull_request: {}
push:
branches:
- master
jobs:
check:
if: "! startsWith(github.event.head_commit.message, '[CI Skip]') && (!github.event.pull_request || github.event.pull_request.head.repo.full_name == github.repository)"
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/checkout@v2
- uses: returntocorp/semgrep-action@v1
with:
auditOn: push
publishToken: ${{ secrets.SEMGREP_APP_TOKEN }}
publishDeployment: 1395
+19
View File
@@ -0,0 +1,19 @@
name: 'Close stale issues and PRs'
on:
schedule:
- cron: '40 2/3 * * *'
jobs:
stale:
runs-on: ubuntu-latest
env:
YARN_ENABLE_SCRIPTS: false
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GH_PAT_BOT }}
stale-issue-message: 'This issue has been open for 21 days with no activity and is not labelled as an enhancement. It will be closed in 7 days.'
stale-issue-label: 'stale'
exempt-issue-labels: '-size-l,-size-m,-size-s,-size-xl,-size-xs,[bug]'
days-before-stale: 21
days-before-close: 7
+8
View File
@@ -1,16 +1,24 @@
build/
build-cjs/
build-esm/
build-docs/
coverage/
node_modules/
tmp/
.idea
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
.npmrc
.yarn/*
!.yarn/releases
!.yarn/plugins
.pnp.*
cc-test-reporter
package-lock.json
npm-debug.log*
tsconfig.*buildinfo
yarn-debug.log*
yarn-error.log*
+3
View File
@@ -0,0 +1,3 @@
Jaco <jacogr@gmail.com>
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> <action@github.com>
github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Github Actions <action@github.com>
-1
View File
@@ -1 +0,0 @@
10.13.0
+3
View File
@@ -0,0 +1,3 @@
build
coverage
packages
+4
View File
@@ -0,0 +1,4 @@
// Copyright 2017-2022 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
module.exports = require('@polkadot/dev/config/prettier.cjs');
-28
View File
@@ -1,28 +0,0 @@
language: node_js
node_js:
- "10"
env:
global:
- CC_TEST_REPORTER_ID=8317dd42c8674d0f3094dda84c022abced4d0bf632b53406afd239ec4b039db2
- GH_PAGES_SRC="build-docs"
cache:
yarn: true
directories:
- node_modules
before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- export PATH=$HOME/.yarn/bin:$PATH
before_script:
- ./cc-test-reporter before-build
script:
- yarn polkadot-dev-travis-build
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
deploy:
skip_cleanup: true
provider: script
script: yarn polkadot-dev-travis-deploy
on:
branch: master
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+785
View File
File diff suppressed because one or more lines are too long
+13
View File
@@ -0,0 +1,13 @@
enableImmutableInstalls: false
enableProgressBars: false
nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
yarnPath: .yarn/releases/yarn-3.2.0.cjs
+19
View File
@@ -0,0 +1,19 @@
# Bounties
From time-to-time we will add bounties for features.
These are generously provided by the [Web3 Foundation](https://web3.foundation/) and as such employees of Parity or those of the W3F are ineligible for them. (This includes people being by either Party for development or community work, related or un-related to polkadot-js).
The idea is that these bounties should be left open to community participation, so only if there is no outside interest for a specific issue, should those directly or indirectly paid by the W3F for work, attempt to close an issue. (in which case it will be "un-bountied")
Current bounties are tracked by the [!bounty](https://github.com/polkadot-js/ui/labels/%21bounty) label.
## Process
Once listed, the normal [Gitcoin](https://gitcoin.co/) process kicks in. This means application, work and payment is managed by this tool. The values for bounties are determined by the size estimation done by the team.
## Some small requests
Please don't start work on an issue until you have been approved via the gitcoin interface. We generally love enthusiasm and code in the repo, however short-cutting the process does create some issues for the management of the bounties. We certainly don't want to be playing favorites if 2 PRs for the same issue are created at the same time. And in cases where somebody else has been approved and an unapproved PR comes in... well, it gets really murky.
When making changes, please do not force push in your PRs, especially not after a review has been started. We will clone your repo and work from that, doing a simple `pull` on a force-pushed branch ends up being, well, less than simple. We squash merge all PRs, so you do not clutter up the history by using stock-standard pushes to your branch.
+823 -21
View File
@@ -1,9 +1,745 @@
# 0.44.1
# CHANGELOG
## 2.6.2 Jun 25, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.6.2
## 2.6.1 Jun 23, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.6.1
- Upgrade libs to latest stable versions
## 2.5.1 Jun 19, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.5.1
- Upgrade libs to latest stable versions
## 2.4.1 Jun 4, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.4.1
## 2.3.1 May 30, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.3.1
## 2.2.1 May 14, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.2.1
## 2.1.1 Apr 30, 2022
Changes:
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.1.1
- Adjust Jest test init for latest `@polkadot/dev`
## 2.0.1 Apr 9, 2022
- **Breaking change** In this major version the commonjs outputs are moved to a sub-folder. Since the export map and main field in package.json does reflect this change, there should be no usage changes. However the packages here will all need to be on the same version for internal linkage.
Changes:
- Adjust Polkadot icon generation with lazy init
- Output commonjs files under the `cjs/**` root
- Upgrade to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 9.0.1
## 1.4.1 Mar 27, 2022
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.7.1
## 1.3.1 Mar 19, 2022
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.6.1
- Additional workaround for Vite bundling
## 1.2.1 Mar 12, 2022
Changes:
- Adjust for bundlers where `import.meta.url` is undefined
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.5.1
## 1.1.1 Feb 14, 2022
Changes:
- Adjust ordering in state & timeouts for QR display
- Add `timerDelay` property to QR display to control frame timeouts
- Adjust webpack example config (cleanups, remove unneeded plugins)
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.4.1
## 1.0.1 Jan 29, 2022
**Breaking change** The `Ledger` export from `@polkadot/ui-keyring` has been removed. For users of this class, import it directly from `@polkadot/hw-ledger`
**Important** This is the first release in the long-outstanding `1.x` range. Apart from the notable breaking changes, it has no functional differences to the previous versions.
Changes:
- Remove `Ledger` export in `ui-keyring`
## 0.89.3 Jan 23, 2022
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.3.3
## 0.89.2 Jan 15, 2022
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.3.2
## 0.89.1 Jan 9, 2022
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.3.1
## 0.88.1 Jan 2, 2022
- Allow for loading of accounts on additional genesisHashes
- Ensure package path is availble under ESM & CJS
## 0.87.7 Dec 27, 2021
Changes:
- Internal dev packages bumps, publish changes
## 0.87.6 Dec 19, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.2.2
## 0.87.5 Dec 5, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.1.2
## 0.87.4 Dec 5, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.1.1
## 0.87.3 Dec 1, 2021
Changes:
- Use `hasProcess` check from `@polkadot/util`
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.0.5
## 0.87.2 Nov 30, 2021
Contributed:
- Correct check for `process` variable (Thanks to https://github.com/AndreiEres)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.0.4
## 0.87.1 Nov 28, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 8.0.2
## 0.86.7 Nov 22, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.9.2
## 0.86.6 Nov 21, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.9.1
## 0.86.5 Nov 6, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.8.2
## 0.86.4 Nov 6, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.8.1
## 0.86.3 Nov 1, 2021
Changes:
- Add publish skip to all examples
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.7.1
## 0.86.2 Oct 24, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.6.1
## 0.86.1 Oct 16, 2021
Contributed:
- Check for existence of `process` before using (Thanks to https://github.com/wirednkod)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.5.1
## 0.85.5 Oct 10, 2021
Changes:
- Update rxjs to 7.4 (aligning with use in API)
## 0.85.4 Sep 17, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.4.1
## 0.85.3 Aug 29, 2021
Changes:
- Revert color bump to 4.0.1, keep at 3.2.1 (numeric separators on Vue & react-native)
## 0.85.2 Aug 28, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.3.1
## 0.85.1 Aug 15, 2021
Contributed:
- Always use `bigint` type to indicate instance (Thanks to https://github.com/ntduan)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.2.1
## 0.84.3 Aug 2, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.1.1
## 0.84.2 Jul 26, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.0.3
## 0.84.1 Jul 11, 2021
Changes:
- Internal RxJs usage has been bumped to the 7.2 version
- Allow building as a completely stand-alone browser bundle (experimental)
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 7.0.1
## 0.83.1 Jul 5, 2021
Contributed:
- Add support for notifications setting (Thanks to https://github.com/shawntabrizi)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.11.1
## 0.82.1 Jun 26, 2021
Contributed:
- Adjust Qr address imports (Thanks to https://github.com/joelamouche)
- Bubble errors on Qr scanning (Thanks to https://github.com/joelamouche)
Changes:
- Fix `keyring.setSS58Format` to correctly set for prefix 0
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.10.1
## 0.81.1 Jun 20, 2021
Contributed:
- Import `ethereum` addresses via QR (Thanks to https://github.com/joelamouche)
- Support settings for non-RPC connectors (Thanks to https://github.com/wirednkod)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.9.1
- Fix webpack demo import locations
## 0.80.1 Jun 14, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.8.1
## 0.79.1 Jun 6, 2021
Changes:
- Add support for WebHID selection (as exposed by ledger packages)
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.7.1
## 0.78.1 May 29, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.6.1
## 0.77.1 May 25, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.5.1
## 0.76.1 May 16, 2021
Contributed:
- Pass through injected account types (Thanks to https://github.com/joelamouche)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.4.1
## 0.75.1 Apr 25, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.3.1
## 0.74.1 Apr 18, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.2.1
## 0.73.1 Apr 12, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.1.1
## 0.72.1 Mar 15, 2021
Contributed:
- Added support for batch import/export functionality (Thanks to https://github.com/BubbleBear)
## 0.71.3 Mar 8, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.0.5
## 0.71.2 Mar 6, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.0.4
## 0.71.1 Mar 6, 2021
Changes:
- Build to ESM by default (with cjs versions via export map)
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 6.0.3
## 0.70.1 Feb 28, 2021
Changes:
- Use `detectPackage` with `packageInfo` & check for monorepo dependencies
- Remove `mkdirp` resolution to ensure local views work with Webpack
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 5.9.2
## 0.69.1 Feb 7, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 5.6.1
## 0.68.1 Feb 1, 2021
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 5.5.1
- Added `ed25519-ledger` option for `hdLedger` from `@polkadot/util-crypto`
## 0.67.1 Jan 24, 2021
Contributed:
- Store hardware accounts (Thanks to https://github.com/Tbaut)
Changes:
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 5.4.4
- Cleanup dependencies to only have common (no api repo)
## 0.66.1 Jan 17, 2021
- **Important** Users of the `@polkadot/ledger` package should now import `@polkadot/hw-wallet`
Contributed:
- Dock Ledger integration (Thanks to https://github.com/lovesh, moved to common)
- Polymesh Ledger integration (https://github.com/adamdossa, moved to common)
Changes:
- Remove `@polkadot/ledger` package (Moved to common as `@polkadot/hw-ledger`)
- Keyring options genesis allows a `string` | `Hash` (e.g. `api.genesisHash`) input
- Updated to `@polkadot/{hw-ledger, keyring, util, util-crypto}` 5.3.1
- Removed `@polkadot/types` dependencies (only interface needed, supplied)
## 0.65.1 Dec 28, 2020
Changes:
- Updated to `@polkadot/{keyring, util, util-crypto}` 5.2.2
- Updated to `@polkadot/api` 3.2.2
## 0.64.1 Dec 21, 2020
Changes:
- Don't re-export types from index (esm build compat)
- Correctly mark `detectPackage` as a side-effect
- Updated to `@polkadot/{keyring, util, util-crypto}` 5.1.1
- Updated to `@polkadot/api` 3.1.1
## 0.63.1 Dec 14, 2020
Contributed:
- Export types for icons (Thanks to https://github.com/Tbaut)
Changes:
- Bump to latest WebUSB from Ledger
- Swap Ledger functionality to dedicated packages
- Build esm packages alongside cjs
- Convert all imports/exports to named
- Pass pair type through to all creation actions
- Allow for transparent failures on account injection
- Swap to using `import type { ... }`
- Updated to `@polkadot/{keyring, util, util-crypto}` 5.0.1
- Updated to `@polkadot/api` 3.0.1
## 0.62.1 Nov 9, 2020
Changes:
- Update address checks to allow for Ethereum-compatible chains
- Add Ethereum icon type (uses blockies underneath)
- Updated to `@polkadot/{keyring, util, util-crypto}` 4.0.1
- Updated to `@polkadot/api` 2.6.1
## 0.61.1 Oct 19, 2020
Contributed:
- Add Darwinia ss58 (Thanks to https://github.com/WoeOm)
- Swap network identifiers to `@polkadot/networks` (Thanks to https://github.com/Tbaut)
Changes:
- Explicit deps versions (with peerDependencies as provided)
- Bump to `@polkadot/api` 2.3.1
- Bump to `@polkadot/util` 3.6.1
## 0.60.1 Oct 7, 2020
Changes:
- Allow for custom IdentityIcon overrides
- Move docs to docs repo
- Bump to `@polkadot/api` 2.1.1
## 0.59.1 Sep 28, 2020
Changes:
- Expose createFromJson on keyring to compliment createFromUri
- Support Account/address indexes for Ledger
- Bump to `@polkadot/api` 2.0.1
- Bump to `@polkadot/util` 3.5.1
## 0.58.1 Aug 31, 2020
Contributed:
- Add Subsocial to ss58 defaults (Thanks to https://github.com/F3Joule)
Changes:
- Support QR scanning where name contains ":"
- Support for Moonbeam ETH-compatible crypto types
## 0.57.3 Jul 27, 2020
Changes:
- Support for JSON v3 kdf-enabled format
- Adjust password validity checks (alongside v3)
- Bump to `@polkadot/api` 1.26.1
- Bump to `@polkadot/util` 3.0.1
## 0.56.1 Jul 20, 2020
Contributed:
- Add Kulupu to ss58 options (https://github.com/carumusan)
Changes:
- Remove CC1 naming for Polkadot (as applicable)
- Flatten React IdentityIcon (no extra wrapping)
- Bump to `@polkadot/api` 1.25.1
- Bump to `@polkadot/util` 2.18.1
## 0.55.1 Jul 2, 2020
Contributed:
- Better error-handling for invalid FileStore accounts (Thanks to https://github.com/yuhui1208)
Changes:
- Adjust react-qr `Scan*` making `onScan` callbacks required
- Rework the react-qr display to use functional components
- Bump to `@polkadot/api` 1.21.1
- Bump to `@polkadot/util` 2.15.1
## 0.54.1 Jun 16, 2020
Contributed:
- Add genesisHash to signer payload (Thanks to https://github.com/hanwencheng)
- Allow QR scanning to parse mini keys (Thanks to https://github.com/hanwencheng)
Changes:
- Adjust ordering of available crypto types (native first)
- Rename Substrate prefix entry (42) to "generic"
- Bump to `@polkadot/api` 1.19.1
- Bump to `@polkadot/util` 2.14.1
## 0.53.1 May 14, 2020
Contributed:
- Add Ecdsa to the supported crypto types options (Thanks to https://github.com/akru)
- Add Egedware to network prefix settings (Thanks to https://github.com/jnaviask)
Changes:
- Add `addMultisig` into keyring (with all options to re-create address)
- Bump to `@polkadot/api` 1.14.1
- Bump to `@polkadot/util` 2.10.1
## 0.52.1 Apr 15, 2020
- **Breaking change** (TypeScript only) The `*.d.ts` files now contain TypeScript 3.8 features, `#private`, which is not usable in older versions
Contributed:
- Allow for the encoding of chain-settings via QR (Thanks to https://github.com/hanwencheng)
- Enhance checks for ws url in settings (Thanks to https://github.com/kwingram25)
Changes:
- Start of `isAlternative` implementations for identicons to react, react-native & vue (currently only Polkadot sixPoint)
- Bump to `@polkadot/api` 1.10 & `@polkadot/util` 2.8
- Convert `private <field>` to `#<field>`
- Remove internal/duplicated ui-keyring ss58Format mapping, rather set it directly on wrapped keyring
## 0.51.1 Feb 18, 2020
Changes:
- Support formatting of addresses via createPair base on latest upstream keyring
- Bump to `@polkadot/api` 1.3.1
- Bump to `@polkadot/util` 2.4.1
## 0.50.1 Feb 16, 2020
Changes:
- ui-settings does not expose pre-configured endpoints by default (only local dev node)
- Bump to `@polkadot/api` 1.2.1
- Bump to `@polkadot/util` 2.3.1
## 0.49.1 Feb 06, 2020
Changes:
- Add resolver for jest requires (tests from src)
## 0.48.1 Jan 30, 2020
Changes:
- Add Westend & Kulupulu, remove Alexander
- Update Edgeware wss uri
- Change display name for Kusama
- Mirror QR scanning display
## 0.47.1 Nov 29, 2019
Changes:
- Support for Kusama CC3 (network endpoints)
- Genesis hashes for accounts can now lookup against a range (so CC2-locked accounts will show on CC3)
- Language options have been removed from settings (these will be app-specific)
- QR display loops now have a timeout decay (slower as it loops)
## 0.46.1 Oct 25, 2019
- Add an example for using React Native (thanks to https://github.com/cameronfr)
Changes:
- Add base documentation for getting started
- Add camera access to the setting structure
## 0.45.1 Sep 26, 2019
- **Breaking change** The subscription subject for `ui-keyring` does not return a pre-formatted React object anymore. This is SUI-specific, so had limited use and therefore should not even be split into a `react-keyring` component. Rather users of this functionality should construct their own options for their framework.
Changes:
- Support for Kusama CC2
- Experimental support for signing via Ledger HW
- Add specific settings for the icon type to `ui-settings`
- Add Edgeware live RPC endpoints to `ui-settings`
- Adjust `react-identicon` highlights (validators)
- Add `example-{react, vue}` highlighting simple use with `ui-keyring`, `ui-settings` & `*-identicon` components
## 0.44.1 Sep 12, 2019
Changes:
- Update `@polkadot/util` to 1.4.1
- Upddate to babel 7.6
- Upddate to Babel 7.6
# 0.43.1
## 0.43.1 Sep 10, 2019
Changes:
- Add W3F Node for Kusama
- Add extended info to ui-settings, i.e. info on each option
@@ -11,17 +747,24 @@
- ui-keyring now check the genesisHash on all load operations (if supplied)
- react-qr is now operational and integrated in the polkadot-js/extension and apps repos
# 0.42.1
## 0.42.1 Aug 24, 2019
- **Breaking Change** The `@polkadot/ui-identicon` package has been renamed to `@polkadot/react-identicon`
- **Breaking change** For `@polkadot/ui-keyring` the stores are now not exported from the index, imports should be changed to either `ui-keyring/stores` or explicitly to `ui-keyring/stores/Extension`
Changes:
- Support for Kusama with endpoints and settings
- The `@polkadot/reactnative-identicon` package has been added (only Polkadot support atm)
- The `@polkadot/react-qr` package has been added to display/scan QR codes
- `@polkadot/ui-settings` has UNfrastructure added as an RPC provider for Alex
- `@polkadot/ui-settings` exposes a dropdown with address prefix options
# 0.41.1
## 0.41.1 Jun 14, 2019
Changes:
- Adapt interface to cater for new `@polkadot/keyring`, where pairs -
- expose `address` getter instead of `address()`
@@ -33,16 +776,25 @@
- Remove previously deprecated kering functions, `createAccount`, `createAccountExternal` & `createAccountMnemonic`
- Remove (previously deprecated), `@polkadot/ui-util`, all these functions have been incorporated in `@polkadot/util`
# 0.40.1
## 0.40.1 Jun 04, 2019
Changes:
- Address encoding changes, use encoded address instead of supplied
# 0.39.1
## 0.39.1 May 22, 2019
Changes:
- Allow for externally injected accounts
- @polkadot/util 0.91.1 & @polkadot/api 0.79.1
# 0.38.1
## 0.38.1 May 08, 2019
Changes:
- Sorting of keyring addresses
- Fix JSON import defaults (previously detection was not working for old accounts)
@@ -50,62 +802,112 @@
- Ensure only a single instance of ui-keyring is loaded
- Adjust short address option display (keyring options)
# 0.37.1
## 0.37.1 Apr 03, 2019
Changes:
- Add Emberic Elm (Dried Danta discontinued)
- @polkadot/util & @polkadot/api 0.75.1
# 0.36.1
## 0.36.1 Mar 29, 2019
Changes:
- Small fixes, latest @polkadot/wasm-* packages
# 0.35.1
## 0.35.1 Mar 29, 2019
Changes:
- @polkadot/util & @polkadot/api 0.75.1
# 0.34.1
## 0.34.1 Mar 28, 2019
Changes:
- Fix for blake2 in Polkadot identicon generation
# 0.33.1
## 0.33.1 Mar 23, 2019
Changes:
- Rename createUri and createExternal to addExternal and addUri
- Rename addAccountPair to addPair
- Add additional createFromUri function to create pair, but not add it
- Latest api, util & util-crypto (this with WASM and JS fallbacks)
# 0.32.1
## 0.32.1 Mar 20, 2019
Changes:
- Add createUri to create an account from a path uri
- Add createExternal as an alias for createAccountExternal
- Deprecate createAccount, createAccountExternal and createAccountMnemonic
- Fix styled-component dependencies when used in a non-@polkadot project
# 0.31.1
## 0.31.1 Mar 18, 2019
Changes:
- Allow for latest keyring with sr25519 derived support
- When using dev mode, it assumes the substrate node has sr25519 derived keys
# 0.30.1
## 0.30.1 Mar 14, 2019
Changes:
- Swap to publishing -beta.x on merge (non-breaking testing)
# 0.29.1
## 0.29.1 Mar 13, 2019
Changes:
Swap to using a dev HDKD keyring (only available on latest substrate master, only affects nodes running with --dev, normal operation unaffected)
# 0.28.1
## 0.28.1 Feb 21, 2019
Changes:
Default Substrate icon is Jdenticon
# 0.27.1
## 0.27.1 Feb 20, 2019
Changes:
Replace Charred Cherry with Dried Danta, remove old decimals and token name configs
# 0.26.1
## 0.26.1 Feb 14, 2019
Changes:
Add keyring support for sd25519 (schnorrkel)
# 0.25.1
## 0.25.1 Jan 09, 2019
Changes:
Add `@polkadot/{keyring,util,util-crypto,types}` as peerDependencies for the various packages as used. Thie should allow less churn on this repo with version bumps, although it does add some extra effort onto the users of these libraries. (But the assumption is that they use these anyway)
## 0.24.1 Dec 19, 2018
## 0.23.1 Dec 14, 2018
## 0.22.1 Dec 05, 2018
Changes:
- Split from apps
+33
View File
@@ -0,0 +1,33 @@
623 Jaco 2.6.2 (#657)
7 YJ fix #224: decrease frame size to 1024, set multipart bool (#225)
4 Antoine Estienne Refactor logic to better use prefix (#491)
4 kwingram25 fix ff api url issue (#289)
4 Thibaut Sardan store hardware wallets (#431)
3 Luke Sugiura remove language options (#244)
3 Stefanie Doll Replace isUndefined util with explicit typeof check (#107)
2 Drew Stone Add Edgeware testnet and mainnet updated endpoints (#274)
2 Hanwen Cheng allow qr to scan seed qr (#330)
2 Nikos Kontakis Fix undefined process error that may appear when using ui (#524)
2 Vlad Proshchavaiev Add Subsocial to ss58 defaults (#358)
2 Xiliang Chen Update UNfrastructure node label (#160)
2 雪霁 Batch export patch up (#455)
1 Adam Dossa Add Polymesh Ledger Integration (#427)
1 Alex Siman Fix typo in README: stiorage -> storage (#69)
1 Alexander Krupenkin Added ECDSA crypto type (#313)
1 Andrei Eres Fix raising error if process has not defined yet (#548)
1 Axel Chalon Simplify KeyringAddress interface (#144)
1 Cameron Franz react-native example app port (#223)
1 carumusan Add kulupu (#342)
1 Harry Liu Update README.md (#166)
1 Jake Naviasky Add Edgeware chain prefix to settings. (#317)
1 Logan Saether Propose W3F node (#188)
1 Lovesh Harchandani Allow Ledger support for Dock (#425)
1 Luke Schoen Fix typo in heading (#114)
1 Nantian fix bigint type (#510)
1 Nikhil Ranjan Updated to valid javascript (#271)
1 Shawn Tabrizi Add a new `notification` setting (#498)
1 Wei Tang Add Kulupu to the network selection list (#254)
1 WoeOm add darwinia ss58 (#379)
1 yuhui1208 [Stores] make FileStroe read key safely (#338)
1 Yuri Add webpack 5 support (#557)
1 菩提 fix some bugs (#260)
+9 -2
View File
@@ -7,7 +7,7 @@
# @polkadot/ui
Basic browser and UI components for creating apps using the polkadot{.js} libraries
Basic browser and framework agnostic UI components for creating apps using the polkadot{.js} libraries
## overview
@@ -18,9 +18,16 @@ The following UI components are currently available -
- [vue-identicon](packages/vue-identicon/) Vue identity icon generator with address as input
- [react-qr](packages/react-qr/) QR code generator/reader for [uos](https://github.com/maciejhirsz/uos) (Substrate/Polkadot only)
Additionally some shared libraries -
Additionally some shared libraries, that is not dependent on any framework -
- [ui-assets](packages/ui-assets/) Static assets, images and others, shared accross projects
- [ui-keyring](packages/ui-keyring/) A browser-specific wrapper around the base [@polkadot/util-keyring](https://github.com/polkadot-js/util/) library
- [ui-settings](packages/ui-settings/) A browser local storage wrapper for app settings & configuration
- [ui-shared](packages/ui-shared) Shared logic that is used accross UI components, e.g. for icon generation
## examples
In addition to the above packages, there are examples available for intergation of `ui-keyring`, `ui-settings` & the relevant `*-identicon` package. These are
- [example-react](packages/example-react) - start with `yarn example:react` and view on `http://localhost:8080`
- [example-vue](packages/example-vue) - start with `yarn example:vue` and view on `http://localhost:8080`
+4 -2
View File
@@ -1,5 +1,7 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const base = require('@polkadot/dev-react/config/babel');
// Copyright 2017-2022 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
const base = require('@polkadot/dev/config/babel-config-cjs.cjs');
module.exports = Object.keys(base).reduce((config, key) => {
config[key] = base[key];
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
function copy_folder () {
SRC="packages/$1/build"
DST="../apps/node_modules/@polkadot/$1"
echo "** Copying $SRC to $DST"
rm -rf $DST
cp -r $SRC $DST
}
yarn polkadot-dev-build-ts
copy_folder "react-identicon"
copy_folder "react-qr"
copy_folder "ui-assets"
copy_folder "ui-keyring"
copy_folder "ui-settings"
copy_folder "ui-shared"
-20
View File
@@ -1,20 +0,0 @@
#!/bin/bash
function copy_folder () {
SRC="packages/$1/build"
DST="../extension/node_modules/@polkadot/$1"
echo "** Copying $SRC to $DST"
rm -rf $DST
cp -r $SRC $DST
}
yarn polkadot-dev-build-ts
copy_folder "react-identicon"
copy_folder "react-qr"
copy_folder "ui-assets"
copy_folder "ui-keyring"
copy_folder "ui-settings"
copy_folder "ui-shared"
-35
View File
@@ -1,35 +0,0 @@
module.exports = {
base: '/ui/',
title: 'polkadot-js/ui',
description: 'UI utilities, libraries and React components in use across @polkadot projects',
markdown: {
lineNumbers: true
},
themeConfig: {
displayAllHeaders: true,
nav: [
{ text: 'Polkadot/Substrate Apps', link: 'https://polkadot.js.org/apps/' },
{ text: 'Project family', link: 'https://polkadot.js.org/' },
{
text: 'Documentation',
items: [
{ text: 'API Reference', link: 'https://polkadot.js.org/api/' },
{ text: 'Utility Reference', link: 'https://polkadot.js.org/common/' },
{ text: 'UI Libs Reference (this)', link: 'https://polkadot.js.org/ui/' },
]
},
{ text: 'GitHub', link: 'https://github.com/polkadot-js/ui' }
],
search: false,
sidebar: [
['/react-identicon/', '@polkadot/react-identicon'],
['/react-qr/', '@polkadot/react-qr'],
['/reactnative-identicon/', '@polkadot/reactnative-identicon'],
['/ui-keyring/', '@polkadot/ui-keyring'],
['/ui-settings/', '@polkadot/ui-settings'],
['/ui-shared/', '@polkadot/ui-shared'],
['/vue-identicon/', '@polkadot/vue-identicon'],
'/CONTRIBUTING.md'
]
}
};
-9
View File
@@ -1,9 +0,0 @@
$accentColor = #fd8824
$textColor = #2c3e50
.home .hero .description,
.home .feature h2,
.home .feature p {
color: $textColor
opacity: 0.75
}
+12
View File
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=0.5, maximum-scale=1">
<meta http-equiv="refresh" content="0;URL='https://polkadot.js.org/docs/'" />
<title>Redirecting to https://polkadot.js.org/docs/</title>
</head>
<body>
Redirecting to <a href="https://polkadot.js.org/docs/">https://polkadot.js.org/docs/</a>
</body>
</html>
-51
View File
@@ -1,51 +0,0 @@
---
home: true
heroText:
tagline:
# Bringing JavaScript to the Polkadot world.
# actionText: Repository Overview
# actionLink: /REPOS.md
features:
- title: Identicon
details: A flexible identity icon generator supporting a number of display styles based on theme.
- title: Keyring
details: An extension to the base keyring that allows for additions such as browser storage.
- title: Utilities
details: Utilities for formatting and working with settings inside any browser-based application.
footer: Apache-2 Licensed | Copyright © 2017-2019 polkadot-js authors and contributors
---
## Welcome
This is a collection of UI libraries, utlities and classes that allows for easier use of the Polkadot JS infrastructure inside your apps.
::: tip Examples
In a rush and just want examples? [Jump right in](react-identicon/README.md) and get a handle the libraries in your projects.
:::
## Available packages
This repository split up into a number of internal packages, namely -
- [React Identicon](react-identicon/README.md) Display of identity icons based on theme, also availble for [React Native](reactnative-identicon/README.md) and [Vue](vue-identicon/README.md)
- [keyring](ui-keyring/README.md) A keyring with browser-specific extensions
- [settings](ui-settings/README.md) Setting management and defaults
## The Polkadot Project
You can read more about the Polkadot Network at [https://polkadot.network/](https://polkadot.network/) and more about the polkadot-js projects at [https://polkadot.js.org](https://polkadot.js.org)
## Github repositories
You can find the Polkadot repositories at:
- [https://github.com/polkadot-js](https://github.com/polkadot-js)
- [https://github.com/paritytech/polkadot](https://github.com/paritytech/polkadot)
- [https://github.com/paritytech/substrate](https://github.com/paritytech/substrate)
This documentation is generated from [https://github.com/polkadot-js/ui](https://github.com/polkadot-js/ui)
## Contributing
Contribution to the Polkadot JS projects are more than welcome. You can [report issues](https://github.com/polkadot-js/ui/issues/new) and [log feature requests](https://github.com/polkadot-js/ui/issues/new).
+12
View File
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=0.5, maximum-scale=1">
<meta http-equiv="refresh" content="0;URL='https://polkadot.js.org/docs/'" />
<title>Redirecting to https://polkadot.js.org/docs/</title>
</head>
<body>
Redirecting to <a href="https://polkadot.js.org/docs/">https://polkadot.js.org/docs/</a>
</body>
</html>
+17
View File
@@ -0,0 +1,17 @@
// Copyright 2017-2022 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
const config = require('@polkadot/dev/config/jest.cjs');
module.exports = {
...config,
moduleNameMapper: {
'@polkadot/react-(identicon|qr)(.*)$': '<rootDir>/packages/react-$1/src/$2',
'@polkadot/reactnative-(identicon)(.*)$': '<rootDir>/packages/reactnative-$1/src/$2',
'@polkadot/ui-(assets|keyring|settings|shared)(.*)$': '<rootDir>/packages/ui-$1/src/$2',
'\\.(css|less)$': 'empty/object',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object'
},
setupFilesAfterEnv: ['<rootDir>/jest/setupEnv.js'],
testEnvironment: 'jsdom'
};
-12
View File
@@ -1,12 +0,0 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const config = require('@polkadot/dev-react/config/jest');
module.exports = Object.assign({}, config, {
moduleNameMapper: {
'@polkadot/react-(identicon|qr)(.*)$': '<rootDir>/packages/react-$1/src/$2',
'@polkadot/reactnative-(identicon)(.*)$': '<rootDir>/packages/reactnative-$1/src/$2',
'@polkadot/ui-(assets|keyring|settings|shared)(.*)$': '<rootDir>/packages/ui-$1/src/$2',
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$': 'empty/object',
'\\.(css|less)$': 'empty/object'
}
});
+10
View File
@@ -0,0 +1,10 @@
// Copyright 2017-2022 @polkadot/ui authors & contributors
// SPDX-License-Identifier: Apache-2.0
const nodeCrypto = require('crypto');
window.crypto = {
getRandomValues: function (buffer) {
return nodeCrypto.randomFillSync(buffer);
}
};
-14
View File
@@ -1,14 +0,0 @@
{
"lerna": "2.11.0",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"publish": {
"allowBranch": "master"
}
},
"packages": [
"packages/*"
],
"version": "0.44.1"
}
+37 -21
View File
@@ -1,36 +1,52 @@
{
"version": "0.44.1",
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"homepage": "https://github.com/polkadot-js/ui#readme",
"license": "Apache-2.0",
"packageManager": "yarn@3.2.0",
"private": true,
"engines": {
"yarn": "^1.10.1"
"repository": {
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
},
"homepage": ".",
"sideEffects": false,
"version": "2.6.2",
"workspaces": [
"packages/*"
],
"resolutions": {
"babel-core": "^7.0.0-bridge.0",
"typescript": "^3.6.3"
},
"scripts": {
"build": "polkadot-dev-build-ts && polkadot-dev-build-docs",
"check": "yarn lint",
"lint": "eslint --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty",
"build": "polkadot-dev-build-ts",
"build:release": "polkadot-ci-ghact-build",
"build:rollup": "polkadot-exec-rollup --config",
"clean": "polkadot-dev-clean-build",
"demo:identicon:react": "webpack-serve --config packages/react-identicon/webpack.config.js --content packages/react-identicon --port 3000",
"demo:identicon:vue": "webpack-serve --config packages/vue-identicon/webpack.config.js --content packages/vue-identicon --port 3000",
"example:react": "yarn build && cd packages/example-react && webpack --config webpack.config.cjs",
"example:vue": "yarn build && cd packages/example-vue && webpack --config webpack.config.cjs",
"lint": "polkadot-dev-run-lint",
"postinstall": "polkadot-dev-yarn-only",
"test": "jest --coverage --runInBand",
"test:one": "jest"
"test": "polkadot-dev-run-test --coverage --runInBand",
"test:one": "polkadot-dev-run-test"
},
"devDependencies": {
"@babel/core": "^7.6.0",
"@babel/runtime": "^7.6.0",
"@polkadot/dev-react": "^0.31.0-beta.8",
"@polkadot/ts": "^0.1.72",
"@babel/core": "^7.18.5",
"@babel/runtime": "^7.18.3",
"@polkadot/dev": "^0.67.42",
"@polkadot/x-bundle": "^9.6.2",
"@types/jest": "^28.1.3",
"babel-loader": "^8.2.5",
"babel-plugin-transform-vue-template": "^0.4.2",
"empty": "^0.10.1",
"gh-pages": "^2.1.1",
"webpack-serve": "^3.1.1"
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-native": "^0.69.0",
"stream-browserify": "^3.0.0",
"vue-template-compiler": "^2.6.14",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-serve": "^4.0.0"
},
"resolutions": {
"typescript": "^4.7.4"
}
}
View File
View File
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+3
View File
@@ -0,0 +1,3 @@
# @polkadot/example-react
A versy basic React example with `@polkadot/ui-keyring`, `@polkadot/ui-settings` & `@polkadot/react-identicon`
+37
View File
@@ -0,0 +1,37 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" />
<style>
#example {
padding: 0.5em;
}
button {
cursor: pointer;
padding: 0.5rem 0.75rem;
}
label {
display: block;
margin: 0.25rem 0;
opacity: 0.5;
}
section {
padding: 0.5rem 1rem;
}
textarea {
resize: none;
}
.icon {
margin-right: 0.75rem;
}
</style>
</head>
<body>
<div id="example"></div>
<script src="./build/main.js"></script>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"contributors": [],
"description": "A very basic example with ui-* & react-* packages",
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/example-react#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/example-react",
"private": true,
"repository": {
"directory": "packages/example-react",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.6.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.3"
}
}
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Empty template, auto-generated by @polkadot/dev
export default [];
@@ -0,0 +1,11 @@
// Copyright 2017-2022 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
import { detectPackage } from '@polkadot/util';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, null, others);
+121
View File
@@ -0,0 +1,121 @@
// Copyright 2017-2022 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
import React, { useCallback, useEffect, useState } from 'react';
import ReactDOM from 'react-dom';
import { Identicon } from '@polkadot/react-identicon';
import { keyring } from '@polkadot/ui-keyring';
import { settings } from '@polkadot/ui-settings';
import { cryptoWaitReady, mnemonicGenerate } from '@polkadot/util-crypto';
interface Props {
className?: string;
}
const rootElement = document.getElementById('example');
if (!rootElement) {
throw new Error('Unable to find element with id \'example\'');
}
function App ({ className }: Props): React.ReactElement<Props> | null {
const [address, setAddress] = useState<string | null>(null);
const [phrase, setPhrase] = useState<string | null>(null);
const [ss58Format, setSS58Format] = useState(42);
const _onClickNew = useCallback(
(): void => {
const phrase = mnemonicGenerate(12);
const { address } = keyring.createFromUri(phrase);
setAddress(keyring.encodeAddress(address, ss58Format));
setPhrase(phrase);
},
[ss58Format]
);
const _onChangeSS58Format = useCallback(
({ currentTarget: { value } }: React.SyntheticEvent<HTMLSelectElement>): void => {
setSS58Format(parseInt(value, 10));
},
[]
);
useEffect((): void => {
_onClickNew();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
useEffect((): void => {
address && setAddress(keyring.encodeAddress(address, ss58Format));
}, [address, ss58Format]);
if (!address || !phrase) {
return null;
}
return (
<div className={className}>
<section>
<button onClick={_onClickNew}>another random address</button>
</section>
<section>
<label>phrase</label>
<textarea
cols={40}
readOnly
rows={4}
value={phrase}
/>
</section>
<section>
<label>icons</label>
<Identicon
className='icon'
value={address}
/>
<Identicon
className='icon'
theme='polkadot'
value={address}
/>
<Identicon
className='icon'
theme='beachball'
value={address}
/>
</section>
<section>
<label>address</label>
{address}
</section>
<section>
<label>ss58 format</label>
<select
onChange={_onChangeSS58Format}
value={ss58Format}
>
{settings.availablePrefixes
.filter((_, index): boolean => index !== 0)
.map(({ text, value }): React.ReactNode => (
<option
key={value}
value={value}
>
{text}
</option>
))
}
</select>
</section>
</div>
);
}
cryptoWaitReady()
.then((): void => {
keyring.loadAll({ ss58Format: 42, type: 'sr25519' });
ReactDOM.render(<App />, rootElement);
})
.catch(console.error);
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/example-react', path: 'auto', type: 'auto', version: '2.6.2' };
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../react-identicon/tsconfig.build.json" },
{ "path": "../ui-keyring/tsconfig.build.json" }
]
}
+53
View File
@@ -0,0 +1,53 @@
// Copyright 2017-2022 @polkadot/example-react authors & contributors
// SPDX-License-Identifier: Apache-2.0
const path = require('path');
const { WebpackPluginServe } = require('webpack-plugin-serve');
module.exports = {
context: __dirname,
devtool: 'eval-cheap-source-map',
entry: './src/index.tsx',
mode: 'development',
module: {
rules: [
{
exclude: /(node_modules)/,
test: /\.(ts|tsx)$/,
use: [
{
loader: 'babel-loader',
options: require('../../babel.config.cjs')
}
]
}
]
},
output: {
chunkFilename: '[name].[chunkhash:8].js',
filename: '[name].js',
globalObject: '(typeof self !== \'undefined\' ? self : this)',
path: path.join(__dirname, 'build')
},
plugins: [
new WebpackPluginServe({
hmr: false, // switch off, Chrome WASM memory leak
liveReload: false, // explict off, overrides hmr
port: 8080,
progress: false, // since we have hmr off, disable
static: __dirname
})
],
resolve: {
alias: {
'@polkadot/react-identicon': path.resolve(__dirname, '../react-identicon/build'),
'@polkadot/ui-keyring': path.resolve(__dirname, '../ui-keyring/build'),
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build')
},
extensions: ['.js', '.ts', '.tsx'],
fallback: {}
},
target: 'web',
watch: true
};
View File
View File
+201
View File
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
+3
View File
@@ -0,0 +1,3 @@
# @polkadot/example-vue
A versy basic Vue.js example with `@polkadot/ui-keyring`, `@polkadot/ui-settings` & `@polkadot/vue-identicon`
+38
View File
@@ -0,0 +1,38 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css" />
<style>
#example {
padding: 0.5em;
}
button {
cursor: pointer;
padding: 0.5rem 0.75rem;
}
label {
display: block;
margin: 0.25rem 0;
opacity: 0.5;
}
section {
padding: 0.5rem 1rem;
}
textarea {
resize: none;
}
.icon {
display: inline-block;
margin-right: 0.75rem;
}
</style>
</head>
<body>
<div id="example"></div>
<script src="./build/main.js"></script>
</body>
</html>
+22
View File
@@ -0,0 +1,22 @@
{
"author": "Jaco Greeff <jacogr@gmail.com>",
"bugs": "https://github.com/polkadot-js/ui/issues",
"contributors": [],
"description": "A very basic example with ui-* & vue-* packages",
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/example-vue#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/example-vue",
"private": true,
"repository": {
"directory": "packages/example-vue",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": false,
"version": "2.6.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.18.3"
}
}
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/example-vue authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Empty template, auto-generated by @polkadot/dev
export default [];
+11
View File
@@ -0,0 +1,11 @@
// Copyright 2017-2022 @polkadot/example-vue authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
import { detectPackage } from '@polkadot/util';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, null, others);
+99
View File
@@ -0,0 +1,99 @@
// Copyright 2017-2022 @polkadot/example-vue authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Prefix } from '@polkadot/util-crypto/address/types';
import Vue, { VNode } from 'vue';
import { keyring } from '@polkadot/ui-keyring';
import { settings } from '@polkadot/ui-settings';
import { cryptoWaitReady, mnemonicGenerate } from '@polkadot/util-crypto';
import Identicon from '@polkadot/vue-identicon';
interface Account {
address: string;
phrase: string;
}
interface Data extends Account {
ss58Format: Prefix;
ss58Options: { text: string; value: string | number }[];
}
const ss58Options = settings.availablePrefixes.filter((_, index): boolean => index !== 0);
function generateAccount (ss58Format: Prefix = 42): Account {
const phrase = mnemonicGenerate(12);
const { address } = keyring.createFromUri(phrase);
return {
address: keyring.encodeAddress(address, ss58Format),
phrase
};
}
const Example = Vue.extend({
components: {
Identicon
},
data: function (): Data {
return {
...generateAccount(),
ss58Format: 42,
ss58Options
};
},
methods: {
onClickNew: function (): void {
const { address, phrase } = generateAccount(this.ss58Format);
this.address = address;
this.phrase = phrase;
}
},
name: 'Example',
template: `
<div id="example">
<section>
<button v-on:click="onClickNew">another random address</button>
</section>
<section>
<label>phrase</label>
<textarea :cols="40" :rows="4" readonly v-model="phrase" />
</section>
<section>
<label>icons</label>
<Identicon class='icon' :value="address" />
<Identicon class='icon' :value="address" :theme="'polkadot'" />
<Identicon class='icon' :value="address" :theme="'beachball'" />
</section>
<section>
<label>address</label>
{{ address }}
</section>
<section>
<label>ss58 format</label>
<select v-model="ss58Format">
<option v-for="option in ss58Options" v-bind:value="option.value">
{{ option.text }}
</option>
</select>
</section>
</div>
`,
watch: {
ss58Format: function (): void {
this.address = keyring.encodeAddress(this.address, this.ss58Format);
}
}
});
cryptoWaitReady()
.then((): void => {
keyring.loadAll({ ss58Format: 42, type: 'sr25519' });
new Vue({
render: (h): VNode => h(Example)
}).$mount('#example');
})
.catch(console.error);
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/example-vue authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/example-vue', path: 'auto', type: 'auto', version: '2.6.2' };
+12
View File
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-keyring/tsconfig.build.json" },
{ "path": "../vue-identicon/tsconfig.build.json" }
]
}
+52
View File
@@ -0,0 +1,52 @@
// Copyright 2017-2022 @polkadot/example-vue authors & contributors
// SPDX-License-Identifier: Apache-2.0
const path = require('path');
const { WebpackPluginServe } = require('webpack-plugin-serve');
module.exports = {
context: __dirname,
devtool: 'eval-cheap-source-map',
entry: './src/index.ts',
mode: 'development',
module: {
rules: [
{
exclude: /(node_modules)/,
test: /\.(ts|tsx)$/,
use: [
{
loader: 'babel-loader',
options: require('../../babel.config.cjs')
}
]
}
]
},
output: {
chunkFilename: '[name].[chunkhash:8].js',
filename: '[name].js',
globalObject: '(typeof self !== \'undefined\' ? self : this)',
path: path.join(__dirname, 'build')
},
plugins: [
new WebpackPluginServe({
hmr: false, // switch off, Chrome WASM memory leak
liveReload: false, // explict off, overrides hmr
port: 8080,
progress: false, // since we have hmr off, disable
static: __dirname
})
],
resolve: {
alias: {
'@polkadot/ui-keyring': path.resolve(__dirname, '../ui-keyring/build'),
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/build'),
'@polkadot/ui-shared': path.resolve(__dirname, '../ui-shared/build'),
'@polkadot/vue-identicon': path.resolve(__dirname, '../vue-identicon/build')
},
extensions: ['.js', '.ts', '.tsx']
},
target: 'web',
watch: true
};
+1 -1
View File
@@ -12,6 +12,6 @@
</head>
<body>
<div id="demo"></div>
<script src="./demo.js"></script>
<script src="./build/Demo.js"></script>
</body>
</html>
+41 -22
View File
@@ -1,32 +1,51 @@
{
"name": "@polkadot/react-identicon",
"version": "0.44.1",
"description": "Renders an SVG picture representing an address",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
],
"bugs": "https://github.com/polkadot-js/ui/issues",
"contributors": [],
"description": "Renders an SVG picture representing an address",
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/react-identicon#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/react-identicon",
"repository": {
"directory": "packages/react-identicon",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"type": "module",
"version": "2.6.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@polkadot/ui-settings": "^0.44.1",
"@polkadot/ui-shared": "^0.44.1",
"@types/color": "^3.0.0",
"@types/react-copy-to-clipboard": "^4.2.6",
"color": "^3.1.2",
"jdenticon": "2.2.0",
"react-copy-to-clipboard": "^5.0.1",
"styled-components": "^4.3.1"
"@babel/runtime": "^7.18.3",
"@polkadot/keyring": "^9.6.2",
"@polkadot/ui-settings": "2.6.2",
"@polkadot/ui-shared": "2.6.2",
"@polkadot/util": "^9.6.2",
"@polkadot/util-crypto": "^9.6.2",
"color": "^3.2.1",
"ethereum-blockies-base64": "^1.0.2",
"jdenticon": "3.1.1",
"react-copy-to-clipboard": "^5.1.0",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@types/react-copy-to-clipboard": "^5.0.2",
"@types/react-dom": "^18.0.5",
"@types/styled-components": "^5.1.25",
"styled-components": "^5.3.5",
"xmlserializer": "^0.6.1"
},
"peerDependencies": {
"@polkadot/keyring": "*",
"@polkadot/util": "*",
"@polkadot/util-crypto": "*",
"react": "*"
},
"devDependencies": {
"@polkadot/keyring": "^1.4.1",
"@polkadot/util-crypto": "^1.4.1",
"xmlserializer": "^0.6.1"
"react": "*",
"react-dom": "*",
"react-is": "*",
"styled-components": "*"
}
}
-37
View File
@@ -1,37 +0,0 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import React from 'react';
import ReactDOM from 'react-dom';
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
import IdentityIcon from '.';
export default class Demo extends React.PureComponent {
public render (): React.ReactNode {
const identities: string[] = [];
while (identities.length !== 50) {
identities.push(
encodeAddress(randomAsU8a(32))
);
}
return identities.map((value): React.ReactNode => (
<IdentityIcon
key={value.toString()}
theme='jdenticon'
value={value}
/>
));
}
}
const rootElement = document.getElementById('demo');
if (!rootElement) {
throw new Error('Unable to find element with id \'demo\'');
}
ReactDOM.render(<Demo />, rootElement);
+39 -26
View File
@@ -1,18 +1,18 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Prefix } from '@polkadot/util-crypto/address/types';
import { IdentityProps as Props, Props as ComponentProps } from './types';
import type { Prefix } from '@polkadot/util-crypto/address/types';
import type { IdentityProps as Props, Props as ComponentProps } from './types';
import React from 'react';
import CopyToClipboard from 'react-copy-to-clipboard';
import styled from 'styled-components';
import settings from '@polkadot/ui-settings';
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
import { decodeAddress, encodeAddress } from '@polkadot/util-crypto';
import { Beachball, Empty, Jdenticon, Polkadot } from './icons';
import { ICON_DEFAULT_HOST, settings } from '@polkadot/ui-settings';
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
import { decodeAddress, encodeAddress, ethereumEncode } from '@polkadot/util-crypto';
import { Beachball, Empty, Ethereum, Jdenticon, Polkadot } from './icons';
const Fallback = Beachball;
@@ -25,10 +25,12 @@ const DEFAULT_SIZE = 64;
const Components: Record<string, React.ComponentType<ComponentProps>> = {
beachball: Beachball,
empty: Empty,
ethereum: Ethereum,
jdenticon: Jdenticon,
polkadot: Polkadot,
substrate: Jdenticon
};
const Wrapper = styled.div`
cursor: copy;
display: inline-block;
@@ -42,25 +44,21 @@ const Wrapper = styled.div`
position: relative;
}
&:before {
&.highlight:before {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 50%;
box-shadow: 0 0 5px 2px #e0e0e0;
box-shadow: 0 0 5px 2px #aaa;
content: '';
}
&.highlight:before {
box-shadow: 0 0 5px 2px red;
}
}
`;
export default class IdentityIcon extends React.PureComponent<Props, State> {
public state: State = {
class BaseIcon extends React.PureComponent<Props, State> {
public override state: State = {
address: '',
publicKey: '0x'
};
@@ -68,10 +66,18 @@ export default class IdentityIcon extends React.PureComponent<Props, State> {
private static prefix?: Prefix = undefined;
public static setDefaultPrefix (prefix: Prefix): void {
IdentityIcon.prefix = prefix;
BaseIcon.prefix = prefix;
}
public static getDerivedStateFromProps ({ prefix = IdentityIcon.prefix, value }: Props, prevState: State): State | null {
public static getDerivedStateFromProps ({ prefix = BaseIcon.prefix, theme, value }: Props, prevState: State): State | null {
if (theme === 'ethereum') {
const address = isU8a(value)
? ethereumEncode(value)
: value || '';
return { address, publicKey: '' };
}
try {
const address = isU8a(value) || isHex(value)
? encodeAddress(value, prefix)
@@ -92,9 +98,9 @@ export default class IdentityIcon extends React.PureComponent<Props, State> {
}
}
public render (): React.ReactNode {
public override render (): React.ReactNode {
const { address } = this.state;
const wrapped = this.getWrapped(this.state);
const wrapped = this.getWrapped(this.state, this.props);
return !address
? wrapped
@@ -108,21 +114,22 @@ export default class IdentityIcon extends React.PureComponent<Props, State> {
);
}
private getWrapped ({ address, publicKey }: State): React.ReactNode {
const { className, isHighlight = false, size = DEFAULT_SIZE, style, theme = settings.uiTheme } = this.props;
private getWrapped ({ address, publicKey }: State, { Custom }: Props): React.ReactNode {
const { className = '', isAlternative, isHighlight, size = DEFAULT_SIZE, style, theme = settings.icon } = this.props;
const Component = !address
? Empty
: Components[theme] || Fallback;
: Custom || Components[theme === 'default' ? ICON_DEFAULT_HOST : theme] || Fallback;
return (
<Wrapper
className={`ui--IdentityIcon ${className}`}
className={`ui--IdentityIcon ${className}`}
key={address}
style={style}
>
<Component
address={address}
className={isHighlight ? 'highlight' : ''}
isAlternative={isAlternative}
publicKey={publicKey}
size={size}
/>
@@ -137,5 +144,11 @@ export default class IdentityIcon extends React.PureComponent<Props, State> {
if (address && onCopy) {
onCopy(address);
}
}
};
}
function Icon (props: Props): React.ReactElement<Props> {
return <BaseIcon {...props} />;
}
export const Identicon = React.memo(Icon);
+7
View File
@@ -0,0 +1,7 @@
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export * from './icons';
export { Identicon } from './Identicon';
export { packageInfo } from './packageInfo';
@@ -0,0 +1,7 @@
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo';
import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo';
export default [settingsInfo, sharedInfo];
@@ -0,0 +1,11 @@
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
import { detectPackage } from '@polkadot/util';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, null, others);
@@ -1,32 +1,29 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Props } from '../types';
import type { Props } from '../types';
import React from 'react';
import generate from '@polkadot/ui-shared/beachballIcon';
import React, { useCallback } from 'react';
export default class Beachball extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { className, style } = this.props;
import { beachballIcon } from '@polkadot/ui-shared';
return (
<div
className={`container ${className}`}
ref={this.appendIcon}
style={style}
/>
);
}
private appendIcon = (node: Element | null): void => {
const { address, size } = this.props;
if (node) {
node.appendChild(
generate(address, size)
function Identicon ({ address, className = '', size, style }: Props): React.ReactElement<Props> {
const updateElem = useCallback(
(node: HTMLDivElement): void => {
node && node.appendChild(
beachballIcon(address, { isAlternative: false, size })
);
}
}
},
[address, size]
);
return (
<div
className={className}
ref={updateElem}
style={style}
/>
);
}
export const Beachball = React.memo(Identicon);
+15 -21
View File
@@ -1,26 +1,20 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Props } from '../types';
import type { Props } from '../types';
import React from 'react';
export default class Empty extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { className, size, style } = this.props;
return (
<div
className={`container ${className}`}
style={style}
>
<svg
height={size}
viewBox='0 0 64 64'
width={size}
/>
</div>
);
}
function Identicon ({ className = '', size, style }: Props): React.ReactElement<Props> {
return (
<svg
className={className}
height={size}
style={style}
viewBox='0 0 64 64'
width={size}
/>
);
}
export const Empty = React.memo(Identicon);
@@ -0,0 +1,29 @@
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { Props } from '../types';
import makeBlockie from 'ethereum-blockies-base64';
import React, { useMemo } from 'react';
import styled from 'styled-components';
function Identicon ({ address, className = '', style }: Props): React.ReactElement<Props> {
const imgSrc = useMemo(
() => makeBlockie(address),
[address]
);
return (
<img
className={className}
src={imgSrc}
style={style}
/>
);
}
export const Ethereum = React.memo(styled(Identicon)(({ size }: Props) => `
display: block;
height: ${size}px;
width: ${size}px;
`));
@@ -1,24 +1,24 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Props } from '../types';
import type { Props } from '../types';
import React from 'react';
import jdenticon from 'jdenticon';
import * as jdenticon from 'jdenticon';
import React, { useMemo } from 'react';
export default class Jdenticon extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { className, publicKey, size, style } = this.props;
function Identicon ({ className = '', publicKey, size, style }: Props): React.ReactElement<Props> {
const html = useMemo(
() => ({ __html: jdenticon.toSvg(publicKey.substr(2), size) }),
[publicKey, size]
);
return (
<div
className={`container ${className}`}
style={style}
dangerouslySetInnerHTML={ {
__html: jdenticon.toSvg(publicKey.substr(2), size)
} }
/>
);
}
return (
<div
className={className}
dangerouslySetInnerHTML={html}
style={style}
/>
);
}
export const Jdenticon = React.memo(Identicon);
+38 -40
View File
@@ -1,7 +1,7 @@
// Copyright 2018-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
// Copyright 2018 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// This has been converted from the original version that can be found at
//
@@ -16,46 +16,44 @@
// - Move constants to file-level
// - Overall it is now just a static component, expecting an address as an input value
import { Props as BaseProps } from '../types';
import type { Circle } from '@polkadot/ui-shared/icons/types';
import type { Props } from '../types';
import React from 'react';
import generateIcon, { Circle } from '@polkadot/ui-shared/polkadotIcon';
import React, { useMemo } from 'react';
interface Props extends BaseProps {
sixPoint?: boolean;
import { polkadotIcon } from '@polkadot/ui-shared';
function renderCircle ({ cx, cy, fill, r }: Circle, key: number): React.ReactNode {
return (
<circle
cx={cx}
cy={cy}
fill={fill}
key={key}
r={r}
/>
);
}
export default class Identicon extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { address, className, sixPoint, size, style } = this.props;
function Identicon ({ address, className = '', isAlternative = false, size, style }: Props): React.ReactElement<Props> {
const circles = useMemo(
() => polkadotIcon(address, { isAlternative }),
[address, isAlternative]
);
return (
<div
className={`container ${className}`}
style={style}
>
<svg
id={address}
name={address}
width={size}
height={size}
viewBox='0 0 64 64'
>
{generateIcon(address, sixPoint).map(this.renderCircle)}
</svg>
</div>
);
}
private renderCircle = ({ cx, cy, r, fill }: Circle, key: number): React.ReactNode => {
return (
<circle
key={key}
cx={cx}
cy={cy}
r={r}
fill={fill}
/>
);
}
return (
<svg
className={className}
height={size}
id={address}
name={address}
style={style}
viewBox='0 0 64 64'
width={size}
>
{circles.map(renderCircle)}
</svg>
);
}
export const Polkadot = React.memo(Identicon);
+7 -7
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { default as Beachball } from './Beachball';
export { default as Empty } from './Empty';
export { default as Jdenticon } from './Jdenticon';
export { default as Polkadot } from './Polkadot';
export { Beachball } from './Beachball';
export { Empty } from './Empty';
export { Ethereum } from './Ethereum';
export { Jdenticon } from './Jdenticon';
export { Polkadot } from './Polkadot';
+7 -5
View File
@@ -1,8 +1,10 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import Identicon from './Identicon';
export * from './icons';
import './detectPackage';
import { Identicon } from './bundle';
export * from './bundle';
export default Identicon;
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/react-identicon', path: 'auto', type: 'auto', version: '2.6.2' };
+14 -6
View File
@@ -1,25 +1,33 @@
// Copyright 2018 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2018-2022 @polkadot/react-identicon authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { Prefix } from '@polkadot/util-crypto/address/types';
import type { Prefix } from '@polkadot/util-crypto/address/types';
import React from 'react';
export interface BaseProps {
className?: string;
style?: Record<string, string | number>;
style?: React.CSSProperties;
}
export interface Props extends BaseProps {
address: string;
isAlternative?: boolean;
className?: string;
publicKey: string;
size: number;
style?: React.CSSProperties;
}
export interface IdentityProps extends BaseProps {
Custom?: React.ComponentType<Props>;
isAlternative?: boolean;
isHighlight?: boolean;
onCopy?: (value: string) => void;
prefix?: Prefix;
size?: number;
theme?: 'beachball' | 'empty' | 'jdenticon' | 'polkadot' | 'substrate';
theme?: IconTheme;
value?: string | Uint8Array | null;
}
export type IconTheme = 'beachball' | 'empty' | 'ethereum' | 'jdenticon' | 'polkadot' | 'substrate';
@@ -0,0 +1,12 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"baseUrl": "..",
"outDir": "./build",
"rootDir": "./src"
},
"references": [
{ "path": "../ui-shared/tsconfig.build.json" },
{ "path": "../ui-settings/tsconfig.build.json" }
]
}
@@ -1,38 +0,0 @@
// Copyright 2017-2019 @polkadot/react-identicon authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// eslint-disable-next-line @typescript-eslint/no-var-requires
const path = require('path');
const ENV = process.env.NODE_ENV || 'development';
const isProd = ENV === 'production';
module.exports = {
context: __dirname,
devtool: isProd ? 'source-map' : 'cheap-eval-source-map',
entry: './src/Demo.tsx',
mode: ENV,
output: {
path: __dirname,
filename: './demo.js'
},
resolve: {
alias: {
'@polkadot/ui-settings': path.resolve(__dirname, '../ui-settings/src')
},
extensions: ['.js', '.jsx', '.ts', '.tsx']
},
module: {
rules: [
{
test: /\.(js|ts|tsx)$/,
exclude: /(node_modules)/,
use: [
'babel-loader'
]
}
]
},
plugins: []
};
+36 -11
View File
@@ -1,17 +1,42 @@
{
"name": "@polkadot/react-qr",
"version": "0.44.1",
"description": "Generates and reads QR codes",
"main": "index.js",
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
],
"bugs": "https://github.com/polkadot-js/ui/issues",
"contributors": [],
"description": "Generates and reads QR codes",
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/react-qr#readme",
"license": "Apache-2.0",
"maintainers": [],
"name": "@polkadot/react-qr",
"repository": {
"directory": "packages/react-qr",
"type": "git",
"url": "https://github.com/polkadot-js/ui.git"
},
"sideEffects": [
"./detectPackage.js",
"./detectPackage.cjs"
],
"type": "module",
"version": "2.6.2",
"main": "index.js",
"dependencies": {
"@babel/runtime": "^7.6.0",
"@types/react-qr-reader": "^2.1.1",
"qrcode-generator": "^1.4.3",
"react-qr-reader": "^2.2.1"
"@babel/runtime": "^7.18.3",
"@polkadot/ui-settings": "2.6.2",
"@polkadot/util": "^9.6.2",
"@polkadot/util-crypto": "^9.6.2",
"qrcode-generator": "^1.4.4",
"react-qr-reader": "^2.2.1",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@types/react-qr-reader": "^2.1.4",
"@types/styled-components": "^5.1.25"
},
"peerDependencies": {
"@polkadot/util": "*",
"@polkadot/util-crypto": "*",
"react": "*",
"react-dom": "*",
"styled-components": "*"
}
}
+99 -90
View File
@@ -1,131 +1,140 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BaseProps } from './types';
import React from 'react';
import React, { useEffect, useMemo, useRef, useState } from 'react';
import styled from 'styled-components';
import { objectSpread } from '@polkadot/util';
import { xxhashAsHex } from '@polkadot/util-crypto';
import qrcode from './qrcode';
import { qrcode } from './qrcode';
import { createFrames, createImgSize } from './util';
interface Props extends BaseProps {
interface Props {
className?: string;
size?: string | number;
skipEncoding?: boolean;
style?: React.CSSProperties;
timerDelay?: number;
value: Uint8Array;
}
interface State {
interface FrameState {
frames: Uint8Array[];
frameIdx: number;
image: string | null;
timerId: number | null;
valueHash: string | null;
}
const FRAME_DELAY = 2100;
interface TimerState {
timerDelay: number;
timerId: number | null;
}
const DEFAULT_FRAME_DELAY = 2750;
const TIMER_INC = 500;
function getDataUrl (value: Uint8Array): string {
const qr = qrcode(0, 'M');
// HACK See out qrcode stringToBytes override as used internally. This
// will only work for the case where we actuall pass `Bytes` in here
// eslint-disable-next-line @typescript-eslint/no-explicit-any
qr.addData(value as any, 'Byte');
// HACK See our qrcode stringToBytes override as used internally. This
// will only work for the case where we actually pass `Bytes` in here
qr.addData(value as unknown as string, 'Byte');
qr.make();
return qr.createDataURL(16, 0);
}
class Display extends React.PureComponent<Props, State> {
public state: State = {
frames: [],
frameIdx: 0,
image: null,
timerId: null,
valueHash: null
};
function Display ({ className, size, skipEncoding, style, timerDelay = DEFAULT_FRAME_DELAY, value }: Props): React.ReactElement<Props> | null {
const [{ image }, setFrameState] = useState<FrameState>({ frameIdx: 0, frames: [], image: null, valueHash: null });
const timerRef = useRef<TimerState>({ timerDelay, timerId: null });
public static getDerivedStateFromProps ({ value, skipEncoding = false }: Props, prevState: State): Pick<State, never> | null {
const valueHash = xxhashAsHex(value);
const containerStyle = useMemo(
() => createImgSize(size),
[size]
);
if (valueHash === prevState.valueHash) {
return null;
}
// run on initial load to setup the global timer and provide and unsubscribe
useEffect((): () => void => {
const nextFrame = () => setFrameState((state): FrameState => {
// when we have a single frame, we only ever fire once
if (state.frames.length <= 1) {
return state;
}
const frames: Uint8Array[] = skipEncoding
? [value]
: createFrames(value);
let frameIdx = state.frameIdx + 1;
// encode on demand
return {
frames,
frameIdx: 0,
image: getDataUrl(frames[0]),
valueHash
// when we overflow, skip to the first and slightly increase the delay between frames
if (frameIdx === state.frames.length) {
frameIdx = 0;
timerRef.current.timerDelay = timerRef.current.timerDelay + TIMER_INC;
}
// only encode the frames on demand, not above as part of the
// state derivation - in the case of large payloads, this should
// be slightly more responsive on initial load
const newState = objectSpread<FrameState>({}, state, {
frameIdx,
image: getDataUrl(state.frames[frameIdx])
});
// set the new timer last
timerRef.current.timerId = setTimeout(nextFrame, timerRef.current.timerDelay);
return newState;
});
timerRef.current.timerId = window.setTimeout(nextFrame, timerRef.current.timerDelay);
return (): void => {
// eslint-disable-next-line react-hooks/exhaustive-deps
timerRef.current.timerId && clearTimeout(timerRef.current.timerId);
};
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
public componentDidMount (): void {
this.setState({
timerId: window.setInterval(this.nextFrame, FRAME_DELAY)
useEffect((): void => {
setFrameState((state): FrameState => {
const valueHash = xxhashAsHex(value);
if (valueHash === state.valueHash) {
return state;
}
const frames: Uint8Array[] = skipEncoding
? [value]
: createFrames(value);
// encode on demand
return {
frameIdx: 0,
frames,
image: getDataUrl(frames[0]),
valueHash
};
});
}, [skipEncoding, value]);
if (!image) {
return null;
}
public componentWillUnmount (): void {
const { timerId } = this.state;
if (timerId) {
clearInterval(timerId);
}
}
public render (): React.ReactNode {
const { className, size, style } = this.props;
const { image } = this.state;
if (!image) {
return null;
}
return (
return (
<div
className={className}
style={containerStyle}
>
<div
className={className}
style={createImgSize(size)}
className='ui--qr-Display'
style={style}
>
<div
className='ui--qr-Display'
style={style}
>
<img src={image} />
</div>
<img src={image} />
</div>
);
}
private nextFrame = (): void => {
const { frames, frameIdx } = this.state;
if (!frames || frames.length <= 1) {
return;
}
const nextIdx = frameIdx === frames.length - 1
? 0
: frameIdx + 1;
// only encode the frames on demand, not above as part of the
// state derivation - in the case of large payloads, this should
// be slightly more responsive on initial load
this.setState({
frameIdx: nextIdx,
image: getDataUrl(frames[nextIdx])
});
}
</div>
);
}
export default styled(Display as React.ComponentClass<Props>)`
export const QrDisplay = React.memo(styled(Display)`
.ui--qr-Display {
height: 100%;
width: 100%;
@@ -139,4 +148,4 @@ export default styled(Display as React.ComponentClass<Props>)`
width: auto !important;
}
}
`;
`);
+28 -46
View File
@@ -1,58 +1,40 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BaseProps } from './types';
import React from 'react';
import { xxhashAsHex } from '@polkadot/util-crypto';
import React, { useMemo } from 'react';
import { QrDisplay } from './Display';
import { createAddressPayload } from './util';
import QrDisplay from './Display';
interface Props extends BaseProps {
interface Props {
address: string;
genesisHash: string;
className?: string;
size?: string | number;
style?: React.CSSProperties;
timerDelay?: number;
}
interface State {
data: Uint8Array | null;
dataHash: string | null;
}
function DisplayAddress ({ address, className, genesisHash, size, style, timerDelay }: Props): React.ReactElement<Props> | null {
const data = useMemo(
() => createAddressPayload(address, genesisHash),
[address, genesisHash]
);
export default class DisplayExtrinsic extends React.PureComponent<Props, State> {
public state: State = {
data: null,
dataHash: null
};
public static getDerivedStateFromProps ({ address, genesisHash }: Props, prevState: State): State | null {
const data = createAddressPayload(address, genesisHash);
const dataHash = xxhashAsHex(data);
if (dataHash === prevState.dataHash) {
return null;
}
return { data, dataHash };
if (!data) {
return null;
}
public render (): React.ReactNode {
const { className, size, style } = this.props;
const { data } = this.state;
if (!data) {
return null;
}
return (
<QrDisplay
className={className}
skipEncoding={true}
size={size}
style={style}
value={data}
/>
);
}
return (
<QrDisplay
className={className}
size={size}
skipEncoding
style={style}
timerDelay={timerDelay}
value={data}
/>
);
}
export const QrDisplayAddress = React.memo(DisplayAddress);
+29 -45
View File
@@ -1,58 +1,42 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BaseProps } from './types';
import React from 'react';
import { xxhashAsHex } from '@polkadot/util-crypto';
import React, { useMemo } from 'react';
import { QrDisplay } from './Display';
import { createSignPayload } from './util';
import QrDisplay from './Display';
interface Props extends BaseProps {
interface Props {
address: string;
className?: string;
cmd: number;
delay?: number;
genesisHash: Uint8Array | string;
payload: Uint8Array;
size?: string | number;
style?: React.CSSProperties;
timerDelay?: number;
}
interface State {
data: Uint8Array | null;
dataHash: string | null;
}
function DisplayPayload ({ address, className, cmd, genesisHash, payload, size, style, timerDelay }: Props): React.ReactElement<Props> | null {
const data = useMemo(
() => createSignPayload(address, cmd, payload, genesisHash),
[address, cmd, payload, genesisHash]
);
export default class DisplayPayload extends React.PureComponent<Props, State> {
public state: State = {
data: null,
dataHash: null
};
public static getDerivedStateFromProps ({ address, cmd, payload }: Props, prevState: State): State | null {
const data = createSignPayload(address, cmd, payload);
const dataHash = xxhashAsHex(data);
if (dataHash === prevState.dataHash) {
return null;
}
return { data, dataHash };
if (!data) {
return null;
}
public render (): React.ReactNode {
const { className, size, style } = this.props;
const { data } = this.state;
if (!data) {
return null;
}
return (
<QrDisplay
className={className}
size={size}
style={style}
value={data}
/>
);
}
return (
<QrDisplay
className={className}
size={size}
style={style}
timerDelay={timerDelay}
value={data}
/>
);
}
export const QrDisplayPayload = React.memo(DisplayPayload);
+39
View File
@@ -0,0 +1,39 @@
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import type { NetworkSpecsStruct } from '@polkadot/ui-settings/types';
import React, { useMemo } from 'react';
import { QrDisplay } from './Display';
import { encodeString } from './util';
interface Props {
className?: string;
networkSpecs: NetworkSpecsStruct;
size?: string | number;
style?: React.CSSProperties;
}
function DisplayNetworkSpecs ({ className, networkSpecs, size, style }: Props): React.ReactElement<Props> | null {
const data = useMemo(
() => encodeString(JSON.stringify(networkSpecs)),
[networkSpecs]
);
if (!data) {
return null;
}
return (
<QrDisplay
className={className}
size={size}
skipEncoding
style={style}
value={data}
/>
);
}
export const QrNetworkSpecs = React.memo(DisplayNetworkSpecs);
+39 -42
View File
@@ -1,71 +1,68 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BaseProps } from './types';
import React from 'react';
import React, { useCallback, useMemo } from 'react';
import Reader from 'react-qr-reader';
import styled from 'styled-components';
import { createImgSize } from './util';
interface Props extends BaseProps {
interface Props {
className?: string;
delay?: number;
onError?: (error: Error) => void;
onScan?: (data: string) => void;
onScan: (data: string) => void;
size?: string | number;
style?: React.CSSProperties;
}
const DEFAULT_DELAY = 150;
const DEFAULT_ERROR = (error: Error): void => {
console.error('@polkadot/react-qr:Scan', error.message);
};
class Scan extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { className, delay = DEFAULT_DELAY, size, style } = this.props;
function Scan ({ className, delay = DEFAULT_DELAY, onError = DEFAULT_ERROR, onScan, size, style }: Props): React.ReactElement<Props> {
const containerStyle = useMemo(
() => createImgSize(size),
[size]
);
return (
<div
className={className}
style={createImgSize(size)}
>
<Reader
className='ui--qr-Scan'
delay={delay}
onError={this.onError}
onScan={this.onScan}
style={style}
/>
</div>
);
}
const _onError = useCallback(
(error: Error) => onError(error),
[onError]
);
private onError = (error: Error): void => {
const { onError = DEFAULT_ERROR } = this.props;
const _onScan = useCallback(
(data: string | null) => data && onScan(data),
[onScan]
);
onError(error);
}
private onScan = (data: string | null): void => {
const { onScan } = this.props;
if (!data || !onScan) {
return;
}
onScan(data);
}
return (
<div
className={className}
style={containerStyle}
>
<Reader
className='ui--qr-Scan'
delay={delay}
onError={_onError}
onScan={_onScan}
style={style}
/>
</div>
);
}
export default styled(Scan)`
export const QrScan = React.memo(styled(Scan)`
.ui--qr-Scan {
display: inline-block;
height: 100%;
transform: matrix(-1, 0, 0, 1, 0, 0);
width: 100%;
video {
margin: 0;
}
}
`;
`);
+57 -38
View File
@@ -1,57 +1,76 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BaseProps } from './types';
import React, { useCallback } from 'react';
import React from 'react';
import { assert } from '@polkadot/util';
import { ADDRESS_PREFIX } from './constants';
import QrScan from './Scan';
import { decodeAddress } from '@polkadot/util-crypto';
import { ADDRESS_PREFIX, SEED_PREFIX } from './constants';
import { QrScan } from './Scan';
interface ScanType {
address: string;
isAddress: boolean;
content: string;
genesisHash: string;
name?: string;
}
interface Props extends BaseProps {
interface Props {
className?: string;
onError?: (error: Error) => void;
onScan?: (scanned: ScanType) => void;
onScan: (scanned: ScanType) => void;
size?: string | number;
style?: React.CSSProperties;
isEthereum?: boolean
}
export default class ScanAddress extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { className, onError, size, style } = this.props;
function ScanAddress ({ className, isEthereum, onError, onScan, size, style }: Props): React.ReactElement<Props> {
const _onScan = useCallback(
(data: string | null): void => {
if (data) {
try {
let prefix: string, content: string, genesisHash: string, name: string[];
return (
<QrScan
className={className}
onError={onError}
onScan={this.onScan}
size={size}
style={style}
/>
);
}
if (!isEthereum) {
[prefix, content, genesisHash, ...name] = data.split(':');
} else {
[prefix, content, ...name] = data.split(':');
genesisHash = '';
content = content.substring(0, 42);
}
private onScan = (data: string | null): void => {
const { onScan } = this.props;
const expectedPrefix = (isEthereum ? 'ethereum' : ADDRESS_PREFIX);
const isValidPrefix = (prefix === expectedPrefix) || (prefix === SEED_PREFIX);
if (!data || !onScan) {
return;
}
assert(isValidPrefix, `Invalid prefix received, expected '${expectedPrefix} or ${SEED_PREFIX}' , found '${prefix}'`);
try {
const [prefix, address, genesisHash] = data.split(':');
const isAddress = prefix === expectedPrefix;
assert(prefix === ADDRESS_PREFIX, `Invalid address received, expected '${ADDRESS_PREFIX}', found '${prefix}'`);
if (isAddress && !isEthereum) {
decodeAddress(content);
}
decodeAddress(address);
onScan({ address, genesisHash });
} catch (error) {
console.error('@polkadot/react-qr:QrScanAddress', error.message, data);
}
}
onScan({ content, genesisHash, isAddress, name: name?.length ? name.join(':') : undefined });
} catch (error) {
onError && onError(error as Error);
console.error('@polkadot/react-qr:QrScanAddress', (error as Error).message, data);
}
}
},
[onScan, onError, isEthereum]
);
return (
<QrScan
className={className}
onError={onError}
onScan={_onScan}
size={size}
style={style}
/>
);
}
export const QrScanAddress = React.memo(ScanAddress);
+27 -32
View File
@@ -1,44 +1,39 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { BaseProps } from './types';
import type { HexString } from '@polkadot/util/types';
import React from 'react';
import React, { useCallback } from 'react';
import QrScan from './Scan';
import { QrScan } from './Scan';
interface ScanType {
signature: string;
signature: HexString;
}
interface Props extends BaseProps {
interface Props {
className?: string;
onError?: (error: Error) => void;
onScan?: (scanned: ScanType) => void;
onScan: (scanned: ScanType) => void;
size?: string | number;
style?: React.CSSProperties;
}
export default class ScanSignature extends React.PureComponent<Props> {
public render (): React.ReactNode {
const { className, onError, size, style } = this.props;
function ScanSignature ({ className, onError, onScan, size, style }: Props): React.ReactElement<Props> {
const _onScan = useCallback(
(signature: string | null) => signature && onScan({ signature: `0x${signature}` }),
[onScan]
);
return (
<QrScan
className={className}
onError={onError}
onScan={this.onScan}
size={size}
style={style}
/>
);
}
private onScan = (signature: string | null): void => {
const { onScan } = this.props;
if (!signature || !onScan) {
return;
}
onScan({ signature: `0x${signature}` });
}
return (
<QrScan
className={className}
onError={onError}
onScan={_onScan}
size={size}
style={style}
/>
);
}
export const QrScanSignature = React.memo(ScanSignature);
+9
View File
@@ -0,0 +1,9 @@
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { QrDisplayAddress } from './DisplayAddress';
export { QrDisplayPayload } from './DisplayPayload';
export { QrScanAddress } from './ScanAddress';
export { QrScanSignature } from './ScanSignature';
export { QrNetworkSpecs } from './NetworkSpecs';
export { packageInfo } from './packageInfo';
+5 -4
View File
@@ -1,9 +1,9 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
const ADDRESS_PREFIX = 'substrate';
const FRAME_SIZE = 2048;
const SEED_PREFIX = 'secret';
const FRAME_SIZE = 1024;
const SUBSTRATE_ID = new Uint8Array([0x53]);
const CRYPTO_SR25519 = new Uint8Array([0x01]);
const CMD_SIGN_TX = new Uint8Array([0]);
@@ -19,5 +19,6 @@ export {
CMD_SIGN_MSG,
CRYPTO_SR25519,
FRAME_SIZE,
SEED_PREFIX,
SUBSTRATE_ID
};
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Empty template, auto-generated by @polkadot/dev
export default [];
+11
View File
@@ -0,0 +1,11 @@
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
import { detectPackage } from '@polkadot/util';
import others from './detectOther';
import { packageInfo } from './packageInfo';
detectPackage(packageInfo, null, others);
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import './detectPackage';
export * from './bundle';
-8
View File
@@ -1,8 +0,0 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
export { default as QrDisplayAddress } from './DisplayAddress';
export { default as QrDisplayPayload } from './DisplayPayload';
export { default as QrScanAddress } from './ScanAddress';
export { default as QrScanSignature } from './ScanSignature';
+6
View File
@@ -0,0 +1,6 @@
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
// Do not edit, auto-generated by @polkadot/dev
export const packageInfo = { name: '@polkadot/react-qr', path: 'auto', type: 'auto', version: '2.6.2' };
+4 -5
View File
@@ -1,6 +1,5 @@
// Copyright 2017-2019 @polkadot/react-qr authors & contributors
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
// Copyright 2017-2022 @polkadot/react-qr authors & contributors
// SPDX-License-Identifier: Apache-2.0
import _qrcode from 'qrcode-generator';
@@ -9,8 +8,8 @@ const qrcode: typeof _qrcode = _qrcode;
// HACK The default function take string -> number[], the Uint8array is compatible
// with that signature and the use thereof
// eslint-disable-next-line @typescript-eslint/no-explicit-any
// eslint-disable-next-line @typescript-eslint/no-explicit-any,@typescript-eslint/no-unsafe-member-access
(qrcode as any).stringToBytes = (data: Uint8Array): Uint8Array =>
data;
export default qrcode;
export { qrcode };

Some files were not shown because too many files have changed in this diff Show More