@pelican-identity/react-native 1.2.0 β 1.2.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/README.md +6 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Pelican Identity React Native SDK
|
|
2
2
|
|
|
3
3
|
React Native SDK for Pelican authentication and identity verification
|
|
4
|
+
π **Pelican Dashboard:** https://dash.pelicanidentity.com
|
|
4
5
|
|
|
5
6
|
## Installation
|
|
6
7
|
|
|
@@ -66,6 +67,7 @@ import "react-native-get-random-values"; // Must be first
|
|
|
66
67
|
### 3. Whitelist your app in Pelican Dashboard
|
|
67
68
|
|
|
68
69
|
Add your appβs bundle identifier (example: `com.yourcompany.myapp`) to your projectβs whitelist in the Pelican dashboard.
|
|
70
|
+
π **Pelican Dashboard:** https://dash.pelicanidentity.com
|
|
69
71
|
|
|
70
72
|
Pelican validates **explicit app identity** on every authentication attempt.
|
|
71
73
|
|
|
@@ -218,6 +220,7 @@ Main authentication component.
|
|
|
218
220
|
### Best practice
|
|
219
221
|
|
|
220
222
|
Fetch your Pelican configuration (public key, project ID) from your backend at runtime instead of hard-coding them into your mobile app.
|
|
223
|
+
π **Pelican Dashboard:** https://dash.pelicanidentity.com
|
|
221
224
|
|
|
222
225
|
---
|
|
223
226
|
|
|
@@ -427,16 +430,19 @@ Returned fields depend on:
|
|
|
427
430
|
|
|
428
431
|
- Ensure your business wallet has sufficient balance
|
|
429
432
|
- Pelican attempts to send a low balance alert to your email, you can configure the threshold in the Pelican dashboard
|
|
433
|
+
π **Pelican Dashboard:** https://dash.pelicanidentity.com
|
|
430
434
|
|
|
431
435
|
### Project not found
|
|
432
436
|
|
|
433
437
|
- Ensure you passed a valid `projectId` prop
|
|
434
438
|
- Ensure it matches the project ID configured in your app
|
|
439
|
+
π **Pelican Dashboard:** https://dash.pelicanidentity.com
|
|
435
440
|
|
|
436
441
|
### Business not found
|
|
437
442
|
|
|
438
443
|
- Ensure you passed a valid `publicKey` prop
|
|
439
444
|
- Ensure it matches the business ID configured in your app
|
|
445
|
+
π **Pelican Dashboard:** https://dash.pelicanidentity.com
|
|
440
446
|
|
|
441
447
|
---
|
|
442
448
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pelican-identity/react-native",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "React Native components for Pelican Identity authentication",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"react-native": "./src/index.ts",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"react-native-get-random-values": "^1.7.0"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@pelican-identity/auth-core": "1.2.
|
|
25
|
+
"@pelican-identity/auth-core": "1.2.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/react": "^18.2.45",
|