@shoutem/api-sdk
Advanced tools
Comparing version 1.1.10 to 1.1.11-beta.1
@@ -61,4 +61,7 @@ 'use strict'; | ||
// array defining additional endpoints for regex matching | ||
var additionalEndpoints = '|' + _lodash2.default.join(additionalApiEndpoints, '|'); | ||
var apiSubdomainRegex = new RegExp('^([.a-z0-9]*?).*(localhost|' + baseApi + additionalEndpoints + ')', 'g'); | ||
var apiSubdomainRegex = new RegExp('^([.a-z0-9]*?).*(localhost|' + baseApi + ')', 'g'); | ||
if (!_lodash2.default.isEmpty(additionalApiEndpoints)) { | ||
var additionalEndpoints = _lodash2.default.join(additionalApiEndpoints, '|'); | ||
apiSubdomainRegex = new RegExp('^([.a-z0-9]*?).*(localhost|' + baseApi + '|' + additionalEndpoints + ')', 'g'); | ||
} | ||
@@ -65,0 +68,0 @@ return function (request) { |
{ | ||
"name": "@shoutem/api-sdk", | ||
"version": "1.1.10", | ||
"version": "1.1.11-beta.1", | ||
"description": "Javascript SDK for Shoutem API using fetch", | ||
@@ -18,4 +18,3 @@ "main": "build/lib/index.js", | ||
"test": "mocha --require babelTestSetup --reporter spec --recursive test", | ||
"lint": "eslint src test", | ||
"publish": "npm publish --access public --tag latest" | ||
"lint": "eslint src test" | ||
}, | ||
@@ -49,2 +48,2 @@ "devDependencies": { | ||
} | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30913
669
2