@brissoto/pay-react-native 1.5.1 → 1.5.2

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.
@@ -7,11 +7,10 @@ import type { CardFieldsMessage, CheckoutColors, CheckoutCore, CheckoutToast, Ch
7
7
  import type { FigtreeEnum, SheetIconEnum, StoreProductTypeEnum, WebBrowserResultEnum } from './sheet.enum.js';
8
8
  /**
9
9
  * How the sheet ended. `closed`: the payer closed it with the payment still
10
- * open. `unavailable`: no method could take the payment, so its tabs said
11
- * so and nothing was paid (`payment.unavailable` on the server). A hint only: ship on `payment.paid` from the webhook or `getPayment`.
10
+ * open. A hint only: ship on `payment.paid` from the webhook or `getPayment`.
12
11
  */
13
12
  export type PaymentSheetStatus = 'paid' | 'pending' | 'cancelled' | 'expired' | 'locked' | 'refunded' | 'closed'
14
- /** No payment method could take the payment: the sheet said so, nothing was paid. */
13
+ /** No method could take the payment (`payment.unavailable`): nothing was paid. */
15
14
  | 'unavailable';
16
15
  /** Why the sheet could not show the payment: no payment has this id, or it could not load. */
17
16
  export type PaymentSheetError = 'not_found' | 'network';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brissoto/pay-react-native",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Brissoto Pay for Expo and React Native apps: the payment sheet.",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,