@avalabs/types 3.1.0-alpha.8 → 3.1.0-canary.00bb330.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.
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ interface Contact {
5
5
  isKnown?: boolean;
6
6
  addressBTC?: string;
7
7
  addressXP?: string;
8
+ addressSVM?: string;
8
9
  }
9
10
  interface ContactsState {
10
11
  contacts: Contact[];
@@ -44,4 +45,5 @@ declare enum WalletType {
44
45
  }
45
46
  type CoreAccount = CorePrimaryAccount | CoreImportedAccount;
46
47
 
47
- export { Contact, ContactsState, CoreAccount, CoreAccountType, CoreImportedAccount, CorePrimaryAccount, WalletType };
48
+ export { CoreAccountType, WalletType };
49
+ export type { Contact, ContactsState, CoreAccount, CoreImportedAccount, CorePrimaryAccount };
package/esm/contacts.d.ts CHANGED
@@ -5,9 +5,10 @@ interface Contact {
5
5
  isKnown?: boolean;
6
6
  addressBTC?: string;
7
7
  addressXP?: string;
8
+ addressSVM?: string;
8
9
  }
9
10
  interface ContactsState {
10
11
  contacts: Contact[];
11
12
  }
12
13
 
13
- export { Contact, ContactsState };
14
+ export type { Contact, ContactsState };
@@ -32,4 +32,5 @@ declare enum WalletType {
32
32
  }
33
33
  type CoreAccount = CorePrimaryAccount | CoreImportedAccount;
34
34
 
35
- export { CoreAccount, CoreAccountType, CoreImportedAccount, CorePrimaryAccount, WalletType };
35
+ export { CoreAccountType, WalletType };
36
+ export type { CoreAccount, CoreImportedAccount, CorePrimaryAccount };
package/package.json CHANGED
@@ -1,11 +1,20 @@
1
1
  {
2
2
  "name": "@avalabs/types",
3
- "version": "3.1.0-alpha.8",
3
+ "version": "3.1.0-canary.00bb330.0+00bb330",
4
4
  "license": "MIT",
5
5
  "private": false,
6
- "main": "dist/index.js",
6
+ "type": "module",
7
+ "main": "dist/index.cjs",
7
8
  "module": "esm/index.js",
8
9
  "typings": "dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./esm/index.d.ts",
13
+ "import": "./esm/index.js",
14
+ "require": "./dist/index.cjs",
15
+ "default": "./esm/index.js"
16
+ }
17
+ },
9
18
  "files": [
10
19
  "dist",
11
20
  "esm"
@@ -14,7 +23,7 @@
14
23
  "scripts": {
15
24
  "start": "rollup -c --watch",
16
25
  "build": "rollup -c",
17
- "lint": "eslint --fix -c ./.eslintrc.js \"src/**/*.ts*\""
26
+ "lint": "eslint --fix -c ./.eslintrc.cjs \"src/**/*.ts*\""
18
27
  },
19
- "gitHead": "00586756b491194a3a2a14861e1fc6fc813ca874"
28
+ "gitHead": "00bb3303afbb6fb59b9be8c9e3f4d851d51d37b0"
20
29
  }
File without changes