replicas-engine 0.1.338 → 0.1.339
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/src/{chunk-MHJJJ2VP.js → chunk-6NGTYZPX.js} +377 -102
- package/dist/src/{chunk-B5KEKENG.js → chunk-A6ZHMNK4.js} +12 -12
- package/dist/src/{chunk-C6IOMGXW.js → chunk-B7L4ZPGB.js} +33 -33
- package/dist/src/{chunk-3YYBZ6D5.js → chunk-EB4AJ2V6.js} +11 -11
- package/dist/src/{chunk-YY2DS5UJ.js → chunk-JWM4YXMZ.js} +55 -54
- package/dist/src/{chunk-ATF5CAZW.js → chunk-QE4MMXQA.js} +80 -72
- package/dist/src/{dist-es-37YNNMWK.js → dist-es-4XW324ME.js} +17 -17
- package/dist/src/{dist-es-M4ZCYBRD.js → dist-es-6PMBQ4JI.js} +7 -7
- package/dist/src/{dist-es-YA3RZ3J2.js → dist-es-GB67RX6P.js} +43 -35
- package/dist/src/{dist-es-7IBRAXHQ.js → dist-es-OTROFLRA.js} +9 -9
- package/dist/src/{dist-es-MNGVDEEO.js → dist-es-VF5HSV72.js} +4 -4
- package/dist/src/{dist-es-JSZE2H6Y.js → dist-es-VJJ2WNNG.js} +22 -19
- package/dist/src/{dist-es-AYVDCHRQ.js → dist-es-XMRJV7XN.js} +7 -7
- package/dist/src/{event-streams-7ZLUNSFX.js → event-streams-3JEJVYQR.js} +17 -17
- package/dist/src/index.js +573 -100
- package/dist/src/{loadSso-2A75N7C3.js → loadSso-QDS4L4DG.js} +19 -19
- package/dist/src/{signin-FXO7O6JB.js → signin-EETD6KX2.js} +155 -77
- package/dist/src/{sso-oidc-4IFMUO6A.js → sso-oidc-25HRWVRW.js} +21 -21
- package/dist/src/{sts-IAUEUXEW.js → sts-2O2TZS6K.js} +434 -45
- package/package.json +5 -1
- package/scripts/opencode +36 -0
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
HttpResponse,
|
|
4
4
|
buildQueryString
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-QE4MMXQA.js";
|
|
6
6
|
|
|
7
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
7
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js
|
|
8
8
|
function buildAbortError(abortSignal) {
|
|
9
9
|
const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal ? abortSignal.reason : void 0;
|
|
10
10
|
if (reason) {
|
|
@@ -23,10 +23,10 @@ function buildAbortError(abortSignal) {
|
|
|
23
23
|
return abortError;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
26
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/constants.js
|
|
27
27
|
var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"];
|
|
28
28
|
|
|
29
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
29
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/get-transformed-headers.js
|
|
30
30
|
var getTransformedHeaders = (headers) => {
|
|
31
31
|
const transformedHeaders = {};
|
|
32
32
|
for (const name in headers) {
|
|
@@ -36,16 +36,16 @@ var getTransformedHeaders = (headers) => {
|
|
|
36
36
|
return transformedHeaders;
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
39
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/node-https.js
|
|
40
40
|
import node_https from "https";
|
|
41
41
|
|
|
42
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
42
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/timing.js
|
|
43
43
|
var timing = {
|
|
44
44
|
setTimeout: (cb, ms) => setTimeout(cb, ms),
|
|
45
45
|
clearTimeout: (timeoutId) => clearTimeout(timeoutId)
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
48
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/set-connection-timeout.js
|
|
49
49
|
var DEFER_EVENT_LISTENER_TIME = 1e3;
|
|
50
50
|
var setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
51
51
|
if (!timeoutInMs) {
|
|
@@ -80,7 +80,7 @@ var setConnectionTimeout = (request, reject, timeoutInMs = 0) => {
|
|
|
80
80
|
return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME);
|
|
81
81
|
};
|
|
82
82
|
|
|
83
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
83
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/set-request-timeout.js
|
|
84
84
|
var setRequestTimeout = (req, reject, timeoutInMs = 0, throwOnRequestTimeout, logger) => {
|
|
85
85
|
if (timeoutInMs) {
|
|
86
86
|
return timing.setTimeout(() => {
|
|
@@ -101,7 +101,7 @@ var setRequestTimeout = (req, reject, timeoutInMs = 0, throwOnRequestTimeout, lo
|
|
|
101
101
|
return -1;
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
104
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/set-socket-keep-alive.js
|
|
105
105
|
var DEFER_EVENT_LISTENER_TIME2 = 3e3;
|
|
106
106
|
var setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME2) => {
|
|
107
107
|
if (keepAlive !== true) {
|
|
@@ -123,7 +123,7 @@ var setSocketKeepAlive = (request, { keepAlive, keepAliveMsecs }, deferTimeMs =
|
|
|
123
123
|
return timing.setTimeout(registerListener, deferTimeMs);
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
126
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/set-socket-timeout.js
|
|
127
127
|
var DEFER_EVENT_LISTENER_TIME3 = 3e3;
|
|
128
128
|
var setSocketTimeout = (request, reject, timeoutInMs = 0) => {
|
|
129
129
|
const registerTimeout = (offset) => {
|
|
@@ -146,7 +146,7 @@ var setSocketTimeout = (request, reject, timeoutInMs = 0) => {
|
|
|
146
146
|
return timing.setTimeout(registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3), DEFER_EVENT_LISTENER_TIME3);
|
|
147
147
|
};
|
|
148
148
|
|
|
149
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
149
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/write-request-body.js
|
|
150
150
|
import { Readable } from "stream";
|
|
151
151
|
var MIN_WAIT_TIME = 6e3;
|
|
152
152
|
async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME, externalAgent = false) {
|
|
@@ -206,7 +206,7 @@ function writeBody(httpRequest, body) {
|
|
|
206
206
|
httpRequest.end();
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// ../node_modules/.bun/@smithy+node-http-handler@4.
|
|
209
|
+
// ../node_modules/.bun/@smithy+node-http-handler@4.8.1/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js
|
|
210
210
|
var hAgent = void 0;
|
|
211
211
|
var hRequest = void 0;
|
|
212
212
|
var NodeHttpHandler = class _NodeHttpHandler {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
3
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/is-array-buffer/is-array-buffer.js
|
|
4
4
|
var isArrayBuffer = (arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]";
|
|
5
5
|
|
|
6
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
6
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-buffer-from/buffer-from.js
|
|
7
7
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
8
8
|
if (!isArrayBuffer(input)) {
|
|
9
9
|
throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`);
|
|
@@ -17,13 +17,13 @@ var fromString = (input, encoding) => {
|
|
|
17
17
|
return encoding ? Buffer.from(input, encoding) : Buffer.from(input);
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
20
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.js
|
|
21
21
|
var fromUtf8 = (input) => {
|
|
22
22
|
const buf = fromString(input, "utf8");
|
|
23
23
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
24
24
|
};
|
|
25
25
|
|
|
26
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
26
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.js
|
|
27
27
|
var toUtf8 = (input) => {
|
|
28
28
|
if (typeof input === "string") {
|
|
29
29
|
return input;
|
|
@@ -34,7 +34,7 @@ var toUtf8 = (input) => {
|
|
|
34
34
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
35
35
|
};
|
|
36
36
|
|
|
37
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
37
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-hex-encoding/hex-encoding.js
|
|
38
38
|
var SHORT_TO_HEX = {};
|
|
39
39
|
var HEX_TO_SHORT = {};
|
|
40
40
|
for (let i = 0; i < 256; i++) {
|
|
@@ -68,10 +68,10 @@ function toHex(bytes) {
|
|
|
68
68
|
return out;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
71
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
72
72
|
import { getRandomValues } from "crypto";
|
|
73
73
|
|
|
74
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
74
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.js
|
|
75
75
|
var BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/;
|
|
76
76
|
var fromBase64 = (input) => {
|
|
77
77
|
if (input.length * 3 % 4 !== 0) {
|
|
@@ -84,7 +84,7 @@ var fromBase64 = (input) => {
|
|
|
84
84
|
return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
87
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.js
|
|
88
88
|
var toBase64 = (_input) => {
|
|
89
89
|
let input;
|
|
90
90
|
if (typeof _input === "string") {
|
|
@@ -98,7 +98,7 @@ var toBase64 = (_input) => {
|
|
|
98
98
|
return fromArrayBuffer(input.buffer, input.byteOffset, input.byteLength).toString("base64");
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
101
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/blob/Uint8ArrayBlobAdapter.js
|
|
102
102
|
function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase643) {
|
|
103
103
|
return class Uint8ArrayBlobAdapter2 extends Uint8Array {
|
|
104
104
|
static fromString(source, encoding = "utf-8") {
|
|
@@ -123,7 +123,7 @@ function bindUint8ArrayBlobAdapter(toUtf83, fromUtf83, toBase643, fromBase643) {
|
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
126
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/uuid/v4.js
|
|
127
127
|
var decimalToHex = Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, "0"));
|
|
128
128
|
function bindV4(getRandomValues2) {
|
|
129
129
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -138,7 +138,7 @@ function bindV4(getRandomValues2) {
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
141
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/parse-utils.js
|
|
142
142
|
var expectNumber = (value) => {
|
|
143
143
|
if (value === null || value === void 0) {
|
|
144
144
|
return void 0;
|
|
@@ -234,7 +234,7 @@ var logger = {
|
|
|
234
234
|
warn: console.warn
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
237
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/date-utils.js
|
|
238
238
|
var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
|
239
239
|
var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
240
240
|
function dateToUtcString(date2) {
|
|
@@ -420,7 +420,7 @@ var stripLeadingZeroes = (value) => {
|
|
|
420
420
|
return value.slice(idx);
|
|
421
421
|
};
|
|
422
422
|
|
|
423
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
423
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/lazy-json.js
|
|
424
424
|
var LazyJsonString = function LazyJsonString2(val) {
|
|
425
425
|
const str = Object.assign(new String(val), {
|
|
426
426
|
deserializeJSON() {
|
|
@@ -445,7 +445,7 @@ LazyJsonString.from = (object) => {
|
|
|
445
445
|
};
|
|
446
446
|
LazyJsonString.fromObject = LazyJsonString.from;
|
|
447
447
|
|
|
448
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
448
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/quote-header.js
|
|
449
449
|
function quoteHeader(part) {
|
|
450
450
|
if (part.includes(",") || part.includes('"')) {
|
|
451
451
|
part = `"${part.replace(/"/g, '\\"')}"`;
|
|
@@ -453,7 +453,7 @@ function quoteHeader(part) {
|
|
|
453
453
|
return part;
|
|
454
454
|
}
|
|
455
455
|
|
|
456
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
456
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
|
|
457
457
|
var ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
458
458
|
var mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
459
459
|
var time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
@@ -552,7 +552,7 @@ function range(v, min, max) {
|
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
|
|
555
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
555
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/split-every.js
|
|
556
556
|
function splitEvery(value, delimiter, numDelimiters) {
|
|
557
557
|
if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) {
|
|
558
558
|
throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery.");
|
|
@@ -580,7 +580,7 @@ function splitEvery(value, delimiter, numDelimiters) {
|
|
|
580
580
|
return compoundSegments;
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
583
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
|
|
584
584
|
var splitHeader = (value) => {
|
|
585
585
|
const z = value.length;
|
|
586
586
|
const values = [];
|
|
@@ -619,7 +619,7 @@ var splitHeader = (value) => {
|
|
|
619
619
|
});
|
|
620
620
|
};
|
|
621
621
|
|
|
622
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
622
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/value/NumericValue.js
|
|
623
623
|
var format = /^-?\d*(\.\d+)?$/;
|
|
624
624
|
var NumericValue = class _NumericValue {
|
|
625
625
|
string;
|
|
@@ -643,7 +643,7 @@ var NumericValue = class _NumericValue {
|
|
|
643
643
|
}
|
|
644
644
|
};
|
|
645
645
|
|
|
646
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
646
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-body-length/calculateBodyLength.js
|
|
647
647
|
import { ReadStream, fstatSync, lstatSync } from "fs";
|
|
648
648
|
var calculateBodyLength = (body) => {
|
|
649
649
|
if (!body) {
|
|
@@ -667,7 +667,7 @@ var calculateBodyLength = (body) => {
|
|
|
667
667
|
throw new Error(`Body Length computation failed for ${body}`);
|
|
668
668
|
};
|
|
669
669
|
|
|
670
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
670
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUint8Array.js
|
|
671
671
|
var toUint8Array = (data) => {
|
|
672
672
|
if (typeof data === "string") {
|
|
673
673
|
return fromUtf8(data);
|
|
@@ -678,7 +678,7 @@ var toUint8Array = (data) => {
|
|
|
678
678
|
return new Uint8Array(data);
|
|
679
679
|
};
|
|
680
680
|
|
|
681
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
681
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/hash-node/hash-node.js
|
|
682
682
|
import { createHash, createHmac } from "crypto";
|
|
683
683
|
var Hash = class {
|
|
684
684
|
algorithmIdentifier;
|
|
@@ -712,13 +712,13 @@ function castSourceData(toCast, encoding) {
|
|
|
712
712
|
return fromArrayBuffer(toCast);
|
|
713
713
|
}
|
|
714
714
|
|
|
715
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
715
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-type-check.js
|
|
716
716
|
var isReadableStream = (stream) => typeof ReadableStream === "function" && (stream?.constructor?.name === ReadableStream.name || stream instanceof ReadableStream);
|
|
717
717
|
|
|
718
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
718
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/fromUtf8.browser.js
|
|
719
719
|
var fromUtf82 = (input) => new TextEncoder().encode(input);
|
|
720
720
|
|
|
721
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
721
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/constants-for-browser.js
|
|
722
722
|
var chars = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;
|
|
723
723
|
var alphabetByEncoding = Object.entries(chars).reduce((acc, [i, c]) => {
|
|
724
724
|
acc[c] = Number(i);
|
|
@@ -729,7 +729,7 @@ var bitsPerLetter = 6;
|
|
|
729
729
|
var bitsPerByte = 8;
|
|
730
730
|
var maxLetterValue = 63;
|
|
731
731
|
|
|
732
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
732
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/toBase64.browser.js
|
|
733
733
|
function toBase642(_input) {
|
|
734
734
|
let input;
|
|
735
735
|
if (typeof _input === "string") {
|
|
@@ -761,10 +761,10 @@ function toBase642(_input) {
|
|
|
761
761
|
return str;
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
764
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
765
765
|
import { Readable } from "stream";
|
|
766
766
|
|
|
767
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
767
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-utf8/toUtf8.browser.js
|
|
768
768
|
var toUtf82 = (input) => {
|
|
769
769
|
if (typeof input === "string") {
|
|
770
770
|
return input;
|
|
@@ -775,7 +775,7 @@ var toUtf82 = (input) => {
|
|
|
775
775
|
return new TextDecoder("utf-8").decode(input);
|
|
776
776
|
};
|
|
777
777
|
|
|
778
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
778
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-base64/fromBase64.browser.js
|
|
779
779
|
var fromBase642 = (input) => {
|
|
780
780
|
let totalByteLength = input.length / 4 * 3;
|
|
781
781
|
if (input.slice(-2) === "==") {
|
|
@@ -810,7 +810,7 @@ var fromBase642 = (input) => {
|
|
|
810
810
|
return new Uint8Array(out);
|
|
811
811
|
};
|
|
812
812
|
|
|
813
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
813
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.browser.js
|
|
814
814
|
var streamCollector = async (stream) => {
|
|
815
815
|
if (typeof Blob === "function" && stream instanceof Blob || stream.constructor?.name === "Blob") {
|
|
816
816
|
if (Blob.prototype.arrayBuffer !== void 0) {
|
|
@@ -864,7 +864,7 @@ function readToBase64(blob) {
|
|
|
864
864
|
});
|
|
865
865
|
}
|
|
866
866
|
|
|
867
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
867
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.browser.js
|
|
868
868
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed.";
|
|
869
869
|
var sdkStreamMixin = (stream) => {
|
|
870
870
|
if (!isBlobInstance(stream) && !isReadableStream(stream)) {
|
|
@@ -918,7 +918,7 @@ var sdkStreamMixin = (stream) => {
|
|
|
918
918
|
};
|
|
919
919
|
var isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
|
|
920
920
|
|
|
921
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
921
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/stream-collector.js
|
|
922
922
|
import { Writable } from "stream";
|
|
923
923
|
var Collector = class extends Writable {
|
|
924
924
|
bufferedBytes = [];
|
|
@@ -968,7 +968,7 @@ var streamCollector2 = (stream) => {
|
|
|
968
968
|
});
|
|
969
969
|
};
|
|
970
970
|
|
|
971
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
971
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/util-stream/sdk-stream-mixin.js
|
|
972
972
|
var ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED2 = "The stream has already been transformed.";
|
|
973
973
|
var sdkStreamMixin2 = (stream) => {
|
|
974
974
|
if (!(stream instanceof Readable)) {
|
|
@@ -1014,7 +1014,7 @@ var sdkStreamMixin2 = (stream) => {
|
|
|
1014
1014
|
});
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
// ../node_modules/.bun/@smithy+core@3.
|
|
1017
|
+
// ../node_modules/.bun/@smithy+core@3.25.1/node_modules/@smithy/core/dist-es/submodules/serde/index.js
|
|
1018
1018
|
var Uint8ArrayBlobAdapter = class extends bindUint8ArrayBlobAdapter(toUtf8, fromUtf8, toBase64, fromBase64) {
|
|
1019
1019
|
};
|
|
1020
1020
|
var _getRandomValues = getRandomValues;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
ProtocolLib,
|
|
4
4
|
SerdeContextConfig,
|
|
5
5
|
UnionSerde
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-JWM4YXMZ.js";
|
|
7
7
|
import {
|
|
8
8
|
HttpBindingProtocol,
|
|
9
9
|
HttpInterceptingShapeDeserializer,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
NormalizedSchema,
|
|
12
12
|
collectBody,
|
|
13
13
|
determineTimestampFormat
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QE4MMXQA.js";
|
|
15
15
|
import {
|
|
16
16
|
LazyJsonString,
|
|
17
17
|
NumericValue,
|
|
@@ -23,9 +23,9 @@ import {
|
|
|
23
23
|
parseRfc7231DateTime,
|
|
24
24
|
toBase64,
|
|
25
25
|
toUtf8
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-B7L4ZPGB.js";
|
|
27
27
|
|
|
28
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
28
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReviver.js
|
|
29
29
|
function jsonReviver(key, value, context) {
|
|
30
30
|
if (context?.source) {
|
|
31
31
|
const numericString = context.source;
|
|
@@ -43,10 +43,10 @@ function jsonReviver(key, value, context) {
|
|
|
43
43
|
return value;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
46
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/common.js
|
|
47
47
|
var collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? toUtf8)(body));
|
|
48
48
|
|
|
49
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
49
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/parseJsonBody.js
|
|
50
50
|
var parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
51
51
|
if (encoded.length) {
|
|
52
52
|
try {
|
|
@@ -107,7 +107,7 @@ var loadErrorCode = ({ headers }, data, order) => {
|
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
110
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js
|
|
111
111
|
var JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
112
112
|
settings;
|
|
113
113
|
constructor(settings) {
|
|
@@ -249,7 +249,7 @@ var JsonShapeDeserializer = class extends SerdeContextConfig {
|
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
|
|
252
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
252
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/jsonReplacer.js
|
|
253
253
|
var NUMERIC_CONTROL_CHAR = String.fromCharCode(925);
|
|
254
254
|
var JsonReplacer = class {
|
|
255
255
|
values = /* @__PURE__ */ new Map();
|
|
@@ -296,7 +296,7 @@ var JsonReplacer = class {
|
|
|
296
296
|
}
|
|
297
297
|
};
|
|
298
298
|
|
|
299
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
299
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js
|
|
300
300
|
var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
301
301
|
settings;
|
|
302
302
|
buffer;
|
|
@@ -470,7 +470,7 @@ var JsonShapeSerializer = class extends SerdeContextConfig {
|
|
|
470
470
|
}
|
|
471
471
|
};
|
|
472
472
|
|
|
473
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
473
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonCodec.js
|
|
474
474
|
var JsonCodec = class extends SerdeContextConfig {
|
|
475
475
|
settings;
|
|
476
476
|
constructor(settings) {
|
|
@@ -489,7 +489,7 @@ var JsonCodec = class extends SerdeContextConfig {
|
|
|
489
489
|
}
|
|
490
490
|
};
|
|
491
491
|
|
|
492
|
-
// ../node_modules/.bun/@aws-sdk+core@3.974.
|
|
492
|
+
// ../node_modules/.bun/@aws-sdk+core@3.974.22/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js
|
|
493
493
|
var AwsRestJsonProtocol = class extends HttpBindingProtocol {
|
|
494
494
|
serializer;
|
|
495
495
|
deserializer;
|