@adastradev/serverless-discovery-sdk
Advanced tools
Comparing version 2.3.5-beta.1701725807854 to 2.3.5-beta.1701793624434
export interface ApiCredentials { | ||
type: ApiCredentialType; | ||
} | ||
export declare type ApiCredentialType = 'None' | 'IAM' | 'BearerToken'; | ||
export type ApiCredentialType = 'None' | 'IAM' | 'BearerToken'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
if (f) throw new TypeError("Generator is already executing."); | ||
while (_) try { | ||
while (g && (g = 0, op[0] && (_ = 0)), _) try { | ||
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; | ||
@@ -118,3 +118,3 @@ if (y = 0, t) op = [op[0] & 2, t.value]; | ||
URI = retVal.data[0].ServiceURL; | ||
astra_logger_1.default.info("discovery service reports version " + latestVer + " for service " + service); | ||
astra_logger_1.default.info("discovery service reports version ".concat(latestVer, " for service ").concat(service)); | ||
} | ||
@@ -124,3 +124,3 @@ return [3 /*break*/, 4]; | ||
err_1 = _a.sent(); | ||
astra_logger_1.default.error("discovery failure for " + service + " " + versionSpec, err_1); | ||
astra_logger_1.default.error("discovery failure for ".concat(service, " ").concat(versionSpec), err_1); | ||
return [2 /*return*/, { | ||
@@ -134,3 +134,3 @@ isLatest: false | ||
// no match or no latest version returned, throw/return error result | ||
astra_logger_1.default.info("discovery service reports version " + latestVer + " which doesn't match this services version " + configVersion); | ||
astra_logger_1.default.info("discovery service reports version ".concat(latestVer, " which doesn't match this services version ").concat(configVersion)); | ||
return [2 /*return*/, { | ||
@@ -137,0 +137,0 @@ URI: URI, |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@adastradev/serverless-discovery-sdk", | ||
"version": "2.3.5-beta.1701725807854", | ||
"version": "2.3.5-beta.1701793624434", | ||
"description": "Serverless Service Discovery API", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"integration-test": "jest integration", | ||
"lint": "tslint {source,test}/**/*.ts", | ||
"lint": "eslint source test", | ||
"snykprotect": "snyk protect", | ||
@@ -31,14 +31,18 @@ "snyktest": "snyk test --severity-threshold=medium" | ||
"@types/tmp": "^0.2.0", | ||
"jest": "^26.6.3", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/eslint-plugin-tslint": "^6.13.2", | ||
"eslint": "^8.55.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-jsdoc": "^46.9.0", | ||
"eslint-plugin-prefer-arrow": "^1.2.3", | ||
"jest": "^29.7.0", | ||
"nock": "^13.2.9", | ||
"snyk": "^1.1260.0", | ||
"tmp": "^0.2.1", | ||
"ts-jest": "^26.4.4", | ||
"ts-jest": "^29.1.0", | ||
"ts-node": "^9.1.1", | ||
"tslint": "^6.1.3", | ||
"tslint-config-security": "^1.16.0", | ||
"typescript": "^4.1.3" | ||
}, | ||
"dependencies": { | ||
"@adastradev/aws-api-gateway-client": "^1.0.8-beta.1701722287034", | ||
"@adastradev/aws-api-gateway-client": "^1.0.8-beta.1701787914836", | ||
"@babel/runtime": "^7.9.2" | ||
@@ -52,4 +56,3 @@ }, | ||
"/dist" | ||
], | ||
"type": "module" | ||
] | ||
} |
23769
360
18
No