@be-link/pos-cli-nodejs 0.0.33 → 0.0.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "0.0.33",
3
+ "version": "0.0.35",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -145,6 +145,8 @@ export declare namespace Service {
145
145
  reasonType: string;
146
146
  /** 原因描述 */
147
147
  reasonDesc: string;
148
+ /** 操作人姓名 */
149
+ operator: string;
148
150
  /** 附件列表 */
149
151
  attachment: string[];
150
152
  }
package/utils/env.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const envUtils = {
4
4
  // 环境判断
5
5
  isProduction() {
6
- return process.env.NODE_ENV === 'production';
6
+ return process.env.NODE_ENV === 'prod';
7
7
  },
8
8
  isDevelopment() {
9
9
  return process.env.NODE_ENV === 'development';