@privy-io/react-auth 1.37.2-beta.4 → 1.38.0-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@privy-io/react-auth",
3
- "version": "1.37.2-beta.4",
3
+ "version": "1.38.0-beta.2",
4
4
  "description": "React client for the Privy Auth API",
5
5
  "keywords": [
6
6
  "authentication",
@@ -35,13 +35,15 @@
35
35
  ],
36
36
  "scripts": {
37
37
  "build": "npx tsup --clean --minify",
38
- "watch": "npx tsup --watch",
38
+ "watch": "npx tsup --watch --ignore-watch src/stories",
39
39
  "clean": "rm -rf dist",
40
40
  "prepublishOnly": "npm run clean && npm run build",
41
41
  "test": "jest --testMatch \"**/test/unit/**/*.test.ts\"",
42
42
  "test-integration": "jest --testMatch \"**/test/integration/**/*.test.ts\"",
43
43
  "lint": "eslint \"src/**/*.{ts,tsx,js,jsx}\" && prettier --check \"src/**/*.{ts,tsx,js,jsx}\" && npx tsc --noEmit",
44
- "format": "eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix && prettier --write \"src/**/*.{ts,tsx,js,jsx}\""
44
+ "format": "eslint \"src/**/*.{ts,tsx,js,jsx}\" --fix && prettier --write \"src/**/*.{ts,tsx,js,jsx}\"",
45
+ "storybook": "storybook dev -p 6006",
46
+ "build-storybook": "storybook build"
45
47
  },
46
48
  "dependencies": {
47
49
  "@coinbase/wallet-sdk": "^3.8.0-beta.3",
@@ -64,6 +66,7 @@
64
66
  "dotenv": "^16.0.3",
65
67
  "encoding": "^0.1.13",
66
68
  "eventemitter3": "^5.0.1",
69
+ "fast-password-entropy": "^1.1.1",
67
70
  "jose": "^4.11.2",
68
71
  "js-cookie": "^3.0.5",
69
72
  "libphonenumber-js": "^1.10.14",
@@ -73,6 +76,7 @@
73
76
  "pino-pretty": "^10.0.0",
74
77
  "qrcode": "^1.5.1",
75
78
  "react-device-detect": "^2.2.2",
79
+ "secure-password-utilities": "^0.2.1",
76
80
  "styled-components": "^5.3.6",
77
81
  "tinycolor2": "^1.6.0",
78
82
  "uuid": ">=8 <10",
@@ -84,8 +88,17 @@
84
88
  "@ianvs/prettier-plugin-sort-imports": "^3.7.1",
85
89
  "@saithodev/semantic-release-backmerge": "^2.1.2",
86
90
  "@semantic-release/git": "^10.0.1",
91
+ "@storybook/addon-essentials": "^7.4.0",
92
+ "@storybook/addon-interactions": "^7.4.0",
93
+ "@storybook/addon-links": "^7.4.0",
94
+ "@storybook/addon-onboarding": "^1.0.8",
95
+ "@storybook/blocks": "^7.4.0",
96
+ "@storybook/react": "^7.4.0",
97
+ "@storybook/react-vite": "^7.4.0",
98
+ "@storybook/testing-library": "^0.2.0",
87
99
  "@tsconfig/node16-strictest-esm": "^1.0.3",
88
100
  "@types/body-scroll-lock": "^3.1.0",
101
+ "@types/fast-password-entropy": "^1.1.0",
89
102
  "@types/jest": "^29.1.2",
90
103
  "@types/js-cookie": "^3.0.3",
91
104
  "@types/jsonwebtoken": "^8.5.9",
@@ -104,8 +117,10 @@
104
117
  "eslint-plugin-compat": "^4.1.4",
105
118
  "eslint-plugin-import": "^2.27.5",
106
119
  "eslint-plugin-prettier": "^4.2.1",
120
+ "eslint-plugin-storybook": "^0.6.13",
107
121
  "prettier": "^2.7.1",
108
122
  "semantic-release": "^19.0.5",
123
+ "storybook": "^7.4.0",
109
124
  "ts-jest": "^29.0.3",
110
125
  "tsup": "^6.2.3",
111
126
  "typescript": "^4.9.5"