@pathway-io/core 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.mts CHANGED
@@ -66,16 +66,16 @@ declare const fonts: {
66
66
  type AuthOtpRequest = {
67
67
  email: string;
68
68
  };
69
+ type AuthSignInRequest = {
70
+ code: string;
71
+ };
69
72
  type AuthSignInResponse = {
70
73
  accessToken: string;
71
74
  refreshToken: string;
72
75
  };
73
- type AuthSignInInput = {
74
- code: string;
75
- };
76
76
  type AuthSignInRefreshRequest = {
77
77
  refreshToken: string;
78
78
  };
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
- export { type AuthOtpRequest, type AuthSignInInput, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInResponse, colors, fonts };
81
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, colors, fonts };
package/dist/index.d.ts CHANGED
@@ -66,16 +66,16 @@ declare const fonts: {
66
66
  type AuthOtpRequest = {
67
67
  email: string;
68
68
  };
69
+ type AuthSignInRequest = {
70
+ code: string;
71
+ };
69
72
  type AuthSignInResponse = {
70
73
  accessToken: string;
71
74
  refreshToken: string;
72
75
  };
73
- type AuthSignInInput = {
74
- code: string;
75
- };
76
76
  type AuthSignInRefreshRequest = {
77
77
  refreshToken: string;
78
78
  };
79
79
  type AuthSignInRefreshResponse = AuthSignInResponse;
80
80
 
81
- export { type AuthOtpRequest, type AuthSignInInput, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInResponse, colors, fonts };
81
+ export { type AuthOtpRequest, type AuthSignInRefreshRequest, type AuthSignInRefreshResponse, type AuthSignInRequest, type AuthSignInResponse, colors, fonts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pathway-io/core",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "Shared constants and types for Pathway",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/types/auth.ts CHANGED
@@ -2,15 +2,15 @@ export type AuthOtpRequest = {
2
2
  email: string
3
3
  }
4
4
 
5
+ export type AuthSignInRequest = {
6
+ code: string
7
+ }
8
+
5
9
  export type AuthSignInResponse = {
6
10
  accessToken: string
7
11
  refreshToken: string
8
12
  }
9
13
 
10
- export type AuthSignInInput = {
11
- code: string
12
- }
13
-
14
14
  export type AuthSignInRefreshRequest = {
15
15
  refreshToken: string
16
16
  }