@aws-sdk/client-rbin
Advanced tools
Comparing version 3.76.0 to 3.78.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.78.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.77.0...v3.78.0) (2022-04-26) | ||
### Features | ||
* **types:** add pagination stopOnSameToken option ([#3524](https://github.com/aws/aws-sdk-js-v3/issues/3524)) ([9bf73e8](https://github.com/aws/aws-sdk-js-v3/commit/9bf73e81b8d9be9f12c72cbefbe26c502d1873c6)) | ||
# [3.76.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.75.0...v3.76.0) (2022-04-22) | ||
@@ -8,0 +19,0 @@ |
@@ -30,4 +30,5 @@ "use strict"; | ||
yield page; | ||
const prevToken = token; | ||
token = page.NextToken; | ||
hasNext = !!token; | ||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); | ||
} | ||
@@ -34,0 +35,0 @@ return undefined; |
@@ -39,3 +39,3 @@ import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib"; | ||
return __asyncGenerator(this, arguments, function paginateListRules_1() { | ||
var token, hasNext, page; | ||
var token, hasNext, page, prevToken; | ||
return __generator(this, function (_a) { | ||
@@ -67,4 +67,5 @@ switch (_a.label) { | ||
_a.sent(); | ||
prevToken = token; | ||
token = page.NextToken; | ||
hasNext = !!token; | ||
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); | ||
return [3, 1]; | ||
@@ -71,0 +72,0 @@ case 9: return [4, __await(undefined)]; |
{ | ||
"name": "@aws-sdk/client-rbin", | ||
"description": "AWS SDK for JavaScript Rbin Client for Node.js, Browser and React Native", | ||
"version": "3.76.0", | ||
"version": "3.78.0", | ||
"scripts": { | ||
@@ -21,22 +21,22 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", | ||
"@aws-crypto/sha256-js": "2.0.0", | ||
"@aws-sdk/client-sts": "3.76.0", | ||
"@aws-sdk/config-resolver": "3.75.0", | ||
"@aws-sdk/credential-provider-node": "3.76.0", | ||
"@aws-sdk/fetch-http-handler": "3.58.0", | ||
"@aws-sdk/hash-node": "3.55.0", | ||
"@aws-sdk/invalid-dependency": "3.55.0", | ||
"@aws-sdk/middleware-content-length": "3.58.0", | ||
"@aws-sdk/middleware-host-header": "3.58.0", | ||
"@aws-sdk/middleware-logger": "3.55.0", | ||
"@aws-sdk/middleware-retry": "3.75.0", | ||
"@aws-sdk/middleware-serde": "3.55.0", | ||
"@aws-sdk/middleware-signing": "3.58.0", | ||
"@aws-sdk/middleware-stack": "3.55.0", | ||
"@aws-sdk/middleware-user-agent": "3.58.0", | ||
"@aws-sdk/node-config-provider": "3.75.0", | ||
"@aws-sdk/node-http-handler": "3.76.0", | ||
"@aws-sdk/protocol-http": "3.58.0", | ||
"@aws-sdk/smithy-client": "3.72.0", | ||
"@aws-sdk/types": "3.55.0", | ||
"@aws-sdk/url-parser": "3.55.0", | ||
"@aws-sdk/client-sts": "3.78.0", | ||
"@aws-sdk/config-resolver": "3.78.0", | ||
"@aws-sdk/credential-provider-node": "3.78.0", | ||
"@aws-sdk/fetch-http-handler": "3.78.0", | ||
"@aws-sdk/hash-node": "3.78.0", | ||
"@aws-sdk/invalid-dependency": "3.78.0", | ||
"@aws-sdk/middleware-content-length": "3.78.0", | ||
"@aws-sdk/middleware-host-header": "3.78.0", | ||
"@aws-sdk/middleware-logger": "3.78.0", | ||
"@aws-sdk/middleware-retry": "3.78.0", | ||
"@aws-sdk/middleware-serde": "3.78.0", | ||
"@aws-sdk/middleware-signing": "3.78.0", | ||
"@aws-sdk/middleware-stack": "3.78.0", | ||
"@aws-sdk/middleware-user-agent": "3.78.0", | ||
"@aws-sdk/node-config-provider": "3.78.0", | ||
"@aws-sdk/node-http-handler": "3.78.0", | ||
"@aws-sdk/protocol-http": "3.78.0", | ||
"@aws-sdk/smithy-client": "3.78.0", | ||
"@aws-sdk/types": "3.78.0", | ||
"@aws-sdk/url-parser": "3.78.0", | ||
"@aws-sdk/util-base64-browser": "3.58.0", | ||
@@ -46,6 +46,6 @@ "@aws-sdk/util-base64-node": "3.55.0", | ||
"@aws-sdk/util-body-length-node": "3.55.0", | ||
"@aws-sdk/util-defaults-mode-browser": "3.72.0", | ||
"@aws-sdk/util-defaults-mode-node": "3.75.0", | ||
"@aws-sdk/util-user-agent-browser": "3.58.0", | ||
"@aws-sdk/util-user-agent-node": "3.75.0", | ||
"@aws-sdk/util-defaults-mode-browser": "3.78.0", | ||
"@aws-sdk/util-defaults-mode-node": "3.78.0", | ||
"@aws-sdk/util-user-agent-browser": "3.78.0", | ||
"@aws-sdk/util-user-agent-node": "3.78.0", | ||
"@aws-sdk/util-utf8-browser": "3.55.0", | ||
@@ -52,0 +52,0 @@ "@aws-sdk/util-utf8-node": "3.55.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
314463
5665
+ Added@aws-sdk/abort-controller@3.78.0(transitive)
+ Added@aws-sdk/client-sso@3.78.0(transitive)
+ Added@aws-sdk/client-sts@3.78.0(transitive)
+ Added@aws-sdk/config-resolver@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-imds@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.78.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.78.0(transitive)
+ Added@aws-sdk/fetch-http-handler@3.78.0(transitive)
+ Added@aws-sdk/hash-node@3.78.0(transitive)
+ Added@aws-sdk/invalid-dependency@3.78.0(transitive)
+ Added@aws-sdk/middleware-content-length@3.78.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.78.0(transitive)
+ Added@aws-sdk/middleware-logger@3.78.0(transitive)
+ Added@aws-sdk/middleware-retry@3.78.0(transitive)
+ Added@aws-sdk/middleware-sdk-sts@3.78.0(transitive)
+ Added@aws-sdk/middleware-serde@3.78.0(transitive)
+ Added@aws-sdk/middleware-signing@3.78.0(transitive)
+ Added@aws-sdk/middleware-stack@3.78.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.78.0(transitive)
+ Added@aws-sdk/node-config-provider@3.78.0(transitive)
+ Added@aws-sdk/node-http-handler@3.78.0(transitive)
+ Added@aws-sdk/property-provider@3.78.0(transitive)
+ Added@aws-sdk/protocol-http@3.78.0(transitive)
+ Added@aws-sdk/querystring-builder@3.78.0(transitive)
+ Added@aws-sdk/querystring-parser@3.78.0(transitive)
+ Added@aws-sdk/service-error-classification@3.78.0(transitive)
+ Added@aws-sdk/shared-ini-file-loader@3.78.0(transitive)
+ Added@aws-sdk/signature-v4@3.78.0(transitive)
+ Added@aws-sdk/smithy-client@3.78.0(transitive)
+ Added@aws-sdk/types@3.78.0(transitive)
+ Added@aws-sdk/url-parser@3.78.0(transitive)
+ Added@aws-sdk/util-defaults-mode-browser@3.78.0(transitive)
+ Added@aws-sdk/util-defaults-mode-node@3.78.0(transitive)
+ Added@aws-sdk/util-middleware@3.78.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.78.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.78.0(transitive)
- Removed@aws-sdk/abort-controller@3.55.0(transitive)
- Removed@aws-sdk/client-sso@3.76.0(transitive)
- Removed@aws-sdk/client-sts@3.76.0(transitive)
- Removed@aws-sdk/config-resolver@3.75.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.55.0(transitive)
- Removed@aws-sdk/credential-provider-imds@3.75.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.76.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.76.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.75.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.76.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.55.0(transitive)
- Removed@aws-sdk/fetch-http-handler@3.58.0(transitive)
- Removed@aws-sdk/hash-node@3.55.0(transitive)
- Removed@aws-sdk/invalid-dependency@3.55.0(transitive)
- Removed@aws-sdk/middleware-content-length@3.58.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.58.0(transitive)
- Removed@aws-sdk/middleware-logger@3.55.0(transitive)
- Removed@aws-sdk/middleware-retry@3.75.0(transitive)
- Removed@aws-sdk/middleware-sdk-sts@3.58.0(transitive)
- Removed@aws-sdk/middleware-serde@3.55.0(transitive)
- Removed@aws-sdk/middleware-signing@3.58.0(transitive)
- Removed@aws-sdk/middleware-stack@3.55.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.58.0(transitive)
- Removed@aws-sdk/node-config-provider@3.75.0(transitive)
- Removed@aws-sdk/node-http-handler@3.76.0(transitive)
- Removed@aws-sdk/property-provider@3.55.0(transitive)
- Removed@aws-sdk/protocol-http@3.58.0(transitive)
- Removed@aws-sdk/querystring-builder@3.55.0(transitive)
- Removed@aws-sdk/querystring-parser@3.55.0(transitive)
- Removed@aws-sdk/service-error-classification@3.55.0(transitive)
- Removed@aws-sdk/shared-ini-file-loader@3.75.0(transitive)
- Removed@aws-sdk/signature-v4@3.58.0(transitive)
- Removed@aws-sdk/smithy-client@3.72.0(transitive)
- Removed@aws-sdk/types@3.55.0(transitive)
- Removed@aws-sdk/url-parser@3.55.0(transitive)
- Removed@aws-sdk/util-defaults-mode-browser@3.72.0(transitive)
- Removed@aws-sdk/util-defaults-mode-node@3.75.0(transitive)
- Removed@aws-sdk/util-middleware@3.55.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.58.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.75.0(transitive)
Updated@aws-sdk/client-sts@3.78.0
Updated@aws-sdk/hash-node@3.78.0
Updated@aws-sdk/types@3.78.0
Updated@aws-sdk/url-parser@3.78.0