@ocap/config 1.27.7 → 1.27.8

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/default.js CHANGED
@@ -60,6 +60,7 @@ module.exports = {
60
60
  },
61
61
  txStake: {
62
62
  createToken: 100, // in ABT
63
+ createCreditToken: 100, // in ABT
63
64
  createTokenLockPeriod: 24 * 60 * 60, // 1 day
64
65
  },
65
66
  delegate: {
package/lib/schema.js CHANGED
@@ -39,6 +39,7 @@ const configSchema = Joi.object({
39
39
  }).optional(),
40
40
  txStake: Joi.object({
41
41
  createToken: Joi.number().integer().min(1).required(),
42
+ createCreditToken: Joi.number().integer().min(0).required(),
42
43
  createTokenLockPeriod: Joi.number().integer().min(1).required(),
43
44
  }).optional(),
44
45
  })
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.27.7",
6
+ "version": "1.27.8",
7
7
  "description": "OCAP config parsing/validation and default",
8
8
  "main": "lib/index.js",
9
9
  "files": [
@@ -20,10 +20,10 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "lodash": "^4.17.21",
23
- "@arcblock/did": "1.27.7",
24
- "@arcblock/did-util": "1.27.7",
25
- "@arcblock/validator": "1.27.7",
26
- "@ocap/util": "1.27.7"
23
+ "@arcblock/did": "1.27.8",
24
+ "@arcblock/did-util": "1.27.8",
25
+ "@arcblock/validator": "1.27.8",
26
+ "@ocap/util": "1.27.8"
27
27
  },
28
28
  "scripts": {
29
29
  "lint": "eslint tests lib",