Commit Graph
70 Commits
Author SHA1 Message Date
Jaco Greeff c8100dbe43 2.6 (#560)
* 2.6

* Update CHANGELOG
2020-02-29 18:44:50 +01:00
Jaco Greeff af56c10278 Add cryptoIsReady (#557)
* Add cryptoIsReady

* Bump yarn
2020-02-29 11:51:17 +01:00
Jaco Greeff 336df0d76d yarn --immutable on CI (#556)
* yarn --immutable on CI

* dev bump
2020-02-29 10:26:32 +01:00
Jaco Greeff 2d181df360 Bump wasm to 1.1 (#553)
* Bump wasm to 1.1

* typo
2020-02-24 22:23:48 +01:00
Jaco Greeff 804ed13d0a Add signatureVerify (#552)
* Add signatureVerify

* addressOrPublicKey typo

* Flatten verify, allow extra types

* Add signatureVerify tests

* De-dup address checksum checks
2020-02-24 11:55:15 +01:00
Jaco Greeff 341a6b0c08 Add TS 3.8 breaking feature in CHANGELOG (missed) (#551) 2020-02-24 09:08:16 +01:00
Jaco Greeff 614985b8ac Remove gh-pages script (in dev) (#549) 2020-02-22 16:56:24 +01:00
Jaco Greeff b0ee79f90c 2.5 (#547) 2020-02-22 15:57:33 +01:00
Jaco Greeff 7c1ca3a5c9 Use #<varname> instead of private _<varname> (#545)
* Use #<varname> insead of private _<varname>

* Update key extraction paths
2020-02-22 14:45:31 +01:00
Jaco Greeff 91c4c407a9 Add isChildClass (#544)
* Add isChildClass

* isChildClass is return

* Cleanup doc example
2020-02-22 13:26:12 +01:00
Jaco Greeff c60459e303 Add isBigInt & bnToBn support for (#542)
* Add isBigInt & bnToBn support for

* All BN inputs allow BigInt
2020-02-21 16:54:33 +01:00
Jaco Greeff c539430a0b 2.4 (#539) 2020-02-18 09:00:08 +01:00
Jaco Greeff 76a0daeed6 Use ss58 format on keyring for the keyring only (#538)
* Use ss58 format on keyring for the keyring only

* Cleanup args

* Cleanup failures

* Remove deprecated addressPrefix

* Update CHANGELOG
2020-02-17 16:24:03 +01:00
Jaco Greeff 171015fbba formatBalance adjustments (#536)
* formatBalance extensions

* Fly-by any removals

* isBn updates

* Remove unneeded ()'s
2020-02-17 12:16:02 +01:00
Jaco Greeff a602b0409c 2.3 (#535) 2020-02-15 11:59:04 +01:00
Jaco Greeff 81a31519db Move date formatter to format (#534)
* Move date formatter to format

* Cleanup padding
2020-02-15 11:24:16 +01:00
Jaco Greeff 6194660b3b Bump @polkadot/wasm to 1.0 (#533) 2020-02-15 11:07:33 +01:00
Jaco Greeff 48b753b8ac CHANGELOG update (#532) 2020-02-15 10:25:23 +01:00
Jaco Greeff 8eef3f9989 Cleanup explicit deps & bump deps (#523) 2020-02-12 16:18:21 +01:00
Jaco Greeff fc9a5ac25f 2.2 (#520) 2020-02-06 15:44:11 +01:00
Jaco Greeff bf5ba0f405 Add resolver for jest (#519) 2020-02-06 14:49:55 +01:00
Jaco Greeff 69279f1b81 2.1 (#518) 2020-02-04 13:51:51 +01:00
Jaco Greeff f4be1fe52e Multiple versions with __dirname (#515)
* Multiple versions with __dirname

* Fallback for __dirname

* Update path

* Flatten versions extracted

* Expand display for versions
2020-02-03 13:21:46 +01:00
Jaco Greeff ea9ad6f389 2.0 (#514) 2020-01-30 16:08:33 +01:00
Jaco Greeff b8411bb0ea Bump deps (#513)
* Bump deps

* Linting
2020-01-29 10:23:27 +01:00
Jaco Greeff 98bdc9950a Introduce detectPackage (with versioning) (#508)
* Introduce detectPackage (with versioning)

* Update expectation
2020-01-28 17:13:02 +01:00
Jaco Greeff 4ce452b40a Remove client-only packages (#503) 2020-01-15 12:27:12 +01:00
Jaco Greeff c776f0d815 1.8 (#499) 2020-01-09 11:05:30 +01:00
Jaco Greeff c988d5011c 1.7 (#493) 2019-11-27 19:49:06 +01:00
Jaco Greeff 76a9f2787c assert does asserts conditions (TS 3.7) (#489)
* assert does asserts conditions (TS 3.7)

* Throw in condition

* Fix cleanup
2019-11-11 09:43:05 +01:00
Jaco Greeff 563dbbf7e4 1.6 (#484) 2019-10-24 13:41:06 +02:00
Jaco Greeff fb2c51a49b Extend sign(message, options?) with withType (#483) 2019-10-24 12:10:11 +02:00
Jaco Greeff a512766bfb 1.5 (#473) 2019-09-25 12:37:59 +02:00
Jaco Greeff c13c2022ca Proper ss58Format check (allows 0) (#472) 2019-09-19 11:09:17 +02:00
Jaco Greeff 16d077c87d ss58Format option for Keyring (#471)
* ss58Format option  for Keyring

* Expose setSS58Format everywhere

* Remove setAddressPrefix

* 1.4.0
2019-09-12 13:59:03 +02:00
Jaco Greeff 00374effc5 string <-> hex conversion utilities (#470)
* string <-> hex conversion utilities

* Add tests
2019-09-12 13:48:06 +02:00
Jaco Greeff dc55f2170f 1.3.1 (#467)
* 1.3.1

* CHANGELOG bump
2019-09-10 19:08:12 +02:00
Jaco Greeff a5d23696e6 Remove ExtError 2019-09-10 17:44:47 +02:00
Jaco Greeff e2ec7d0108 1.2 (#466) 2019-09-09 14:08:18 +02:00
Jaco Greeff 1d0a4e727c 1.1 (#456) 2019-08-09 11:59:51 +02:00
Jaco Greeff 09e0b80dc6 assertSingleton warns, not throws (#455) 2019-08-09 10:13:43 +02:00
Jaco Greeff ae142b50df 1.0.0 (#452) 2019-08-02 20:52:51 +02:00
Jaco Greeff 15555614f6 formatBalance allows Compact inputs (#448) 2019-07-27 07:34:00 +02:00
Jaco Greeff 8fdfd7ff55 0.94 (#445) 2019-07-20 10:22:15 +02:00
Jaco Greeff 66803c5623 0.93 (#423) 2019-06-14 10:15:53 +02:00
Axel Chalon 3c253ec2c4 Simplify @polkadot/keyring KeyringPair (#419)
* Simplify @polkadot/keyring KeyringPair

* Fix keypair.address not taking prefix changes into account

* Merge master, update CHANGELOG

* Use getter for keypair.publicKey

* Fix import

* Fix isLocked; add test
2019-06-13 07:56:24 +02:00
Jaco Greeff 6065e10db7 Bump deps (#421) 2019-06-12 15:33:56 +02:00
Jaco Greeff bb8877894b Cater for negative values in number formats (#415)
* Cater for negative values in number formats

* Handle edge-case where -text is provided
2019-06-04 09:43:11 +02:00
Jaco Greeff d916ca15bb Move keyring impl. to keyring, index only exports (#408)
* Move keyring impl. to keyring, index only exports

* CHANGELOG typo
2019-05-22 10:06:51 +02:00
Jaco Greeff 8d869002bd Allow string params for sr25519/ed25519 sign & verify (#404)
* Allow string params for sr25519/ed25519 sign & verify

* Bump wasm

* Remove _'s from params (code-completion)
2019-05-09 16:10:54 +02:00