@etainabl/nodejs-sdk 1.3.114 → 1.3.116
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/esm/{chunk-OWL7NKW5.js → chunk-64PZMULY.js} +2 -2
- package/dist/esm/{chunk-XXAWQ5GA.js → chunk-DDCT4ZYV.js} +102 -150
- package/dist/esm/chunk-DDCT4ZYV.js.map +1 -0
- package/dist/esm/chunk-EAEPE6LV.js +1414 -0
- package/dist/esm/chunk-EAEPE6LV.js.map +1 -0
- package/dist/esm/{chunk-UFTVLHTW.js → chunk-ITNQSW66.js} +46 -46
- package/dist/esm/chunk-ITNQSW66.js.map +1 -0
- package/dist/esm/{chunk-R63LRFTI.js → chunk-JVMEEBKP.js} +1 -27
- package/dist/esm/{chunk-R63LRFTI.js.map → chunk-JVMEEBKP.js.map} +1 -1
- package/dist/esm/chunk-UQAJZJ7E.js +11 -0
- package/dist/esm/chunk-UQAJZJ7E.js.map +1 -0
- package/dist/esm/{chunk-E6O4HVLA.js → chunk-V42NON4H.js} +33 -33
- package/dist/esm/chunk-V42NON4H.js.map +1 -0
- package/dist/esm/{chunk-CIKXN3GS.js → chunk-VSMDPKQT.js} +2 -2
- package/dist/esm/{chunk-BIVFO5LG.js → chunk-XSPB2DRU.js} +51 -158
- package/dist/esm/chunk-XSPB2DRU.js.map +1 -0
- package/dist/esm/chunk-YUPOEH3S.js +76 -0
- package/dist/esm/chunk-YUPOEH3S.js.map +1 -0
- package/dist/esm/{dist-es-FD7XXZCE.js → dist-es-43LBWNIP.js} +5 -5
- package/dist/esm/{dist-es-RHLCSE2G.js → dist-es-4PZVI2OP.js} +10 -10
- package/dist/esm/{dist-es-XEM2CDDP.js → dist-es-LEN5TBON.js} +3 -3
- package/dist/esm/{dist-es-QPNGCVTW.js → dist-es-MTQJIBCO.js} +3 -3
- package/dist/esm/{dist-es-4ZHJVMJ4.js → dist-es-SHHKSG6R.js} +3 -3
- package/dist/esm/{dist-es-X5IH3XCT.js → dist-es-UQHTRG6U.js} +2 -2
- package/dist/esm/{dist-es-MXGFLXV2.js → dist-es-W6M73SKO.js} +3 -3
- package/dist/esm/index.js +67 -65
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/{loadSso-3QBKTJF3.js → loadSso-TNKRSJIY.js} +46 -42
- package/dist/esm/loadSso-TNKRSJIY.js.map +1 -0
- package/dist/esm/{sso-oidc-GZ3LZ3MF.js → sso-oidc-LXV5UW7C.js} +15 -11
- package/dist/esm/{sso-oidc-GZ3LZ3MF.js.map → sso-oidc-LXV5UW7C.js.map} +1 -1
- package/dist/esm/{sts-CIQKG7FB.js → sts-7CU5WIQI.js} +12 -10
- package/dist/esm/{sts-CIQKG7FB.js.map → sts-7CU5WIQI.js.map} +1 -1
- package/dist/index.js +1427 -1876
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/esm/chunk-BIVFO5LG.js.map +0 -1
- package/dist/esm/chunk-E6O4HVLA.js.map +0 -1
- package/dist/esm/chunk-ITSE4X2J.js +0 -1733
- package/dist/esm/chunk-ITSE4X2J.js.map +0 -1
- package/dist/esm/chunk-UFTVLHTW.js.map +0 -1
- package/dist/esm/chunk-XXAWQ5GA.js.map +0 -1
- package/dist/esm/loadSso-3QBKTJF3.js.map +0 -1
- /package/dist/esm/{chunk-OWL7NKW5.js.map → chunk-64PZMULY.js.map} +0 -0
- /package/dist/esm/{chunk-CIKXN3GS.js.map → chunk-VSMDPKQT.js.map} +0 -0
- /package/dist/esm/{dist-es-FD7XXZCE.js.map → dist-es-43LBWNIP.js.map} +0 -0
- /package/dist/esm/{dist-es-RHLCSE2G.js.map → dist-es-4PZVI2OP.js.map} +0 -0
- /package/dist/esm/{dist-es-XEM2CDDP.js.map → dist-es-LEN5TBON.js.map} +0 -0
- /package/dist/esm/{dist-es-QPNGCVTW.js.map → dist-es-MTQJIBCO.js.map} +0 -0
- /package/dist/esm/{dist-es-4ZHJVMJ4.js.map → dist-es-SHHKSG6R.js.map} +0 -0
- /package/dist/esm/{dist-es-X5IH3XCT.js.map → dist-es-UQHTRG6U.js.map} +0 -0
- /package/dist/esm/{dist-es-MXGFLXV2.js.map → dist-es-W6M73SKO.js.map} +0 -0
|
@@ -768,7 +768,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
768
768
|
this.config?.httpAgent?.destroy();
|
|
769
769
|
this.config?.httpsAgent?.destroy();
|
|
770
770
|
}
|
|
771
|
-
async handle(request, { abortSignal } = {}) {
|
|
771
|
+
async handle(request, { abortSignal, requestTimeout: requestTimeout2 } = {}) {
|
|
772
772
|
if (!this.config) {
|
|
773
773
|
this.config = await this.configProvider;
|
|
774
774
|
}
|
|
@@ -860,8 +860,9 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
860
860
|
abortSignal.onabort = onAbort;
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
|
+
const effectiveRequestTimeout = requestTimeout2 ?? this.config.requestTimeout;
|
|
863
864
|
timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout));
|
|
864
|
-
timeouts.push(setSocketTimeout(req, reject,
|
|
865
|
+
timeouts.push(setSocketTimeout(req, reject, effectiveRequestTimeout));
|
|
865
866
|
const httpAgent = nodeHttpsOptions.agent;
|
|
866
867
|
if (typeof httpAgent === "object" && "keepAlive" in httpAgent) {
|
|
867
868
|
timeouts.push(setSocketKeepAlive(req, {
|
|
@@ -869,7 +870,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
869
870
|
keepAliveMsecs: httpAgent.keepAliveMsecs
|
|
870
871
|
}));
|
|
871
872
|
}
|
|
872
|
-
writeRequestBodyPromise = writeRequestBody(req, request,
|
|
873
|
+
writeRequestBodyPromise = writeRequestBody(req, request, effectiveRequestTimeout).catch((e) => {
|
|
873
874
|
timeouts.forEach(timing.clearTimeout);
|
|
874
875
|
return _reject(e);
|
|
875
876
|
});
|
|
@@ -1734,68 +1735,6 @@ function extendedEncodeURIComponent(str) {
|
|
|
1734
1735
|
});
|
|
1735
1736
|
}
|
|
1736
1737
|
|
|
1737
|
-
// node_modules/@smithy/util-middleware/dist-es/getSmithyContext.js
|
|
1738
|
-
var getSmithyContext = (context) => context[SMITHY_CONTEXT_KEY] || (context[SMITHY_CONTEXT_KEY] = {});
|
|
1739
|
-
|
|
1740
|
-
// node_modules/@smithy/util-middleware/dist-es/normalizeProvider.js
|
|
1741
|
-
var normalizeProvider = (input) => {
|
|
1742
|
-
if (typeof input === "function")
|
|
1743
|
-
return input;
|
|
1744
|
-
const promisified = Promise.resolve(input);
|
|
1745
|
-
return () => promisified;
|
|
1746
|
-
};
|
|
1747
|
-
|
|
1748
|
-
// node_modules/@smithy/core/dist-es/submodules/schema/TypeRegistry.js
|
|
1749
|
-
var TypeRegistry = class _TypeRegistry {
|
|
1750
|
-
constructor(namespace, schemas = /* @__PURE__ */ new Map()) {
|
|
1751
|
-
this.namespace = namespace;
|
|
1752
|
-
this.schemas = schemas;
|
|
1753
|
-
}
|
|
1754
|
-
static for(namespace) {
|
|
1755
|
-
if (!_TypeRegistry.registries.has(namespace)) {
|
|
1756
|
-
_TypeRegistry.registries.set(namespace, new _TypeRegistry(namespace));
|
|
1757
|
-
}
|
|
1758
|
-
return _TypeRegistry.registries.get(namespace);
|
|
1759
|
-
}
|
|
1760
|
-
register(shapeId, schema) {
|
|
1761
|
-
const qualifiedName = this.normalizeShapeId(shapeId);
|
|
1762
|
-
const registry = _TypeRegistry.for(this.getNamespace(shapeId));
|
|
1763
|
-
registry.schemas.set(qualifiedName, schema);
|
|
1764
|
-
}
|
|
1765
|
-
getSchema(shapeId) {
|
|
1766
|
-
const id = this.normalizeShapeId(shapeId);
|
|
1767
|
-
if (!this.schemas.has(id)) {
|
|
1768
|
-
throw new Error(`@smithy/core/schema - schema not found for ${id}`);
|
|
1769
|
-
}
|
|
1770
|
-
return this.schemas.get(id);
|
|
1771
|
-
}
|
|
1772
|
-
getBaseException() {
|
|
1773
|
-
for (const [id, schema] of this.schemas.entries()) {
|
|
1774
|
-
if (id.startsWith("smithy.ts.sdk.synthetic.") && id.endsWith("ServiceException")) {
|
|
1775
|
-
return schema;
|
|
1776
|
-
}
|
|
1777
|
-
}
|
|
1778
|
-
return void 0;
|
|
1779
|
-
}
|
|
1780
|
-
find(predicate) {
|
|
1781
|
-
return [...this.schemas.values()].find(predicate);
|
|
1782
|
-
}
|
|
1783
|
-
destroy() {
|
|
1784
|
-
_TypeRegistry.registries.delete(this.namespace);
|
|
1785
|
-
this.schemas.clear();
|
|
1786
|
-
}
|
|
1787
|
-
normalizeShapeId(shapeId) {
|
|
1788
|
-
if (shapeId.includes("#")) {
|
|
1789
|
-
return shapeId;
|
|
1790
|
-
}
|
|
1791
|
-
return this.namespace + "#" + shapeId;
|
|
1792
|
-
}
|
|
1793
|
-
getNamespace(shapeId) {
|
|
1794
|
-
return this.normalizeShapeId(shapeId).split("#")[0];
|
|
1795
|
-
}
|
|
1796
|
-
};
|
|
1797
|
-
TypeRegistry.registries = /* @__PURE__ */ new Map();
|
|
1798
|
-
|
|
1799
1738
|
// node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
1800
1739
|
var parseBoolean = (value) => {
|
|
1801
1740
|
switch (value) {
|
|
@@ -2058,30 +1997,52 @@ var stripLeadingZeroes = (value) => {
|
|
|
2058
1997
|
return value.slice(idx);
|
|
2059
1998
|
};
|
|
2060
1999
|
|
|
2061
|
-
// node_modules
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
},
|
|
2070
|
-
toJSON() {
|
|
2071
|
-
return String(val);
|
|
2072
|
-
}
|
|
2073
|
-
});
|
|
2074
|
-
return str;
|
|
2075
|
-
};
|
|
2076
|
-
LazyJsonString.from = (object) => {
|
|
2077
|
-
if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) {
|
|
2078
|
-
return object;
|
|
2079
|
-
} else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) {
|
|
2080
|
-
return LazyJsonString(String(object));
|
|
2000
|
+
// node_modules/uuid/dist/esm-node/rng.js
|
|
2001
|
+
import crypto from "crypto";
|
|
2002
|
+
var rnds8Pool = new Uint8Array(256);
|
|
2003
|
+
var poolPtr = rnds8Pool.length;
|
|
2004
|
+
function rng() {
|
|
2005
|
+
if (poolPtr > rnds8Pool.length - 16) {
|
|
2006
|
+
crypto.randomFillSync(rnds8Pool);
|
|
2007
|
+
poolPtr = 0;
|
|
2081
2008
|
}
|
|
2082
|
-
return
|
|
2009
|
+
return rnds8Pool.slice(poolPtr, poolPtr += 16);
|
|
2010
|
+
}
|
|
2011
|
+
|
|
2012
|
+
// node_modules/uuid/dist/esm-node/stringify.js
|
|
2013
|
+
var byteToHex = [];
|
|
2014
|
+
for (let i = 0; i < 256; ++i) {
|
|
2015
|
+
byteToHex.push((i + 256).toString(16).slice(1));
|
|
2016
|
+
}
|
|
2017
|
+
function unsafeStringify(arr, offset = 0) {
|
|
2018
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
2019
|
+
}
|
|
2020
|
+
|
|
2021
|
+
// node_modules/uuid/dist/esm-node/native.js
|
|
2022
|
+
import crypto2 from "crypto";
|
|
2023
|
+
var native_default = {
|
|
2024
|
+
randomUUID: crypto2.randomUUID
|
|
2083
2025
|
};
|
|
2084
|
-
|
|
2026
|
+
|
|
2027
|
+
// node_modules/uuid/dist/esm-node/v4.js
|
|
2028
|
+
function v4(options, buf, offset) {
|
|
2029
|
+
if (native_default.randomUUID && !buf && !options) {
|
|
2030
|
+
return native_default.randomUUID();
|
|
2031
|
+
}
|
|
2032
|
+
options = options || {};
|
|
2033
|
+
const rnds = options.random || (options.rng || rng)();
|
|
2034
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
2035
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
2036
|
+
if (buf) {
|
|
2037
|
+
offset = offset || 0;
|
|
2038
|
+
for (let i = 0; i < 16; ++i) {
|
|
2039
|
+
buf[offset + i] = rnds[i];
|
|
2040
|
+
}
|
|
2041
|
+
return buf;
|
|
2042
|
+
}
|
|
2043
|
+
return unsafeStringify(rnds);
|
|
2044
|
+
}
|
|
2045
|
+
var v4_default = v4;
|
|
2085
2046
|
|
|
2086
2047
|
// node_modules/@smithy/core/dist-es/submodules/protocols/resolve-path.js
|
|
2087
2048
|
var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => {
|
|
@@ -2097,73 +2058,6 @@ var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLab
|
|
|
2097
2058
|
return resolvedPath2;
|
|
2098
2059
|
};
|
|
2099
2060
|
|
|
2100
|
-
// node_modules/@smithy/core/dist-es/submodules/protocols/requestBuilder.js
|
|
2101
|
-
function requestBuilder(input, context) {
|
|
2102
|
-
return new RequestBuilder(input, context);
|
|
2103
|
-
}
|
|
2104
|
-
var RequestBuilder = class {
|
|
2105
|
-
constructor(input, context) {
|
|
2106
|
-
this.input = input;
|
|
2107
|
-
this.context = context;
|
|
2108
|
-
this.query = {};
|
|
2109
|
-
this.method = "";
|
|
2110
|
-
this.headers = {};
|
|
2111
|
-
this.path = "";
|
|
2112
|
-
this.body = null;
|
|
2113
|
-
this.hostname = "";
|
|
2114
|
-
this.resolvePathStack = [];
|
|
2115
|
-
}
|
|
2116
|
-
async build() {
|
|
2117
|
-
const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint();
|
|
2118
|
-
this.path = basePath;
|
|
2119
|
-
for (const resolvePath of this.resolvePathStack) {
|
|
2120
|
-
resolvePath(this.path);
|
|
2121
|
-
}
|
|
2122
|
-
return new HttpRequest({
|
|
2123
|
-
protocol,
|
|
2124
|
-
hostname: this.hostname || hostname,
|
|
2125
|
-
port,
|
|
2126
|
-
method: this.method,
|
|
2127
|
-
path: this.path,
|
|
2128
|
-
query: this.query,
|
|
2129
|
-
body: this.body,
|
|
2130
|
-
headers: this.headers
|
|
2131
|
-
});
|
|
2132
|
-
}
|
|
2133
|
-
hn(hostname) {
|
|
2134
|
-
this.hostname = hostname;
|
|
2135
|
-
return this;
|
|
2136
|
-
}
|
|
2137
|
-
bp(uriLabel) {
|
|
2138
|
-
this.resolvePathStack.push((basePath) => {
|
|
2139
|
-
this.path = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + uriLabel;
|
|
2140
|
-
});
|
|
2141
|
-
return this;
|
|
2142
|
-
}
|
|
2143
|
-
p(memberName, labelValueProvider, uriLabel, isGreedyLabel) {
|
|
2144
|
-
this.resolvePathStack.push((path) => {
|
|
2145
|
-
this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel);
|
|
2146
|
-
});
|
|
2147
|
-
return this;
|
|
2148
|
-
}
|
|
2149
|
-
h(headers) {
|
|
2150
|
-
this.headers = headers;
|
|
2151
|
-
return this;
|
|
2152
|
-
}
|
|
2153
|
-
q(query) {
|
|
2154
|
-
this.query = query;
|
|
2155
|
-
return this;
|
|
2156
|
-
}
|
|
2157
|
-
b(body) {
|
|
2158
|
-
this.body = body;
|
|
2159
|
-
return this;
|
|
2160
|
-
}
|
|
2161
|
-
m(method) {
|
|
2162
|
-
this.method = method;
|
|
2163
|
-
return this;
|
|
2164
|
-
}
|
|
2165
|
-
};
|
|
2166
|
-
|
|
2167
2061
|
// node_modules/@smithy/smithy-client/dist-es/default-error-handler.js
|
|
2168
2062
|
var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
2169
2063
|
const $metadata = deserializeMetadata(output);
|
|
@@ -2420,8 +2314,6 @@ export {
|
|
|
2420
2314
|
resolveHttpHandlerRuntimeConfig,
|
|
2421
2315
|
HttpRequest,
|
|
2422
2316
|
HttpResponse,
|
|
2423
|
-
getSmithyContext,
|
|
2424
|
-
normalizeProvider,
|
|
2425
2317
|
isArrayBuffer,
|
|
2426
2318
|
fromArrayBuffer,
|
|
2427
2319
|
fromString,
|
|
@@ -2453,7 +2345,8 @@ export {
|
|
|
2453
2345
|
dateToUtcString,
|
|
2454
2346
|
parseRfc3339DateTime,
|
|
2455
2347
|
parseRfc3339DateTimeWithOffset,
|
|
2456
|
-
|
|
2348
|
+
v4_default,
|
|
2349
|
+
resolvedPath,
|
|
2457
2350
|
Client,
|
|
2458
2351
|
Command,
|
|
2459
2352
|
SENSITIVE_STRING,
|
|
@@ -2473,4 +2366,4 @@ export {
|
|
|
2473
2366
|
serializeDateTime,
|
|
2474
2367
|
_json
|
|
2475
2368
|
};
|
|
2476
|
-
//# sourceMappingURL=chunk-
|
|
2369
|
+
//# sourceMappingURL=chunk-XSPB2DRU.js.map
|