@pisell/pisellos 0.0.443 → 0.0.444

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.
@@ -3851,10 +3851,10 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
3851
3851
  _this$otherParams,
3852
3852
  _localOrderData$booki,
3853
3853
  _localOrderData$relat,
3854
- _checkoutResponse2,
3855
- _checkoutResponse3,
3856
- _checkoutResponse7;
3857
- var orderUuid, paymentOrder, localOrderData, paymentItems, processedPaymentItems, finalDepositAmount, manualDepositAmount, manualDepositValue, orderPaymentStatus, totalPaidAmount, orderParams, currentOrderId, isUpdateOperation, checkoutResponse, _checkoutResponse, responseStatus, isSuccessResponse, _checkoutResponse4, errorMessage, realOrderId, _checkoutResponse5, extractedOrderId, _checkoutResponse6, syncedPaymentUuids, _iterator3, _step3, paymentUuid, latestPaymentStatus;
3854
+ _checkoutResponse4,
3855
+ _checkoutResponse5,
3856
+ _checkoutResponse9;
3857
+ var orderUuid, paymentOrder, localOrderData, paymentItems, processedPaymentItems, finalDepositAmount, manualDepositAmount, manualDepositValue, orderPaymentStatus, totalPaidAmount, orderParams, currentOrderId, isUpdateOperation, startTime, checkoutResponse, submitSuccess, submitError, _checkoutResponse, _checkoutResponse2, _checkoutResponse3, responseStatus, isSuccessResponse, _checkoutResponse6, errorMessage, realOrderId, _checkoutResponse7, extractedOrderId, _checkoutResponse8, syncedPaymentUuids, _iterator3, _step3, paymentUuid, latestPaymentStatus;
3858
3858
  return _regeneratorRuntime().wrap(function _callee40$(_context40) {
3859
3859
  while (1) switch (_context40.prev = _context40.next) {
3860
3860
  case 0:
@@ -3990,41 +3990,66 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
3990
3990
  isUpdateOperation: isUpdateOperation,
3991
3991
  paymentItemCount: processedPaymentItems.length
3992
3992
  });
3993
- _context40.prev = 28;
3993
+
3994
+ // 发送下单接口请求开始事件
3995
+ startTime = Date.now();
3996
+ _context40.next = 31;
3997
+ return this.core.effects.emit("".concat(this.name, ":onOrderSubmitStart"), {
3998
+ orderUuid: orderUuid,
3999
+ operation: isUpdateOperation ? 'update' : 'create',
4000
+ isManual: false,
4001
+ paymentItemCount: processedPaymentItems.length,
4002
+ timestamp: startTime
4003
+ });
4004
+ case 31:
4005
+ submitSuccess = false;
4006
+ _context40.prev = 32;
3994
4007
  this.logError('EFTPOS repair calling backend checkout API', _objectSpread({
3995
4008
  url: '/order/checkout',
3996
4009
  isManual: true
3997
4010
  }, orderParams));
3998
- _context40.next = 32;
4011
+ _context40.next = 36;
3999
4012
  return this.order.createOrderByCheckout(orderParams);
4000
- case 32:
4013
+ case 36:
4001
4014
  checkoutResponse = _context40.sent;
4002
- _context40.next = 39;
4015
+ submitSuccess = true;
4016
+ _context40.next = 45;
4003
4017
  break;
4004
- case 35:
4005
- _context40.prev = 35;
4006
- _context40.t0 = _context40["catch"](28);
4018
+ case 40:
4019
+ _context40.prev = 40;
4020
+ _context40.t0 = _context40["catch"](32);
4007
4021
  this.logError('EFTPOS repair checkout API failed', {
4008
4022
  orderUuid: orderUuid,
4009
4023
  error: _context40.t0 instanceof Error ? _context40.t0.message : String(_context40.t0)
4010
4024
  });
4025
+ submitError = _context40.t0 instanceof Error ? _context40.t0.message : String(_context40.t0);
4011
4026
  throw _context40.t0;
4012
- case 39:
4013
- _context40.prev = 39;
4027
+ case 45:
4028
+ _context40.prev = 45;
4014
4029
  this.logError('EFTPOS repair sync end', {
4015
4030
  orderUuid: orderUuid,
4016
4031
  orderId: currentOrderId,
4017
4032
  responseStatus: (_checkoutResponse = checkoutResponse) === null || _checkoutResponse === void 0 ? void 0 : _checkoutResponse.status
4018
4033
  });
4019
- return _context40.finish(39);
4020
- case 42:
4021
- responseStatus = (_checkoutResponse2 = checkoutResponse) === null || _checkoutResponse2 === void 0 ? void 0 : _checkoutResponse2.status;
4022
- isSuccessResponse = responseStatus === true || responseStatus === 200 || responseStatus === 'success' || responseStatus === 1 && ((_checkoutResponse3 = checkoutResponse) === null || _checkoutResponse3 === void 0 ? void 0 : _checkoutResponse3.code) === 200;
4034
+ this.core.effects.emit("".concat(this.name, ":onOrderSubmitEnd"), {
4035
+ success: submitSuccess,
4036
+ orderUuid: orderUuid,
4037
+ operation: isUpdateOperation ? 'update' : 'create',
4038
+ isManual: false,
4039
+ orderId: submitSuccess ? ((_checkoutResponse2 = checkoutResponse) === null || _checkoutResponse2 === void 0 || (_checkoutResponse2 = _checkoutResponse2.data) === null || _checkoutResponse2 === void 0 ? void 0 : _checkoutResponse2.order_id) || ((_checkoutResponse3 = checkoutResponse) === null || _checkoutResponse3 === void 0 ? void 0 : _checkoutResponse3.order_id) : undefined,
4040
+ error: submitError,
4041
+ duration: Date.now() - startTime,
4042
+ timestamp: Date.now()
4043
+ });
4044
+ return _context40.finish(45);
4045
+ case 49:
4046
+ responseStatus = (_checkoutResponse4 = checkoutResponse) === null || _checkoutResponse4 === void 0 ? void 0 : _checkoutResponse4.status;
4047
+ isSuccessResponse = responseStatus === true || responseStatus === 200 || responseStatus === 'success' || responseStatus === 1 && ((_checkoutResponse5 = checkoutResponse) === null || _checkoutResponse5 === void 0 ? void 0 : _checkoutResponse5.code) === 200;
4023
4048
  if (isSuccessResponse) {
4024
- _context40.next = 48;
4049
+ _context40.next = 55;
4025
4050
  break;
4026
4051
  }
4027
- errorMessage = ((_checkoutResponse4 = checkoutResponse) === null || _checkoutResponse4 === void 0 ? void 0 : _checkoutResponse4.message) || '订单同步失败,后端返回非成功状态';
4052
+ errorMessage = ((_checkoutResponse6 = checkoutResponse) === null || _checkoutResponse6 === void 0 ? void 0 : _checkoutResponse6.message) || '订单同步失败,后端返回非成功状态';
4028
4053
  this.logError('EFTPOS repair sync failed: api error', {
4029
4054
  orderUuid: orderUuid,
4030
4055
  errorMessage: errorMessage,
@@ -4034,76 +4059,76 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4034
4059
  success: false,
4035
4060
  response: checkoutResponse
4036
4061
  });
4037
- case 48:
4062
+ case 55:
4038
4063
  realOrderId = currentOrderId;
4039
4064
  if (isUpdateOperation) {
4040
- _context40.next = 60;
4065
+ _context40.next = 67;
4041
4066
  break;
4042
4067
  }
4043
- extractedOrderId = (_checkoutResponse5 = checkoutResponse) === null || _checkoutResponse5 === void 0 || (_checkoutResponse5 = _checkoutResponse5.data) === null || _checkoutResponse5 === void 0 ? void 0 : _checkoutResponse5.order_id;
4068
+ extractedOrderId = (_checkoutResponse7 = checkoutResponse) === null || _checkoutResponse7 === void 0 || (_checkoutResponse7 = _checkoutResponse7.data) === null || _checkoutResponse7 === void 0 ? void 0 : _checkoutResponse7.order_id;
4044
4069
  if (!extractedOrderId) {
4045
- extractedOrderId = (_checkoutResponse6 = checkoutResponse) === null || _checkoutResponse6 === void 0 ? void 0 : _checkoutResponse6.order_id;
4070
+ extractedOrderId = (_checkoutResponse8 = checkoutResponse) === null || _checkoutResponse8 === void 0 ? void 0 : _checkoutResponse8.order_id;
4046
4071
  }
4047
4072
  if (extractedOrderId !== undefined && extractedOrderId !== null) {
4048
4073
  extractedOrderId = String(extractedOrderId);
4049
4074
  }
4050
4075
  realOrderId = extractedOrderId;
4051
4076
  if (!realOrderId) {
4052
- _context40.next = 59;
4077
+ _context40.next = 66;
4053
4078
  break;
4054
4079
  }
4055
- _context40.next = 57;
4080
+ _context40.next = 64;
4056
4081
  return this.payment.replaceOrderIdByUuidAsync(orderUuid, realOrderId);
4057
- case 57:
4058
- _context40.next = 60;
4082
+ case 64:
4083
+ _context40.next = 67;
4059
4084
  break;
4060
- case 59:
4085
+ case 66:
4061
4086
  this.logError('EFTPOS repair missing order_id in response', {
4062
4087
  orderUuid: orderUuid,
4063
4088
  response: checkoutResponse
4064
4089
  });
4065
- case 60:
4090
+ case 67:
4066
4091
  syncedPaymentUuids = processedPaymentItems.filter(function (item) {
4067
4092
  return item.status !== 'voided';
4068
4093
  }).map(function (item) {
4069
4094
  return item.uuid;
4070
4095
  }).filter(Boolean);
4071
4096
  _iterator3 = _createForOfIteratorHelper(syncedPaymentUuids);
4072
- _context40.prev = 62;
4097
+ _context40.prev = 69;
4073
4098
  _iterator3.s();
4074
- case 64:
4099
+ case 71:
4075
4100
  if ((_step3 = _iterator3.n()).done) {
4076
- _context40.next = 70;
4101
+ _context40.next = 77;
4077
4102
  break;
4078
4103
  }
4079
4104
  paymentUuid = _step3.value;
4080
- _context40.next = 68;
4105
+ _context40.next = 75;
4081
4106
  return this.payment.updatePaymentAsync(orderUuid, paymentUuid, {
4082
4107
  isSynced: true,
4083
4108
  syncError: undefined
4084
4109
  });
4085
- case 68:
4086
- _context40.next = 64;
4110
+ case 75:
4111
+ _context40.next = 71;
4087
4112
  break;
4088
- case 70:
4089
- _context40.next = 75;
4113
+ case 77:
4114
+ _context40.next = 82;
4090
4115
  break;
4091
- case 72:
4092
- _context40.prev = 72;
4093
- _context40.t1 = _context40["catch"](62);
4116
+ case 79:
4117
+ _context40.prev = 79;
4118
+ _context40.t1 = _context40["catch"](69);
4094
4119
  _iterator3.e(_context40.t1);
4095
- case 75:
4096
- _context40.prev = 75;
4120
+ case 82:
4121
+ _context40.prev = 82;
4097
4122
  _iterator3.f();
4098
- return _context40.finish(75);
4099
- case 78:
4100
- latestPaymentStatus = ((_checkoutResponse7 = checkoutResponse) === null || _checkoutResponse7 === void 0 || (_checkoutResponse7 = _checkoutResponse7.data) === null || _checkoutResponse7 === void 0 ? void 0 : _checkoutResponse7.payment_status) || orderPaymentStatus;
4101
- _context40.next = 81;
4123
+ return _context40.finish(82);
4124
+ case 85:
4125
+ latestPaymentStatus = ((_checkoutResponse9 = checkoutResponse) === null || _checkoutResponse9 === void 0 || (_checkoutResponse9 = _checkoutResponse9.data) === null || _checkoutResponse9 === void 0 ? void 0 : _checkoutResponse9.payment_status) || orderPaymentStatus;
4126
+ _context40.next = 88;
4102
4127
  return this.payment.updateOrderAsync(orderUuid, {
4103
4128
  payment_status: latestPaymentStatus
4104
4129
  });
4105
- case 81:
4106
- _context40.next = 83;
4130
+ case 88:
4131
+ _context40.next = 90;
4107
4132
  return this.core.effects.emit("".concat(this.name, ":onOrderSynced"), {
4108
4133
  orderUuid: orderUuid,
4109
4134
  realOrderId: realOrderId,
@@ -4113,17 +4138,17 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4113
4138
  response: checkoutResponse,
4114
4139
  isFormRepair: true
4115
4140
  });
4116
- case 83:
4141
+ case 90:
4117
4142
  return _context40.abrupt("return", {
4118
4143
  success: true,
4119
4144
  orderId: realOrderId,
4120
4145
  response: checkoutResponse
4121
4146
  });
4122
- case 84:
4147
+ case 91:
4123
4148
  case "end":
4124
4149
  return _context40.stop();
4125
4150
  }
4126
- }, _callee40, this, [[28, 35, 39, 42], [62, 72, 75, 78]]);
4151
+ }, _callee40, this, [[32, 40, 45, 49], [69, 79, 82, 85]]);
4127
4152
  }));
4128
4153
  function syncOrderToBackendFromIndexDbAsync(_x31) {
4129
4154
  return _syncOrderToBackendFromIndexDbAsync.apply(this, arguments);
@@ -4148,8 +4173,8 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4148
4173
  _this$store$currentOr27,
4149
4174
  _this$store$localOrde,
4150
4175
  _this$store$localOrde2,
4151
- _checkoutResponse10,
4152
- _checkoutResponse11;
4176
+ _checkoutResponse12,
4177
+ _checkoutResponse13;
4153
4178
  var isManual,
4154
4179
  customPaymentItems,
4155
4180
  paymentStatus,
@@ -4167,16 +4192,16 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4167
4192
  checkoutResponse,
4168
4193
  submitSuccess,
4169
4194
  submitError,
4170
- _checkoutResponse8,
4171
- _checkoutResponse9,
4195
+ _checkoutResponse10,
4196
+ _checkoutResponse11,
4172
4197
  responseStatus,
4173
4198
  isSuccessResponse,
4174
- _checkoutResponse12,
4199
+ _checkoutResponse14,
4175
4200
  errorMessage,
4176
4201
  realOrderId,
4177
- _checkoutResponse13,
4202
+ _checkoutResponse15,
4178
4203
  extractedOrderId,
4179
- _checkoutResponse14,
4204
+ _checkoutResponse16,
4180
4205
  latestPaymentStatus,
4181
4206
  previousOrder,
4182
4207
  updatedOrder,
@@ -4426,7 +4451,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4426
4451
  orderUuid: this.store.currentOrder.uuid,
4427
4452
  operation: isUpdateOperation ? 'update' : 'create',
4428
4453
  isManual: isManual,
4429
- orderId: submitSuccess ? ((_checkoutResponse8 = checkoutResponse) === null || _checkoutResponse8 === void 0 || (_checkoutResponse8 = _checkoutResponse8.data) === null || _checkoutResponse8 === void 0 ? void 0 : _checkoutResponse8.order_id) || ((_checkoutResponse9 = checkoutResponse) === null || _checkoutResponse9 === void 0 ? void 0 : _checkoutResponse9.order_id) : undefined,
4454
+ orderId: submitSuccess ? ((_checkoutResponse10 = checkoutResponse) === null || _checkoutResponse10 === void 0 || (_checkoutResponse10 = _checkoutResponse10.data) === null || _checkoutResponse10 === void 0 ? void 0 : _checkoutResponse10.order_id) || ((_checkoutResponse11 = checkoutResponse) === null || _checkoutResponse11 === void 0 ? void 0 : _checkoutResponse11.order_id) : undefined,
4430
4455
  error: submitError,
4431
4456
  duration: Date.now() - startTime,
4432
4457
  timestamp: Date.now()
@@ -4435,13 +4460,13 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4435
4460
  return _context41.finish(49);
4436
4461
  case 53:
4437
4462
  // 检查响应状态是否为成功状态
4438
- responseStatus = (_checkoutResponse10 = checkoutResponse) === null || _checkoutResponse10 === void 0 ? void 0 : _checkoutResponse10.status;
4439
- isSuccessResponse = responseStatus === true || responseStatus === 200 || responseStatus === 'success' || responseStatus === 1 && ((_checkoutResponse11 = checkoutResponse) === null || _checkoutResponse11 === void 0 ? void 0 : _checkoutResponse11.code) === 200;
4463
+ responseStatus = (_checkoutResponse12 = checkoutResponse) === null || _checkoutResponse12 === void 0 ? void 0 : _checkoutResponse12.status;
4464
+ isSuccessResponse = responseStatus === true || responseStatus === 200 || responseStatus === 'success' || responseStatus === 1 && ((_checkoutResponse13 = checkoutResponse) === null || _checkoutResponse13 === void 0 ? void 0 : _checkoutResponse13.code) === 200;
4440
4465
  if (isSuccessResponse) {
4441
4466
  _context41.next = 60;
4442
4467
  break;
4443
4468
  }
4444
- errorMessage = ((_checkoutResponse12 = checkoutResponse) === null || _checkoutResponse12 === void 0 ? void 0 : _checkoutResponse12.message) || '订单同步失败,后端返回非成功状态'; // 发送订单同步失败事件
4469
+ errorMessage = ((_checkoutResponse14 = checkoutResponse) === null || _checkoutResponse14 === void 0 ? void 0 : _checkoutResponse14.message) || '订单同步失败,后端返回非成功状态'; // 发送订单同步失败事件
4445
4470
  _context41.next = 59;
4446
4471
  return this.core.effects.emit("".concat(this.name, ":onOrderSyncFailed"), {
4447
4472
  orderUuid: this.store.currentOrder.uuid,
@@ -4466,9 +4491,9 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
4466
4491
  break;
4467
4492
  case 64:
4468
4493
  // 创建操作:从响应中提取新的订单ID
4469
- extractedOrderId = (_checkoutResponse13 = checkoutResponse) === null || _checkoutResponse13 === void 0 || (_checkoutResponse13 = _checkoutResponse13.data) === null || _checkoutResponse13 === void 0 ? void 0 : _checkoutResponse13.order_id; // 如果data.order_id不存在,尝试直接从根级获取
4494
+ extractedOrderId = (_checkoutResponse15 = checkoutResponse) === null || _checkoutResponse15 === void 0 || (_checkoutResponse15 = _checkoutResponse15.data) === null || _checkoutResponse15 === void 0 ? void 0 : _checkoutResponse15.order_id; // 如果data.order_id不存在,尝试直接从根级获取
4470
4495
  if (!extractedOrderId) {
4471
- extractedOrderId = (_checkoutResponse14 = checkoutResponse) === null || _checkoutResponse14 === void 0 ? void 0 : _checkoutResponse14.order_id;
4496
+ extractedOrderId = (_checkoutResponse16 = checkoutResponse) === null || _checkoutResponse16 === void 0 ? void 0 : _checkoutResponse16.order_id;
4472
4497
  }
4473
4498
 
4474
4499
  // 确保转换为字符串类型
@@ -2413,7 +2413,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
2413
2413
  await this.syncOrderToBackendFromIndexDbAsync({ orderUuid });
2414
2414
  }
2415
2415
  async syncOrderToBackendFromIndexDbAsync(params) {
2416
- var _a, _b, _c, _d, _e, _f, _g;
2416
+ var _a, _b, _c, _d, _e, _f, _g, _h;
2417
2417
  const { orderUuid } = params;
2418
2418
  const paymentOrder = await this.payment.getPaymentOrderByUuidAsync(orderUuid);
2419
2419
  if (!paymentOrder) {
@@ -2534,7 +2534,17 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
2534
2534
  isUpdateOperation,
2535
2535
  paymentItemCount: processedPaymentItems.length
2536
2536
  });
2537
+ const startTime = Date.now();
2538
+ await this.core.effects.emit(`${this.name}:onOrderSubmitStart`, {
2539
+ orderUuid,
2540
+ operation: isUpdateOperation ? "update" : "create",
2541
+ isManual: false,
2542
+ paymentItemCount: processedPaymentItems.length,
2543
+ timestamp: startTime
2544
+ });
2537
2545
  let checkoutResponse;
2546
+ let submitSuccess = false;
2547
+ let submitError;
2538
2548
  try {
2539
2549
  this.logError("EFTPOS repair calling backend checkout API", {
2540
2550
  url: "/order/checkout",
@@ -2542,11 +2552,13 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
2542
2552
  ...orderParams
2543
2553
  });
2544
2554
  checkoutResponse = await this.order.createOrderByCheckout(orderParams);
2555
+ submitSuccess = true;
2545
2556
  } catch (error) {
2546
2557
  this.logError("EFTPOS repair checkout API failed", {
2547
2558
  orderUuid,
2548
2559
  error: error instanceof Error ? error.message : String(error)
2549
2560
  });
2561
+ submitError = error instanceof Error ? error.message : String(error);
2550
2562
  throw error;
2551
2563
  } finally {
2552
2564
  this.logError("EFTPOS repair sync end", {
@@ -2554,6 +2566,16 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
2554
2566
  orderId: currentOrderId,
2555
2567
  responseStatus: checkoutResponse == null ? void 0 : checkoutResponse.status
2556
2568
  });
2569
+ this.core.effects.emit(`${this.name}:onOrderSubmitEnd`, {
2570
+ success: submitSuccess,
2571
+ orderUuid,
2572
+ operation: isUpdateOperation ? "update" : "create",
2573
+ isManual: false,
2574
+ orderId: submitSuccess ? ((_f = checkoutResponse == null ? void 0 : checkoutResponse.data) == null ? void 0 : _f.order_id) || (checkoutResponse == null ? void 0 : checkoutResponse.order_id) : void 0,
2575
+ error: submitError,
2576
+ duration: Date.now() - startTime,
2577
+ timestamp: Date.now()
2578
+ });
2557
2579
  }
2558
2580
  const responseStatus = checkoutResponse == null ? void 0 : checkoutResponse.status;
2559
2581
  const isSuccessResponse = responseStatus === true || responseStatus === 200 || responseStatus === "success" || responseStatus === 1 && (checkoutResponse == null ? void 0 : checkoutResponse.code) === 200;
@@ -2568,7 +2590,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
2568
2590
  }
2569
2591
  let realOrderId = currentOrderId;
2570
2592
  if (!isUpdateOperation) {
2571
- let extractedOrderId = (_f = checkoutResponse == null ? void 0 : checkoutResponse.data) == null ? void 0 : _f.order_id;
2593
+ let extractedOrderId = (_g = checkoutResponse == null ? void 0 : checkoutResponse.data) == null ? void 0 : _g.order_id;
2572
2594
  if (!extractedOrderId) {
2573
2595
  extractedOrderId = checkoutResponse == null ? void 0 : checkoutResponse.order_id;
2574
2596
  }
@@ -2592,7 +2614,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
2592
2614
  syncError: void 0
2593
2615
  });
2594
2616
  }
2595
- const latestPaymentStatus = ((_g = checkoutResponse == null ? void 0 : checkoutResponse.data) == null ? void 0 : _g.payment_status) || orderPaymentStatus;
2617
+ const latestPaymentStatus = ((_h = checkoutResponse == null ? void 0 : checkoutResponse.data) == null ? void 0 : _h.payment_status) || orderPaymentStatus;
2596
2618
  await this.payment.updateOrderAsync(orderUuid, {
2597
2619
  payment_status: latestPaymentStatus
2598
2620
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.443",
4
+ "version": "0.0.444",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",