@edge-markets/connect-react-native 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +10 -10
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # @edgeboost/edge-connect-react-native
1
+ # @edge-markets/connect-react-native
2
2
 
3
- React Native SDK for EDGE Connect - Plaid-like authentication flow for mobile apps.
3
+ React Native SDK for EDGE Connect authentication flow for mobile apps.
4
4
 
5
5
  ## Features
6
6
 
@@ -15,13 +15,13 @@ React Native SDK for EDGE Connect - Plaid-like authentication flow for mobile ap
15
15
 
16
16
  ```bash
17
17
  # npm
18
- npm install @edgeboost/edge-connect-react-native react-native-inappbrowser-reborn
18
+ npm install @edge-markets/connect-react-native react-native-inappbrowser-reborn
19
19
 
20
20
  # yarn
21
- yarn add @edgeboost/edge-connect-react-native react-native-inappbrowser-reborn
21
+ yarn add @edge-markets/connect-react-native react-native-inappbrowser-reborn
22
22
 
23
23
  # pnpm
24
- pnpm add @edgeboost/edge-connect-react-native react-native-inappbrowser-reborn
24
+ pnpm add @edge-markets/connect-react-native react-native-inappbrowser-reborn
25
25
  ```
26
26
 
27
27
  ### iOS Setup
@@ -68,7 +68,7 @@ The SDK will automatically use `expo-web-browser` if available.
68
68
  ### 2. Use the Hook
69
69
 
70
70
  ```tsx
71
- import { useEdgeLink } from '@edgeboost/edge-connect-react-native'
71
+ import { useEdgeLink } from '@edge-markets/connect-react-native'
72
72
  import { Button, Alert } from 'react-native'
73
73
 
74
74
  function ConnectEdgeButton() {
@@ -153,7 +153,7 @@ React hook for EdgeLink integration.
153
153
  For more control, use the class directly:
154
154
 
155
155
  ```typescript
156
- import { EdgeLink } from '@edgeboost/edge-connect-react-native'
156
+ import { EdgeLink } from '@edge-markets/connect-react-native'
157
157
 
158
158
  const link = new EdgeLink({
159
159
  clientId: 'your-client-id',
@@ -187,7 +187,7 @@ link.destroy()
187
187
  The SDK automatically sets up deep link listeners. If you have custom routing, you can handle links manually:
188
188
 
189
189
  ```typescript
190
- import { useEdgeLinkHandler } from '@edgeboost/edge-connect-react-native'
190
+ import { useEdgeLinkHandler } from '@edge-markets/connect-react-native'
191
191
  import { Linking } from 'react-native'
192
192
 
193
193
  function App() {
@@ -251,8 +251,8 @@ Without this, the SDK falls back to less secure random generation and will log a
251
251
  The `result.code` and `result.codeVerifier` must be sent to your backend for token exchange:
252
252
 
253
253
  ```typescript
254
- // Your backend (using @edgeboost/edge-connect-server)
255
- import { EdgeConnectServer } from '@edgeboost/edge-connect-server'
254
+ // Your backend (using @edge-markets/connect-node)
255
+ import { EdgeConnectServer } from '@edge-markets/connect-node'
256
256
 
257
257
  const server = new EdgeConnectServer({
258
258
  clientId: 'your-client-id',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@edge-markets/connect-react-native",
3
- "version": "1.0.1",
4
- "description": "React Native SDK for EDGE Connect - Plaid-like authentication flow for mobile apps",
3
+ "version": "1.0.2",
4
+ "description": "React Native SDK for EDGE Connect authentication flow for mobile apps",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -30,12 +30,12 @@
30
30
  "pkce",
31
31
  "authentication",
32
32
  "fintech",
33
- "plaid-like"
33
+ "mobile"
34
34
  ],
35
35
  "author": "EdgeBoost",
36
36
  "license": "MIT",
37
37
  "dependencies": {
38
- "@edge-markets/connect": "^1.0.0"
38
+ "@edge-markets/connect": "workspace:^"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": ">=18.0.0",