Commit Graph
809 Commits
Author SHA1 Message Date
Travis CI 05ab8d8764 [CI Skip] 0.32.13 2018-11-29 15:17:45 +00:00
Jaco Greeff 62d4e5f0fd Revert "Merge branch 'master' of github.com:polkadot-js/api"
This reverts commit 95e46700dd, reversing
changes made to d348f50dcf.
2018-11-29 16:13:04 +01:00
Jaco Greeff ffad4f1715 Revert "Define properties on Struct.with automatically"
This reverts commit d348f50dcf.
2018-11-29 16:12:58 +01:00
Jaco Greeff 95e46700dd Merge branch 'master' of github.com:polkadot-js/api 2018-11-29 16:10:54 +01:00
Jaco Greeff d348f50dcf Define properties on Struct.with automatically 2018-11-29 16:10:50 +01:00
Travis CI 1996ed7ded [CI Skip] 0.32.13 2018-11-29 14:49:56 +00:00
Jaco Greeff 80636157bc Bump example deps (#423) 2018-11-29 15:45:16 +01:00
Travis CI 99c7052102 [CI Skip] 0.32.12 2018-11-29 11:42:08 +00:00
Jaco Greeff 93d83b1dc5 Remove api-observable from README (#422) 2018-11-29 12:37:27 +01:00
Travis CI dec52abb00 [CI Skip] 0.32.11 2018-11-29 11:18:23 +00:00
Jaco Greeff 9092250acc Move types.d.ts -> types.ts (#421)
* Move types.d.ts -> types.ts

* Bump common deps
2018-11-29 12:13:28 +01:00
Travis CI b422f45640 [CI Skip] 0.32.10 2018-11-29 10:26:23 +00:00
Jaco Greeff 379e82af85 Bump dev, remove unused eslint config (#420) 2018-11-29 11:21:47 +01:00
Travis CI 252c59bc42 [CI Skip] 0.32.9 2018-11-28 15:38:02 +00:00
Jaco Greeff ecdd53eb43 Bump dev, tslint config (#418)
* Bump dev, tslint config

* Bump common
2018-11-28 16:33:27 +01:00
Travis CI 9638b0d7b6 [CI Skip] 0.32.8 2018-11-28 11:09:16 +00:00
Jaco Greeff 2aa78f2cad createType makes new instance, StorageData tests (#417)
* createType makes new instance, StorageData tests

* Unused import
2018-11-28 12:04:38 +01:00
Travis CI 2f3af48875 [CI Skip] 0.32.7 2018-11-27 13:49:33 +00:00
Jaco Greeff 5e5f8b8dab Bump deps, update with stricter TS checks from dev (#415)
* Bump deps, update with stricter TS checks from dev

* Add pretty to tsc
2018-11-27 14:44:51 +01:00
Travis CI 05bf1d3d8d [CI Skip] 0.32.6 2018-11-27 11:58:27 +00:00
Jaco Greeff 16df614b0c Bytes from StorageData (possibly prefixed) (#413)
* Bytes from StorageData (possibly prefixed)

* StorageData extends Data

* Cyclic-dep require, StorageData extends Bytes
2018-11-27 12:53:46 +01:00
Travis CI 06d69e51a8 [CI Skip] 0.32.5 2018-11-26 14:11:19 +00:00
Jaco Greeff 1a47d555a6 Allow ability to add raw signature (bytes) to Extrinsic (#412)
* Allow ability to add raw signature (bytes) to Extrinsic

* Linting

* Alphabetical

* Remove unused imports

* Export Immortal era constant
2018-11-26 15:06:36 +01:00
Travis CI d94eb549f6 [CI Skip] 0.32.4 2018-11-23 12:34:42 +00:00
Jaco Greeff 585350702d Update with Grandpa types (#411)
* Update with Grandpa types

* JSON rename for input/output

* JSON -> latest

* Revert rpc update

* Remove U8a | Uint8Array (equivalent)

* Justification is Bytes

* Update MisbehaviourReport

* Fix JSON
2018-11-23 13:29:54 +01:00
Travis CI 3fb7e1507e [CI Skip] 0.32.3 2018-11-22 13:49:01 +00:00
Jaco Greeff 4497be6f19 Cleanup api-observable Vector FIXMEs (#410)
* Cleanup api-observable Vector FIXMEs

* Simplify rawStorage

* Fix linting

* Bump deps
2018-11-22 14:44:11 +01:00
Travis CI 8c5cff55e1 [CI Skip] 0.32.2 2018-11-21 16:26:43 +00:00
Jaco Greeff d0ff8937a4 Use compact* from util for encoding (#409)
* Use compact* from util for encoding

* Remove @polkadot/extrinsics from types imports

* Cleanup manual length concat

* Add missing @polkadot/types dependencies
2018-11-21 17:21:44 +01:00
Travis CI 44ad29021b [CI Skip] 0.32.1 2018-11-21 12:42:02 +00:00
Jaco Greeff 4805f9cb36 Update LICENSE and README (#408)
* Update LICENSE and README

* Bump
2018-11-21 13:37:27 +01:00
Travis CI c66d83368b [CI Skip] 0.31.123 2018-11-20 16:09:22 +00:00
Mario Neises 141f761063 fix usage with typescript (#405)
* fix usage with typescript
- export Base within codec
- Codec is not generic
- use wildcard import for json rpc types

* remove unsued generic + remove unsued import

* import Codec instead of Base

* use correct import for codec type

* replace Base by Codec import and usage

* remove unsued import
2018-11-20 17:04:28 +01:00
Travis CI 7fc67826d7 [CI Skip] 0.31.122 2018-11-20 11:50:38 +00:00
Amaury Martiny b6dd43ee71 Vector extends Array (#404)
* Vector extends Array

* Update tests

* Add tests for Vector

* Remove .get on Vector

* Change back toString representation
2018-11-20 12:45:56 +01:00
Travis CI efa61a3c5f [CI Skip] 0.31.121 2018-11-19 10:43:20 +00:00
Amaury Martiny 9548f977f5 Simplify Base (#403)
* Convert Base to a wrapper

* Remove isEmpty

* Fix bug with storage

* Fix lint

* Fix imports

* Protected raw

* Remove useless imports

* Remove test for Base

* Use unwrap on Option

* Storage unwrap

* Use isNone

* Add test for accessing values

* Remove comment

* toU8a always return Uint8Array
2018-11-19 11:38:47 +01:00
Travis CI d369809835 [CI Skip] 0.31.120 2018-11-15 15:03:07 +00:00
Jaco Greeff 945818959a Use .toString() instead of .raw for metadata uniq (#402) 2018-11-15 15:58:20 +01:00
Travis CI 559e2ccba9 [CI Skip] 0.31.119 2018-11-15 14:00:35 +00:00
Amaury Martiny b580c12149 Bool extends Boolean (#401)
* Bool extends Boolean

* Private static

* Add tests for Bool

* Type
2018-11-15 14:55:50 +01:00
Amaury Martiny 681cda22b3 Moment extends Date (#400)
* Moment extends Date

* FIx tests

* Add comments

* Use toISOString

* Use toISOString
2018-11-15 14:51:51 +01:00
Travis CI 185ecd6fde [CI Skip] 0.31.118 2018-11-15 13:24:24 +00:00
Amaury Martiny f381a4d045 Text extends String (#399)
* Text extends String

* Fix type

* Cleaner code

* Add explicit return type
2018-11-15 14:19:41 +01:00
Travis CI ca2f69d086 [CI Skip] 0.31.117 2018-11-14 13:49:01 +00:00
Jaco Greeff 19aed57c98 Bump dependencies (#398) 2018-11-14 14:44:09 +01:00
Travis CI 9ad2e85e0b [CI Skip] 0.31.116 2018-11-14 11:39:41 +00:00
Amaury Martiny d097a7a32d UInt extends BN (#396)
* Fix Uint and Moment and Compact

* Fix address and account index

* Remove .toBN

* Add comment

* Fix lint

* _raw to raw

* bitLength as method in U8aFixed
2018-11-14 12:35:06 +01:00
Travis CI b9d93b5fa1 [CI Skip] 0.31.115 2018-11-14 10:15:49 +00:00
Jaco Greeff 67dd4987cf Bump deps (common) (#397) 2018-11-14 11:11:19 +01:00