@ocap/resolver 1.18.131 → 1.18.133
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/index.js +8 -1
- package/package.json +14 -14
package/lib/index.js
CHANGED
|
@@ -213,7 +213,14 @@ module.exports = class OCAPResolver {
|
|
|
213
213
|
|
|
214
214
|
// 0. create new context
|
|
215
215
|
// NOTE: if you add more fields here, please remember to change core/tx-protocols/lib/execute.js
|
|
216
|
-
const context = {
|
|
216
|
+
const context = {
|
|
217
|
+
txBase64,
|
|
218
|
+
statedb: this.statedb,
|
|
219
|
+
indexdb: this.indexdb,
|
|
220
|
+
config: this.config,
|
|
221
|
+
filter: this.filter,
|
|
222
|
+
extra: ctx,
|
|
223
|
+
};
|
|
217
224
|
|
|
218
225
|
// 1. execute and persist the transaction
|
|
219
226
|
const result = await this.executor.execute(context);
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "1.18.
|
|
6
|
+
"version": "1.18.133",
|
|
7
7
|
"description": "GraphQL resolver built upon ocap statedb and GQL layer",
|
|
8
8
|
"main": "lib/index.js",
|
|
9
9
|
"files": [
|
|
@@ -19,21 +19,21 @@
|
|
|
19
19
|
"author": "wangshijun <wangshijun2010@gmail.com> (http://github.com/wangshijun)",
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"jest": "^
|
|
22
|
+
"jest": "^29.7.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@arcblock/did": "1.18.
|
|
26
|
-
"@arcblock/did-util": "1.18.
|
|
27
|
-
"@arcblock/validator": "1.18.
|
|
28
|
-
"@ocap/config": "1.18.
|
|
29
|
-
"@ocap/indexdb": "1.18.
|
|
30
|
-
"@ocap/mcrypto": "1.18.
|
|
31
|
-
"@ocap/message": "1.18.
|
|
32
|
-
"@ocap/state": "1.18.
|
|
33
|
-
"@ocap/tx-protocols": "1.18.
|
|
34
|
-
"@ocap/util": "1.18.
|
|
35
|
-
"debug": "^4.3.
|
|
25
|
+
"@arcblock/did": "1.18.133",
|
|
26
|
+
"@arcblock/did-util": "1.18.133",
|
|
27
|
+
"@arcblock/validator": "1.18.133",
|
|
28
|
+
"@ocap/config": "1.18.133",
|
|
29
|
+
"@ocap/indexdb": "1.18.133",
|
|
30
|
+
"@ocap/mcrypto": "1.18.133",
|
|
31
|
+
"@ocap/message": "1.18.133",
|
|
32
|
+
"@ocap/state": "1.18.133",
|
|
33
|
+
"@ocap/tx-protocols": "1.18.133",
|
|
34
|
+
"@ocap/util": "1.18.133",
|
|
35
|
+
"debug": "^4.3.6",
|
|
36
36
|
"lodash": "^4.17.21"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "cd4b69aef69b4e30265c3897a22fb63c902c5d4e"
|
|
39
39
|
}
|