@privy-io/react-auth 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/LICENSE +202 -0
- package/README.md +13 -0
- package/dist/index.d.ts +403 -0
- package/dist/index.js +6309 -0
- package/package.json +117 -0
package/package.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@privy-io/react-auth",
|
|
3
|
+
"version": "1.2.1",
|
|
4
|
+
"description": "React client for the Privy Auth API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"authentication",
|
|
7
|
+
"authorization",
|
|
8
|
+
"identity",
|
|
9
|
+
"privacy",
|
|
10
|
+
"privy",
|
|
11
|
+
"user data",
|
|
12
|
+
"web3"
|
|
13
|
+
],
|
|
14
|
+
"homepage": "https://github.com/privy-io/react-auth",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/privy-io/react-auth.git"
|
|
18
|
+
},
|
|
19
|
+
"license": "Apache-2.0",
|
|
20
|
+
"exports": "./dist/index.js",
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist/**/*",
|
|
25
|
+
"LICENSE",
|
|
26
|
+
"README.md"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"build": "npx tsup",
|
|
30
|
+
"watch": "npx tsup --watch",
|
|
31
|
+
"clean": "rm -rf dist",
|
|
32
|
+
"prepublishOnly": "npm run clean && npm run build",
|
|
33
|
+
"test": "jest --testMatch \"**/test/unit/**/*.test.ts\"",
|
|
34
|
+
"test-integration": "jest --testMatch \"**/test/integration/**/*.test.ts\"",
|
|
35
|
+
"lint": "prettier --check \"src/**/*.{ts,tsx,js,jsx}\" && npx tsc --noEmit",
|
|
36
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,js,jsx}\""
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@ethersproject/address": "^5.7.0",
|
|
40
|
+
"@ethersproject/providers": "^5.7.1",
|
|
41
|
+
"@walletconnect/web3-provider": "^1.8.0",
|
|
42
|
+
"axios": "^1.1.2",
|
|
43
|
+
"base64-js": "^1.5.1",
|
|
44
|
+
"dotenv": "^16.0.3",
|
|
45
|
+
"ethers": "^5.7.1",
|
|
46
|
+
"jwt-decode": "^3.1.2",
|
|
47
|
+
"md5": "^2.3.0",
|
|
48
|
+
"react-device-detect": "^2.2.2",
|
|
49
|
+
"styled-components": "^5.3.6",
|
|
50
|
+
"web3-core": "^1.8.0",
|
|
51
|
+
"web3-core-helpers": "^1.8.0"
|
|
52
|
+
},
|
|
53
|
+
"devDependencies": {
|
|
54
|
+
"@saithodev/semantic-release-backmerge": "^2.1.2",
|
|
55
|
+
"@tsconfig/node16-strictest-esm": "^1.0.3",
|
|
56
|
+
"@types/jest": "^29.1.2",
|
|
57
|
+
"@types/jsonwebtoken": "^8.5.9",
|
|
58
|
+
"@types/md5": "^2.3.2",
|
|
59
|
+
"@types/react": "^18.0.21",
|
|
60
|
+
"@types/react-dom": "^18.0.6",
|
|
61
|
+
"@types/styled-components": "^5.1.26",
|
|
62
|
+
"jsonwebtoken": "^8.5.1",
|
|
63
|
+
"prettier": "^2.7.1",
|
|
64
|
+
"semantic-release": "^19.0.5",
|
|
65
|
+
"ts-jest": "^29.0.3",
|
|
66
|
+
"tsup": "^6.2.3",
|
|
67
|
+
"typescript": "^4.8.4"
|
|
68
|
+
},
|
|
69
|
+
"peerDependencies": {
|
|
70
|
+
"react": "^18",
|
|
71
|
+
"react-dom": "^18"
|
|
72
|
+
},
|
|
73
|
+
"bugs": {
|
|
74
|
+
"url": "https://github.com/privy-io/react-auth/issues"
|
|
75
|
+
},
|
|
76
|
+
"directories": {
|
|
77
|
+
"test": "test"
|
|
78
|
+
},
|
|
79
|
+
"author": "privy.io",
|
|
80
|
+
"tsup": {
|
|
81
|
+
"clean": true,
|
|
82
|
+
"dts": true,
|
|
83
|
+
"external": [
|
|
84
|
+
"react"
|
|
85
|
+
],
|
|
86
|
+
"entryPoints": [
|
|
87
|
+
"src/index.ts"
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"release": {
|
|
91
|
+
"branches": [
|
|
92
|
+
"release",
|
|
93
|
+
{
|
|
94
|
+
"name": "main",
|
|
95
|
+
"prerelease": "beta"
|
|
96
|
+
}
|
|
97
|
+
],
|
|
98
|
+
"plugins": [
|
|
99
|
+
"@semantic-release/commit-analyzer",
|
|
100
|
+
"@semantic-release/release-notes-generator",
|
|
101
|
+
"@semantic-release/npm",
|
|
102
|
+
"@semantic-release/github",
|
|
103
|
+
[
|
|
104
|
+
"@saithodev/semantic-release-backmerge",
|
|
105
|
+
{
|
|
106
|
+
"branches": [
|
|
107
|
+
{
|
|
108
|
+
"from": "release",
|
|
109
|
+
"to": "main"
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"clearWorkspace": true
|
|
113
|
+
}
|
|
114
|
+
]
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
}
|