@aws-sdk/client-eventbridge 3.257.0 → 3.258.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/runtimeConfig.browser.js +0 -3
- package/dist-cjs/runtimeConfig.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +3 -0
- package/dist-es/runtimeConfig.browser.js +0 -3
- package/dist-es/runtimeConfig.js +0 -3
- package/dist-es/runtimeConfig.shared.js +3 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -0
- package/package.json +4 -5
|
@@ -10,7 +10,6 @@ const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
|
10
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
|
-
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
14
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
16
15
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
@@ -35,8 +34,6 @@ const getRuntimeConfig = (config) => {
|
|
|
35
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
37
36
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
38
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
|
|
39
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
|
|
40
37
|
};
|
|
41
38
|
};
|
|
42
39
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -13,7 +13,6 @@ const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
16
|
-
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
17
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
17
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
18
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
@@ -44,8 +43,6 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
|
|
48
|
-
utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
|
|
49
46
|
};
|
|
50
47
|
};
|
|
51
48
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -5,6 +5,7 @@ const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region"
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
7
7
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
8
|
+
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
8
9
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
10
|
const getRuntimeConfig = (config) => ({
|
|
10
11
|
apiVersion: "2015-10-07",
|
|
@@ -16,5 +17,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
16
17
|
serviceId: config?.serviceId ?? "EventBridge",
|
|
17
18
|
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
18
19
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
20
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
21
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
19
22
|
});
|
|
20
23
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -6,7 +6,6 @@ import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
11
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
@@ -31,7 +30,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
31
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
32
|
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
33
|
};
|
|
37
34
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -9,7 +9,6 @@ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/nod
|
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
-
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
14
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
@@ -40,7 +39,5 @@ export const getRuntimeConfig = (config) => {
|
|
|
40
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
41
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
44
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
45
42
|
};
|
|
46
43
|
};
|
|
@@ -2,6 +2,7 @@ import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
|
2
2
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
4
4
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
5
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
5
6
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
7
|
export const getRuntimeConfig = (config) => ({
|
|
7
8
|
apiVersion: "2015-10-07",
|
|
@@ -13,4 +14,6 @@ export const getRuntimeConfig = (config) => ({
|
|
|
13
14
|
serviceId: config?.serviceId ?? "EventBridge",
|
|
14
15
|
signerConstructor: config?.signerConstructor ?? SignatureV4MultiRegion,
|
|
15
16
|
urlParser: config?.urlParser ?? parseUrl,
|
|
17
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
18
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
16
19
|
});
|
|
@@ -17,12 +17,12 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
20
|
apiVersion: string;
|
|
23
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
22
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
23
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -17,12 +17,12 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
17
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
18
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
19
19
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
21
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
22
20
|
apiVersion: string;
|
|
23
21
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
24
22
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
25
23
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
24
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
25
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
@@ -15,4 +15,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
15
15
|
serviceId: string;
|
|
16
16
|
signerConstructor: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | typeof SignatureV4MultiRegion;
|
|
17
17
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
18
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
19
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
18
20
|
};
|
|
@@ -27,12 +27,12 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
27
27
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
31
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
32
30
|
apiVersion: string;
|
|
33
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
32
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
33
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -27,12 +27,12 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
27
27
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
29
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
-
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
31
|
-
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
32
30
|
apiVersion: string;
|
|
33
31
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
34
32
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
35
33
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
36
|
disableHostPrefix: boolean;
|
|
37
37
|
logger: import("@aws-sdk/types").Logger;
|
|
38
38
|
serviceId: string;
|
|
@@ -20,4 +20,6 @@ export declare const getRuntimeConfig: (config: EventBridgeClientConfig) => {
|
|
|
20
20
|
) => import("@aws-sdk/types").RequestSigner)
|
|
21
21
|
| typeof SignatureV4MultiRegion;
|
|
22
22
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
23
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
24
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
25
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-eventbridge",
|
|
3
3
|
"description": "AWS SDK for JavaScript Eventbridge Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.258.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
25
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
+
"@aws-sdk/client-sts": "3.258.0",
|
|
26
26
|
"@aws-sdk/config-resolver": "3.257.0",
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.258.0",
|
|
28
28
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
29
29
|
"@aws-sdk/hash-node": "3.257.0",
|
|
30
30
|
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
@@ -54,8 +54,7 @@
|
|
|
54
54
|
"@aws-sdk/util-retry": "3.257.0",
|
|
55
55
|
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
56
56
|
"@aws-sdk/util-user-agent-node": "3.257.0",
|
|
57
|
-
"@aws-sdk/util-utf8
|
|
58
|
-
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
57
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
59
58
|
"tslib": "^2.3.1"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|