opengate-js 12.3.0 → 12.4.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.
@@ -17,5 +17,5 @@ Feature: Searching User Languages provider in catalog
17
17
  Then response code should be: 200
18
18
  And the result contains:
19
19
  """
20
- {"userLanguages":[{"code":"es","language":"Español/Spanish"},{"code":"en","language":"Inglés/English"}]}
20
+ {"userLanguages":[{"code":"es","language":"Español/Spanish"},{"code":"en","language":"Inglés/English"},{"code":"pt","language":"Portugués/Portuguese"}]}
21
21
  """
@@ -633,7 +633,7 @@ Given(/^an apikey user by "([^"]*)" and...$/, function (apikey, table, callback)
633
633
  callback();
634
634
  });
635
635
 
636
- Given(/^an apikey user by "([^"]*)" $/, function (apikey, callback) {
636
+ Given(/^an apikey user by "([^"]*)"$/, function (apikey, callback) {
637
637
  var config = {
638
638
  'apiKey': this.apikey || apikey,
639
639
  'url': this.test_url_north,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opengate-js",
3
- "version": "12.3.0",
3
+ "version": "12.4.0",
4
4
  "description": "",
5
5
  "main": "dist/opengate-api-npm.js",
6
6
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "babelify": "^6.1.0",
37
37
  "chai": "^3.5.0",
38
38
  "chai-as-promised": "^5.3.0",
39
- "cucumber": "^5.0.0",
39
+ "cucumber": "^3.0.0",
40
40
  "eslint": "^7.8.1",
41
41
  "gulp": "^4.0.2",
42
42
  "gulp-babel": "^5.1.0",
@@ -692,6 +692,10 @@ export default class StaticSearch extends Search {
692
692
  {
693
693
  'code': 'en',
694
694
  'language': 'Inglés/English'
695
+ },
696
+ {
697
+ 'code': 'pt',
698
+ 'language': 'Portugués/Portuguese'
695
699
  }
696
700
  ],
697
701
  'countryCodes': [{
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"mappings":"","sources":["opengate-api-bower.js"],"file":"opengate-api-bower-12.3.0.js","sourceRoot":".."}