@yielded/auth-react-native 0.1.0-beta.29 → 0.1.0-beta.31

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 +6 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -34,17 +34,11 @@ Open your hosted sign-in page with Expo WebBrowser and keep the native session i
34
34
  Expo SecureStore. See the [browser-login guide](../../docs/src/content/docs/guide/browser-login.mdx)
35
35
  for the shared client, server policy, and recovery flow.
36
36
 
37
- Install the peers matching your Expo SDK:
38
-
39
- | Expo SDK | `expo-web-browser` | `expo-secure-store` | Minimum iOS |
40
- | -------- | ------------------ | ------------------- | ----------- |
41
- | 54 | `~15.0.11` | `~15.0.8` | 16 |
42
- | 57 | `~57.0.3` | `~57.0.4` | 16.4 |
43
-
44
- For SDK 54:
37
+ Install `expo-web-browser` and `expo-secure-store` matching your Expo SDK and the
38
+ [package's peer requirements](package.json), alongside:
45
39
 
46
40
  ```sh
47
- bun add @yielded/auth-react-native@beta effect expo-web-browser@~15.0.11 expo-secure-store@~15.0.8 react-native-url-polyfill
41
+ bun add @yielded/auth-react-native@beta effect react-native-url-polyfill
48
42
  ```
49
43
 
50
44
  Plain React Native apps must first [install Expo Modules](https://docs.expo.dev/bare/installing-expo-modules/).
@@ -79,7 +73,7 @@ survive app deletion.
79
73
 
80
74
  Your app also supplies `Crypto.Crypto` with cryptographically secure random bytes
81
75
  and SHA-256. React Native does not supply browser `SubtleCrypto`.
82
- With [`expo-crypto`](https://docs.expo.dev/versions/v54.0.0/sdk/crypto/), use
76
+ With [`expo-crypto`](https://docs.expo.dev/versions/latest/sdk/crypto/), use
83
77
  `getRandomValues` and `digest`; `getRandomBytes` can fall back to `Math.random`
84
78
  in development.
85
79
 
@@ -96,5 +90,5 @@ belong to your association setup. The optional
96
90
  contributes paths to your app-owned file. Older iOS versions reject HTTPS callbacks.
97
91
 
98
92
  Let this adapter own the authentication session: do not open a competing
99
- WebBrowser session or handle its callback through `Linking`. On SDK 54, a failed
100
- presentation can stay pending; interrupt login before trying again.
93
+ WebBrowser session or handle its callback through `Linking`. If presentation
94
+ stays pending, interrupt login before trying again.
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@yielded/auth-react-native","version":"0.1.0-beta.29","dependencies":{"@yielded/auth":"0.1.0-beta.29"},"devDependencies":{"@effect/vitest":"4.0.0","effect":"4.0.0","expo":"54.0.37","expo-secure-store":"15.0.8","expo-web-browser":"15.0.11","react-native":"0.81.4","react-native-passkey":"3.6.2","typescript":"7.0.2","vite-plus":"0.3.3"},"peerDependencies":{"effect":"^4.0.0","expo-secure-store":"~15.0.8 || ~57.0.4","expo-web-browser":"~15.0.11 || ~57.0.3","react-native":">=0.81 <1","react-native-passkey":"~3.6.2"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./BrowserLogin":{"types":"./dist/BrowserLogin.d.mts","default":"./dist/BrowserLogin.mjs"}},"description":"iOS passkey and browser login adapters for Yielded Auth and React Native.","homepage":"https://yielded.dev/auth/","bugs":{"url":"https://github.com/yielded-dev/auth/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/auth.git","directory":"packages/auth-react-native"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json","test":"vp test --passWithNoTests"},"peerDependenciesMeta":{"expo-secure-store":{"optional":true},"expo-web-browser":{"optional":true},"react-native-passkey":{"optional":true}}}
1
+ {"name":"@yielded/auth-react-native","version":"0.1.0-beta.31","dependencies":{"@yielded/auth":"0.1.0-beta.31"},"devDependencies":{"@effect/vitest":"4.0.0","effect":"4.0.0","expo":"54.0.37","expo-secure-store":"15.0.8","expo-web-browser":"15.0.11","react-native":"0.81.4","react-native-passkey":"3.6.2","typescript":"7.0.2","vite":"npm:@voidzero-dev/vite-plus-core@1.1.0","vite-plus":"1.1.0","vitest":"5.0.3"},"peerDependencies":{"effect":"^4.0.0","expo-secure-store":"~15.0.8 || ~57.0.4","expo-web-browser":"~15.0.11 || ~57.0.3","react-native":">=0.81 <1","react-native-passkey":"~3.6.2"},"exports":{".":{"types":"./dist/index.d.mts","default":"./dist/index.mjs"},"./BrowserLogin":{"types":"./dist/BrowserLogin.d.mts","default":"./dist/BrowserLogin.mjs"}},"description":"iOS passkey and browser login adapters for Yielded Auth and React Native.","homepage":"https://yielded.dev/auth/","bugs":{"url":"https://github.com/yielded-dev/auth/issues"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/yielded-dev/auth.git","directory":"packages/auth-react-native"},"files":["dist","src"],"type":"module","sideEffects":[],"publishConfig":{"access":"public"},"scripts":{"build":"vp pack","check":"tsc --noEmit -p tsconfig.json","test":"vp test --passWithNoTests"},"peerDependenciesMeta":{"expo-secure-store":{"optional":true},"expo-web-browser":{"optional":true},"react-native-passkey":{"optional":true}}}