@aws-sdk/client-swf 3.1024.0 → 3.1026.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -16,6 +16,7 @@ var runtimeConfig = require('./runtimeConfig');
16
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
17
  var protocolHttp = require('@smithy/protocol-http');
18
18
  var schemas_0 = require('./schemas/schemas_0');
19
+ var client = require('@aws-sdk/core/client');
19
20
  var errors = require('./models/errors');
20
21
  var SWFServiceException = require('./models/SWFServiceException');
21
22
 
@@ -357,7 +358,10 @@ class PollForActivityTaskCommand extends smithyClient.Command
357
358
  .classBuilder()
358
359
  .ep(commonParams)
359
360
  .m(function (Command, cs, config, o) {
360
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
361
+ return [
362
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
363
+ client.getLongPollPlugin(config),
364
+ ];
361
365
  })
362
366
  .s("SimpleWorkflowService", "PollForActivityTask", {})
363
367
  .n("SWFClient", "PollForActivityTaskCommand")
@@ -369,7 +373,10 @@ class PollForDecisionTaskCommand extends smithyClient.Command
369
373
  .classBuilder()
370
374
  .ep(commonParams)
371
375
  .m(function (Command, cs, config, o) {
372
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
376
+ return [
377
+ middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
378
+ client.getLongPollPlugin(config),
379
+ ];
373
380
  })
374
381
  .s("SimpleWorkflowService", "PollForDecisionTask", {})
375
382
  .n("SWFClient", "PollForDecisionTaskCommand")
@@ -1,3 +1,4 @@
1
+ import { getLongPollPlugin } from "@aws-sdk/core/client";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { Command as $Command } from "@smithy/smithy-client";
3
4
  import { commonParams } from "../endpoint/EndpointParameters";
@@ -7,7 +8,10 @@ export class PollForActivityTaskCommand extends $Command
7
8
  .classBuilder()
8
9
  .ep(commonParams)
9
10
  .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getLongPollPlugin(config),
14
+ ];
11
15
  })
12
16
  .s("SimpleWorkflowService", "PollForActivityTask", {})
13
17
  .n("SWFClient", "PollForActivityTaskCommand")
@@ -1,3 +1,4 @@
1
+ import { getLongPollPlugin } from "@aws-sdk/core/client";
1
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
3
  import { Command as $Command } from "@smithy/smithy-client";
3
4
  import { commonParams } from "../endpoint/EndpointParameters";
@@ -7,7 +8,10 @@ export class PollForDecisionTaskCommand extends $Command
7
8
  .classBuilder()
8
9
  .ep(commonParams)
9
10
  .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
+ return [
12
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
13
+ getLongPollPlugin(config),
14
+ ];
11
15
  })
12
16
  .s("SimpleWorkflowService", "PollForDecisionTask", {})
13
17
  .n("SWFClient", "PollForDecisionTaskCommand")
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-swf",
3
3
  "description": "AWS SDK for JavaScript Swf Client for Node.js, Browser and React Native",
4
- "version": "3.1024.0",
4
+ "version": "3.1026.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-swf",
@@ -23,41 +23,41 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.26",
27
- "@aws-sdk/credential-provider-node": "^3.972.29",
28
- "@aws-sdk/middleware-host-header": "^3.972.8",
29
- "@aws-sdk/middleware-logger": "^3.972.8",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.9",
31
- "@aws-sdk/middleware-user-agent": "^3.972.28",
32
- "@aws-sdk/region-config-resolver": "^3.972.10",
33
- "@aws-sdk/types": "^3.973.6",
34
- "@aws-sdk/util-endpoints": "^3.996.5",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.8",
36
- "@aws-sdk/util-user-agent-node": "^3.973.14",
37
- "@smithy/config-resolver": "^4.4.13",
38
- "@smithy/core": "^3.23.13",
39
- "@smithy/fetch-http-handler": "^5.3.15",
40
- "@smithy/hash-node": "^4.2.12",
41
- "@smithy/invalid-dependency": "^4.2.12",
42
- "@smithy/middleware-content-length": "^4.2.12",
43
- "@smithy/middleware-endpoint": "^4.4.28",
44
- "@smithy/middleware-retry": "^4.4.46",
45
- "@smithy/middleware-serde": "^4.2.16",
46
- "@smithy/middleware-stack": "^4.2.12",
47
- "@smithy/node-config-provider": "^4.3.12",
48
- "@smithy/node-http-handler": "^4.5.1",
49
- "@smithy/protocol-http": "^5.3.12",
50
- "@smithy/smithy-client": "^4.12.8",
51
- "@smithy/types": "^4.13.1",
52
- "@smithy/url-parser": "^4.2.12",
26
+ "@aws-sdk/core": "^3.973.27",
27
+ "@aws-sdk/credential-provider-node": "^3.972.30",
28
+ "@aws-sdk/middleware-host-header": "^3.972.9",
29
+ "@aws-sdk/middleware-logger": "^3.972.9",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.10",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.29",
32
+ "@aws-sdk/region-config-resolver": "^3.972.11",
33
+ "@aws-sdk/types": "^3.973.7",
34
+ "@aws-sdk/util-endpoints": "^3.996.6",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.9",
36
+ "@aws-sdk/util-user-agent-node": "^3.973.15",
37
+ "@smithy/config-resolver": "^4.4.14",
38
+ "@smithy/core": "^3.23.14",
39
+ "@smithy/fetch-http-handler": "^5.3.16",
40
+ "@smithy/hash-node": "^4.2.13",
41
+ "@smithy/invalid-dependency": "^4.2.13",
42
+ "@smithy/middleware-content-length": "^4.2.13",
43
+ "@smithy/middleware-endpoint": "^4.4.29",
44
+ "@smithy/middleware-retry": "^4.5.0",
45
+ "@smithy/middleware-serde": "^4.2.17",
46
+ "@smithy/middleware-stack": "^4.2.13",
47
+ "@smithy/node-config-provider": "^4.3.13",
48
+ "@smithy/node-http-handler": "^4.5.2",
49
+ "@smithy/protocol-http": "^5.3.13",
50
+ "@smithy/smithy-client": "^4.12.9",
51
+ "@smithy/types": "^4.14.0",
52
+ "@smithy/url-parser": "^4.2.13",
53
53
  "@smithy/util-base64": "^4.3.2",
54
54
  "@smithy/util-body-length-browser": "^4.2.2",
55
55
  "@smithy/util-body-length-node": "^4.2.3",
56
- "@smithy/util-defaults-mode-browser": "^4.3.44",
57
- "@smithy/util-defaults-mode-node": "^4.2.48",
58
- "@smithy/util-endpoints": "^3.3.3",
59
- "@smithy/util-middleware": "^4.2.12",
60
- "@smithy/util-retry": "^4.2.13",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.45",
57
+ "@smithy/util-defaults-mode-node": "^4.2.49",
58
+ "@smithy/util-endpoints": "^3.3.4",
59
+ "@smithy/util-middleware": "^4.2.13",
60
+ "@smithy/util-retry": "^4.3.0",
61
61
  "@smithy/util-utf8": "^4.2.2",
62
62
  "tslib": "^2.6.2"
63
63
  },