gun-eth 1.4.35 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,22 +1,12 @@
1
1
  {
2
2
  "name": "gun-eth",
3
- "version": "1.4.35",
3
+ "version": "1.5.0",
4
4
  "description": "A GunDB plugin for Ethereum, and Web3",
5
- "main": "dist/browser/gun-eth.min.js",
5
+ "main": "dist/gun-eth.min.js",
6
6
  "type": "module",
7
7
  "exports": {
8
- ".": "./dist/browser/gun-eth.min.js",
9
- "./dist/browser/gun-eth.min.js": "./dist/browser/gun-eth.min.js",
10
- "./dist/types/index.d.ts": "./dist/types/index.d.ts",
11
- "./dist/gun-eth.mjs": "./dist/gun-eth.mjs",
12
- "./dist/gun-eth.cjs.js": "./dist/gun-eth.cjs.js"
13
- },
14
- "typesVersions": {
15
- "*": {
16
- "*": [
17
- "dist/types/*"
18
- ]
19
- }
8
+ "import": "./src/index.js",
9
+ "require": "./dist/gun-eth.min.js"
20
10
  },
21
11
  "scripts": {
22
12
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -27,12 +17,12 @@
27
17
  "test-stealth": "cross-env NODE_ENV=development node --experimental-json-modules src/examples/stealth-example.js",
28
18
  "test-proof": "cross-env NODE_ENV=development node --experimental-json-modules src/examples/proof-example.js",
29
19
  "build": "rollup -c",
30
- "build:watch": "rollup -c -w",
31
- "prepublishOnly": "npm run build"
20
+ "build:watch": "rollup -c -w"
32
21
  },
33
22
  "dependencies": {
23
+ "ethers": "^6.0.0",
34
24
  "express": "^4.21.1",
35
- "rollup-plugin-polyfill-node": "^0.13.0"
25
+ "gun": "^0.2020.1239"
36
26
  },
37
27
  "devDependencies": {
38
28
  "@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
@@ -40,25 +30,23 @@
40
30
  "@nomicfoundation/hardhat-network-helpers": "^1.0.0",
41
31
  "@nomicfoundation/hardhat-toolbox": "^3.0.0",
42
32
  "@nomicfoundation/hardhat-verify": "^1.0.0",
43
- "@rollup/plugin-commonjs": "^25.0.0",
44
- "@rollup/plugin-json": "^6.0.0",
45
- "@rollup/plugin-node-resolve": "^15.0.0",
46
- "@rollup/plugin-terser": "^0.4.0",
47
33
  "@typechain/ethers-v6": "^0.4.0",
48
34
  "@typechain/hardhat": "^8.0.0",
49
35
  "@types/chai": "^4.2.0",
50
36
  "@types/mocha": "^10.0.1",
51
37
  "chai": "^4.2.0",
52
38
  "cross-env": "^7.0.3",
53
- "ethers": "^6.13.4",
54
- "gun": "^0.2020.1240",
55
39
  "hardhat": "^2.17.0",
56
40
  "hardhat-gas-reporter": "^1.0.8",
57
- "rollup": "^3.0.0",
58
41
  "solidity-coverage": "^0.8.1",
59
42
  "ts-node": "^10.9.1",
60
43
  "typechain": "^8.2.0",
61
- "typescript": "^5.0.0"
44
+ "typescript": "^5.0.0",
45
+ "@rollup/plugin-commonjs": "^25.0.0",
46
+ "@rollup/plugin-node-resolve": "^15.0.0",
47
+ "@rollup/plugin-json": "^6.0.0",
48
+ "@rollup/plugin-terser": "^0.4.0",
49
+ "rollup": "^3.0.0"
62
50
  },
63
51
  "author": "scobru",
64
52
  "repository": {
@@ -76,8 +64,11 @@
76
64
  "gun",
77
65
  "db"
78
66
  ],
67
+ "bugs": {
68
+ "url": "https://github.com/scobru/gun-eth/issues"
69
+ },
70
+ "homepage": "https://github.com/scobru/gun-eth#readme",
79
71
  "files": [
80
- "dist",
81
- "src"
72
+ "dist"
82
73
  ]
83
74
  }