Xiliang Chen
ff52876920
allow Option in enum & Result type ( #2336 )
2020-06-08 07:45:22 +02:00
Xiliang Chen and Jaco Greeff
174510a928
use handlebars for code generation ( #2228 )
...
* use handlebars for code generation
* update docs
* fix isStrict
* fix lint
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* convert consts
* keep empty lines in doc comments
* update rpc
* update tx
* update interfaceRegistry
* update tsDef
* remove no longer used code
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-05-04 15:21:09 +02:00
Xiliang Chen
932122cd21
subscribeStorage parameter should be optional ( #2208 )
2020-04-26 13:32:43 +02:00
Xiliang Chen
ce5c8f7443
fix AssetOptions def ( #1714 )
2020-01-13 11:55:51 +01:00
Xiliang Chen
762b16ea13
make ts generate script more reusable ( #1610 )
...
* make ts generate script more reusable
* avoid use global definitions
* fix error
* fix formatting
* seems working
2019-12-03 22:04:41 +01:00
Xiliang Chen
0323b27da4
Generic Asset module type definitions ( #1229 )
...
* Fix missing type import for generated code
* Add GenericAsset module type definations
* eslint --fix
2019-07-30 06:47:14 +02:00
Xiliang Chen
46fee3125d
Start supporting double map ( #843 )
...
* double map fix
* update metadata to prevent error using double map
2019-05-13 11:53:46 +02:00
Xiliang Chen
91341e63ae
Update WithdrawReasons to match substrate ( #865 )
...
* Update WithdrawReasons to match substrate
* Linting, comment alignment
2019-05-03 10:16:16 +02:00
Xiliang Chen
19009d1112
update on socket close error message ( #794 )
2019-03-25 09:50:58 +01:00
Xiliang Chen
143cd2f9bb
Metadata v2 ( #792 )
...
* metadata v2
* Try to keep additional data form later metadata version
2019-03-23 12:40:55 +01:00
Xiliang Chen
97c6eca01f
fix peerId mapping ( #608 )
2019-01-21 00:37:10 +01:00
Xiliang Chen
9a4973237e
Fix Compact decode hex value ( #582 )
...
* decode header is broken
* Ignore length for Compact isHex check
2019-01-14 07:49:59 +01:00
Xiliang Chen
7b667cfb9f
Improve events ( #454 )
...
* Fix typo in docs
* Improve events
Expose `error` event
Add `once`
Allow method chaining for `on` and `once`
2018-12-10 10:46:04 +01:00
Xiliang Chen
82dcbe50d5
Type registry ( #428 )
...
* basic type registry
* register all buildin types
* get types from TypeRegistry
* Update Api constructor options to include additionalTypes
* Fix linter issue
* Style improvements and rename ApiBaseOptions to ApiOptions
* refactor Api classes constructor options
2018-11-30 15:52:40 +01:00