@ttoss/react-auth 1.7.13 → 1.7.15

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/dist/esm/index.js CHANGED
@@ -1025,10 +1025,10 @@ var AuthSignUp = ({
1025
1025
  onClick: onReturnToSignIn,
1026
1026
  as: Link3,
1027
1027
  children: intl.formatMessage({
1028
- id: "rx8HF/",
1028
+ id: "8GMUPk",
1029
1029
  defaultMessage: [{
1030
1030
  "type": 0,
1031
- "value": "Im already registered"
1031
+ "value": "I'm already registered"
1032
1032
  }]
1033
1033
  })
1034
1034
  }),
@@ -35,6 +35,12 @@
35
35
  "value": "Cancel"
36
36
  }
37
37
  ],
38
+ "8GMUPk": [
39
+ {
40
+ "type": 0,
41
+ "value": "I'm already registered"
42
+ }
43
+ ],
38
44
  "9cApwd": [
39
45
  {
40
46
  "type": 0,
@@ -218,11 +224,5 @@
218
224
  "type": 0,
219
225
  "value": "Sign up"
220
226
  }
221
- ],
222
- "rx8HF/": [
223
- {
224
- "type": 0,
225
- "value": "I’m already registered"
226
- }
227
227
  ]
228
228
  }
package/i18n/lang/en.json CHANGED
@@ -23,6 +23,10 @@
23
23
  "defaultMessage": "Cancel",
24
24
  "description": "Cancel"
25
25
  },
26
+ "8GMUPk": {
27
+ "defaultMessage": "I'm already registered",
28
+ "description": "Link to sign in on sign up."
29
+ },
26
30
  "9cApwd": {
27
31
  "defaultMessage": "Please, insert a valid e-mail",
28
32
  "description": "Invalid email."
@@ -115,10 +119,6 @@
115
119
  "defaultMessage": "Sign up",
116
120
  "description": "Title on sign up."
117
121
  },
118
- "rx8HF/": {
119
- "defaultMessage": "I’m already registered",
120
- "description": "Link to sign in on sign up."
121
- },
122
122
  "D1C6fR": {
123
123
  "defaultMessage": "Field must be at least {min} characters",
124
124
  "description": "Min length field",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/react-auth",
3
- "version": "1.7.13",
3
+ "version": "1.7.15",
4
4
  "description": "ttoss authentication module for React apps.",
5
5
  "author": "ttoss",
6
6
  "contributors": [
@@ -12,38 +12,43 @@
12
12
  "directory": "packages/react-auth"
13
13
  },
14
14
  "type": "module",
15
- "exports": "./dist/esm/index.js",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/esm/index.js"
19
+ }
20
+ },
16
21
  "files": [
17
22
  "dist",
18
23
  "i18n",
19
24
  "src"
20
25
  ],
21
26
  "sideEffects": false,
22
- "typings": "./dist/index.d.ts",
23
27
  "dependencies": {
24
28
  "@xstate/react": "^3.2.2",
25
- "xstate": "^4.37.2",
26
- "@ttoss/forms": "^0.21.3"
29
+ "xstate": "^4.38.3",
30
+ "@ttoss/forms": "^0.21.5"
27
31
  },
28
32
  "peerDependencies": {
29
33
  "aws-amplify": "^5.0.0",
30
34
  "react": ">=16.8.0",
31
- "@ttoss/react-i18n": "^1.25.2",
32
- "@ttoss/react-notifications": "^1.24.18",
33
- "@ttoss/ui": "^4.0.3"
35
+ "@ttoss/react-i18n": "^1.25.4",
36
+ "@ttoss/react-notifications": "^1.24.20",
37
+ "@ttoss/ui": "^4.0.5"
34
38
  },
35
39
  "devDependencies": {
36
- "@types/react": "^18.2.38",
40
+ "@jest/globals": "^29.7.0",
41
+ "@types/react": "^18.2.39",
37
42
  "aws-amplify": "^5.3.11",
38
43
  "jest": "^29.7.0",
39
44
  "tsup": "^8.0.1",
40
- "@ttoss/config": "^1.31.1",
41
- "@ttoss/cloud-auth": "^0.10.2",
42
- "@ttoss/i18n-cli": "^0.7.1",
43
- "@ttoss/react-i18n": "^1.25.2",
44
- "@ttoss/react-notifications": "^1.24.18",
45
- "@ttoss/test-utils": "^2.0.0",
46
- "@ttoss/ui": "^4.0.3"
45
+ "@ttoss/cloud-auth": "^0.10.4",
46
+ "@ttoss/config": "^1.31.3",
47
+ "@ttoss/i18n-cli": "^0.7.3",
48
+ "@ttoss/react-i18n": "^1.25.4",
49
+ "@ttoss/react-notifications": "^1.24.20",
50
+ "@ttoss/test-utils": "^2.0.2",
51
+ "@ttoss/ui": "^4.0.5"
47
52
  },
48
53
  "keywords": [
49
54
  "React",
@@ -59,6 +64,6 @@
59
64
  "scripts": {
60
65
  "build": "tsup",
61
66
  "i18n": "ttoss-i18n",
62
- "test": "jest"
67
+ "test": "NODE_OPTIONS=--experimental-vm-modules jest"
63
68
  }
64
69
  }
@@ -107,7 +107,7 @@ export const AuthSignUp = ({ onSignUp, onReturnToSignIn }: AuthSignUpProps) => {
107
107
  <Text sx={{ cursor: 'pointer' }} onClick={onReturnToSignIn} as={Link}>
108
108
  {intl.formatMessage({
109
109
  description: 'Link to sign in on sign up.',
110
- defaultMessage: 'I’m already registered',
110
+ defaultMessage: "I'm already registered",
111
111
  })}
112
112
  </Text>
113
113
  }