@substrate/api-sidecar 12.4.2 → 12.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "12.4.2",
2
+ "version": "12.4.3",
3
3
  "name": "@substrate/api-sidecar",
4
4
  "description": "REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.",
5
5
  "homepage": "https://github.com/paritytech/substrate-api-sidecar#readme",
@@ -53,8 +53,8 @@
53
53
  "update-pjs-deps": "substrate-update-pjs-deps && yarn"
54
54
  },
55
55
  "dependencies": {
56
- "@polkadot/api": "^9.0.1",
57
- "@polkadot/util-crypto": "^10.1.2",
56
+ "@polkadot/api": "^9.1.1",
57
+ "@polkadot/util-crypto": "^10.1.3",
58
58
  "@substrate/calc": "^0.2.8",
59
59
  "argparse": "^2.0.1",
60
60
  "confmgr": "1.0.9",
@@ -0,0 +1,5 @@
1
+ import { ControllerConfig } from '../types/chains-config';
2
+ /**
3
+ * Controllers for Heiko collator
4
+ */
5
+ export declare const heikoControllers: ControllerConfig;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // Copyright 2017-2022 Parity Technologies (UK) Ltd.
3
+ // This file is part of Substrate API Sidecar.
4
+ //
5
+ // Substrate API Sidecar is free software: you can redistribute it and/or modify
6
+ // it under the terms of the GNU General Public License as published by
7
+ // the Free Software Foundation, either version 3 of the License, or
8
+ // (at your option) any later version.
9
+ //
10
+ // This program is distributed in the hope that it will be useful,
11
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ // GNU General Public License for more details.
14
+ //
15
+ // You should have received a copy of the GNU General Public License
16
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.heikoControllers = void 0;
19
+ const lruCache_1 = require("./cache/lruCache");
20
+ /**
21
+ * Controllers for Heiko collator
22
+ */
23
+ exports.heikoControllers = {
24
+ controllers: [
25
+ 'AccountsAssets',
26
+ 'AccountsBalanceInfo',
27
+ 'AccountsValidate',
28
+ 'AccountsVestingInfo',
29
+ 'Blocks',
30
+ 'BlocksExtrinsics',
31
+ 'NodeNetwork',
32
+ 'NodeTransactionPool',
33
+ 'NodeVersion',
34
+ 'PalletsAssets',
35
+ 'PalletsStorage',
36
+ 'Paras',
37
+ 'RuntimeCode',
38
+ 'RuntimeMetadata',
39
+ 'RuntimeSpec',
40
+ 'TransactionDryRun',
41
+ 'TransactionFeeEstimate',
42
+ 'TransactionMaterial',
43
+ 'TransactionSubmit',
44
+ ],
45
+ options: {
46
+ finalizes: true,
47
+ minCalcFeeRuntime: 1,
48
+ blockStore: (0, lruCache_1.initLRUCache)(),
49
+ },
50
+ };
51
+ //# sourceMappingURL=heikoControllers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heikoControllers.js","sourceRoot":"","sources":["../../../src/chains-config/heikoControllers.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,8CAA8C;AAC9C,EAAE;AACF,gFAAgF;AAChF,uEAAuE;AACvE,oEAAoE;AACpE,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,iEAAiE;AACjE,gEAAgE;AAChE,+CAA+C;AAC/C,EAAE;AACF,oEAAoE;AACpE,wEAAwE;;;AAGxE,+CAAgD;AAEhD;;GAEG;AACU,QAAA,gBAAgB,GAAqB;IACjD,WAAW,EAAE;QACZ,gBAAgB;QAChB,qBAAqB;QACrB,kBAAkB;QAClB,qBAAqB;QACrB,QAAQ;QACR,kBAAkB;QAClB,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,eAAe;QACf,gBAAgB;QAChB,OAAO;QACP,aAAa;QACb,iBAAiB;QACjB,aAAa;QACb,mBAAmB;QACnB,wBAAwB;QACxB,qBAAqB;QACrB,mBAAmB;KACnB;IACD,OAAO,EAAE;QACR,SAAS,EAAE,IAAI;QACf,iBAAiB,EAAE,CAAC;QACpB,UAAU,EAAE,IAAA,uBAAY,GAAE;KAC1B;CACD,CAAC"}
@@ -26,12 +26,14 @@ const defaultControllers_1 = require("./defaultControllers");
26
26
  const dockMainnetControllers_1 = require("./dockMainnetControllers");
27
27
  const dockPoSMainnetControllers_1 = require("./dockPoSMainnetControllers");
28
28
  const dockPoSTestnetControllers_1 = require("./dockPoSTestnetControllers");
29
+ const heikoControllers_1 = require("./heikoControllers");
29
30
  const karuraControllers_1 = require("./karuraControllers");
30
31
  const kiltControllers_1 = require("./kiltControllers");
31
32
  const kulupuControllers_1 = require("./kulupuControllers");
32
33
  const kusamaControllers_1 = require("./kusamaControllers");
33
34
  const mandalaControllers_1 = require("./mandalaControllers");
34
35
  const mantaControllers_1 = require("./mantaControllers");
36
+ const parallelControllers_1 = require("./parallelControllers");
35
37
  const polkadotControllers_1 = require("./polkadotControllers");
36
38
  const polymeshControllers_1 = require("./polymeshControllers");
37
39
  const shidenControllers_1 = require("./shidenControllers");
@@ -63,6 +65,8 @@ const specToControllerMap = {
63
65
  manta: mantaControllers_1.mantaControllers,
64
66
  crust: crustControllers_1.crustControllers,
65
67
  bifrost: bifrostControllers_1.bifrostControllers,
68
+ heiko: heikoControllers_1.heikoControllers,
69
+ parallel: parallelControllers_1.parallelControllers,
66
70
  };
67
71
  /**
68
72
  * Return an array of instantiated controller instances based off of a `specName`.
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/chains-config/index.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,8CAA8C;AAC9C,EAAE;AACF,gFAAgF;AAChF,uEAAuE;AACvE,oEAAoE;AACpE,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,iEAAiE;AACjE,gEAAgE;AAChE,+CAA+C;AAC/C,EAAE;AACF,oEAAoE;AACpE,wEAAwE;;;AAIxE,gDAA6C;AAI7C,yDAAsD;AACtD,yDAAsD;AACtD,6DAA0D;AAC1D,+DAA4D;AAC5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AC"}
@@ -0,0 +1,5 @@
1
+ import { ControllerConfig } from '../types/chains-config';
2
+ /**
3
+ * Controllers for Parallel collator
4
+ */
5
+ export declare const parallelControllers: ControllerConfig;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ // Copyright 2017-2022 Parity Technologies (UK) Ltd.
3
+ // This file is part of Substrate API Sidecar.
4
+ //
5
+ // Substrate API Sidecar is free software: you can redistribute it and/or modify
6
+ // it under the terms of the GNU General Public License as published by
7
+ // the Free Software Foundation, either version 3 of the License, or
8
+ // (at your option) any later version.
9
+ //
10
+ // This program is distributed in the hope that it will be useful,
11
+ // but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ // GNU General Public License for more details.
14
+ //
15
+ // You should have received a copy of the GNU General Public License
16
+ // along with this program. If not, see <http://www.gnu.org/licenses/>.
17
+ Object.defineProperty(exports, "__esModule", { value: true });
18
+ exports.parallelControllers = void 0;
19
+ const lruCache_1 = require("./cache/lruCache");
20
+ /**
21
+ * Controllers for Parallel collator
22
+ */
23
+ exports.parallelControllers = {
24
+ controllers: [
25
+ 'AccountsAssets',
26
+ 'AccountsBalanceInfo',
27
+ 'AccountsValidate',
28
+ 'AccountsVestingInfo',
29
+ 'Blocks',
30
+ 'BlocksExtrinsics',
31
+ 'NodeNetwork',
32
+ 'NodeTransactionPool',
33
+ 'NodeVersion',
34
+ 'PalletsAssets',
35
+ 'PalletsStorage',
36
+ 'Paras',
37
+ 'RuntimeCode',
38
+ 'RuntimeMetadata',
39
+ 'RuntimeSpec',
40
+ 'TransactionDryRun',
41
+ 'TransactionFeeEstimate',
42
+ 'TransactionMaterial',
43
+ 'TransactionSubmit',
44
+ ],
45
+ options: {
46
+ finalizes: true,
47
+ minCalcFeeRuntime: 1,
48
+ blockStore: (0, lruCache_1.initLRUCache)(),
49
+ },
50
+ };
51
+ //# sourceMappingURL=parallelControllers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parallelControllers.js","sourceRoot":"","sources":["../../../src/chains-config/parallelControllers.ts"],"names":[],"mappings":";AAAA,oDAAoD;AACpD,8CAA8C;AAC9C,EAAE;AACF,gFAAgF;AAChF,uEAAuE;AACvE,oEAAoE;AACpE,sCAAsC;AACtC,EAAE;AACF,kEAAkE;AAClE,iEAAiE;AACjE,gEAAgE;AAChE,+CAA+C;AAC/C,EAAE;AACF,oEAAoE;AACpE,wEAAwE;;;AAGxE,+CAAgD;AAEhD;;GAEG;AACU,QAAA,mBAAmB,GAAqB;IACpD,WAAW,EAAE;QACZ,gBAAgB;QAChB,qBAAqB;QACrB,kBAAkB;QAClB,qBAAqB;QACrB,QAAQ;QACR,kBAAkB;QAClB,aAAa;QACb,qBAAqB;QACrB,aAAa;QACb,eAAe;QACf,gBAAgB;QAChB,OAAO;QACP,aAAa;QACb,iBAAiB;QACjB,aAAa;QACb,mBAAmB;QACnB,wBAAwB;QACxB,qBAAqB;QACrB,mBAAmB;KACnB;IACD,OAAO,EAAE;QACR,SAAS,EAAE,IAAI;QACf,iBAAiB,EAAE,CAAC;QACpB,UAAU,EAAE,IAAA,uBAAY,GAAE;KAC1B;CACD,CAAC"}
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "12.4.2",
2
+ "version": "12.4.3",
3
3
  "name": "@substrate/api-sidecar",
4
4
  "description": "REST service that makes it easy to interact with blockchain nodes built using Substrate's FRAME framework.",
5
5
  "homepage": "https://github.com/paritytech/substrate-api-sidecar#readme",
@@ -53,8 +53,8 @@
53
53
  "update-pjs-deps": "substrate-update-pjs-deps && yarn"
54
54
  },
55
55
  "dependencies": {
56
- "@polkadot/api": "^9.0.1",
57
- "@polkadot/util-crypto": "^10.1.2",
56
+ "@polkadot/api": "^9.1.1",
57
+ "@polkadot/util-crypto": "^10.1.3",
58
58
  "@substrate/calc": "^0.2.8",
59
59
  "argparse": "^2.0.1",
60
60
  "confmgr": "1.0.9",