@talismn/chaindata-provider 0.1.1 → 0.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @talismn/chaindata-provider
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - d5f69f7: fix: migrated orml token code into substrate orml module
8
+
9
+ ## 0.1.2
10
+
11
+ ### Patch Changes
12
+
13
+ - 5af305c: switched build output from esm to commonjs for ecosystem compatibility
14
+
3
15
  ## 0.1.1
4
16
 
5
17
  ### Patch Changes
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/index.js CHANGED
@@ -1,2 +1,18 @@
1
- export * from "./ChaindataProvider";
2
- export * from "./types";
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./ChaindataProvider"), exports);
18
+ __exportStar(require("./types"), exports);
package/dist/plugins.js CHANGED
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@ export declare type Chain = {
9
9
  genesisHash: string | null;
10
10
  prefix: number | null;
11
11
  name: string | null;
12
+ logo: string | null;
12
13
  chainName: string;
13
14
  implName: string | null;
14
15
  specName: string | null;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,6 +8,7 @@ export declare type EvmNetwork = {
8
8
  isTestnet: boolean;
9
9
  sortIndex: number | null;
10
10
  name: string | null;
11
+ logo: string | null;
11
12
  nativeToken: {
12
13
  id: TokenId;
13
14
  } | null;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -31,6 +31,7 @@ export declare type IToken = {
31
31
  isTestnet: boolean;
32
32
  symbol: string;
33
33
  decimals: number;
34
+ logo: string;
34
35
  coingeckoId?: string;
35
36
  chain?: {
36
37
  id: ChainId;
@@ -1 +1,2 @@
1
- export {};
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  //
2
3
  // NOTE: Do not export `./plugins` from here!
3
4
  // Doing so will introduce a circular dependency!
@@ -9,7 +10,22 @@
9
10
  //
10
11
  // import { PluginTokenTypes } from '@talismn/chaindata-provider'
11
12
  //
12
- export * from "./Chain";
13
- export * from "./EvmNetwork";
14
- export * from "./MultiChain";
15
- export * from "./Token";
13
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
25
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ __exportStar(require("./Chain"), exports);
29
+ __exportStar(require("./EvmNetwork"), exports);
30
+ __exportStar(require("./MultiChain"), exports);
31
+ __exportStar(require("./Token"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talismn/chaindata-provider",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "author": "Talisman",
5
5
  "homepage": "https://talisman.xyz",
6
6
  "license": "UNLICENSED",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "devDependencies": {
34
34
  "@talismn/eslint-config": "^0.0.0",
35
- "@talismn/tsconfig": "^0.0.0",
35
+ "@talismn/tsconfig": "^0.0.1",
36
36
  "@types/jest": "^27.5.1",
37
37
  "eslint": "^8.4.0",
38
38
  "jest": "^28.1.0",