Skip to content

Commit

Permalink
chore(release): publish v0.1.0 - [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
sinzii committed Jul 25, 2024
1 parent 8960fe8 commit 45b06c1
Show file tree
Hide file tree
Showing 16 changed files with 30 additions and 44 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.0.1-alpha.166",
"version": "0.1.0",
"npmClient": "yarn",
"granularPathspec": false
}
2 changes: 1 addition & 1 deletion packages/chaintypes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dedot/chaintypes",
"version": "0.0.1-alpha.166",
"version": "0.1.0",
"description": "Types for substrate-based chains",
"author": "Thang X. Vu <[email protected]>",
"main": "src/index.ts",
Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/aleph/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -60,8 +59,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = AlephRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/astar/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -56,8 +55,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = AstarRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/kusama/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -97,8 +96,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = StagingKusamaRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/kusamaAssetHub/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes } from 'dedot/codecs';
import type {
Expand Down Expand Up @@ -53,8 +52,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = AssetHubKusamaRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/moonbeam/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
AccountId20Like,
Expand Down Expand Up @@ -66,8 +65,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = MoonbeamRuntimeRuntimeCallLike,
> = Extrinsic<AccountId20Like, T, AccountEthereumSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/paseo/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -101,8 +100,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = PaseoRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/polkadot/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -100,8 +99,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = PolkadotRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/polkadotAssetHub/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes } from 'dedot/codecs';
import type {
Expand Down Expand Up @@ -53,8 +52,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = AssetHubPolkadotRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/rococo/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -86,8 +85,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = RococoRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/rococoAssetHub/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes } from 'dedot/codecs';
import type {
Expand Down Expand Up @@ -52,8 +51,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = AssetHubRococoRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/substrate/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -113,8 +112,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = KitchensinkRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/westend/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type {
MultiAddressLike,
Expand Down Expand Up @@ -99,8 +98,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = WestendRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/westendAssetHub/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes } from 'dedot/codecs';
import type {
Expand Down Expand Up @@ -55,8 +54,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = AssetHubWestendRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down
5 changes: 2 additions & 3 deletions packages/chaintypes/src/westendPeople/tx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import type {
RpcVersion,
RpcV2,
ISubmittableExtrinsicLegacy,
TxStatus,
} from 'dedot/types';
import type { MultiAddressLike, Extrinsic, BytesLike, H256, AccountId32Like, FixedBytes, Data } from 'dedot/codecs';
import type {
Expand Down Expand Up @@ -39,8 +38,8 @@ export type ChainSubmittableExtrinsic<
T extends IRuntimeTxCall = PeopleWestendRuntimeRuntimeCallLike,
> = Extrinsic<MultiAddressLike, T, SpRuntimeMultiSignature, any[]> &
(Rv extends RpcV2
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord, TxStatus>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord, TxStatus>>);
? ISubmittableExtrinsic<ISubmittableResult<FrameSystemEventRecord>>
: ISubmittableExtrinsicLegacy<ISubmittableResult<FrameSystemEventRecord>>);

export type TxCall<Rv extends RpcVersion> = (...args: any[]) => ChainSubmittableExtrinsic<Rv>;

Expand Down

0 comments on commit 45b06c1

Please sign in to comment.