Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/endpoint-cache

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/endpoint-cache - npm Package Compare versions

Comparing version 3.168.0 to 3.170.0

8

CHANGELOG.md

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

# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
**Note:** Version bump only for package @aws-sdk/endpoint-cache
# [3.168.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.167.0...v3.168.0) (2022-09-09)

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

7

dist-types/ts3.4/Endpoint.d.ts
export interface Endpoint {
Address: string;
CachePeriodInMinutes: number;
Address: string;
CachePeriodInMinutes: number;
}
import { Endpoint } from "./Endpoint";
export interface EndpointWithExpiry extends Pick<Endpoint, "Address"> {
Expires: number;
Expires: number;
}
export declare class EndpointCache {
private readonly cache;
constructor(capacity: number);
getEndpoint(key: string): string | undefined;
get(key: string): EndpointWithExpiry[] | undefined;
set(key: string, endpoints: Endpoint[]): void;
delete(key: string): void;
has(key: string): boolean;
clear(): void;
private readonly cache;
constructor(capacity: number);
getEndpoint(key: string): string | undefined;
get(key: string): EndpointWithExpiry[] | undefined;
set(key: string, endpoints: Endpoint[]): void;
delete(key: string): void;
has(key: string): boolean;
clear(): void;
}
export * from "./Endpoint";
export * from "./EndpointCache";
{
"name": "@aws-sdk/endpoint-cache",
"version": "3.168.0",
"version": "3.170.0",
"scripts": {

@@ -30,3 +30,3 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",

"concurrently": "7.0.0",
"downlevel-dts": "0.7.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",

@@ -33,0 +33,0 @@ "typedoc": "0.19.2",

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