Commit Graph

55 Commits

Author SHA1 Message Date
Jaco Greeff 741ca2a150 Bump deps (#215) 2019-09-25 14:00:43 +02: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
Jaco Greeff 0175ef628d Ledger sign signatures (#213)
* Ledger sign signatures

* wrapResult -> withApp

* version: [major, minor, patch]
2019-09-18 08:09:19 +02: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
Jaco Greeff 425ca93aa0 Add Ledger interfaces (#211) 2019-09-17 13:21:18 +02:00
Jaco Greeff 800700d50e Add isHardware flags (#210)
* Add isHardware flags

* Ledger connection  options
2019-09-17 09:05:51 +02: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
Jaco Greeff 1243184b28 Save genesisHash with recent (#198) 2019-09-03 15:55:26 +02:00
Jaco Greeff 6e4f9dfad3 Add genesisHash checks to all loads (#197)
* Add genesisHash checks to all loads

* Only match when genesisHash is supplied

* Swap to bash

* Naming

* Check for empty json

* Filter injected on genesisHash as well

* Bump deps
2019-09-02 21:01:28 +02:00
Jaco Greeff 556d07b368 Scan consistency updates (#194)
* Scan consistency updates

* Default auto height/width

* Rework qrcode export

* Fix address scanning (as per new format)

* Update tests

* Bump common

* Pass through genesisHash

* addExternal via address
2019-09-01 09:44:27 +02:00
Jaco Greeff 876410cc8e Typescript-eslint 2 (#193) 2019-08-31 09:25:48 +02:00
Jaco Greeff 2c1dadc826 Bump deps (#189) 2019-08-27 14:16:38 +02:00
Jaco Greeff e481af93c5 Minor readability improvements (#185) 2019-08-12 16:31:43 +02:00
Jaco Greeff c3f57c19e8 Move ui-identicon -> react-identicon (#165)
* Move ui-identicon -> react-identicon

* ui-identicon import fix

* Update README package links

* Update doc sidebar links

* Adjust react-qr signatures, CHANGELOG
2019-07-29 11:30:37 +02:00
Jaco Greeff 6f601dd343 Bump api (interfaced types) (#163)
* Bump api (interfaced types)

* Bump deps for api
2019-07-29 10:15:10 +02:00
Jaco Greeff 62450ba86a Don't import store via index (#159)
* Don't import store via index

* CHANGELOG update
2019-07-17 08:16:48 +02:00
Jaco Greeff fd67ecdf3a Swap to eslint (#154)
* 311 problems (173 errors, 138 warnings)

* Make a start...

* swap to react config

* Literally a handful left

* Clean.

* any removal

* Use Record

* Adjust versions

* Update with latest eslint-standard ruleset

* Update defaults.ts
2019-07-12 22:01:19 +02:00
Axel Chalon 2a30f2f483 Simplify KeyringAddress interface (#144)
* Simplify ui-keyring KeyringAddress

* Adapt to new @polkadot/keyring KeyPair interface

* Pull in common 0.93.0-beta.4

* KeyringAddress | undefined
2019-06-19 18:17:15 +02:00
Jaco Greeff b26a0ef083 Adapt interfaces for latest @polkadot/keyring (#146)
* Adapt interfaces for latest @polkadot/keyring

* Re-write yarn.lock

* Bump latest api
2019-06-13 16:16:53 +02:00
Jaco Greeff 0acf9520c8 Bump deps, remove deprecated ui-util (#145)
* Bump deps, remove deprecated ui-util

* Bumop, fix lint

* Update vuepress config (excl. removed ui-util)
2019-06-12 18:54:31 +02:00
kwingram25 c2e3d5fabe Ki contracts (#143)
* add contracts to keyring

* genesisHash

* requested changes + allPlus option type

* remove duplicate fn

* add contracts to keyring

* genesisHash

* requested changes + allPlus option type

* remove duplicate fn

* changes

* contract key

* prefixes

* remove fallback hell

* errors

* remove breaking api
2019-06-07 14:27:28 +02:00
Jaco Greeff da84d5a8ae Add ExtensionStore (from @polkadot/extension) (#142)
* Add ExtensionStore (from @polkadot/extension)

* Consistent naming, untested/unused File store

* Update File.ts
2019-06-06 18:13:28 +02:00
kwingram25 bdfbb69946 Add contracts to ui-keyring (#137)
* add contracts to keyring

* genesisHash

* requested changes + allPlus option type

* remove duplicate fn

* add contracts to keyring

* genesisHash

* requested changes + allPlus option type

* remove duplicate fn

* changes

* contract key

* prefixes
2019-06-06 13:57:07 +02:00
Jaco Greeff b0f4a84939 Use pair.address() for saving 2019-05-24 17:42:57 +02:00
Jaco Greeff 72f5614f5d Ensumer correcly encoded address in json (#134) 2019-05-24 13:15:30 +02:00
Jaco Greeff 7ecadc4754 Injection with meta (not only name) (#130) 2019-05-19 19:09:02 +02:00
Jaco Greeff 2479ac5951 Add externally injected accounts (not from store) (#129) 2019-05-19 17:57:08 +02:00
Jaco Greeff 1b4ea9d2bf Pass KeyringStore to observables (#128) 2019-05-18 19:58:45 +02:00
Jaco Greeff f1104b423c KeyringStore interface (#127) 2019-05-18 18:03:09 +02:00
Jaco Greeff 989e6440b8 Bump deps, re-encode old addresses (#125) 2019-05-11 10:22:57 +02:00
Jaco Greeff 7381f19122 Add case to saveRecent (inside subject) (#122) 2019-05-08 13:31:32 +02:00
Jaco Greeff f97cc8710c Short address length, uppercase option (#121)
* Short address length, uppercase option

* Update CHANGELOG
2019-05-08 13:15:03 +02:00
Xiliang Chen d67f9670bd ensure single package for ui-keyring (#120) 2019-05-01 07:26:06 +02:00
YJ f558b2ec48 Restore Account from JSON with Appropriate crypto type (#117)
* json restore with appropriate crypto type

* check if array
2019-04-17 19:29:30 +02:00
kwingram25 aabb3df18c Sort keyring address, remove expired recent (#115)
* Sort keyring address, remove expired recent

* minor fixes
2019-04-12 12:36:48 +02:00
Jaco Greeff a8101eea05 ss58 keyring bump (#105)
* ss58 keyring bump

* loadAll (ignoreChecksum)

* Restore ignore checksum

* Identicon decode params
2019-03-29 15:28:59 +01:00
Jaco Greeff ec98152643 Add createFromUri (#101)
* Add createFromUri

* Bump util dep
2019-03-21 11:22:31 +01:00
Jaco Greeff 10d22e2b84 Add createUri and createExternal (#96)
* Add createUri and createExternal

* Update signatures

* Expose uiSettings.availableCryptos
2019-03-19 10:15:25 +01:00
Jaco Greeff 3ce8b5bd35 Remove /index imports (swap to bare) (#92)
* Remove /index imports (swap to bare)

* Bump api & common
2019-03-14 09:42:53 +01:00
Jaco Greeff e3edfd3fec Swap to HDKD dev keyring (#91)
* Swap to HDKD dev keyring

* CHANGELOG

* Bump deps

* Bump version
2019-03-13 17:12:32 +01:00
Jaco Greeff 0dbdc7e0b7 Set UI defaults based on environment (#86)
* Bump deps

* Set defaults based on hosted environment

* Update tests (package bumps)

* Do location detection on 'polkadot'
2019-02-28 14:40:59 +01:00
Jaco Greeff 28b991d61d Add documentation on GH pages (#85)
* Add documentation on GH pages

* Expand classes for doc generation

* Update docs

* .nojekyll

* Update Identicon.tsx

* Update Demo.tsx

* Update KeyPair.tsx

* Export specific icons

* Convert tests to TypeScript
2019-02-27 11:18:35 +01:00
Jaco Greeff 46a8dad405 Bump deps (#74)
* Bump deps

* Expose options with isDevelopment
2019-02-15 11:13:34 +01:00
Jaco Greeff c48b6ff6f8 Schnorrkel support (#72)
* Schnorrkel support

* Uuse KeyringOptions in loadAll

* Bump

* Bump version

* Integrate new updates
2019-02-14 23:38:49 +01:00
Jaco Greeff ea771de608 Expose encodeAddress/decodeAddress types on keyring interface (#62)
* Expose encodeAddress/decodeAddress types of keyring

* Update types.ts
2019-01-14 14:52:39 +01:00
Jaco Greeff a82bd85a9c Add external account creation (#61) 2019-01-12 18:30:40 +01:00
Jaco Greeff e77b1a365c 2019 (#48)
* 2019

* Bump deps
2019-01-04 16:58:22 +01:00
Jaco Greeff 58aacdaa33 Pass options as { header: options } (create) (#16)
* Pass options as { header: options } (create)

* Actually save... pass linting as a result
2018-12-10 10:29:39 +01:00
Jaco Greeff 4a89bc4204 Bump deps, small cleanups (#15) 2018-12-10 07:53:58 +01:00
Jaco Greeff 3ffee555b7 Split keyring, pacify Codeclimate (#12) 2018-12-08 17:18:49 +01:00