@remap/services
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -18,5 +18,13 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "Authentication", { | ||
enumerable: true, | ||
get: function () { | ||
return _Authentication.Authentication; | ||
} | ||
}); | ||
var _Restaurants = require("./Restaurants"); | ||
var _Stocks = require("./Stocks"); | ||
var _Stocks = require("./Stocks"); | ||
var _Authentication = require("./Authentication"); |
@@ -6,6 +6,8 @@ "use strict"; | ||
}); | ||
exports.STOCKS_SERVICE_ORIGIN = exports.RESTAURANTS_SERVICE_ORIGIN = void 0; | ||
exports.AUTHENTICATION_SERVICE_ORIGIN = exports.STOCKS_SERVICE_ORIGIN = exports.RESTAURANTS_SERVICE_ORIGIN = void 0; | ||
const RESTAURANTS_SERVICE_ORIGIN = 'https://remap-restaurants-production.mybluemix.net'; | ||
exports.RESTAURANTS_SERVICE_ORIGIN = RESTAURANTS_SERVICE_ORIGIN; | ||
const STOCKS_SERVICE_ORIGIN = 'https://remap-stocks-production.mybluemix.net'; | ||
exports.STOCKS_SERVICE_ORIGIN = STOCKS_SERVICE_ORIGIN; | ||
exports.STOCKS_SERVICE_ORIGIN = STOCKS_SERVICE_ORIGIN; | ||
const AUTHENTICATION_SERVICE_ORIGIN = 'https://remap-authentication-production.mybluemix.net'; | ||
exports.AUTHENTICATION_SERVICE_ORIGIN = AUTHENTICATION_SERVICE_ORIGIN; |
@@ -16,3 +16,3 @@ "use strict"; | ||
static get origin() { | ||
return process.env.RESTAURANTS_SERVICE_ORIGIN || _origins.RESTAURANTS_SERVICE_ORIGIN; | ||
return process.env.REMAP_RESTAURANTS_SERVICE_ORIGIN || _origins.RESTAURANTS_SERVICE_ORIGIN; | ||
} | ||
@@ -19,0 +19,0 @@ |
{ | ||
"name": "@remap/services", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A JavaScript client for ReMap Services", | ||
@@ -11,3 +11,3 @@ "main": "lib/index.js", | ||
"test": "ava-ts", | ||
"lint": "eslint src/*", | ||
"lint": "eslint src/* test.ts", | ||
"clean:lib": "if [ -d lib ]; then rm -rf lib; fi", | ||
@@ -14,0 +14,0 @@ "prebuild": "npm run clean:lib", |
@@ -20,1 +20,7 @@ # @remap/services | ||
``` | ||
### API | ||
- Restaurants | ||
- Stocks | ||
- Authentication |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
9193
9
187
26
3