@blocklet/payment-react 1.25.6 → 1.25.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-react",
3
- "version": "1.25.6",
3
+ "version": "1.25.8",
4
4
  "description": "Reusable react components for payment kit v2",
5
5
  "keywords": [
6
6
  "react",
@@ -96,7 +96,7 @@
96
96
  "@babel/core": "^7.27.4",
97
97
  "@babel/preset-env": "^7.27.2",
98
98
  "@babel/preset-react": "^7.27.1",
99
- "@blocklet/payment-types": "1.25.6",
99
+ "@blocklet/payment-types": "1.25.8",
100
100
  "@storybook/addon-essentials": "^7.6.20",
101
101
  "@storybook/addon-interactions": "^7.6.20",
102
102
  "@storybook/addon-links": "^7.6.20",
@@ -127,5 +127,5 @@
127
127
  "vite-plugin-babel": "^1.3.1",
128
128
  "vite-plugin-node-polyfills": "^0.23.0"
129
129
  },
130
- "gitHead": "8a1d87eed8aaa803f29b7c3c69652f2e0c467058"
130
+ "gitHead": "b40c46bcf52d4c1758bb10eb4c4583355960e18f"
131
131
  }
@@ -203,7 +203,9 @@ function extractQuoteLockedAt(
203
203
  paymentIntent?: TPaymentIntent | null,
204
204
  checkoutSession?: TCheckoutSession
205
205
  ): number | null {
206
+ // @ts-ignore
206
207
  if (paymentIntent?.quote_locked_at) {
208
+ // @ts-ignore
207
209
  const lockedAtMs = new Date(paymentIntent.quote_locked_at).getTime();
208
210
  if (Number.isFinite(lockedAtMs)) {
209
211
  return Math.floor(lockedAtMs / 1000);