@arcblock/erc721did-contract 0.2.4 → 0.2.6
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/lib/contract.js
CHANGED
|
@@ -6,10 +6,8 @@ const axios = require('axios');
|
|
|
6
6
|
const waitFor = require('p-wait-for');
|
|
7
7
|
const { toBase58, toBN } = require('@ocap/util');
|
|
8
8
|
const upperFirst = require('lodash/upperFirst');
|
|
9
|
-
|
|
10
|
-
const
|
|
11
|
-
// eslint-disable-next-line import/no-useless-path-segments
|
|
12
|
-
const ERC721DIDFactory = require('../lib/ERC721DIDFactory.json');
|
|
9
|
+
const ERC721DID = require('./ERC721DID.json');
|
|
10
|
+
const ERC721DIDFactory = require('./ERC721DIDFactory.json');
|
|
13
11
|
|
|
14
12
|
const { INFURA_PROJECT_ID } = process.env;
|
|
15
13
|
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "0.2.
|
|
6
|
+
"version": "0.2.6",
|
|
7
7
|
"main": "./lib",
|
|
8
8
|
"module": "./lib",
|
|
9
9
|
"typings": "./lib",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
"@nomiclabs/hardhat-waffle": "^2.0.5",
|
|
27
27
|
"@ocap/mcrypto": "1.18.34",
|
|
28
28
|
"@ocap/merkle-tree": "1.18.34",
|
|
29
|
-
"@ocap/util": "1.18.34",
|
|
30
29
|
"@ocap/wallet": "1.18.34",
|
|
31
30
|
"@openzeppelin/contracts": "^4.8.3",
|
|
32
31
|
"@types/mocha": "^10.0.1",
|
|
@@ -38,12 +37,10 @@
|
|
|
38
37
|
"ethereum-waffle": "^3.4.4",
|
|
39
38
|
"ethereumjs-util": "^7.1.5",
|
|
40
39
|
"ethereumjs-wallet": "^1.0.2",
|
|
41
|
-
"ethers": "^5.7.2",
|
|
42
40
|
"hardhat": "^2.14.0",
|
|
43
41
|
"hardhat-contract-sizer": "^2.8.0",
|
|
44
42
|
"hardhat-deploy": "^0.9.29",
|
|
45
43
|
"hardhat-gas-reporter": "^1.0.9",
|
|
46
|
-
"lodash": "^4.17.21",
|
|
47
44
|
"prettier": "^2.8.7",
|
|
48
45
|
"solidity-coverage": "^0.7.22",
|
|
49
46
|
"web3": "^1.9.0",
|
|
@@ -52,7 +49,10 @@
|
|
|
52
49
|
"dependencies": {
|
|
53
50
|
"axios": "^1.3.5",
|
|
54
51
|
"eslint": "^8.38.0",
|
|
55
|
-
"p-wait-for": "^3.2.0"
|
|
52
|
+
"p-wait-for": "^3.2.0",
|
|
53
|
+
"ethers": "^5.7.2",
|
|
54
|
+
"@ocap/util": "1.18.34",
|
|
55
|
+
"lodash": "^4.17.21"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"deploy": "hardhat deploy",
|
|
File without changes
|