@company-semantics/contracts 0.91.0 → 0.92.0
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 +5 -1
- package/src/auth/index.ts +1 -1
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@company-semantics/contracts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.92.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
"types": "./src/ralph/index.ts",
|
|
41
41
|
"default": "./src/ralph/index.ts"
|
|
42
42
|
},
|
|
43
|
+
"./auth": {
|
|
44
|
+
"types": "./src/auth/index.ts",
|
|
45
|
+
"default": "./src/auth/index.ts"
|
|
46
|
+
},
|
|
43
47
|
"./chat": {
|
|
44
48
|
"types": "./src/chat/index.ts",
|
|
45
49
|
"default": "./src/chat/index.ts"
|
package/src/auth/index.ts
CHANGED
|
@@ -22,4 +22,4 @@ export type AuthStartMode = "otp" | "sso" | "hybrid";
|
|
|
22
22
|
export type AuthStartResponse =
|
|
23
23
|
| { mode: "otp"; devOtp?: string }
|
|
24
24
|
| { mode: "sso"; providers: string[]; redirectUrl: string }
|
|
25
|
-
| { mode: "hybrid"; providers: string[]; recommendedProvider?: string; otpAllowed: true; devOtp?: string };
|
|
25
|
+
| { mode: "hybrid"; providers: string[]; redirectUrl: string; recommendedProvider?: string; otpAllowed: true; devOtp?: string };
|
package/src/index.ts
CHANGED
|
@@ -121,6 +121,7 @@ export type { AvatarSource, ResolvedAvatar } from './identity/index'
|
|
|
121
121
|
export { generateInitials, resolveAvatar } from './identity/index'
|
|
122
122
|
|
|
123
123
|
// Auth domain types
|
|
124
|
+
export type { AuthStartMode, AuthStartResponse } from './auth/index'
|
|
124
125
|
export { OTPErrorCode } from './auth/index'
|
|
125
126
|
|
|
126
127
|
// Email domain types
|