@movmo_app/types 1.7.0 → 1.9.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/dist/auth.d.ts +6 -1
- package/dist/auth.js +7 -1
- package/package.json +2 -2
package/dist/auth.d.ts
CHANGED
|
@@ -8,12 +8,17 @@ export declare enum AuthenticationUserStatus {
|
|
|
8
8
|
}
|
|
9
9
|
export declare enum AuthenticationChallengeName {
|
|
10
10
|
SMS_OTP = "SMS_OTP",
|
|
11
|
-
EMAIL_OTP = "EMAIL_OTP"
|
|
11
|
+
EMAIL_OTP = "EMAIL_OTP",
|
|
12
|
+
CONFIRM_SIGN_UP = "CONFIRM_SIGN_UP"
|
|
12
13
|
}
|
|
13
14
|
export declare enum AuthenticationChallengeResponse {
|
|
14
15
|
SMS_OTP_CODE = "SMS_OTP_CODE",
|
|
15
16
|
EMAIL_OTP_CODE = "EMAIL_OTP_CODE"
|
|
16
17
|
}
|
|
18
|
+
export declare enum OTPAction {
|
|
19
|
+
EMAILED = "emailed",
|
|
20
|
+
TEXTED = "texted"
|
|
21
|
+
}
|
|
17
22
|
/**
|
|
18
23
|
* Response from the login endpoint.
|
|
19
24
|
*/
|
package/dist/auth.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AuthenticationChallengeResponse = exports.AuthenticationChallengeName = exports.AuthenticationUserStatus = exports.AuthenticationUsernameType = void 0;
|
|
3
|
+
exports.OTPAction = exports.AuthenticationChallengeResponse = exports.AuthenticationChallengeName = exports.AuthenticationUserStatus = exports.AuthenticationUsernameType = void 0;
|
|
4
4
|
var AuthenticationUsernameType;
|
|
5
5
|
(function (AuthenticationUsernameType) {
|
|
6
6
|
AuthenticationUsernameType["EMAIL"] = "email";
|
|
@@ -15,9 +15,15 @@ var AuthenticationChallengeName;
|
|
|
15
15
|
(function (AuthenticationChallengeName) {
|
|
16
16
|
AuthenticationChallengeName["SMS_OTP"] = "SMS_OTP";
|
|
17
17
|
AuthenticationChallengeName["EMAIL_OTP"] = "EMAIL_OTP";
|
|
18
|
+
AuthenticationChallengeName["CONFIRM_SIGN_UP"] = "CONFIRM_SIGN_UP";
|
|
18
19
|
})(AuthenticationChallengeName || (exports.AuthenticationChallengeName = AuthenticationChallengeName = {}));
|
|
19
20
|
var AuthenticationChallengeResponse;
|
|
20
21
|
(function (AuthenticationChallengeResponse) {
|
|
21
22
|
AuthenticationChallengeResponse["SMS_OTP_CODE"] = "SMS_OTP_CODE";
|
|
22
23
|
AuthenticationChallengeResponse["EMAIL_OTP_CODE"] = "EMAIL_OTP_CODE";
|
|
23
24
|
})(AuthenticationChallengeResponse || (exports.AuthenticationChallengeResponse = AuthenticationChallengeResponse = {}));
|
|
25
|
+
var OTPAction;
|
|
26
|
+
(function (OTPAction) {
|
|
27
|
+
OTPAction["EMAILED"] = "emailed";
|
|
28
|
+
OTPAction["TEXTED"] = "texted";
|
|
29
|
+
})(OTPAction || (exports.OTPAction = OTPAction = {}));
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@movmo_app/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "A collection of Movmo's types",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"build": "tsc",
|
|
9
|
-
"test": "echo \"
|
|
9
|
+
"test": "echo \"No tests yet\""
|
|
10
10
|
},
|
|
11
11
|
"keywords": [],
|
|
12
12
|
"license": "ISC",
|