Jaco Greeff
bdd1ca4f3d
0.79 ( #944 )
...
* 0.79
* @polkadot/api -> *
2019-05-22 11:45:32 +02:00
Jaco Greeff
ce6738c270
Bump deps, align CHANGELOG ( #939 )
2019-05-22 09:18:33 +02:00
Amaury Martiny
6729da721a
Add .args breaking change ( #924 )
2019-05-16 15:19:15 +02:00
Jaco Greeff
5a857a33c8
codec/Set extends JS Set ( #917 )
2019-05-16 11:54:26 +02:00
Jaco Greeff
f7bd071013
0.78.1 ( #884 )
...
* update CHANGELOG
* Bump common
* Bump to 0.78
2019-05-08 17:41:48 +02:00
Amaury Martiny
9319cf184a
Update Changelog ( #859 )
2019-04-25 16:44:18 +02:00
Amaury Martiny
4dd320fc89
Use custom hasher for Map ( #857 )
...
* Use blake2 instead of two_x
* Add v4
* Update to new v4 static
* Update json
* Revert
* Use hasher enum
* Fix metadata v4 test
* Fix metadata v4 test
* Fix versioned metadata
* refactor & clean
* Use consistent naming
* Make jsons consistent
* Add backward compat
* Fix tests
* Start working on type-storage
* Fix output
* Grumble
* Update to latest static
* Clean code
* Fix imports
* Remove useless imports
* Fix tests
* Use prettier output for toJSON in metadata
* Implement different hashers
* Remove generic storageKey
* Bump version
* Add backwards-compat
* Fix hashing function, use Twox128
* Grumbles
* Add tests
2019-04-25 15:34:35 +02:00
Jaco Greeff
33924367bc
TreasuryProposal ( #825 )
2019-04-05 23:32:38 +02:00
Jaco Greeff
13d3f6861a
0.76
2019-04-03 16:26:17 +02:00
Jaco Greeff
8e6c5f693d
Contracts attachment ( #818 )
...
* WIP... just getting ti to work
* Export ContractAbi from types
* e2e testing
* Add selector encoding (calls)
* Linting
* Exapnd e2e tests
* TODO comments
* Add ABI types & isConstant flag
* Updated with actual steps (progress)
* Linting
* Cleanup event code
* Bump deps
* Bump deps (keyring mnemonic fix)
2019-04-02 21:21:00 +02:00
Jaco Greeff
b8863a0d14
Bump util-crypto (new wasm-crypto) ( #815 )
2019-03-30 19:24:49 +01:00
Jaco Greeff
6b8ecb26f2
0.75
2019-03-29 22:11:48 +01:00
Jaco Greeff
e2b15adaf2
Update keyring, new ss58 checksums ( #812 )
2019-03-29 15:16:11 +01:00
Jaco Greeff
6fef86cc78
Adjust support fo US English as per substrate ( #811 )
...
* Rename ExtinsicStatus Finalised -> Finalized
* Finalised heads -> Finalized
2019-03-29 14:12:56 +01:00
Jaco Greeff
7f901d76c0
0.52 ( #808 )
...
* 0.52
* Add PeerInfo info
* Bump version
* Bump common
2019-03-28 18:14:35 +01:00
Jaco Greeff
5a292db92f
Derive controllers from stashes ( #806 )
...
* Derive controllers from stashes
* Fix combineLatest import
2019-03-28 14:29:05 +01:00
Jaco Greeff
45e524371e
Add Key to types, bump util for assert typeof fix ( #800 )
...
* Add Key to types, bump util for assert typeof fix
* Export default
* docs
2019-03-27 10:25:07 +01:00
Jaco Greeff
c827bdbbec
Check for multiple api & types instances ( #797 )
2019-03-26 17:13:15 +01:00
Jaco Greeff
e63ecfb50a
0.51
2019-03-25 13:07:46 +01:00
Jaco Greeff
4a35380ea2
0.50
2019-03-23 08:40:28 +01:00
Jaco Greeff
9e36b8f00f
0.50
2019-03-23 08:37:23 +01:00
Jaco Greeff
f716881b87
Bump util-crypto (WASM with JS fallback) ( #791 )
2019-03-22 13:51:05 +01:00
Jaco Greeff
cfa27ff51e
0.49
2019-03-20 17:47:00 +01:00
Jaco Greeff
eccd695c79
0.48-stable ( #786 )
2019-03-18 17:11:38 +01:00
Jaco Greeff
7f2546e22d
Swap to publishing -beta.x on merge ( #775 )
2019-03-14 11:54:56 +01:00
Jaco Greeff
1ed1bfab9a
Cleanup Submittable interfaces for external use ( #755 )
...
* Cleanup Submittable interfaces for external use
* Update Struct.ts
2019-03-03 12:06:43 +01:00
Jaco Greeff
eaea8741df
Bump version ( #752 )
2019-03-01 13:53:14 +01:00
Jaco Greeff
f807a93e87
Handle storage with optional modifiers ( #717 )
...
* Handle storage with optional modifiers
* Storage docs indicate Option
* Cleanup Option logic
* Convert Optional derive to use Option
* Bump version, update changelog
* Update CHANGELOG description
* Enum.spec.js -> Enum.spec.ts
* Add isEmpty to primitive types
2019-02-19 13:47:36 +01:00
Jaco Greeff
cf5ca51f7f
Split types into primitive (base) & type (derived) ( #715 )
...
* Split types into primitves & structs
* Bump version (breaking change)
2019-02-19 09:40:14 +01:00
Jaco Greeff
ead67ec9d6
Integrate new keyring ( #693 )
...
* Integrate new keyring
* Bump
* Bump version
* ed25519 dusl-support
2019-02-14 23:17:02 +01:00
Jaco Greeff
c1a6f0230c
Cater for signature over hash (with version checks) ( #655 )
...
* Cater for signature over hash (with version checks)
* Allow Submittable signAndSend
* isUndefined for nonce check
* .sign with backwards compat
* e2e tests started
* Work around optional callback for Promise
* Commit actual e2e test
* Promise allows for submitExtrinsic
* e2e tests are passing
* Bump version, update CHANGELOG
2019-01-31 18:01:14 +01:00
Jaco Greeff
fd93fbc4a6
Support new versioned metadata format ( #632 )
...
* Start something...
* Parsing via proxy (everything still all-ok)
* Imp[ort order (minor)
* WIP expanding the structure
* Adjust V1 structure
* Parsing seems to do the trick...
* Add CodeHash and Schedule types
* //v0/ -> /v0/
* Update Extrinsic.ts
* Updated with compact outerDispatch, non-throw construction
* v1 to V0 conversion
* Bubble non-magic errors in constructor
* Update e2e after testing them
* Bump version with CHANGELOG (potentially breaking change)
2019-01-26 16:27:00 +01:00
Amaury Martiny
d07ed8ac38
Refactor api-promise/rx ( #566 )
...
* Use a generic abstract OnCall
* Add OnCall for Promise
* First run at fixing extrinsics
* Fix types
* Make submittable extrinsic work
* Move file
* Make derive work
* Fix types
* Only call metadata once
* Make tests pass
* Put event emitter in apirx
* Fix small bugs
* Fix tests
* Fix bug decorateStorage
* Make tests pass for tx
* Move rpc base to apirx
* Fix lint
* Fix small bugs
* Fix bug with isSubscription
* Fix codeclimate
* Revert
* Add tslint disable line
* Fix lint
* Skip e2e
* Typo
* Lint
* Re-add combinator back
* Add ._rx in Base
* Make extrinsics work
* Update derivex
* Fix bug lint
* Fix circular dep
* Fix bug e2e
* Remove useless check
* Add description comment
* Clean stuff
* Move assert to Base
* Bump version, update CHANGELOG
* Make _rx private
* Private emit
2019-01-16 15:42:59 +01:00
Jaco Greeff
54eada5d87
Allow handling of RPC errors, promise resolve/reject ( #572 )
...
* Allow handling of RPC errors, promise resolve/reject
* Revert doing too much, focus on api-promise only
* tap instead of map
* Bump version, CHANGELOG
2019-01-11 16:46:01 +01:00
Jaco Greeff
2e474d7b05
Compact<Index> minor bump, update CHANGELOG ( #551 )
...
* Comapct<Index> minor bump, updatANGELOG
* Update CHANGELOG.md
2019-01-08 15:05:10 +01:00
Jaco Greeff
b5d49ebbb2
Swap order of combinator inputs, fn + args (as in storage) ( #537 )
...
* Swap order of combinator inputs, fn + args (as in storage)
* Update api exposed combination
* Update CHANGELOG usage (small doc fix)
2019-01-07 10:14:14 +01:00
Jaco Greeff
6678d7255c
Remove api-observable ( #530 )
...
* 2019
* Remove api-observable
* tuples (SomeLonelyType) -> SomeLonelyType
* Bump to 0.37.0
2019-01-04 16:18:44 +01:00
Jaco Greeff
3be56ad56c
Subscriptions return unsubscribe/dispose function ( #527 )
...
* Combinator return unsubscribe/dispose function
* Submittable extrinsics return UnsubFunction
* RPC methods with unsub callback returns
* Update changelog, bump version
* CHANGELOG typo
* Fix combinator unsubscribes
* Be explicit in returns for UnsubFunction (combineLatest)
2019-01-03 16:31:09 +01:00
Jaco Greeff
5f5ce7a098
Bump package (should have been done with metadata, breaking) ( #507 )
2018-12-20 22:58:02 +01:00
Jaco Greeff
33a4280028
Expand ExtrinsicStatus to mirror Rust types ( #494 )
...
* Expand ExtrinsicStatus to mirror Rust types
* Remove .only
* Update test expectation
* typo
* Invalid extends Null
* Remove debug log
2018-12-19 13:39:20 +01:00
Jaco Greeff
5fa087e7c0
Return { status: ExtrinsicStatus } from tx send subscription ( #486 )
...
* Return { status: ExtrinsicStatus } from tx send subscription
* Added changelog
* Fix typo
* Bump version
* Bump deps
2018-12-18 11:13:32 +01:00