@blocklet/payment-react 1.20.9 → 1.20.10

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/es/libs/util.js CHANGED
@@ -311,6 +311,8 @@ export function getPayoutStatusColor(status) {
311
311
  switch (status) {
312
312
  case "paid":
313
313
  return "success";
314
+ case "deferred":
315
+ return "warning";
314
316
  case "failed":
315
317
  return "warning";
316
318
  case "canceled":
package/lib/libs/util.js CHANGED
@@ -410,6 +410,8 @@ function getPayoutStatusColor(status) {
410
410
  switch (status) {
411
411
  case "paid":
412
412
  return "success";
413
+ case "deferred":
414
+ return "warning";
413
415
  case "failed":
414
416
  return "warning";
415
417
  case "canceled":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.20.9",
3
+ "version": "1.20.10",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -94,7 +94,7 @@
94
94
  "@babel/core": "^7.27.4",
95
95
  "@babel/preset-env": "^7.27.2",
96
96
  "@babel/preset-react": "^7.27.1",
97
- "@blocklet/payment-types": "1.20.9",
97
+ "@blocklet/payment-types": "1.20.10",
98
98
  "@storybook/addon-essentials": "^7.6.20",
99
99
  "@storybook/addon-interactions": "^7.6.20",
100
100
  "@storybook/addon-links": "^7.6.20",
@@ -125,5 +125,5 @@
125
125
  "vite-plugin-babel": "^1.3.1",
126
126
  "vite-plugin-node-polyfills": "^0.23.0"
127
127
  },
128
- "gitHead": "e89c0a9b6a3f3b7f7cb3cc0845b1775c1f587f6e"
128
+ "gitHead": "1659d63120ced92167ec8681e51db96801b910ec"
129
129
  }
package/src/libs/util.ts CHANGED
@@ -432,6 +432,8 @@ export function getPayoutStatusColor(status: string) {
432
432
  switch (status) {
433
433
  case 'paid':
434
434
  return 'success';
435
+ case 'deferred':
436
+ return 'warning';
435
437
  case 'failed':
436
438
  return 'warning';
437
439
  case 'canceled':