@pisell/private-materials 3.0.115 → 3.0.116

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.
@@ -633,8 +633,8 @@ var ToCPay = function ToCPay(props, ref) {
633
633
  onWalletPassChange: onWalletPassChange
634
634
  }), /*#__PURE__*/React.createElement(PaymentList, {
635
635
  ref: paymentListRef,
636
- handlePayment: function handlePayment() {
637
- handlePaymentByType();
636
+ handlePayment: function handlePayment(detail) {
637
+ handlePaymentByType(detail === null || detail === void 0 ? void 0 : detail.service);
638
638
  },
639
639
  paymentTypeChange: paymentTypeChange,
640
640
  hide: ((_state$payGroup23 = state.payGroup) === null || _state$payGroup23 === void 0 ? void 0 : _state$payGroup23.wait_amount) == 0,
@@ -351,8 +351,8 @@ var ToCPay = (props, ref) => {
351
351
  import_PaymentList.default,
352
352
  {
353
353
  ref: paymentListRef,
354
- handlePayment: () => {
355
- handlePaymentByType();
354
+ handlePayment: (detail) => {
355
+ handlePaymentByType(detail == null ? void 0 : detail.service);
356
356
  },
357
357
  paymentTypeChange,
358
358
  hide: ((_q = state.payGroup) == null ? void 0 : _q.wait_amount) == 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "3.0.115",
3
+ "version": "3.0.116",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -59,10 +59,10 @@
59
59
  "react-infinite-scroll-component": "^6.1.0",
60
60
  "rc-virtual-list": "^3.11.3",
61
61
  "decimal.js": "^10.4.3",
62
- "@pisell/utils": "1.0.28",
63
62
  "@pisell/materials": "3.0.37",
64
- "@pisell/icon": "0.0.11",
65
- "@pisell/date-picker": "1.0.97"
63
+ "@pisell/utils": "1.0.28",
64
+ "@pisell/date-picker": "1.0.97",
65
+ "@pisell/icon": "0.0.11"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": "^18.0.0",