Socket
Socket
Sign inDemoInstall

@adastradev/serverless-discovery-sdk

Package Overview
Dependencies
33
Maintainers
37
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3-beta.1712849230637

0

dist/ApiCredentials.d.ts

@@ -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';

2

dist/DiscoveryServiceApi.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc