gun-eth 1.4.28 → 1.4.29

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,18 +1,32 @@
1
1
  {
2
2
  "name": "gun-eth",
3
- "version": "1.4.28",
3
+ "version": "1.4.29",
4
4
  "description": "A GunDB plugin for Ethereum, and Web3",
5
5
  "main": "dist/gun-eth.cjs.js",
6
- "module": "dist/gun-eth.esm.js",
6
+ "module": "dist/gun-eth.mjs",
7
7
  "browser": "dist/gun-eth.min.js",
8
8
  "exports": {
9
9
  ".": {
10
- "require": "./dist/gun-eth.cjs.js",
11
- "import": "./dist/gun-eth.esm.js",
12
- "browser": "./dist/gun-eth.min.js"
10
+ "types": "./dist/types/index.d.ts",
11
+ "node": {
12
+ "import": "./dist/gun-eth.mjs",
13
+ "require": "./dist/gun-eth.cjs.js"
14
+ },
15
+ "browser": {
16
+ "import": "./dist/gun-eth.esm.js",
17
+ "require": "./dist/gun-eth.min.js"
18
+ },
19
+ "default": "./dist/gun-eth.mjs"
13
20
  }
14
21
  },
15
22
  "type": "module",
23
+ "typesVersions": {
24
+ "*": {
25
+ "*": [
26
+ "dist/types/*"
27
+ ]
28
+ }
29
+ },
16
30
  "scripts": {
17
31
  "test": "echo \"Error: no test specified\" && exit 1",
18
32
  "start-gun": "node startGun.js",