@freedom_sky/feige-lib 5.19.0 → 5.20.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.
@@ -144,6 +144,7 @@ declare class Const {
144
144
  MEMBER_NAME_MAX_LENGTH: number;
145
145
  MEMBER_NOTE_MAX_LENGTH: number;
146
146
  MEMBER_TRANSACTION_NOTE_MAX_LENGTH: number;
147
+ ADDRESS_DETAIL_MAX_LENGTH: number;
147
148
  };
148
149
  BUSINESS: {
149
150
  BASE: {
@@ -148,6 +148,7 @@ var Const = /** @class */ (function () {
148
148
  MEMBER_NAME_MAX_LENGTH: 30,
149
149
  MEMBER_NOTE_MAX_LENGTH: 200,
150
150
  MEMBER_TRANSACTION_NOTE_MAX_LENGTH: 200,
151
+ ADDRESS_DETAIL_MAX_LENGTH: 100,
151
152
  };
152
153
  this.BUSINESS = {
153
154
  BASE: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "5.19.0",
3
+ "version": "5.20.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -8,7 +8,8 @@
8
8
  "build": "npm run test && tsc",
9
9
  "lint": "tsc --noEmit && eslint 'src/**/*.{js,ts}' --quiet --fix",
10
10
  "test": "jest",
11
- "publish": "npm run build && npm publish --access public"
11
+ "prepublishOnly": "npm run build",
12
+ "release": "npm publish"
12
13
  },
13
14
  "husky": {
14
15
  "hooks": {
@@ -30,6 +31,9 @@
30
31
  "url": "https://github.com/freedom-git/feige-lib/issues"
31
32
  },
32
33
  "homepage": "https://github.com/freedom-git/feige-lib#readme",
34
+ "publishConfig": {
35
+ "access": "public"
36
+ },
33
37
  "devDependencies": {
34
38
  "@types/big.js": "^6.1.2",
35
39
  "@types/jest": "^25.2.1",
@@ -147,6 +147,7 @@ class Const {
147
147
  MEMBER_NAME_MAX_LENGTH: 30,
148
148
  MEMBER_NOTE_MAX_LENGTH: 200,
149
149
  MEMBER_TRANSACTION_NOTE_MAX_LENGTH: 200,
150
+ ADDRESS_DETAIL_MAX_LENGTH: 100,
150
151
  };
151
152
  BUSINESS = {
152
153
  BASE: {