@ocap/tx-pipeline 1.19.7 → 1.19.9

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.
@@ -5,14 +5,6 @@ const { CustomError: Error } = require('@ocap/util/lib/error');
5
5
  module.exports = function CreateVerifySenderPipe({ state = 'senderState' } = {}) {
6
6
  return function VerifySender(context, next) {
7
7
  const sender = get(context, state);
8
- if (context.txType === 'fg:t:declare') {
9
- if (sender) {
10
- return next(new Error('INVALID_SENDER_STATE', 'Sender account already exist in ledger', { persist: true }));
11
- }
12
-
13
- return next();
14
- }
15
-
16
8
  if (sender) {
17
9
  return next();
18
10
  }
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.19.7",
6
+ "version": "1.19.9",
7
7
  "description": "Pipeline runner and common pipelines to process transactions",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -29,16 +29,16 @@
29
29
  "elliptic": "6.5.3"
30
30
  },
31
31
  "dependencies": {
32
- "@arcblock/did": "1.19.7",
33
- "@arcblock/did-util": "1.19.7",
34
- "@ocap/mcrypto": "1.19.7",
35
- "@ocap/message": "1.19.7",
36
- "@ocap/state": "1.19.7",
37
- "@ocap/util": "1.19.7",
38
- "@ocap/wallet": "1.19.7",
32
+ "@arcblock/did": "1.19.9",
33
+ "@arcblock/did-util": "1.19.9",
34
+ "@ocap/mcrypto": "1.19.9",
35
+ "@ocap/message": "1.19.9",
36
+ "@ocap/state": "1.19.9",
37
+ "@ocap/util": "1.19.9",
38
+ "@ocap/wallet": "1.19.9",
39
39
  "debug": "^4.3.6",
40
40
  "empty-value": "^1.0.1",
41
41
  "lodash": "^4.17.21"
42
42
  },
43
- "gitHead": "b3a8e11bd01dd1dc6e2d222bc7dd2476f278a9f7"
43
+ "gitHead": "ae520a0097cfc29d45d5f481da8e4d9bdb3fbe81"
44
44
  }