@galacticcouncil/xc-cfg 0.2.0 → 0.3.0

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.
@@ -38,7 +38,7 @@ export declare function ExtrinsicBuilder(): {
38
38
  };
39
39
  utility: () => {
40
40
  batchAll: (configs: ExtrinsicConfigBuilder[]) => {
41
- build: (params: ExtrinsicConfigBuilderParams) => import("@galacticcouncil/xc-core").ExtrinsicConfig;
41
+ build: (params: ExtrinsicConfigBuilderParams) => Promise<import("@galacticcouncil/xc-core").ExtrinsicConfig>;
42
42
  };
43
43
  };
44
44
  xTokens: () => {
@@ -50,13 +50,6 @@ export declare function ExtrinsicBuilder(): {
50
50
  xTransfer: () => {
51
51
  transfer: () => ExtrinsicConfigBuilder;
52
52
  };
53
- xcmPallet: () => {
54
- limitedReserveTransferAssets: () => ExtrinsicConfigBuilder;
55
- limitedTeleportAssets: () => ExtrinsicConfigBuilder;
56
- transferAssetsUsingTypeAndThen: (opts: {
57
- transferType: import("./extrinsics/xcm").XcmTransferType;
58
- }) => ExtrinsicConfigBuilder;
59
- };
60
53
  };
61
54
  export declare function ExtrinsicDecorator(predicate: (params: ExtrinsicConfigBuilderParams) => boolean, extrinsic: ExtrinsicConfigBuilder): {
62
55
  prior: (config: ExtrinsicConfigBuilder) => ExtrinsicConfigBuilder;
@@ -1,6 +1,6 @@
1
1
  import { ExtrinsicConfig, ExtrinsicConfigBuilder, ExtrinsicConfigBuilderParams } from '@galacticcouncil/xc-core';
2
2
  export declare const utility: () => {
3
3
  batchAll: (configs: ExtrinsicConfigBuilder[]) => {
4
- build: (params: ExtrinsicConfigBuilderParams) => ExtrinsicConfig;
4
+ build: (params: ExtrinsicConfigBuilderParams) => Promise<ExtrinsicConfig>;
5
5
  };
6
6
  };
@@ -1,6 +1,5 @@
1
1
  export { ethereumXcm } from './ethereumXcm';
2
2
  export { polkadotXcm } from './polkadotXcm';
3
- export { xcmPallet } from './xcmPallet';
4
3
  export { xTokens } from './/xTokens';
5
4
  export { xTransfer } from './/xTransfer';
6
5
  export * from './builder';
@@ -14,12 +14,10 @@ import { laos_chain } from './laos';
14
14
  import { moonbeam } from './moonbeam';
15
15
  import { mythos } from './mythos';
16
16
  import { neuroweb } from './neuroweb';
17
- import { nodle } from './nodle';
18
17
  import { pendulum } from './pendulum';
19
- import { phala } from './phala';
20
18
  import { polkadot, polkadotCex } from './polkadot';
21
19
  import { unique } from './unique';
22
20
  import { zeitgeist } from './zeitgeist';
23
21
  import { energywebx } from './energywebx';
24
22
  export declare const polkadotChains: AnyChain[];
25
- export { acala, ajuna, assetHub, assetHubCex, astar, bifrost, centrifuge, crust, darwinia, hydration, kilt_chain, laos_chain, neuroweb, interlay, moonbeam, mythos, nodle, pendulum, phala, polkadot, polkadotCex, unique, zeitgeist, energywebx, };
23
+ export { acala, ajuna, assetHub, assetHubCex, astar, bifrost, centrifuge, crust, darwinia, hydration, kilt_chain, laos_chain, neuroweb, interlay, moonbeam, mythos, pendulum, polkadot, polkadotCex, unique, zeitgeist, energywebx, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/xc-cfg",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Cross-chain hydradx & basilisk dapp configuration",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {
@@ -31,9 +31,9 @@
31
31
  "test": "NODE_NO_WARNINGS=1 NODE_OPTIONS=--experimental-vm-modules jest --silent"
32
32
  },
33
33
  "dependencies": {
34
- "@galacticcouncil/xc-core": "^0.2.0"
34
+ "@galacticcouncil/xc-core": "^0.3.0"
35
35
  },
36
36
  "peerDependencies": {
37
- "@galacticcouncil/sdk-next": ">=0.19.0 <1.0.0"
37
+ "@galacticcouncil/sdk-next": ">=0.20.0 <1.0.0"
38
38
  }
39
39
  }
@@ -1,11 +0,0 @@
1
- import { ExtrinsicConfigBuilder } from '@galacticcouncil/xc-core';
2
- import { XcmTransferType } from './types';
3
- type TransferOpts = {
4
- transferType: XcmTransferType;
5
- };
6
- export declare const xcmPallet: () => {
7
- limitedReserveTransferAssets: () => ExtrinsicConfigBuilder;
8
- limitedTeleportAssets: () => ExtrinsicConfigBuilder;
9
- transferAssetsUsingTypeAndThen: (opts: TransferOpts) => ExtrinsicConfigBuilder;
10
- };
11
- export {};
@@ -1,36 +0,0 @@
1
- import { XcmV3Junction } from '@galacticcouncil/descriptors';
2
- import { Parachain } from '@galacticcouncil/xc-core';
3
- import { XcmVersion } from './types';
4
- export declare const toDest: (version: XcmVersion, destination: Parachain) => {
5
- type: XcmVersion;
6
- value: {
7
- parents: number;
8
- interior: {
9
- type: "X1";
10
- value: XcmV3Junction;
11
- } & {
12
- type: "X1";
13
- };
14
- };
15
- };
16
- export declare const toAsset: (assetLocation: object, amount: any) => {
17
- id: object;
18
- fun: {
19
- type: "Fungible";
20
- value: bigint;
21
- } & {
22
- type: "Fungible";
23
- };
24
- };
25
- export declare const toBeneficiary: (version: XcmVersion, account: any) => {
26
- type: XcmVersion;
27
- value: {
28
- parents: number;
29
- interior: {
30
- type: "X1";
31
- value: XcmV3Junction;
32
- } & {
33
- type: "X1";
34
- };
35
- };
36
- };
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const nodle: Parachain;
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const phala: Parachain;
@@ -1,2 +0,0 @@
1
- import { ChainRoutes } from '@galacticcouncil/xc-core';
2
- export declare const nodleConfig: ChainRoutes;
@@ -1,2 +0,0 @@
1
- import { ChainRoutes } from '@galacticcouncil/xc-core';
2
- export declare const phalaConfig: ChainRoutes;