@ocap/tx-pipeline 1.21.3 → 1.22.0

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.
@@ -63,6 +63,9 @@ module.exports = function CreateExtractStatePipe({ from, to, table, status = 'OK
63
63
  if (type.role === types.RoleType.ROLE_ROLLUP) {
64
64
  return context.statedb.rollup.get(x, context);
65
65
  }
66
+ if (type.role === types.RoleType.ROLE_TOKEN_FACTORY) {
67
+ return context.statedb.tokenFactory.get(x, context);
68
+ }
66
69
 
67
70
  // FIXME: maybe buggy here, since we have many role types
68
71
  return context.statedb.account.get(x, context);
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.21.3",
6
+ "version": "1.22.0",
7
7
  "description": "Pipeline runner and common pipelines to process transactions",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -15,8 +15,8 @@
15
15
  "devDependencies": {
16
16
  "jest": "^29.7.0",
17
17
  "start-server-and-test": "^1.14.0",
18
- "@ocap/e2e-test": "1.21.3",
19
- "@ocap/statedb-memory": "1.21.3"
18
+ "@ocap/e2e-test": "1.22.0",
19
+ "@ocap/statedb-memory": "1.22.0"
20
20
  },
21
21
  "resolutions": {
22
22
  "bn.js": "5.2.1",
@@ -26,14 +26,14 @@
26
26
  "debug": "^4.3.6",
27
27
  "empty-value": "^1.0.1",
28
28
  "lodash": "^4.17.21",
29
- "@arcblock/did": "1.21.3",
30
- "@arcblock/did-util": "1.21.3",
31
- "@ocap/client": "1.21.3",
32
- "@ocap/mcrypto": "1.21.3",
33
- "@ocap/message": "1.21.3",
34
- "@ocap/state": "1.21.3",
35
- "@ocap/wallet": "1.21.3",
36
- "@ocap/util": "1.21.3"
29
+ "@arcblock/did": "1.22.0",
30
+ "@arcblock/did-util": "1.22.0",
31
+ "@ocap/client": "1.22.0",
32
+ "@ocap/mcrypto": "1.22.0",
33
+ "@ocap/message": "1.22.0",
34
+ "@ocap/state": "1.22.0",
35
+ "@ocap/util": "1.22.0",
36
+ "@ocap/wallet": "1.22.0"
37
37
  },
38
38
  "scripts": {
39
39
  "lint": "eslint tests lib",