@leancodepl/kratos 7.1.3

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.
Files changed (47) hide show
  1. package/README.md +7 -0
  2. package/index.cjs.d.ts +1 -0
  3. package/index.cjs.js +1750 -0
  4. package/index.esm.js +1730 -0
  5. package/package.json +16 -0
  6. package/src/index.d.ts +9 -0
  7. package/src/lib/createKratosClient.d.ts +2 -0
  8. package/src/lib/flowFactory.d.ts +22 -0
  9. package/src/lib/mkAuth.d.ts +74 -0
  10. package/src/lib/node/DefaultNodeAnchor/index.d.ts +7 -0
  11. package/src/lib/node/DefaultNodeImage/index.d.ts +7 -0
  12. package/src/lib/node/DefaultNodeText/index.d.ts +7 -0
  13. package/src/lib/node/NodeInput/defaultNodeInputHidden.d.ts +6 -0
  14. package/src/lib/node/NodeInput/index.d.ts +19 -0
  15. package/src/lib/node/index.d.ts +43 -0
  16. package/src/lib/sessionManager/baseSessionManager.d.ts +14 -0
  17. package/src/lib/types/enums/errorId.d.ts +16 -0
  18. package/src/lib/types/enums/errorValidation.d.ts +30 -0
  19. package/src/lib/types/enums/errorValidationLogin.d.ts +9 -0
  20. package/src/lib/types/enums/errorValidationRecovery.d.ts +9 -0
  21. package/src/lib/types/enums/errorValidationRegistration.d.ts +4 -0
  22. package/src/lib/types/enums/errorValidationSettings.d.ts +4 -0
  23. package/src/lib/types/enums/errorValidationVerification.d.ts +9 -0
  24. package/src/lib/types/enums/index.d.ts +14 -0
  25. package/src/lib/types/enums/infoNodeLabel.d.ts +14 -0
  26. package/src/lib/types/enums/infoSelfServiceLogin.d.ts +16 -0
  27. package/src/lib/types/enums/infoSelfServiceRecovery.d.ts +6 -0
  28. package/src/lib/types/enums/infoSelfServiceRegistration.d.ts +7 -0
  29. package/src/lib/types/enums/infoSelfServiceSettings.d.ts +21 -0
  30. package/src/lib/types/enums/infoSelfServiceVerification.d.ts +6 -0
  31. package/src/lib/types/enums/misc.d.ts +10 -0
  32. package/src/lib/types/responseError.d.ts +2 -0
  33. package/src/lib/types/uiMessage.d.ts +22 -0
  34. package/src/lib/types/useHandleFlowError.d.ts +5 -0
  35. package/src/lib/useReauthenticationFlow.d.ts +13 -0
  36. package/src/lib/useRecoveryFlow.d.ts +15 -0
  37. package/src/lib/useSettingsFlow.d.ts +15 -0
  38. package/src/lib/useSignInFlow.d.ts +15 -0
  39. package/src/lib/useSignUpFlow.d.ts +15 -0
  40. package/src/lib/useVerificationFlow.d.ts +15 -0
  41. package/src/lib/utils/filterNodesByGroups.d.ts +23 -0
  42. package/src/lib/utils/getMessages.d.ts +18 -0
  43. package/src/lib/utils/getNodeId.d.ts +2 -0
  44. package/src/lib/utils/getNodeInputType.d.ts +1 -0
  45. package/src/lib/utils/parseSearchParams.d.ts +1 -0
  46. package/src/lib/utils/typeGuards.d.ts +6 -0
  47. package/src/lib/utils/variables.d.ts +2 -0
@@ -0,0 +1,6 @@
1
+ import { UiNodeAnchorAttributes, UiNodeAttributes, UiNodeImageAttributes, UiNodeInputAttributes, UiNodeScriptAttributes, UiNodeTextAttributes } from "@ory/kratos-client";
2
+ export declare function isUiNodeAnchorAttributes(attrs: UiNodeAttributes): attrs is UiNodeAnchorAttributes;
3
+ export declare function isUiNodeImageAttributes(attrs: UiNodeAttributes): attrs is UiNodeImageAttributes;
4
+ export declare function isUiNodeInputAttributes(attrs: UiNodeAttributes): attrs is UiNodeInputAttributes;
5
+ export declare function isUiNodeTextAttributes(attrs: UiNodeAttributes): attrs is UiNodeTextAttributes;
6
+ export declare function isUiNodeScriptAttributes(attrs: UiNodeAttributes): attrs is UiNodeScriptAttributes;
@@ -0,0 +1,2 @@
1
+ export declare const returnToParameterName = "return_to";
2
+ export declare const aalParameterName = "aal";