ouisys-engine 2.1.72 → 2.1.75

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.
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
5
+ </profile>
6
+ </component>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/ouisys-engine.iml" filepath="$PROJECT_DIR$/.idea/ouisys-engine.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,12 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="WEB_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$">
5
+ <excludeFolder url="file://$MODULE_DIR$/temp" />
6
+ <excludeFolder url="file://$MODULE_DIR$/.tmp" />
7
+ <excludeFolder url="file://$MODULE_DIR$/tmp" />
8
+ </content>
9
+ <orderEntry type="inheritedJdk" />
10
+ <orderEntry type="sourceFolder" forTests="false" />
11
+ </component>
12
+ </module>
package/.idea/vcs.xml ADDED
@@ -0,0 +1,6 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
@@ -468,7 +468,7 @@ function _submitPIN() {
468
468
 
469
469
  isAlreadySubscribed = pinResult.message == "ALREADY SUBSCRIBED" ? true : false;
470
470
  return _context6.abrupt("return", {
471
- productUrl: pinResult.product_url || null,
471
+ productUrl: checkResult.product_url || null,
472
472
  isAlreadySubscribed: isAlreadySubscribed
473
473
  });
474
474
 
@@ -35,7 +35,7 @@ var setOnLoadUtilities = function setOnLoadUtilities(config) {
35
35
  (0, _utils2.startEvinaAgency)(config);
36
36
  }
37
37
 
38
- if (process.env.country.toLowerCase() === "sa" || process.env.country.toLowerCase() === "iq") {
38
+ if (process.env.country.toLowerCase() === "sa" || process.env.country.toLowerCase() === "iq" || process.env.country.toLowerCase() === "k2") {
39
39
  (0, _utils3.loadMcpShield)(window, config);
40
40
  }
41
41
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ouisys-engine",
3
- "version": "2.1.72",
3
+ "version": "2.1.75",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "directories": "dist dev-tools",
@@ -189,7 +189,7 @@ export async function submitPIN(window:Window, pin: string, config:IConfig, extr
189
189
  )
190
190
  if(true === checkResult.success) {
191
191
  const isAlreadySubscribed = (pinResult.message == "ALREADY SUBSCRIBED") ? true : false;
192
- return {productUrl:pinResult.product_url || null, isAlreadySubscribed}
192
+ return {productUrl:checkResult.product_url || null, isAlreadySubscribed}
193
193
  } else {
194
194
  const pinError = new Error(`Error in submitMSISDN() verify-pin action:\n${checkResult.message}`) as IError & {type:string}
195
195
  pinError['type'] = "InvalidPIN";
@@ -20,7 +20,7 @@ export const setOnLoadUtilities = (config:IConfig)=>{
20
20
  if(process.env.country.toLowerCase() === "a2" && process.env.NODE_ENV === "production"){
21
21
  startEvinaAgency(config)
22
22
  }
23
- if(process.env.country.toLowerCase() === "sa" || process.env.country.toLowerCase() === "iq"){
23
+ if(process.env.country.toLowerCase() === "sa" || process.env.country.toLowerCase() === "iq" || process.env.country.toLowerCase() === "k2"){
24
24
  loadMcpShield(window, config);
25
25
  }
26
26
  }