@brissoto/pay-react-native 1.8.0 → 1.8.1

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.
Files changed (2) hide show
  1. package/README.md +2 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  Take payments in your Expo app through Brissoto Pay: a payment sheet slides up, the payer pays in it and never leaves the app. Pure JavaScript: it runs in Expo Go and any Expo app, with no native code and no rebuild.
4
4
 
5
5
  ```sh
6
- npx expo install @brissoto/pay-react-native convex expo-font react-native-webview
6
+ npx expo install @brissoto/pay-react-native convex expo-font expo-haptics react-native-webview
7
7
  ```
8
8
 
9
9
  ## 1. Create the payment on your server
@@ -43,11 +43,7 @@ npx expo install expo-iap
43
43
  npx expo install expo-web-browser
44
44
  ```
45
45
 
46
- **Haptics** play with [expo-haptics](https://docs.expo.dev/versions/latest/sdk/haptics/): on Pay and the main buttons, and on each outcome (paid, failed, waiting for approval, a missing field). Without it, the sheet plays none.
47
-
48
- ```sh
49
- npx expo install expo-haptics
50
- ```
46
+ **Haptics** play with [expo-haptics](https://docs.expo.dev/versions/latest/sdk/haptics/), in the install above: on Pay and the main buttons, and on each outcome (paid, failed, waiting for approval, a missing field). An app that left it out plays none: add it with `npx expo install expo-haptics`.
51
47
 
52
48
  ## 2. Wrap the app in the provider
53
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brissoto/pay-react-native",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Brissoto Pay for Expo and React Native apps: the payment sheet.",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,