diff --git a/.circleci/config.yml b/.circleci/config.yml index 142e57b..d7e27b7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -4,7 +4,7 @@ jobs: docker: - image: circleci/node:10.13.0 # Run Plug node - - image: plugnet/plugblockchain:1.0.0-rc2 + - image: plugnet/plugblockchain:1.0.0-rc3.1 entrypoint: /usr/local/bin/plug command: - --dev diff --git a/README.md b/README.md index ad23e76..0249bb2 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,10 @@ async function main() { } ``` + +## Build +To build the package for distribution run: +``` +tsc +``` + diff --git a/dist/index.d.ts b/dist/index.d.ts index d388f66..f70f7eb 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -4,5 +4,6 @@ declare const PlugRuntimeTypes: { Doughnut: typeof Doughnut; ExtrinsicV4: typeof PlugExtrinsicV1; RewardBalance: string; + Address: string; }; export default PlugRuntimeTypes; diff --git a/dist/index.js b/dist/index.js index cdbbf10..cd386c4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -23,5 +23,7 @@ const PlugRuntimeTypes = { ExtrinsicV4: Extrinsic_1.default, // The staking reward currency type RewardBalance: 'Balance', + // The chain address type is the AccountId type + Address: 'AccountId', }; exports.default = PlugRuntimeTypes; diff --git a/types/index.ts b/types/index.ts index edac28f..ee3841d 100644 --- a/types/index.ts +++ b/types/index.ts @@ -23,6 +23,8 @@ const PlugRuntimeTypes = { ExtrinsicV4: PlugExtrinsicV1, // The staking reward currency type RewardBalance: 'Balance', + // The chain address type is the AccountId type + Address: 'AccountId', }; export default PlugRuntimeTypes;