@maxzima/wa-communicator 1.0.27 → 1.0.28
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.
|
@@ -83,8 +83,14 @@ declare type TSetupSSERequestData = {
|
|
|
83
83
|
onMessage: (responseData: TSSEResponseData) => void;
|
|
84
84
|
};
|
|
85
85
|
declare type TSSEResponseData = {
|
|
86
|
-
otp
|
|
86
|
+
otp?: string;
|
|
87
87
|
decline_reason?: string;
|
|
88
|
+
message?: string;
|
|
89
|
+
error_code?: number;
|
|
90
|
+
error_text?: string;
|
|
91
|
+
error_context?: {
|
|
92
|
+
next_attempts_after?: string;
|
|
93
|
+
};
|
|
88
94
|
};
|
|
89
95
|
declare type TSetupChallengeResponse = {
|
|
90
96
|
attempts_left: number;
|
package/package.json
CHANGED
|
@@ -104,8 +104,14 @@ type TSetupSSERequestData = {
|
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
type TSSEResponseData = {
|
|
107
|
-
otp
|
|
107
|
+
otp?: string,
|
|
108
108
|
decline_reason?: string,
|
|
109
|
+
message?: string,
|
|
110
|
+
error_code?: number,
|
|
111
|
+
error_text?: string,
|
|
112
|
+
error_context?: {
|
|
113
|
+
next_attempts_after?: string,
|
|
114
|
+
}
|
|
109
115
|
}
|
|
110
116
|
|
|
111
117
|
type TSetupChallengeResponse = {
|