gun-eth 1.2.11 → 1.2.12

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/package.json +1 -2
  2. package/src/index.js +2 -7
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "gun-eth",
3
- "version": "1.2.11",
3
+ "version": "1.2.12",
4
4
  "description": "A GunDB plugin for Ethereum, and Web3",
5
5
  "main": "./src/index.js",
6
- "type": "module",
7
6
  "scripts": {
8
7
  "test": "echo \"Error: no test specified\" && exit 1"
9
8
  },
package/src/index.js CHANGED
@@ -1,12 +1,7 @@
1
- /* const Gun = require("gun/gun");
1
+ const Gun = require("gun/gun");
2
2
  const SEA = require("gun/sea");
3
3
  const ethers = require("ethers");
4
- const SHINE = require("../abis/SHINE.json"); */
5
-
6
- import { ethers } from "ethers";
7
- import SHINE from "../abis/SHINE.json";
8
- import SEA from "gun/sea";
9
- import Gun from "gun";
4
+ const SHINE = require("../abis/SHINE.json");
10
5
 
11
6
  const SHINE_ABI = SHINE.abi;
12
7
  const SHINE_OPTIMISM_SEPOLIA = SHINE.address;