ouisys-engine 2.1.28 → 2.1.29
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.
|
@@ -436,7 +436,7 @@ function _submitPIN() {
|
|
|
436
436
|
|
|
437
437
|
pinErrorTypeMap = {
|
|
438
438
|
"pin does not match": "InvalidPIN",
|
|
439
|
-
"mcp blocked": "
|
|
439
|
+
"mcp blocked": "McpBlocked"
|
|
440
440
|
};
|
|
441
441
|
errorMessage = pinErrorTypeMap[pinResult.message];
|
|
442
442
|
pinError = new Error("Error in submitMSISDN() verify-pin action:\n".concat(errorMessage));
|
package/package.json
CHANGED
|
@@ -170,7 +170,7 @@ export async function submitPIN(window:Window, pin: string, config:IConfig, extr
|
|
|
170
170
|
if (false === pinResult.success) {
|
|
171
171
|
const pinErrorTypeMap:{[key:string]:string} = {
|
|
172
172
|
"pin does not match": "InvalidPIN",
|
|
173
|
-
"mcp blocked": "
|
|
173
|
+
"mcp blocked": "McpBlocked"
|
|
174
174
|
}
|
|
175
175
|
const errorMessage = pinErrorTypeMap[pinResult.message as string]
|
|
176
176
|
const pinError = new Error(`Error in submitMSISDN() verify-pin action:\n${errorMessage}`) as IError & {type:string}
|