Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
4913cf65fd
Move api-derive to correct location ( #4343 )
...
* Move api-derive to correct location
* Adjust (linting ok)
* No composite
* ApiDerive split
* Adjust
* Still WIP, getting closer
* It lints
* derive build issues sorted
* It builds :)
* Add system_health to mock
* api-augment usage
* Cleanups
* Adjust paths
* linting
* Some <'s
* Revert <>'s
* linting
* ordering
* Augmentation tweaks
* yarn.lock
* export
2021-12-18 09:18:55 +02:00
Jaco
736fd536f9
Use tsconfig references ( #4328 )
...
* Use tsconfig references
* Move types-known (temp until lower-level split)
* Sources
* Adjust
* tesconfig.eslint.json
* Bumps
* AdjustAdjust
* Linting passing... a start...
* Adjust
* Merge derive
* Merge
* api-contract-support
* It builds?
* compare locations
2021-12-14 12:04:50 +02:00
Jaco
59c2327768
Add firstMemo (dedupes) ( #4321 )
...
* Add firstMemo (dedupes)
* Adjust
* flatten
* Readability
* Readability
2021-12-12 08:47:58 +02:00
Jaco
63a55d2f8a
Cleanups for bestNumber derives ( #4318 )
...
* Cleanups for bestNumber derives
* Unused imports
* Re-exports of types for *.d.ts outputs
2021-12-11 09:35:52 +02:00
Jaco
969151c4a7
Additional derive cleanups ( #4308 )
...
* Additional derive cleanups
* unwrapNumber
* Adjust
2021-12-09 12:54:51 +02:00
Jaco
ff3882f5f7
Bump common (w/ rxjs 7) ( #3736 )
...
* Bump common (w/ rxjs 7)
* Adjust
* pre bump
* Cleanup imports
* Add missing switchMap
* CHANGELOG
* Remove duplicate imports
* Bump common
* Direct rxjs import
2021-07-07 09:26:30 +02:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
208fbb24d5
Build esm (& add x-rxjs package) ( #2942 )
2020-12-11 18:44:23 +01:00
Jaco Greeff
8e6a1c8fb1
Bump dev (sort imports) ( #2923 )
...
* Bump dev (sort imports)
* Resort
* Adjust ApiInterfaceRx
2020-12-07 16:26:19 +01:00
Jaco Greeff
0e52e8fe23
Some type imports (interfaces) ( #2887 )
...
* Some type imports (interfaces)
* Additional
* Additional
* Small movements/fixes
* Additional
* Additional
* Unsaved...
2020-12-02 10:12:19 +01:00
Jaco Greeff
cdd6544e20
SPDX ( #2619 )
2020-09-17 16:31:06 +02:00
Jaco Greeff
b6d1be6ee5
Only memomize via instanceId ( #2572 )
...
* Add memoizee instanceId
* Gotcha.
* linitng
2020-09-02 17:13:38 +02:00
Jaco Greeff
4e756704ea
Some minor cleanups ( #1966 )
...
* Some minor cleanups
* Small additions
* Cleanup ExtrinsicEra decoding
* Minor adjustments
* Remove support for metadata v0 parsing
* Adjust refCountDelay
* refCountDelay comments
* Adjust Metadata tests
* Metadata default creation
* Funky lines
* Cleanup as AccountIdAndIndex
* Some derive returns
* Try and cleanup info extraction
2020-02-27 15:01:20 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Jaco Greeff
2875fdf2cf
Wrap all derives in memo (like rpc-core) ( #1564 )
2019-11-11 14:25:07 +01:00
Jaco Greeff
3998b1bcbd
Whack derive memo ( #1546 )
...
* Whack derive memo
* Bump common
2019-11-05 14:36:53 +01:00
Jaco Greeff
2371d6a29c
Remove double-up-drr (memo vs rpc) ( #1541 )
...
* Remove inner memo (no double-up on stringify)
* Validators-specific query
2019-11-03 23:47:55 +01:00
Jaco Greeff
e601ae27a1
Re-add derive memo (def. has an impact) ( #1539 )
2019-11-03 13:28:42 +01:00
Jaco Greeff
506b042f8c
Remove derive memos ( #1538 )
...
* Remove derive memos
* Remove outer memo
* Over-eager replace
2019-11-03 11:38:36 +01:00
Jaco Greeff
7cc961f789
Staking overview derive ( #1537 )
...
* Staking overview derive
* Expand derives
* Extract currentIndex/currentEra
* WIP
* Controllers opt
* Add memo
* Memomize the whole lot
* Doc building fixes
* Doc fixes #2
2019-11-02 23:10:10 +01:00
Jaco Greeff
dc105e6b31
Sub/unsub cleanups ( #1535 )
...
* Sub/unsub cleanups
* drr full idAndIndex
* Memo on nick call
* refCountDelay
* Remove scheduler param, always asap
* Flatten
* Test cleanups
* Make tests pass
* Remove logs
* Drop nick memo
* sourceConnection.unsubscribe
* Small cleanups
2019-11-01 14:17:47 +01:00
Jaco Greeff
fbac330e10
Minor readability enhancements ( #1313 )
...
* Minor readability enhancements
* Split unwieldly ApiBase
* Fix import case
* Some movements, init in root
* Simplify overloaded functions
* Some more reworks
* Hoist non-class functions
* Flatten
* Split decorate and init
* Split meta from chain
* getNext cleanup
2019-08-16 00:42:54 +02:00
Amaury Martiny
92044d471c
Make api.rpc.*.* typed ( #1237 )
...
* Generate correctly
* Fix rpc-core
* Flexible types
* Make types work!
* Lint
* Fix grumble
* Re generate
* Fix lint
* Fix small bugs
* Maybe really fix lint?
* Fix lint again
* Fix lint
* Small ordering & formatting changes while playing...
2019-08-01 10:46:28 +02:00
Jaco Greeff
70bc823d25
Make Block, Header & Digest generic ( #1196 )
...
* Make Block, Header & Digest generic
* It lints
* Linting passes, tests passes
2019-07-26 14:34:41 +02:00
Jaco Greeff
2a37b8746d
Rename srml to interfaces ( #1198 )
...
* Rename srml to interfaces
* newline, package.json
2019-07-26 12:08:17 +02:00
Jaco Greeff
39323a8896
Convert all type/* (and some primitives) to srml/* ( #1189 )
...
* Convert (almost-all) non-primitives (and some primitives) to srml/*
* Move Vote to primitives, remove type folder
* Move Balance :-o
* Fixup tests, override Balance.toRaw()
2019-07-25 16:34:47 +02:00
Jaco Greeff
71c5920b1f
eslint rules ( #1099 )
...
* Off to the races - 3760 problems (1794 errors, 1966 warnings)
* Convert Array<T> -> T[] (not all correct, eg. extends)
* () => { -> (): void => {
* get is/as -> public get is/as
* public for getters, constructors & base Codec
* Some cleanups from previous overzealous search & replace
* Under 2k, 1874 problems (649 errors, 1225 warnings)
* ^^^ check that commit for details ;)
* Minor.
* rm config header
* Minor cleanups
* Default to tslint, eslint as option
* Trigger
* Update jsonrpc
* 1494 problems (433 errors, 1061 warnings)
* 1103 problems (135 errors, 968 warnings)
* 899 problems (9 errors, 890 warnings)
* 483 problems (9 errors, 474 warnings) (ignore any... for now)
* 366 problems (9 errors, 357 warnings)
* 336 problems (9 errors, 327 warnings)
* 148 problems (9 errors, 139 warnings)
* 31 problems (8 errors, 23 warnings)
* 0, 0
2019-07-14 12:15:14 +02:00
Stefanie Doll
c30d3a80e8
Added derive e2e tests and documentation ( #898 )
...
* export IExtrinsic
* Switch to localhos & enable tests in promise.spec
* Derive.accounts docs (copy from my other branch) + code examples
* Fixed existing accounts tests and added tests for all accounts.derive methods
* e2e tests and docs/ examples for balances.all and balances.fees
* Removed emty lines below jsdoc info
* tests & documentation dor derive.chain
* Addressed comments from former PR https://github.com/polkadot-js/api/pull/869
* Removed unused import
* obseralbe -> observable
* undo keith' commit
* use correct jsdocs syntax
* Re-enable skip
2019-05-15 11:50:28 +02:00
Stefanie Doll
db78aeb225
Fix for RPC bugs caused by uk spelling ( #904 )
...
* Replaced UK with US spelling
* -ised to -ized
* UK -> US spelling in chain rpc methods
* Tests for RPC chain methods on Alex
2019-05-14 21:27:16 +02: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