From 8ad0e9cd1d029fe3f6f3c0ffadb3577194c33716 Mon Sep 17 00:00:00 2001 From: Jordan Beauchamp Date: Tue, 28 Apr 2020 10:19:31 +1200 Subject: [PATCH 1/2] Try fix #12 --- README.md | 7 +++++++ dist/index.d.ts | 1 + dist/index.js | 2 ++ types/index.ts | 2 ++ 4 files changed, 12 insertions(+) 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; From aad7b2c2c08698fa9975e8f8e4aab9a4e302d823 Mon Sep 17 00:00:00 2001 From: Jordan Beauchamp Date: Tue, 28 Apr 2020 10:20:03 +1200 Subject: [PATCH 2/2] Update to latest plug tag --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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