@layerzerolabs/lz-config-types 2.3.30
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/README.md +8 -0
- package/dist/index.cjs +27 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.mts +82 -0
- package/dist/index.d.ts +82 -0
- package/dist/index.mjs +23 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +55 -0
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# layerzero-core
|
|
2
|
+
|
|
3
|
+
This package defines the core interface for the tooling stack, and only includes neutral interfaces unrelated to the LayerZero protocol.
|
|
4
|
+
|
|
5
|
+
- `Transaction` Interface: Used to express transactions in different stages.
|
|
6
|
+
- `Provider` Interface: Define the connectors to a chain node.
|
|
7
|
+
- `Signer` Interface: Sign message and transaction.
|
|
8
|
+
- `Deployment` interface: Represent the structure for deployment information
|
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/signer.ts
|
|
4
|
+
function isGnosisItemConfig(obj) {
|
|
5
|
+
if (obj === void 0 || obj === null) {
|
|
6
|
+
return false;
|
|
7
|
+
}
|
|
8
|
+
return typeof obj === "object" && "safeUrl" in obj && "safeAddress" in obj;
|
|
9
|
+
}
|
|
10
|
+
function isCombinedGnosisItemConfig(obj) {
|
|
11
|
+
if (obj === void 0 || obj === null) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
return typeof obj === "object" && "safeUrl" in obj && "safeAddress" in obj && ("mnemonic" in obj || "pk" in obj);
|
|
15
|
+
}
|
|
16
|
+
function isCombinedSquadsItemConfig(obj) {
|
|
17
|
+
if (obj === void 0 || obj === null) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return typeof obj === "object" && "multisigAddress" in obj;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.isCombinedGnosisItemConfig = isCombinedGnosisItemConfig;
|
|
24
|
+
exports.isCombinedSquadsItemConfig = isCombinedSquadsItemConfig;
|
|
25
|
+
exports.isGnosisItemConfig = isGnosisItemConfig;
|
|
26
|
+
//# sourceMappingURL=out.js.map
|
|
27
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/signer.ts"],"names":[],"mappings":";AAqEO,SAAS,mBAAmB,KAAuC;AACtE,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACnC,WAAO;AAAA,EACX;AAEA,SAAO,OAAO,QAAQ,YAAY,aAAa,OAAO,iBAAiB;AAC3E;AAEO,SAAS,2BAA2B,KAA+C;AACtF,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACnC,WAAO;AAAA,EACX;AAEA,SAAO,OAAO,QAAQ,YAAY,aAAa,OAAO,iBAAiB,QAAQ,cAAc,OAAO,QAAQ;AAChH;AAEO,SAAS,2BAA2B,KAA+C;AACtF,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACnC,WAAO;AAAA,EACX;AAEA,SAAO,OAAO,QAAQ,YAAY,qBAAqB;AAC3D","sourcesContent":["import { ContractNetworksConfig } from '@safe-global/protocol-kit'\ntype ContractNetworkConfig = ContractNetworksConfig[string]\n\n// ------------------ Account/Signer Config ------------------\n\nimport { Signer } from '@layerzerolabs/lz-core'\nimport { Chain, ChainType, Environment, Stage } from '@layerzerolabs/lz-definitions'\n\nexport interface SignerItemConfig {\n mnemonic?: string\n path?: string\n address?: string\n pk?: string\n}\n\nexport interface GnosisItemConfig {\n safeUrl: string\n safeAddress: string\n contractNetworks?: { [key: string]: Partial<ContractNetworkConfig> }\n}\n\nexport interface SquadsItemConfig {\n multisigAddress: string\n}\n\nexport type GnosisStageConfig = {\n [chainOrType in ChainType | Chain]?: { [key: string]: GnosisItemConfig | SquadsItemConfig }\n}\n\n// config by stage, chain, keyName\nexport type GnosisConfig = {\n [stage in Stage]?: GnosisStageConfig\n}\n\nexport type CombinedGnosisItemConfig = GnosisItemConfig & SignerItemConfig\nexport type CombinedSquadsItemConfig = SquadsItemConfig & SignerItemConfig\n/**\n * config by stage, chain, keyName\n * example:\n * ```json\n * {\n * \"sandbox\": {\n * \"ethereum\": {\n * \"key1\": {\n * \"mnemonic\": \"xxx\",\n * \"path\": \"xxx\"\n * },\n * \"key2\": {\n * \"pk\": \"xxx\",\n * \"path\": \"xxx\"\n * safeUrl: \"xxx\",\n * safeAddress: \"xxx\"\n * }\n * }\n * }\n * }\n * ```\n */\nexport type SignerConfig = {\n [stage in Stage]?: {\n [chainOrType in ChainType | Chain]?: {\n [key: string]: SignerItemConfig | CombinedGnosisItemConfig | CombinedSquadsItemConfig\n }\n }\n}\nexport interface SignerManager {\n getSigner(chain: Chain, stage: Stage, env: Environment, keyName: string): Promise<Signer>\n}\n\nexport function isGnosisItemConfig(obj: unknown): obj is GnosisItemConfig {\n if (obj === undefined || obj === null) {\n return false\n }\n\n return typeof obj === 'object' && 'safeUrl' in obj && 'safeAddress' in obj\n}\n\nexport function isCombinedGnosisItemConfig(obj: unknown): obj is CombinedGnosisItemConfig {\n if (obj === undefined || obj === null) {\n return false\n }\n\n return typeof obj === 'object' && 'safeUrl' in obj && 'safeAddress' in obj && ('mnemonic' in obj || 'pk' in obj)\n}\n\nexport function isCombinedSquadsItemConfig(obj: unknown): obj is CombinedSquadsItemConfig {\n if (obj === undefined || obj === null) {\n return false\n }\n\n return typeof obj === 'object' && 'multisigAddress' in obj\n}\n"]}
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Provider, Signer } from '@layerzerolabs/lz-core';
|
|
2
|
+
import { Environment, Chain, ChainType, Stage } from '@layerzerolabs/lz-definitions';
|
|
3
|
+
import { ContractNetworksConfig } from '@safe-global/protocol-kit';
|
|
4
|
+
|
|
5
|
+
type ProviderSetting = {
|
|
6
|
+
url: string;
|
|
7
|
+
apiKey?: string;
|
|
8
|
+
} | string;
|
|
9
|
+
type ProviderConfig = {
|
|
10
|
+
[env in Environment]?: {
|
|
11
|
+
[chain in Chain]?: ProviderSetting;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
interface ProviderManager {
|
|
15
|
+
getProvider(chain: Chain, env: Environment): Promise<Provider>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type ContractNetworkConfig = ContractNetworksConfig[string];
|
|
19
|
+
|
|
20
|
+
interface SignerItemConfig {
|
|
21
|
+
mnemonic?: string;
|
|
22
|
+
path?: string;
|
|
23
|
+
address?: string;
|
|
24
|
+
pk?: string;
|
|
25
|
+
}
|
|
26
|
+
interface GnosisItemConfig {
|
|
27
|
+
safeUrl: string;
|
|
28
|
+
safeAddress: string;
|
|
29
|
+
contractNetworks?: {
|
|
30
|
+
[key: string]: Partial<ContractNetworkConfig>;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
interface SquadsItemConfig {
|
|
34
|
+
multisigAddress: string;
|
|
35
|
+
}
|
|
36
|
+
type GnosisStageConfig = {
|
|
37
|
+
[chainOrType in ChainType | Chain]?: {
|
|
38
|
+
[key: string]: GnosisItemConfig | SquadsItemConfig;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type GnosisConfig = {
|
|
42
|
+
[stage in Stage]?: GnosisStageConfig;
|
|
43
|
+
};
|
|
44
|
+
type CombinedGnosisItemConfig = GnosisItemConfig & SignerItemConfig;
|
|
45
|
+
type CombinedSquadsItemConfig = SquadsItemConfig & SignerItemConfig;
|
|
46
|
+
/**
|
|
47
|
+
* config by stage, chain, keyName
|
|
48
|
+
* example:
|
|
49
|
+
* ```json
|
|
50
|
+
* {
|
|
51
|
+
* "sandbox": {
|
|
52
|
+
* "ethereum": {
|
|
53
|
+
* "key1": {
|
|
54
|
+
* "mnemonic": "xxx",
|
|
55
|
+
* "path": "xxx"
|
|
56
|
+
* },
|
|
57
|
+
* "key2": {
|
|
58
|
+
* "pk": "xxx",
|
|
59
|
+
* "path": "xxx"
|
|
60
|
+
* safeUrl: "xxx",
|
|
61
|
+
* safeAddress: "xxx"
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
type SignerConfig = {
|
|
69
|
+
[stage in Stage]?: {
|
|
70
|
+
[chainOrType in ChainType | Chain]?: {
|
|
71
|
+
[key: string]: SignerItemConfig | CombinedGnosisItemConfig | CombinedSquadsItemConfig;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
interface SignerManager {
|
|
76
|
+
getSigner(chain: Chain, stage: Stage, env: Environment, keyName: string): Promise<Signer>;
|
|
77
|
+
}
|
|
78
|
+
declare function isGnosisItemConfig(obj: unknown): obj is GnosisItemConfig;
|
|
79
|
+
declare function isCombinedGnosisItemConfig(obj: unknown): obj is CombinedGnosisItemConfig;
|
|
80
|
+
declare function isCombinedSquadsItemConfig(obj: unknown): obj is CombinedSquadsItemConfig;
|
|
81
|
+
|
|
82
|
+
export { type CombinedGnosisItemConfig, type CombinedSquadsItemConfig, type GnosisConfig, type GnosisItemConfig, type GnosisStageConfig, type ProviderConfig, type ProviderManager, type ProviderSetting, type SignerConfig, type SignerItemConfig, type SignerManager, type SquadsItemConfig, isCombinedGnosisItemConfig, isCombinedSquadsItemConfig, isGnosisItemConfig };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Provider, Signer } from '@layerzerolabs/lz-core';
|
|
2
|
+
import { Environment, Chain, ChainType, Stage } from '@layerzerolabs/lz-definitions';
|
|
3
|
+
import { ContractNetworksConfig } from '@safe-global/protocol-kit';
|
|
4
|
+
|
|
5
|
+
type ProviderSetting = {
|
|
6
|
+
url: string;
|
|
7
|
+
apiKey?: string;
|
|
8
|
+
} | string;
|
|
9
|
+
type ProviderConfig = {
|
|
10
|
+
[env in Environment]?: {
|
|
11
|
+
[chain in Chain]?: ProviderSetting;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
interface ProviderManager {
|
|
15
|
+
getProvider(chain: Chain, env: Environment): Promise<Provider>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
type ContractNetworkConfig = ContractNetworksConfig[string];
|
|
19
|
+
|
|
20
|
+
interface SignerItemConfig {
|
|
21
|
+
mnemonic?: string;
|
|
22
|
+
path?: string;
|
|
23
|
+
address?: string;
|
|
24
|
+
pk?: string;
|
|
25
|
+
}
|
|
26
|
+
interface GnosisItemConfig {
|
|
27
|
+
safeUrl: string;
|
|
28
|
+
safeAddress: string;
|
|
29
|
+
contractNetworks?: {
|
|
30
|
+
[key: string]: Partial<ContractNetworkConfig>;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
interface SquadsItemConfig {
|
|
34
|
+
multisigAddress: string;
|
|
35
|
+
}
|
|
36
|
+
type GnosisStageConfig = {
|
|
37
|
+
[chainOrType in ChainType | Chain]?: {
|
|
38
|
+
[key: string]: GnosisItemConfig | SquadsItemConfig;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type GnosisConfig = {
|
|
42
|
+
[stage in Stage]?: GnosisStageConfig;
|
|
43
|
+
};
|
|
44
|
+
type CombinedGnosisItemConfig = GnosisItemConfig & SignerItemConfig;
|
|
45
|
+
type CombinedSquadsItemConfig = SquadsItemConfig & SignerItemConfig;
|
|
46
|
+
/**
|
|
47
|
+
* config by stage, chain, keyName
|
|
48
|
+
* example:
|
|
49
|
+
* ```json
|
|
50
|
+
* {
|
|
51
|
+
* "sandbox": {
|
|
52
|
+
* "ethereum": {
|
|
53
|
+
* "key1": {
|
|
54
|
+
* "mnemonic": "xxx",
|
|
55
|
+
* "path": "xxx"
|
|
56
|
+
* },
|
|
57
|
+
* "key2": {
|
|
58
|
+
* "pk": "xxx",
|
|
59
|
+
* "path": "xxx"
|
|
60
|
+
* safeUrl: "xxx",
|
|
61
|
+
* safeAddress: "xxx"
|
|
62
|
+
* }
|
|
63
|
+
* }
|
|
64
|
+
* }
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
type SignerConfig = {
|
|
69
|
+
[stage in Stage]?: {
|
|
70
|
+
[chainOrType in ChainType | Chain]?: {
|
|
71
|
+
[key: string]: SignerItemConfig | CombinedGnosisItemConfig | CombinedSquadsItemConfig;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
interface SignerManager {
|
|
76
|
+
getSigner(chain: Chain, stage: Stage, env: Environment, keyName: string): Promise<Signer>;
|
|
77
|
+
}
|
|
78
|
+
declare function isGnosisItemConfig(obj: unknown): obj is GnosisItemConfig;
|
|
79
|
+
declare function isCombinedGnosisItemConfig(obj: unknown): obj is CombinedGnosisItemConfig;
|
|
80
|
+
declare function isCombinedSquadsItemConfig(obj: unknown): obj is CombinedSquadsItemConfig;
|
|
81
|
+
|
|
82
|
+
export { type CombinedGnosisItemConfig, type CombinedSquadsItemConfig, type GnosisConfig, type GnosisItemConfig, type GnosisStageConfig, type ProviderConfig, type ProviderManager, type ProviderSetting, type SignerConfig, type SignerItemConfig, type SignerManager, type SquadsItemConfig, isCombinedGnosisItemConfig, isCombinedSquadsItemConfig, isGnosisItemConfig };
|
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/signer.ts
|
|
2
|
+
function isGnosisItemConfig(obj) {
|
|
3
|
+
if (obj === void 0 || obj === null) {
|
|
4
|
+
return false;
|
|
5
|
+
}
|
|
6
|
+
return typeof obj === "object" && "safeUrl" in obj && "safeAddress" in obj;
|
|
7
|
+
}
|
|
8
|
+
function isCombinedGnosisItemConfig(obj) {
|
|
9
|
+
if (obj === void 0 || obj === null) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
return typeof obj === "object" && "safeUrl" in obj && "safeAddress" in obj && ("mnemonic" in obj || "pk" in obj);
|
|
13
|
+
}
|
|
14
|
+
function isCombinedSquadsItemConfig(obj) {
|
|
15
|
+
if (obj === void 0 || obj === null) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
return typeof obj === "object" && "multisigAddress" in obj;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { isCombinedGnosisItemConfig, isCombinedSquadsItemConfig, isGnosisItemConfig };
|
|
22
|
+
//# sourceMappingURL=out.js.map
|
|
23
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/signer.ts"],"names":[],"mappings":";AAqEO,SAAS,mBAAmB,KAAuC;AACtE,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACnC,WAAO;AAAA,EACX;AAEA,SAAO,OAAO,QAAQ,YAAY,aAAa,OAAO,iBAAiB;AAC3E;AAEO,SAAS,2BAA2B,KAA+C;AACtF,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACnC,WAAO;AAAA,EACX;AAEA,SAAO,OAAO,QAAQ,YAAY,aAAa,OAAO,iBAAiB,QAAQ,cAAc,OAAO,QAAQ;AAChH;AAEO,SAAS,2BAA2B,KAA+C;AACtF,MAAI,QAAQ,UAAa,QAAQ,MAAM;AACnC,WAAO;AAAA,EACX;AAEA,SAAO,OAAO,QAAQ,YAAY,qBAAqB;AAC3D","sourcesContent":["import { ContractNetworksConfig } from '@safe-global/protocol-kit'\ntype ContractNetworkConfig = ContractNetworksConfig[string]\n\n// ------------------ Account/Signer Config ------------------\n\nimport { Signer } from '@layerzerolabs/lz-core'\nimport { Chain, ChainType, Environment, Stage } from '@layerzerolabs/lz-definitions'\n\nexport interface SignerItemConfig {\n mnemonic?: string\n path?: string\n address?: string\n pk?: string\n}\n\nexport interface GnosisItemConfig {\n safeUrl: string\n safeAddress: string\n contractNetworks?: { [key: string]: Partial<ContractNetworkConfig> }\n}\n\nexport interface SquadsItemConfig {\n multisigAddress: string\n}\n\nexport type GnosisStageConfig = {\n [chainOrType in ChainType | Chain]?: { [key: string]: GnosisItemConfig | SquadsItemConfig }\n}\n\n// config by stage, chain, keyName\nexport type GnosisConfig = {\n [stage in Stage]?: GnosisStageConfig\n}\n\nexport type CombinedGnosisItemConfig = GnosisItemConfig & SignerItemConfig\nexport type CombinedSquadsItemConfig = SquadsItemConfig & SignerItemConfig\n/**\n * config by stage, chain, keyName\n * example:\n * ```json\n * {\n * \"sandbox\": {\n * \"ethereum\": {\n * \"key1\": {\n * \"mnemonic\": \"xxx\",\n * \"path\": \"xxx\"\n * },\n * \"key2\": {\n * \"pk\": \"xxx\",\n * \"path\": \"xxx\"\n * safeUrl: \"xxx\",\n * safeAddress: \"xxx\"\n * }\n * }\n * }\n * }\n * ```\n */\nexport type SignerConfig = {\n [stage in Stage]?: {\n [chainOrType in ChainType | Chain]?: {\n [key: string]: SignerItemConfig | CombinedGnosisItemConfig | CombinedSquadsItemConfig\n }\n }\n}\nexport interface SignerManager {\n getSigner(chain: Chain, stage: Stage, env: Environment, keyName: string): Promise<Signer>\n}\n\nexport function isGnosisItemConfig(obj: unknown): obj is GnosisItemConfig {\n if (obj === undefined || obj === null) {\n return false\n }\n\n return typeof obj === 'object' && 'safeUrl' in obj && 'safeAddress' in obj\n}\n\nexport function isCombinedGnosisItemConfig(obj: unknown): obj is CombinedGnosisItemConfig {\n if (obj === undefined || obj === null) {\n return false\n }\n\n return typeof obj === 'object' && 'safeUrl' in obj && 'safeAddress' in obj && ('mnemonic' in obj || 'pk' in obj)\n}\n\nexport function isCombinedSquadsItemConfig(obj: unknown): obj is CombinedSquadsItemConfig {\n if (obj === undefined || obj === null) {\n return false\n }\n\n return typeof obj === 'object' && 'multisigAddress' in obj\n}\n"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@layerzerolabs/lz-config-types",
|
|
3
|
+
"version": "2.3.30",
|
|
4
|
+
"description": "LayerZero Core Library",
|
|
5
|
+
"license": "BUSL-1.1",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./src/index.ts",
|
|
9
|
+
"import": "./src/index.ts",
|
|
10
|
+
"require": "./src/index.ts"
|
|
11
|
+
},
|
|
12
|
+
"./package.json": "./package.json"
|
|
13
|
+
},
|
|
14
|
+
"main": "./src/index.ts",
|
|
15
|
+
"types": "./src/index.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist/**/*"
|
|
18
|
+
],
|
|
19
|
+
"scripts": {
|
|
20
|
+
"build": "$npm_execpath clean-prebuild && $npm_execpath build-ts",
|
|
21
|
+
"build-ts": "$npm_execpath tsc --noEmit && $npm_execpath tsup",
|
|
22
|
+
"clean": "$npm_execpath clean-prebuild && rimraf .turbo",
|
|
23
|
+
"clean-prebuild": "rimraf dist"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@layerzerolabs/lz-core": "workspace:^",
|
|
27
|
+
"@layerzerolabs/lz-definitions": "workspace:^",
|
|
28
|
+
"@safe-global/protocol-kit": "^1.3.0",
|
|
29
|
+
"tiny-invariant": "^1.3.1"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@jest/globals": "^29.7.0",
|
|
33
|
+
"@layerzerolabs/tsup-config-next": "workspace:^",
|
|
34
|
+
"@layerzerolabs/typescript-config-next": "workspace:^",
|
|
35
|
+
"@types/jest": "^29.5.10",
|
|
36
|
+
"jest": "^29.7.0",
|
|
37
|
+
"rimraf": "^5.0.5",
|
|
38
|
+
"ts-jest": "^29.1.1",
|
|
39
|
+
"tsup": "^8.0.1",
|
|
40
|
+
"typescript": "~5.2.2"
|
|
41
|
+
},
|
|
42
|
+
"publishConfig": {
|
|
43
|
+
"access": "public",
|
|
44
|
+
"exports": {
|
|
45
|
+
".": {
|
|
46
|
+
"types": "./dist/index.d.ts",
|
|
47
|
+
"import": "./dist/index.mjs",
|
|
48
|
+
"require": "./dist/index.cjs"
|
|
49
|
+
},
|
|
50
|
+
"./package.json": "./package.json"
|
|
51
|
+
},
|
|
52
|
+
"main": "./dist/index.cjs",
|
|
53
|
+
"types": "./dist/index.d.ts"
|
|
54
|
+
}
|
|
55
|
+
}
|