@blocklet/payment-react 1.16.5 → 1.16.6

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.
@@ -80,7 +80,7 @@ function OverdueInvoicePayment({
80
80
  containerEl: void 0,
81
81
  saveConnect: false,
82
82
  action: "collect-batch",
83
- prefix: joinURL("/api/did"),
83
+ prefix: joinURL(getPrefix(), "/api/did"),
84
84
  extraParams: { currencyId: currency.id, subscriptionId },
85
85
  onSuccess: () => {
86
86
  connect.close();
@@ -98,7 +98,7 @@ function OverdueInvoicePayment({
98
98
  containerEl: void 0,
99
99
  saveConnect: false,
100
100
  action: "collect-batch",
101
- prefix: (0, _ufo.joinURL)("/api/did"),
101
+ prefix: (0, _ufo.joinURL)((0, _util.getPrefix)(), "/api/did"),
102
102
  extraParams: {
103
103
  currencyId: currency.id,
104
104
  subscriptionId
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.16.5",
3
+ "version": "1.16.6",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -92,7 +92,7 @@
92
92
  "@babel/core": "^7.25.2",
93
93
  "@babel/preset-env": "^7.25.2",
94
94
  "@babel/preset-react": "^7.24.7",
95
- "@blocklet/payment-types": "1.16.5",
95
+ "@blocklet/payment-types": "1.16.6",
96
96
  "@storybook/addon-essentials": "^7.6.20",
97
97
  "@storybook/addon-interactions": "^7.6.20",
98
98
  "@storybook/addon-links": "^7.6.20",
@@ -122,5 +122,5 @@
122
122
  "vite-plugin-babel": "^1.2.0",
123
123
  "vite-plugin-node-polyfills": "^0.21.0"
124
124
  },
125
- "gitHead": "74e38987168230f01af52d1aff14bfa6a18c0578"
125
+ "gitHead": "52e20bd4381344e137c2468681265903dbbfb910"
126
126
  }
@@ -119,7 +119,7 @@ function OverdueInvoicePayment({
119
119
  containerEl: undefined as unknown as Element,
120
120
  saveConnect: false,
121
121
  action: 'collect-batch',
122
- prefix: joinURL('/api/did'),
122
+ prefix: joinURL(getPrefix(), '/api/did'),
123
123
  extraParams: { currencyId: currency.id, subscriptionId },
124
124
  onSuccess: () => {
125
125
  connect.close();