@subwallet/extension-chains 0.3.6-0 → 0.3.6-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/{build/bundle.d.ts → bundle.d.ts} +0 -0
- package/{build/bundle.js → bundle.js} +0 -0
- package/{build-cjs → cjs}/bundle.js +0 -0
- package/{build-cjs → cjs}/detectOther.js +0 -0
- package/{build-cjs → cjs}/detectPackage.js +0 -0
- package/{build-cjs → cjs}/index.js +0 -0
- package/{build/cjs → cjs}/package.json +0 -0
- package/{build-cjs → cjs}/packageInfo.js +1 -1
- package/{build-cjs → cjs}/types.js +0 -0
- package/{build/detectOther.d.ts → detectOther.d.ts} +0 -0
- package/{build/detectOther.js → detectOther.js} +0 -0
- package/{build/detectPackage.d.ts → detectPackage.d.ts} +0 -0
- package/{build/detectPackage.js → detectPackage.js} +0 -0
- package/{build/index.d.ts → index.d.ts} +0 -0
- package/{build/index.js → index.js} +0 -0
- package/package.json +47 -5
- package/{build/packageInfo.d.ts → packageInfo.d.ts} +0 -0
- package/{build/packageInfo.js → packageInfo.js} +1 -1
- package/{build/types.d.ts → types.d.ts} +0 -0
- package/{build/types.js → types.js} +0 -0
- package/build/LICENSE +0 -201
- package/build/README.md +0 -3
- package/build/cjs/bundle.js +0 -100
- package/build/cjs/detectOther.js +0 -13
- package/build/cjs/detectPackage.js +0 -14
- package/build/cjs/index.js +0 -18
- package/build/cjs/packageInfo.js +0 -16
- package/build/cjs/types.js +0 -1
- package/build/package.json +0 -75
- package/src/bundle.ts +0 -87
- package/src/detectOther.ts +0 -6
- package/src/detectPackage.ts +0 -11
- package/src/index.ts +0 -7
- package/src/packageInfo.ts +0 -6
- package/src/types.ts +0 -19
- package/tsconfig.build.json +0 -12
- package/tsconfig.build.tsbuildinfo +0 -1
- package/tsconfig.json +0 -11
package/src/detectOther.ts
DELETED
package/src/detectPackage.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// Copyright 2017-2022 @subwallet/extension-chains authors & contributors
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
-
|
|
6
|
-
import { detectPackage } from '@polkadot/util';
|
|
7
|
-
|
|
8
|
-
import others from './detectOther';
|
|
9
|
-
import { packageInfo } from './packageInfo';
|
|
10
|
-
|
|
11
|
-
detectPackage(packageInfo, null, others);
|
package/src/index.ts
DELETED
package/src/packageInfo.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// Copyright 2017-2022 @subwallet/extension-chains authors & contributors
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
// Do not edit, auto-generated by @polkadot/dev
|
|
5
|
-
|
|
6
|
-
export const packageInfo = { name: '@subwallet/extension-chains', path: 'auto', type: 'auto', version: '0.3.6-0' };
|
package/src/types.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright 2019-2022 @subwallet/extension-chains authors & contributors
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
import type { MetadataDef } from '@subwallet/extension-inject/types';
|
|
5
|
-
import type { Registry } from '@polkadot/types/types';
|
|
6
|
-
|
|
7
|
-
export interface Chain {
|
|
8
|
-
definition: MetadataDef;
|
|
9
|
-
genesisHash?: string;
|
|
10
|
-
hasMetadata: boolean;
|
|
11
|
-
icon: string;
|
|
12
|
-
isUnknown?: boolean;
|
|
13
|
-
name: string;
|
|
14
|
-
registry: Registry;
|
|
15
|
-
specVersion: number;
|
|
16
|
-
ss58Format: number;
|
|
17
|
-
tokenDecimals: number;
|
|
18
|
-
tokenSymbol: string;
|
|
19
|
-
}
|