Jaco Greeff
869f9b7af9
InterfaceTypes -> keyof InterfaceRegistry ( #1928 )
...
* InterfaceTypes -> keyof InterfaceRegistry
* Renames
2020-02-23 13:43:37 +01:00
Jaco Greeff
553b3df0b2
Augment naming
2020-02-23 12:48:01 +01:00
Jaco Greeff
1fd157364b
Use allDefs in augment-types
2020-02-23 12:42:05 +01:00
Jaco Greeff
443706a6e0
Extract full interfaceRegistry ( #1927 )
...
* Extract full interfaceRegistry
* Move augment to top-level in api & types
* Type augment output
* Update with new augmented paths
* Update RPC path
2020-02-23 12:26:10 +01:00
Jaco Greeff
a35da085d6
Augment user type registry ( #1926 )
...
* Augment user type registry
* Augment InterfaceRegistry
* Addition api.createType test
* Import '@polkadot/types/interfaceAugment'
* Skip CC on generated
* Move augmentation to full path imports
* Output to augment-*
2020-02-23 11:48:40 +01:00
Jaco Greeff
6c5ef6ecd6
Generation scripts register user types ( #1925 )
...
* Generation scripts register user types
* Create augment.ts output
* Remove stray package
2020-02-23 10:22:55 +01:00
Jaco Greeff
196a0891b8
Use isChildClass & isBigInt from @polkadot/util ( #1924 )
...
* Use isChildClass & isBigInt from @polkadot/util
* Allow never
* Bumps
* Common 2.5.1
* Fix overrides
* Remove gh-pages script (in dev)
2020-02-22 17:02:03 +01:00
Jaco Greeff
51686f0cd4
Don't clobber global space in WS provider ( #1922 )
...
* Don't clbber global space in WS provider
* Re-use getWSClass
2020-02-22 13:56:37 +01:00
Jaco Greeff
a3d5ef790c
Move StorageData to interface ( #1918 )
...
* Move StorageDate to interface
* Move extrinsics interfaces
* Update interface imports
2020-02-21 14:13:23 +01:00
Jaco Greeff
85ec141b56
Lazy reaping types & updates ( #1914 )
...
* Lazy reaping types & updates
* system.account queries
* AccountInfo -> ContractAccountInfo tests
2020-02-21 12:37:17 +01:00
Jaco Greeff
1c1bfb295d
VecFixed now take sub, align ext with UInt ( #1909 )
...
* Allow nested definitions for fixed arrays
* Comment nested test
* Don't import U8aFixed + u8
2020-02-20 21:36:12 +01:00
Jaco Greeff
543b4846f9
Fixed64 to an interface ( #1906 )
...
* Fixed64 to an interface
* Cleanups, re-use creation
* Fix Int export from codec
* Fix Int export
2020-02-20 13:03:29 +01:00
Jaco Greeff
bec6dba14a
Move primitive/Extrinsic -> extrinsic ( #1905 )
...
* Move primitive/Extrinsic -> extrinsic
* mv primitive/Generic -> generic
* Update registry with BitVec
* ove BitVec back to primitive
* Remove unused import
* Rebuild interfaces
2020-02-20 12:51:06 +01:00
Jaco Greeff
d041c0abb2
Support arbitrary UInt<bitLength> definitions ( #1891 )
...
* Support arbitrar UInt
* CHANGELOG
* Fix generation
* Move UInt
2020-02-18 16:39:18 +01:00
Jaco Greeff
bdd1e4c917
Move H160, H256 & H512 to interfaces ( #1890 )
...
* Move H160, H256 & H512 to interfaces
* Test for Hash -> H256
* Replace IHash & Codec.hash with H256
* [u8; n] extends U8aFixed
* Update formatting.ts
2020-02-18 15:56:50 +01:00
Jaco Greeff
8a152ea4c0
Split generation scripts into @polkadot/typegen ( #1875 )
...
* Split generation scripts into @polkadot/typegen
* Remove moved files
* CC overrides
* interfaces typo
* Cleanup imports
* Some import combinations
* Updates
* Generation updates
* Cleanups, split js wrapper & ts logic
* Rename jiggle 1
* Rename jiggle 2
* Style cleanups
* Expose enry function for scripts
* Typo
* Update script copy & include locations
* CC exclude location
* Minor adjustments
* argv parsing into main
2020-02-17 08:09:59 +01:00