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

@aws-sdk/util-waiter

Package Overview
Dependencies
Maintainers
5
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/util-waiter - 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/util-waiter
# [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 @@

6

dist-types/ts3.4/createWaiter.d.ts
import { WaiterOptions, WaiterResult } from "./waiter";
export declare const createWaiter: <Client, Input>(options: WaiterOptions<Client>, input: Input, acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>) => Promise<WaiterResult>;
export declare const createWaiter: <Client, Input>(
options: WaiterOptions<Client>,
input: Input,
acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>
) => Promise<WaiterResult>;
export * from "./createWaiter";
export * from "./waiter";
import { WaiterOptions, WaiterResult } from "./waiter";
export declare const runPolling: <Client, Input>({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }: WaiterOptions<Client>, input: Input, acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>) => Promise<WaiterResult>;
export declare const runPolling: <Client, Input>(
{
minDelay,
maxDelay,
maxWaitTime,
abortController,
client,
abortSignal,
}: WaiterOptions<Client>,
input: Input,
acceptorChecks: (client: Client, input: Input) => Promise<WaiterResult>
) => Promise<WaiterResult>;
export * from "./sleep";
export * from "./validate";
export declare const sleep: (seconds: number) => Promise<unknown>;

4

dist-types/ts3.4/utils/validate.d.ts
import { WaiterOptions } from "../waiter";
export declare const validateWaiterOptions: <Client>(options: WaiterOptions<Client>) => void;
export declare const validateWaiterOptions: <Client>(
options: WaiterOptions<Client>
) => void;
import { WaiterConfiguration as WaiterConfiguration__ } from "@aws-sdk/types";
export interface WaiterConfiguration<T> extends WaiterConfiguration__<T> {
}
export interface WaiterConfiguration<T> extends WaiterConfiguration__<T> {}
export declare const waiterServiceDefaults: {
minDelay: number;
maxDelay: number;
minDelay: number;
maxDelay: number;
};
export declare type WaiterOptions<Client> = WaiterConfiguration<Client> & Required<Pick<WaiterConfiguration<Client>, "minDelay" | "maxDelay">>;
export declare type WaiterOptions<Client> = WaiterConfiguration<Client> &
Required<Pick<WaiterConfiguration<Client>, "minDelay" | "maxDelay">>;
export declare enum WaiterState {
ABORTED = "ABORTED",
FAILURE = "FAILURE",
SUCCESS = "SUCCESS",
RETRY = "RETRY",
TIMEOUT = "TIMEOUT"
ABORTED = "ABORTED",
FAILURE = "FAILURE",
SUCCESS = "SUCCESS",
RETRY = "RETRY",
TIMEOUT = "TIMEOUT",
}
export declare type WaiterResult = {
state: WaiterState;
reason?: any;
state: WaiterState;
reason?: any;
};
export declare const checkExceptions: (result: WaiterResult) => WaiterResult;
{
"name": "@aws-sdk/util-waiter",
"version": "3.168.0",
"version": "3.170.0",
"description": "Shared utilities for client waiters for the AWS SDK",
"dependencies": {
"@aws-sdk/abort-controller": "3.168.0",
"@aws-sdk/types": "3.168.0",
"@aws-sdk/abort-controller": "3.170.0",
"@aws-sdk/types": "3.170.0",
"tslib": "^2.3.1"

@@ -50,3 +50,3 @@ },

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

@@ -53,0 +53,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