@moonpay/platform-sdk-react-native 1.31.0 → 1.31.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 +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -94,7 +94,7 @@ Pass an optional `theme` to style every visible MoonPay frame:
94
94
  <MoonPayProvider theme={{ appearance: 'dark', brandColor: 'FF6B00', customTheme: { borderRadius: 'l' } }}>
95
95
  ```
96
96
 
97
- `brandColor` and `customTheme` apply to the auth, widget, buy button and customer export frames. The connect, add card, challenge and reset frames ignore them for now. The connect flow can override any option per call (`client.connect({ theme })` or `<MoonPayConnect theme={...} />`).
97
+ Only the auth frame applies `brandColor` and `customTheme` for now. Other frames ignore them, so you can set them once on the client. The widget frame also ignores `appearance`. The connect flow can override any option per call (`client.connect({ theme })` or `<MoonPayConnect theme={...} />`).
98
98
 
99
99
  #### Providing the session token later
100
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moonpay/platform-sdk-react-native",
3
- "version": "1.31.0",
3
+ "version": "1.31.1",
4
4
  "description": "MoonPay Developer Platform SDK for React Native",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@moonpay/platform-protocol": "1.31.0",
33
- "@moonpay/platform-sdk-core": "1.31.0"
33
+ "@moonpay/platform-sdk-core": "1.31.1"
34
34
  },
35
35
  "peerDependencies": {
36
36
  "react": ">=18.0.0",