gun-eth 1.0.0 → 1.0.1

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.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +32 -32
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import Gun from "gun/gun";
2
- import SEA from "gun/sea";
3
- import { ethers } from "ethers";
1
+ const Gun = require("gun/gun");
2
+ const SEA = require("gun/sea");
3
+ const ethers = require("ethers");
4
4
 
5
5
  // Aggiungi il metodo alla catena di Gun
6
6
  Gun.chain.verifySignature = async function (message, signature) {
package/package.json CHANGED
@@ -1,34 +1,34 @@
1
1
  {
2
- "name": "gun-eth",
3
- "version": "1.0.0",
4
- "description": "A GunDB plugin for Ethereum, and Web3",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "dependencies": {
10
- "gun": "^0.2020.1239",
11
- "ethers": "^6.0.0"
12
- },
13
- "author": "scobru",
14
- "repository": {
15
- "type": "git",
16
- "url": "git+https://github.com/scobru/gun-eth.git"
17
- },
18
- "license": "MIT",
19
- "devDependencies": {},
20
- "keywords": [
21
- "gundb",
22
- "web3",
23
- "evm",
24
- "ethereum",
25
- "decentralized",
26
- "storage",
27
- "gun",
28
- "db"
29
- ],
30
- "bugs": {
31
- "url": "https://github.com/scobru/gun-eth/issues"
32
- },
33
- "homepage": "https://github.com/scobru/gun-eth#readme"
2
+ "name": "gun-eth",
3
+ "version": "1.0.1",
4
+ "description": "A GunDB plugin for Ethereum, and Web3",
5
+ "main": "index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
9
+ "dependencies": {
10
+ "gun": "^0.2020.1239",
11
+ "ethers": "^6.0.0"
12
+ },
13
+ "author": "scobru",
14
+ "repository": {
15
+ "type": "git",
16
+ "url": "git+https://github.com/scobru/gun-eth.git"
17
+ },
18
+ "license": "MIT",
19
+ "devDependencies": {},
20
+ "keywords": [
21
+ "gundb",
22
+ "web3",
23
+ "evm",
24
+ "ethereum",
25
+ "decentralized",
26
+ "storage",
27
+ "gun",
28
+ "db"
29
+ ],
30
+ "bugs": {
31
+ "url": "https://github.com/scobru/gun-eth/issues"
32
+ },
33
+ "homepage": "https://github.com/scobru/gun-eth#readme"
34
34
  }