@pisell/pisellos 0.0.472 → 0.0.473

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.
@@ -426,7 +426,7 @@ export var CheckoutImpl = /*#__PURE__*/function (_BaseModule) {
426
426
  // 可选,附加费均摊舍入金额
427
427
  "surcharge_rounding_remainder": item.metadata.surcharge_rounding_remainder
428
428
  },
429
- product_bundle: item.product_bundle.map(function (bundle) {
429
+ product_bundle: (item.product_bundle || []).map(function (bundle) {
430
430
  return {
431
431
  is_price_include_tax: item.is_price_include_tax,
432
432
  bundle_id: bundle.bundle_id,
@@ -245,7 +245,7 @@ var CheckoutImpl = class extends import_BaseModule.BaseModule {
245
245
  // 可选,附加费均摊舍入金额
246
246
  "surcharge_rounding_remainder": item.metadata.surcharge_rounding_remainder
247
247
  },
248
- product_bundle: item.product_bundle.map((bundle) => {
248
+ product_bundle: (item.product_bundle || []).map((bundle) => {
249
249
  return {
250
250
  is_price_include_tax: item.is_price_include_tax,
251
251
  bundle_id: bundle.bundle_id,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@pisell/pisellos",
4
- "version": "0.0.472",
4
+ "version": "0.0.473",
5
5
  "description": "一个可扩展的前端模块化SDK框架,支持插件系统",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",