Socket
Socket
Sign inDemoInstall

@aws-sdk/config-resolver

Package Overview
Dependencies
Maintainers
7
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/config-resolver - npm Package Compare versions

Comparing version 3.36.0 to 3.37.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
**Note:** Version bump only for package @aws-sdk/config-resolver
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)

@@ -8,0 +16,0 @@

9

dist-types/ts3.4/endpointsConfig/resolveCustomEndpointsConfig.d.ts
import { Endpoint, Provider, UrlParser } from "@aws-sdk/types";
import { EndpointsInputConfig, EndpointsResolvedConfig } from "./resolveEndpointsConfig";
export interface CustomEndpointsInputConfig extends EndpointsInputConfig {
/**
* The fully qualified endpoint of the webservice.
*/
endpoint: string | Endpoint | Provider<Endpoint>;

@@ -13,6 +11,3 @@ }

export interface CustomEndpointsResolvedConfig extends EndpointsResolvedConfig {
/**
* Whether the endpoint is specified by caller.
* @internal
*/
isCustomEndpoint: true;

@@ -19,0 +14,0 @@ }

import { Endpoint, Provider, RegionInfoProvider, UrlParser } from "@aws-sdk/types";
export interface EndpointsInputConfig {
/**
* The fully qualified endpoint of the webservice. This is only required when using a custom endpoint (for example, when using a local version of S3).
*/
endpoint?: string | Endpoint | Provider<Endpoint>;
/**
* Whether TLS is enabled for requests.
*/
tls?: boolean;

@@ -18,10 +14,5 @@ }

export interface EndpointsResolvedConfig extends Required<EndpointsInputConfig> {
/**
* Resolved value for input {@link EndpointsResolvedConfig.endpoint}
*/
endpoint: Provider<Endpoint>;
/**
* Whether the endpoint is specified by caller.
* @internal
*/
isCustomEndpoint: boolean;

@@ -28,0 +19,0 @@ }

import { Provider } from "@aws-sdk/types";
export interface RegionInputConfig {
/**
* The AWS region to which this client will send requests
*/
region?: string | Provider<string>;

@@ -11,5 +9,3 @@ }

export interface RegionResolvedConfig {
/**
* Resolved value for input config {@link RegionInputConfig.region}
*/
region: Provider<string>;

@@ -16,0 +12,0 @@ }

import { GetResolvedPartitionOptions } from "./getResolvedPartition";
export interface GetHostnameTemplateOptions extends GetResolvedPartitionOptions {
/**
* The name to be used while signing the service request.
*/
signingService: string;
}
export declare const getHostnameTemplate: (region: string, { signingService, partitionHash }: GetHostnameTemplateOptions) => string;

@@ -8,8 +8,5 @@ import { RegionInfo } from "@aws-sdk/types";

export interface GetResolvedHostnameOptions extends GetHostnameTemplateOptions, GetResolvedPartitionOptions {
/**
* The hash of region with the information specific to that region.
* The information can include hostname, signingService and signingRegion.
*/
regionHash: RegionHash;
}
export declare const getResolvedHostname: (region: string, { signingService, regionHash, partitionHash }: GetResolvedHostnameOptions) => string;

@@ -9,9 +9,5 @@ export declare type PartitionHash = {

export interface GetResolvedPartitionOptions {
/**
* The hash of partition with the information specific to that partition.
* The information includes the list of regions belonging to that partition,
* and the hostname to be used for the partition.
*/
partitionHash: PartitionHash;
}
export declare const getResolvedPartition: (region: string, { partitionHash }: GetResolvedPartitionOptions) => string;
{
"name": "@aws-sdk/config-resolver",
"version": "3.36.0",
"version": "3.37.0",
"scripts": {

@@ -21,3 +21,3 @@ "build": "yarn build:cjs && yarn build:es && yarn build:types",

"devDependencies": {
"@aws-sdk/node-config-provider": "3.36.0",
"@aws-sdk/node-config-provider": "3.37.0",
"@types/jest": "^26.0.4",

@@ -28,4 +28,4 @@ "jest": "^26.1.0",

"dependencies": {
"@aws-sdk/signature-v4": "3.36.0",
"@aws-sdk/types": "3.36.0",
"@aws-sdk/signature-v4": "3.37.0",
"@aws-sdk/types": "3.37.0",
"tslib": "^2.3.0"

@@ -32,0 +32,0 @@ },

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc