Jaco Greeff
60d874cc55
fromJSON result on API ( #202 )
2018-10-04 15:17:01 +02:00
Travis CI
905577f6f8
[CI Skip] 0.30.23
2018-10-04 12:28:11 +00:00
Jaco Greeff
59e97832a3
Don't create when instanceof ( #201 )
2018-10-04 14:24:01 +02:00
Travis CI
c7970c231a
[CI Skip] 0.30.22
2018-10-04 12:19:23 +00:00
Jaco Greeff
605f11d768
Update api-observable to UI version ( #189 )
...
* Update api-observable to UI version
* Cleanup lint
2018-10-04 14:14:54 +02:00
Travis CI
67a3e75f31
[CI Skip] 0.30.21
2018-10-04 10:18:42 +00:00
Jaco Greeff
81348c60de
Small fixes in operation ( #200 )
...
* Small fixes in operation
* Move length encoding to Extrinsic
2018-10-04 12:15:01 +02:00
Travis CI
c5d713aa77
[CI Skip] 0.30.20
2018-10-04 09:20:27 +00:00
Jaco Greeff
02aba14e7e
Expose whenReady and extrinsics/storage ( #199 )
...
* Expose whenReady and extrinsics/storage
* Load genesisHash, expose
* Fix import
* whenReady -> Observable<boolean>
* Check isConnected before making call
* Fix import order
2018-10-04 11:16:45 +02:00
Travis CI
507377e2e2
[CI Skip] 0.30.19
2018-10-04 06:41:32 +00:00
Jaco Greeff
cce329b19a
UncheckedEncoding ( #192 )
...
* Re add type-extrinsics
* Add descriptor
* Add uncheked mortal extrinsic
* Add e2e test
* Add versionInfo and signatureInfo
* Skip e2e test
* Small updates
* Additions for era & extra types
* Move types to types, fixup tests
* Small test updates
* Update test for full decoding
2018-10-04 08:37:32 +02:00
Travis CI
e671b9381c
[CI Skip] 0.30.18
2018-10-04 06:25:01 +00:00
Jaco Greeff
a4572e42c2
Update tests
2018-10-04 08:21:12 +02:00
Travis CI
84df43ff06
[CI Skip] 0.30.17
2018-10-03 18:35:25 +00:00
Jaco Greeff
6ff847170d
Various minor tweaks all-around ( #194 )
...
* Fix exports for provider
* Cleanu jsonrpc method exposure
* name -> section
2018-10-03 20:31:23 +02:00
Travis CI
01b10aa520
[CI Skip] 0.30.16
2018-10-03 16:50:47 +00:00
Jaco Greeff
e9030fac39
Update Address/AccountIndex coding ( #186 )
2018-10-03 18:46:43 +02:00
Travis CI
e83a7aee81
[CI Skip] 0.30.15
2018-10-03 08:56:22 +00:00
Jaco Greeff
a38d1faea7
Remove Length, variable-prefix calls Compact directly ( #190 )
...
* Remove Length, variable-prefix calls Compact directly
* Only store originalLength
* s/Length/Compact/ is test description
2018-10-03 10:52:16 +02:00
Travis CI
0719e02e82
[CI Skip] 0.30.14
2018-10-02 14:00:13 +00:00
Jaco Greeff
51d4c45c48
Add toJSON function for substrate meta ( #188 )
2018-10-02 15:56:11 +02:00
Travis CI
69f712006c
[CI Skip] 0.30.13
2018-10-02 12:54:26 +00:00
Jaco Greeff
16bf2309e4
Allow override of storage method name ( #187 )
2018-10-02 14:50:05 +02:00
Travis CI
753cc73898
[CI Skip] 0.30.12
2018-10-02 11:26:04 +00:00
Jaco Greeff
29b221b94f
Naming changes for #184 ( #185 )
...
* Create TypeValue structure
* Cleanup create
* More nesting in types
* Trim types (just in case)
* Export stuff from createType
* TypeValue -> TypeDef
2018-10-02 13:22:09 +02:00
Travis CI
ae6895954c
[CI Skip] 0.30.11
2018-10-02 11:13:23 +00:00
Jaco Greeff
c7cd9cdfbf
Create TypeValue structure ( #184 )
...
* Create TypeValue structure
* Cleanup create
* More nesting in types
* Trim types (just in case)
2018-10-02 13:09:25 +02:00
Travis CI
e4805c2b8d
[CI Skip] 0.30.10
2018-10-02 09:34:37 +00:00
Jaco Greeff
48e57f9a55
Rename api-codec -> types ( #183 )
...
* Rename api-codec -> types
* Cleanups with exports (as found with use)
* Docs to build for /types
2018-10-02 11:30:45 +02:00
Travis CI
7e191db702
[CI Skip] 0.30.9
2018-10-02 09:14:05 +00:00
Jaco Greeff
2f60ba0e1c
Add method name & prefix to StorageFunction ( #182 )
...
* Add methods & prefix to StorageFunction
* Match method/section to exposed names
* Export method/section on extrinsic & jsonrpc
* PR comment prefix -> section
2018-10-02 11:10:17 +02:00
Travis CI
92d72d0007
[CI Skip] 0.30.8
2018-10-01 14:37:10 +00:00
Jaco Greeff
0c906e54f8
Properly toJSON() on StorageFunction ( #179 )
...
* Properly toJSON() on StorageFunction
* Add isZero(), cmp & toStringFormat
* Update tests for UInt toString()
2018-10-01 16:33:01 +02:00
Travis CI
69ab177468
[CI Skip] 0.30.7
2018-10-01 13:25:34 +00:00
Jaco Greeff
4fc0eedbe8
Expand e2e ( #178 )
...
* Expand e2e
* Add toJSON method for StorageFunction
2018-10-01 15:18:56 +02:00
Travis CI
3f997a1cda
[CI Skip] 0.30.6
2018-10-01 12:17:34 +00:00
Jaco Greeff
876c34c532
E2E testing ( #177 )
...
* Move e2e tests to provider
* Rx subscriptions
* Import @polkadot/api-provider, fix package names
* Decrease verbosity, skip all e2e tests
2018-10-01 14:11:43 +02:00
Travis CI
d230c05d16
[CI Skip] 0.30.5
2018-10-01 09:28:27 +00:00
Jaco Greeff
782bb8063c
Pull in observable API from UI ( #175 )
...
* Pull in observable api...
* Progress changing stuff...
* votingBalance
* Update resul types
* Expose toBn on Moment
* Rework... WIP
* ... More type cleanups
* Linting passes
* BN helpers for UInt
* Update api-observable
* Add api-observable package.json
* Allow Struct/Tuple to create from hex string
* Future-proof Length with bitLength (u64/u128 compant encoding PR out)
* Make Compact number encoding shareable
* Split Api into functional sections
* Cleanup types
* Additional per-use comments
* Remove params/primitives from README
* api-format -> api-codec
* Whitespace.
2018-10-01 11:22:15 +02:00
Travis CI
465d986de1
[CI Skip] 0.30.4
2018-10-01 08:49:25 +00:00
Amaury Martiny
8840f33d20
Rewrite type-extrinsics ( #173 )
...
* Cleanup jsonrpc, refer to api-codec
* Remove misplaced debug log
* Add metadat array (hack around json import)
* Move json metadata to ts
* Rewrite type-extrinsics
* Make tests pass in type-params
* Skip failing tests in type-primitives
* Use legacy type for legacy stuff
* Remove useless comments
* Remove type params (finally)
* Remove type-primitives (!)
* Remove legacy stuff
* Remove useless import
* Remove useless file
* Update header
* Remove useless files
* Fix test
* Typo
* Export default
* Fix test
* Add index counting
* Fix test index counting
* toNumber() on id
* Fix bug u8a
2018-10-01 10:43:05 +02:00
Travis CI
3d552d96fd
[CI Skip] 0.30.3
2018-09-28 16:42:50 +00:00
Jaco Greeff
b3a95b58ed
Cleanup jsonrpc, refer to api-codec ( #174 )
...
* Cleanup jsonrpc, refer to api-codec
* Move storagekey legacy into type-params (legacy)
* Remove misplaced debug log
* Remove header encoding, use api-codec/Header
* Remove legacy types
* Add metadat array (hack around json import)
* Move json metadata to ts
2018-09-28 18:35:39 +02:00
Travis CI
62ed0a7b3f
[CI Skip] 0.30.2
2018-09-28 13:48:04 +00:00
Jaco Greeff
74737b6367
API formatting for inputs & outputs ( #171 )
...
* API formatting for inputs & outputs
* Shorten naming
* getStorage (signle key) operational
* Remove api-format (not used in api anymore)
* Cleanup creation logic
* Cleanup linting
* Cleanup storage creation
* e2e state test
* Add code test
* Add isBare flag to toU8a
* Uppercase... wtill wrong though
* Update metadata json
* We are creating keys properly
* Cleanup tslint
* Type splitting,m handling Tuple & Vector
* StorageChangeSet results in-place
* Update deps
* Allow Tuples to have array constructors
* Test for uncloded vec/tuple
* Update deps
2018-09-28 15:42:23 +02:00
Travis CI
8380455599
[CI Skip] 0.30.1
2018-09-27 11:17:47 +00:00
Jaco Greeff
170c33708b
Bump version (new codec) ( #170 )
2018-09-27 13:12:58 +02:00
Jaco Greeff
773358195a
Round out metadata types ( #169 )
...
* Fake Origin for compatibility
* Add Gas
* Add Moment
* Cleanups
* NewAccountOutcome
* Permill & Perbill
* PrendingExtrinsics -> PendingExtrinsics
* Extrinsics & PendingExtrinsics
* Alias String -> Text (as found in jsonrpc, expose it)
* MetaDate -> Metadata (compat)
* Add StorageData, StorageKey & ChangeSet
* Cleanup comments
* Comment update
* Comment typo
* Add ParachainId
* Add Tuple type
* Tuple tests
* Clenaup Tuple generics
* Expand comment
* Expose keys/values on struct
* Array-like at -> get
* Cleanup & simplify EnumType
* Use setValue internally to fromU8a
* Add RuntimeVersion
* Expose RuntimeVersion
2018-09-27 12:42:20 +02:00
Travis CI
79860b6b30
[CI Skip] 0.29.13
2018-09-27 10:31:56 +00:00
Amaury Martiny
cbd3246c26
Rewrite type-storage ( #164 )
...
* Only modify type-storage folder to avoid conflicts
* Use new syntax
* Export default
* Add legacy code
* Skip outdates tests
* Use fromJSON for metadata
* Add comment to move function to repo
* Add whitespace
* Add type
* Use original files
* Fix bug test
* Simplify code
* Fix bug initializing well known keys
* Rename well known keys to substrate
* Linting
* Linting
2018-09-27 12:25:58 +02:00