@burnt-labs/expo-satya-attest 0.2.4 → 0.3.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.
- package/CHANGELOG.md +12 -0
- package/PROVIDER_CONFIG.md +376 -395
- package/README.md +33 -15
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/satyaattest/SatyaAttestModule.kt +26 -7
- package/build/SatyaAttest.types.d.ts +34 -17
- package/build/SatyaAttest.types.d.ts.map +1 -1
- package/build/SatyaAttest.types.js.map +1 -1
- package/build/SatyaMobileClient.d.ts.map +1 -1
- package/build/SatyaMobileClient.js +16 -0
- package/build/SatyaMobileClient.js.map +1 -1
- package/build/SatyaProviderAttestButton.d.ts +24 -1
- package/build/SatyaProviderAttestButton.d.ts.map +1 -1
- package/build/SatyaProviderAttestButton.js +409 -186
- package/build/SatyaProviderAttestButton.js.map +1 -1
- package/build/debugLog.d.ts +69 -0
- package/build/debugLog.d.ts.map +1 -0
- package/build/debugLog.js +203 -0
- package/build/debugLog.js.map +1 -0
- package/build/index.d.ts +4 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +2 -1
- package/build/index.js.map +1 -1
- package/build/providerRegistry.d.ts.map +1 -1
- package/build/providerRegistry.js +140 -66
- package/build/providerRegistry.js.map +1 -1
- package/build/providerWebview.d.ts +14 -5
- package/build/providerWebview.d.ts.map +1 -1
- package/build/providerWebview.js +63 -6
- package/build/providerWebview.js.map +1 -1
- package/build/providers.json +341 -113
- package/ios/Frameworks/libsatya_ffi-rs.xcframework/Info.plist +5 -5
- package/ios/Frameworks/libsatya_ffi-rs.xcframework/ios-arm64/libsatya_ffi.a +0 -0
- package/ios/Frameworks/libsatya_ffi-rs.xcframework/ios-arm64_x86_64-simulator/libsatya_ffi.a +0 -0
- package/ios/SatyaAttest.podspec +1 -1
- package/ios/SatyaAttestModule.swift +19 -2
- package/package.json +3 -2
- package/src/SatyaAttest.types.ts +35 -17
- package/src/SatyaMobileClient.ts +16 -0
- package/src/SatyaProviderAttestButton.tsx +590 -281
- package/src/debugLog.ts +258 -0
- package/src/index.ts +16 -0
- package/src/providerRegistry.ts +166 -71
- package/src/providerWebview.ts +69 -6
- package/src/providers.json +341 -113
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.3.1 - 2026-06-15
|
|
4
|
+
|
|
5
|
+
- Added an **Amazon** account provider (`amazon.prime.v1`). It captures the signed-in `amazon.com` home document and gates the proof on a non-empty `customerId` (logged-out pages ship `"customerId":""`), so capture only fires after login. Discloses Amazon Prime membership status (`is_prime_customer`), `first_name`, and the customer id (`user_id`). A lightweight injection clicks the "Sign in" link to start login; Amazon returns to the home page afterward, so no extra navigation is needed.
|
|
6
|
+
- Added a **Netflix** account provider (`netflix.account.v1`). It captures the `netflix.com/account` page and discloses `account_email`, `member_since`, `user_guid`, `country_of_signup`, and `first_name`.
|
|
7
|
+
|
|
8
|
+
## 0.3.0 - 2026-06-14
|
|
9
|
+
|
|
10
|
+
- Reworked the managed provider WebView into a polished, native-feeling surface: removed the browser-style chrome (address/host bar, lock icon, reload, and close buttons) so the flow reads as a screen of the host app rather than an in-app browser.
|
|
11
|
+
- Exiting the flow now uses the device's own back affordance: the hardware/gesture back button on Android, and a left-edge swipe-back gesture on iOS (which has no hardware back button). Either one dismisses an open OAuth popup first, otherwise closes the WebView — no on-screen close/back buttons.
|
|
12
|
+
- Fixed WebView clipping into the notch / status bar and the home indicator / on-screen navigation bar by applying correct top, bottom, and side safe-area insets across devices. Adds `react-native-safe-area-context` as a required peer dependency (install it alongside `react-native-webview`).
|
|
13
|
+
- Added an optional `theme` prop (`surfaceColor`, `onSurfaceColor`, `mutedColor`, `accentColor`, `statusBarStyle`) so the WebView surface can match the host app's brand. Pass `modalTitle=""` to hide the header title.
|
|
14
|
+
|
|
3
15
|
## 0.2.2 - 2026-06-11
|
|
4
16
|
|
|
5
17
|
- Fixed provider WebView login flows that could continuously refresh while the user was still on a login or SSO host.
|