Github Actions
bbdf0e3192
[CI Skip] release/beta 3.1.2-4
...
skip-checks: true
2020-12-22 10:51:07 +00:00
Jaco Greeff
9ee1c0bf13
AccountInfo with provider/consumers ( #2975 )
2020-12-22 11:42:47 +01:00
Github Actions
f4ec312656
[CI Skip] release/beta 3.1.2-2
...
skip-checks: true
2020-12-21 18:46:36 +00:00
Jaco Greeff
e1057603fc
MessageIngestionType (parachains) ( #2973 )
...
* MessageIngestionType (parachains)
* _'s
2020-12-21 19:39:46 +01:00
Jaco Greeff
757d45b39e
Few missing type imports ( #2972 )
2020-12-21 19:29:22 +01:00
Jaco Greeff
987896e323
Adjust for last remaining circular deps ( #2971 )
...
* Adjust for last remaining circular deps
* Remove RegistryMetadata duplication
* Update packages/typegen/scripts/polkadot-types-internal-interfaces.js
* typo
* Direct decorateExtrinsics import
2020-12-21 17:17:20 +01:00
Jaco Greeff
33990b6d02
Update types for parachains ( #2964 )
...
* Update types for parachains
* alias VecDeque
2020-12-18 16:25:53 +01:00
Jaco Greeff
33fd09c053
Bump dev
2020-12-18 11:33:28 +01:00
Jaco Greeff
aae4671db5
Bump common, detectPackage with callback
2020-12-17 12:49:05 +01:00
Jaco Greeff
d6106b3253
Allow detectPackage with import.meta.url ( #2962 )
...
* Allow detectPackage with import.meta.url
* Fix detectPackage import
* header naming
2020-12-16 15:46:02 +01:00
David and Jaco Greeff
62d1415d1b
Don't log full error ( #2952 )
...
* Don't log full error
In `txwrapper` we can't always know if a payload is a signing payload or a signed tx so we first try one and then the other. When the former fails users get a scary-looking error. If upstream logs the error there's little we can do about it lest we [monkey patch `console.error`](https://github.com/paritytech/txwrapper-core/pull/22/files#diff-ea2d1c5845dd0e2fb9814e98a3464c2c63a43922983391e98fe9c20c328e979cR55 ) which is nasty af.
Hence this PR that removes the log here so that downstream can choose what to do with the error message.
* Add UnsafeOptions to let callers decide if they want errors logged or not
* Update packages/api-contract/src/util.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* Update packages/rpc-core/src/index.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* Update packages/rpc-core/src/index.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* Update packages/types/src/create/createType.ts
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-12-16 13:12:50 +01:00
Github Actions
d709a5b3be
[CI Skip] release/beta 3.0.2-1
...
skip-checks: true
2020-12-15 14:00:58 +00:00
Jaco Greeff
1d3dfc77a3
Use package-info (name/version only) for detectPackage ( #2955 )
...
* Use package-info (name/version only) for detectPackage
* Fixed @polkadot/dev?
2020-12-15 14:52:27 +01:00
Antoine Estienne and Jaco Greeff
a72d33ad24
Add missing parachain types ( #2954 )
...
* adde dmissing types
* replaced id with u32
* Apply suggestions from code review
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* camelCase
* lint
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-12-15 14:51:55 +01:00
Jaco Greeff
208fbb24d5
Build esm (& add x-rxjs package) ( #2942 )
2020-12-11 18:44:23 +01:00
Jaco Greeff
948d8cccc1
Swap to Metadata <-> registry path imports ( #2934 )
...
* Swap to Metadata <-> registry path imports
* Call circulars
2020-12-09 12:09:20 +01:00
Alex D
6b4fd110a1
Types bundle derive ( #2932 )
...
* added derives typesBundle overrides
* fix lint
2020-12-09 11:01:33 +01:00
Jaco Greeff
a48eba101c
Adjust Type dependency on Text ( #2933 )
2020-12-09 11:01:11 +01:00
Github Actions
78b9d29fa0
[CI Skip] release/beta 2.10.2-5
...
skip-checks: true
2020-12-08 16:52:37 +00:00
Jaco Greeff
92c9ce15d6
Expand SessionKeys[n] definitions ( #2929 )
...
* Expand SessionKeys[n] definitions
* Update packages/types/src/interfaces/session/definitions.ts
2020-12-08 17:44:35 +01:00
Jaco Greeff
0cb7b34ff0
Update with new consumed Weight structures ( #2928 )
...
* Update with new consumed Weight structures
* dispatch(Info, Error} optional in result
* Update for maximumBlockWeight
2020-12-08 17:26:13 +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
8b4d3872d7
Bump metadata (w/ AssetBalance, AssetDetails) ( #2917 )
...
* Bump metadata (w/ AssetBalance, AssetDetails)
* Bluperint for new-style with salt as default
* Use TBalance
* Easier overrides
* Balance
* Build types
2020-12-06 11:31:54 +01:00
Jaco Greeff
b1291bfbe3
system_{addLogFilter, resetLogFilter} RPCs ( #2916 )
2020-12-06 10:51:05 +01:00
Jaco Greeff
b1d0eb9597
Revert "Add signExtrinsic on the Signer interface ( #2912 )"
...
This reverts commit a9e8388cc8 .
2020-12-04 12:54:14 +01:00
Jaco Greeff
a9e8388cc8
Add signExtrinsic on the Signer interface ( #2912 )
...
* Add signExtrinsic on the Signer interface
* Unused registry
2020-12-04 12:22:40 +01:00
Github Actions
eccc6cc2c9
[CI Skip] release/beta 2.9.2-2
...
skip-checks: true
2020-12-02 11:17:38 +00:00
Jaco Greeff
a7c2d11a56
Update parachain types ( #2895 )
2020-12-02 12:09:47 +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
d65eb7a27f
Raw slice with from (like subarray) ( #2879 )
...
* Raw slice with from (like subarray)
* Dep bumps
* 2.8.2
* re-use toU8a()
* Uint8Array.from
* slice on derived comment
2020-11-28 12:00:29 +01:00
Jaco Greeff
2906b02e41
IndicesLookupSource ( #2867 )
2020-11-22 14:51:22 +01:00
Jaco Greeff
20bdc6e63d
Additional type detection in MultiAddress ( #2866 )
...
* Additional type detection in MultiAddress
* instanceof self
2020-11-22 13:35:48 +01:00
Jaco Greeff
0871e074c7
RegistryMetadata exposes version ( #2860 )
2020-11-18 14:54:10 +01:00
Jaco Greeff
d3b13bceb0
Allow salt in contract deploy ( #2849 )
...
* Allow salt in contract deploy
* Mark deprecated
* Shorten
* Cleanups
* Additional cleanups
* Cleanups
* Explicit Bytes to decodeEvent
* Adjust method creation
* Allow null salt
2020-11-16 07:35:02 +01:00
Jaco Greeff
ce6c25e4e2
Tests & adjustments for encodeTypes ( #2853 )
...
* Tests & adjustments for encodeTypes
* explicit wrap types
* Remove params
* cleanups
2020-11-16 06:40:49 +01:00
Jaco Greeff
4e0d430504
Adjust generated @polkadot/types imports ( #2848 )
...
* Adjust generated @polkadot/types imports
* import type
* Only export types from codec/types
2020-11-13 10:46:16 +01:00
Jaco Greeff
4db33b6caf
Configurable extrinsic signature ( #2845 )
...
* Configurable extrinsic signature
* With Address override as well
2020-11-12 19:31:55 +01:00
Jaco Greeff
98b01a462d
Mark Polkadot 26 upgrade ( #2843 )
2020-11-12 16:33:26 +01:00
Jaco Greeff
f810e65ea2
Additional enum tests ( #2842 )
...
* Additional enum tests
* Adjust compare files
* Remove debug log
2020-11-12 14:45:32 +01:00
Jaco Greeff
98a2ef9d72
Support ABI files with wasm (.contract output) ( #2841 )
...
* Support ABI files with wasm (.contract output)
* AbiBase exports
* Additional default exports
* Remove any
* Fix build
2020-11-12 12:23:28 +01:00
Jaco Greeff
79e99fd6e3
Dev bump ( #2839 )
...
* Adjust internal generic imports
* Update dev
* Adjust primitive imports
* Class exports has uppercase variant
* common
* to* chenges
* Adjust EventData for registry creation
2020-11-11 12:58:35 +01:00
Jaco Greeff
d91460b79d
New contracts Schedule types ( #2792 )
2020-11-11 11:32:04 +01:00
Jaco Greeff
5a1fd4a1bb
Adjust internal generic imports ( #2838 )
2020-11-11 09:40:35 +01:00
Jaco Greeff
a8a956c85d
Re-enable esnext (with mjs) ( #2836 )
...
* Re-enable esnext (with mjs)
* Updates
* Adjust
2020-11-10 13:58:11 +01:00
Jaco Greeff
af9437f80a
Adjust create imports ( #2834 )
...
* Adjust create imports
* Restore create root exports
* Adjust unsafe creation
2020-11-10 11:14:38 +01:00
Jaco Greeff
e6dbbfae34
Adjust interfaces for cleaner esnext usage ( #2833 )
...
* Adjust interfaces for cleaner esnext usage
* Swap out esnext
2020-11-09 23:17:52 +01:00
Jaco Greeff
21d0622f84
Bump common ( #2832 )
...
* Bump common
* Update for new common non-default exports
* Don't export createSubmittable
* Adjust exports
* default export adjustments
* Some additional non-default exports
2020-11-09 19:41:29 +01:00
Jaco Greeff
94a4594d32
Cleanup assignments ( #2811 )
...
* Cleanup assignments
* Small adjustments
* Cleanup AnyJson results
* Event toHuman
2020-10-31 12:50:44 +01:00
Jaco Greeff
e855d5a9d4
Cater for new/old contracts_call results ( #2810 )
...
* Cater for new/old contracts_call results
* Update packages/types/src/interfaces/contracts/definitions.ts
* Allow RPC layer to output JSON
* Typing for json outputs
* Convert results
* RPC compat mapping
* Ensure RPC .json is exposed
* Remove compat layer
* Old error detection
* Map to unknown
* Update packages/rpc-core/src/index.ts
* linting
2020-10-31 11:18:58 +01:00
Jaco Greeff
161c121cb2
Cleanups for maintainability ( #2809 )
...
* Cleanups for maintainability
* Split referendumsInfo
* Extract didUpdate -> bool
* Era filtering
* Default to council
* Points cache
* Remove cache
* Move map arg
2020-10-30 14:28:38 +01:00