@adastradev/serverless-discovery-sdk
Advanced tools
Comparing version 3.0.2 to 3.0.3-beta.1712849230637
@@ -0,0 +0,0 @@ export interface ApiCredentials { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ import { ApiCredentials } from './ApiCredentials'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -0,0 +0,0 @@ export declare class DiscoverySdk { |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { ServiceApiModel } from './ServiceApiModel'; |
@@ -35,3 +35,3 @@ "use strict"; | ||
var iamCreds = credentials; | ||
this.apigClient = apigClientFactory.newClient(__assign({ accessKey: iamCreds.accessKeyId, invokeUrl: serviceEndpointUri, region: region, secretKey: iamCreds.secretAccessKey }, retryOptions)); | ||
this.apigClient = apigClientFactory.newClient(__assign({ accessKey: iamCreds.accessKeyId, invokeUrl: serviceEndpointUri, region: region, secretKey: iamCreds.secretAccessKey, sessionToken: iamCreds === null || iamCreds === void 0 ? void 0 : iamCreds.sessionToken }, retryOptions)); | ||
} | ||
@@ -38,0 +38,0 @@ else if (credentials.type === 'BearerToken') { |
@@ -0,0 +0,0 @@ import { ApiCredentials } from './ApiCredentials'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -5,4 +5,5 @@ import { ApiCredentialType, IAMCredentials } from './index'; | ||
secretAccessKey: string; | ||
sessionToken: string; | ||
type: ApiCredentialType; | ||
constructor(); | ||
} |
@@ -8,2 +8,3 @@ "use strict"; | ||
this.secretAccessKey = process.env.AWS_SECRET_ACCESS_KEY || ''; | ||
this.sessionToken = process.env.AWS_SESSION_TOKEN || ''; | ||
this.type = 'IAM'; | ||
@@ -10,0 +11,0 @@ } |
@@ -0,0 +0,0 @@ export * from './ApiCredentials'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export interface ServiceApiModel { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@adastradev/serverless-discovery-sdk", | ||
"version": "3.0.2", | ||
"version": "3.0.3-beta.1712849230637", | ||
"description": "Serverless Service Discovery API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
24528
366
2
1