@ttoss/react-auth 2.4.0 → 2.4.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/dist/esm/index.js CHANGED
@@ -764,8 +764,8 @@ var AuthSignUp = props => {
764
764
  "value": "By signing up, you agree to the following Terms and Conditions."
765
765
  }]
766
766
  });
767
- const termsLinks = props.signUpTerms.termsAndConditions.map((term, index, termsAndConditions) => {
768
- const finalPunctuation = index === termsAndConditions.length - 1 ? "." : ", ";
767
+ const termsLinks = props.signUpTerms.terms.map((term, index, terms) => {
768
+ const finalPunctuation = index === terms.length - 1 ? "." : ", ";
769
769
  return /* @__PURE__ */jsxs5(React5.Fragment, {
770
770
  children: [/* @__PURE__ */jsx8(Link3, {
771
771
  href: term.url,
package/dist/index.d.ts CHANGED
@@ -35,7 +35,7 @@ type AuthSignUpProps = {
35
35
  onReturnToSignIn: () => void;
36
36
  signUpTerms?: {
37
37
  isRequired: boolean;
38
- termsAndConditions: {
38
+ terms: {
39
39
  label: string;
40
40
  url: string;
41
41
  }[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttoss/react-auth",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "ttoss authentication module for React apps.",
5
5
  "license": "MIT",
6
6
  "author": "ttoss",
@@ -43,9 +43,9 @@
43
43
  "jest": "^29.7.0",
44
44
  "react": "^19.0.0",
45
45
  "tsup": "^8.3.5",
46
- "@ttoss/config": "^1.35.2",
47
46
  "@ttoss/cloud-auth": "^0.12.27",
48
47
  "@ttoss/i18n-cli": "^0.7.26",
48
+ "@ttoss/config": "^1.35.2",
49
49
  "@ttoss/react-i18n": "^2.0.9",
50
50
  "@ttoss/react-notifications": "^1.24.65",
51
51
  "@ttoss/test-utils": "^2.1.22",