@be-link/pos-cli-nodejs 0.0.63 → 0.0.65

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.63",
3
+ "version": "0.0.65",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/pos/http.js CHANGED
@@ -24,7 +24,7 @@ async function callApi(url, ...request) {
24
24
  if (axiosError.response) {
25
25
  const response = axiosError.response;
26
26
  const data = response.data;
27
- throw new PosError_1.default(data?.message || 'Pos Error', response.status);
27
+ throw new PosError_1.default(data.message || 'Pos Error', response.status);
28
28
  }
29
29
  console.error(`POS 未知异常: ${axiosError.message}`, error.stack);
30
30
  throw error;
@@ -366,6 +366,8 @@ export declare namespace Service {
366
366
  tourismMobile?: string;
367
367
  /** 商品列表 */
368
368
  itemIdList?: string[];
369
+ /** skuIdList */
370
+ skuIdList: string[];
369
371
  /** 来源人 */
370
372
  fromUnionId?: string;
371
373
  /** 二级类目 */