@galacticcouncil/xc-cfg 0.4.3 → 0.5.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.
@@ -1,6 +1,5 @@
1
1
  export { ethereumXcm } from './ethereumXcm';
2
2
  export { polkadotXcm } from './polkadotXcm';
3
- export { xTokens } from './/xTokens';
4
3
  export { xTransfer } from './/xTransfer';
5
4
  export * from './builder';
6
5
  export * from './types';
@@ -67,7 +67,7 @@ export declare const toAsset: (assetLocation: object, amount: any) => {
67
67
  type: "Fungible";
68
68
  };
69
69
  };
70
- export declare const toDepositXcmOnDest: (version: XcmVersion, account: any) => {
70
+ export declare const toDepositXcmOnDest: (version: XcmVersion, account: any, assetsCount: number) => {
71
71
  type: XcmVersion;
72
72
  value: ({
73
73
  type: "DepositAsset";
@@ -1,10 +1,5 @@
1
1
  import { AnyChain } from '@galacticcouncil/xc-core';
2
2
  import { kusamaAssetHub } from './assethub';
3
3
  import { basilisk } from './basilisk';
4
- import { integritee } from './integritee';
5
- import { karura } from './karura';
6
- import { kusama } from './kusama';
7
- import { robonomics } from './robonomics';
8
- import { tinkernet } from './tinkernet';
9
4
  export declare const kusamaChains: AnyChain[];
10
- export { kusama, kusamaAssetHub, basilisk, integritee, karura, robonomics, tinkernet, };
5
+ export { kusamaAssetHub, basilisk, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacticcouncil/xc-cfg",
3
- "version": "0.4.3",
3
+ "version": "0.5.0",
4
4
  "description": "Cross-chain hydradx & basilisk dapp configuration",
5
5
  "author": "GalacticCouncil",
6
6
  "repository": {
@@ -31,7 +31,7 @@
31
31
  "test": "NODE_NO_WARNINGS=1 NODE_OPTIONS=--experimental-vm-modules jest --silent"
32
32
  },
33
33
  "dependencies": {
34
- "@galacticcouncil/xc-core": "^0.5.0"
34
+ "@galacticcouncil/xc-core": "^0.6.0"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "@galacticcouncil/sdk-next": ">=0.20.0 <1.0.0"
@@ -1,7 +0,0 @@
1
- import { ExtrinsicConfigBuilder } from '@galacticcouncil/xc-core';
2
- export declare const xTokens: () => {
3
- transfer: () => ExtrinsicConfigBuilder;
4
- transferMultiasset: () => ExtrinsicConfigBuilder;
5
- transferMultiassets: () => ExtrinsicConfigBuilder;
6
- transferMultiCurrencies: () => ExtrinsicConfigBuilder;
7
- };
@@ -1,35 +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, account: any) => {
5
- type: XcmVersion;
6
- value: {
7
- parents: number;
8
- interior: {
9
- type: "X1";
10
- value: XcmV3Junction;
11
- } & {
12
- type: "X1";
13
- };
14
- };
15
- } | {
16
- type: XcmVersion;
17
- value: {
18
- parents: number;
19
- interior: {
20
- type: "X2";
21
- value: import("polkadot-api").FixedSizeArray<2, XcmV3Junction>;
22
- } & {
23
- type: "X2";
24
- };
25
- };
26
- };
27
- export declare const toAsset: (assetLocation: object, amount: any) => {
28
- id: object;
29
- fun: {
30
- type: "Fungible";
31
- value: bigint;
32
- } & {
33
- type: "Fungible";
34
- };
35
- };
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const integritee: Parachain;
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const karura: Parachain;
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const kusama: Parachain;
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const robonomics: Parachain;
@@ -1,2 +0,0 @@
1
- import { Parachain } from '@galacticcouncil/xc-core';
2
- export declare const tinkernet: Parachain;
@@ -1,2 +0,0 @@
1
- import { ChainRoutes } from '@galacticcouncil/xc-core';
2
- export declare const integriteeConfig: ChainRoutes;
@@ -1,2 +0,0 @@
1
- import { ChainRoutes } from '@galacticcouncil/xc-core';
2
- export declare const karuraConfig: ChainRoutes;
@@ -1,2 +0,0 @@
1
- import { ChainRoutes } from '@galacticcouncil/xc-core';
2
- export declare const robonomicsConfig: ChainRoutes;
@@ -1,2 +0,0 @@
1
- import { ChainRoutes } from '@galacticcouncil/xc-core';
2
- export declare const tinkernetConfig: ChainRoutes;