sst 2.36.3 → 2.36.4
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/constructs/App.d.ts +1 -1
- package/constructs/App.js +1 -1
- package/constructs/AstroSite.d.ts +1 -1
- package/constructs/EdgeFunction.d.ts +1 -1
- package/constructs/EdgeFunction.js +5 -3
- package/constructs/Function.d.ts +4 -1
- package/constructs/Function.js +3 -0
- package/constructs/NextjsSite.d.ts +33 -5
- package/constructs/RemixSite.d.ts +1 -1
- package/constructs/SolidStartSite.d.ts +1 -1
- package/constructs/SsrFunction.d.ts +2 -2
- package/constructs/SsrFunction.js +5 -1
- package/constructs/SsrSite.d.ts +3 -3
- package/constructs/SvelteKitSite.d.ts +1 -1
- package/constructs/deprecated/NextjsSite.d.ts +1 -1
- package/constructs/deprecated/NextjsSite.js +3 -0
- package/package.json +38 -38
- package/runtime/handlers/node.js +1 -1
- package/runtime/handlers/python.js +1 -2
- package/support/bootstrap-metadata-function/index.mjs +6458 -9757
- package/support/bridge/bridge.mjs +42 -47
- package/support/custom-resources/index.mjs +8198 -11324
- package/support/event-bus-retrier/index.mjs +23 -21
- package/support/job-manager/index.mjs +4612 -7868
- package/support/rds-migrator/index.mjs +26 -22
- package/support/script-function/index.mjs +6315 -9559
- package/support/signing-function/index.mjs +1090 -1005
- package/support/ssr-warmer/index.mjs +6013 -9285
|
@@ -40,7 +40,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
40
40
|
));
|
|
41
41
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/.pnpm/tslib@2.6.
|
|
43
|
+
// ../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs
|
|
44
44
|
var tslib_es6_exports = {};
|
|
45
45
|
__export(tslib_es6_exports, {
|
|
46
46
|
__addDisposableResource: () => __addDisposableResource,
|
|
@@ -507,7 +507,7 @@ function __disposeResources(env) {
|
|
|
507
507
|
}
|
|
508
508
|
var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedError, tslib_es6_default;
|
|
509
509
|
var init_tslib_es6 = __esm({
|
|
510
|
-
"../../node_modules/.pnpm/tslib@2.6.
|
|
510
|
+
"../../node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.mjs"() {
|
|
511
511
|
extendStatics = function(d, b) {
|
|
512
512
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
513
513
|
d2.__proto__ = b2;
|
|
@@ -519,7 +519,7 @@ var init_tslib_es6 = __esm({
|
|
|
519
519
|
return extendStatics(d, b);
|
|
520
520
|
};
|
|
521
521
|
__assign = function() {
|
|
522
|
-
__assign = Object.assign || function
|
|
522
|
+
__assign = Object.assign || function __assign3(t) {
|
|
523
523
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
524
524
|
s = arguments[i];
|
|
525
525
|
for (var p in s)
|
|
@@ -586,10 +586,9 @@ var init_tslib_es6 = __esm({
|
|
|
586
586
|
}
|
|
587
587
|
});
|
|
588
588
|
|
|
589
|
-
// ../../node_modules/.pnpm/tslib@
|
|
589
|
+
// ../../node_modules/.pnpm/tslib@1.14.1/node_modules/tslib/tslib.es6.js
|
|
590
590
|
var tslib_es6_exports2 = {};
|
|
591
591
|
__export(tslib_es6_exports2, {
|
|
592
|
-
__addDisposableResource: () => __addDisposableResource2,
|
|
593
592
|
__assign: () => __assign2,
|
|
594
593
|
__asyncDelegator: () => __asyncDelegator2,
|
|
595
594
|
__asyncGenerator: () => __asyncGenerator2,
|
|
@@ -597,12 +596,9 @@ __export(tslib_es6_exports2, {
|
|
|
597
596
|
__await: () => __await2,
|
|
598
597
|
__awaiter: () => __awaiter2,
|
|
599
598
|
__classPrivateFieldGet: () => __classPrivateFieldGet2,
|
|
600
|
-
__classPrivateFieldIn: () => __classPrivateFieldIn2,
|
|
601
599
|
__classPrivateFieldSet: () => __classPrivateFieldSet2,
|
|
602
600
|
__createBinding: () => __createBinding2,
|
|
603
601
|
__decorate: () => __decorate2,
|
|
604
|
-
__disposeResources: () => __disposeResources2,
|
|
605
|
-
__esDecorate: () => __esDecorate2,
|
|
606
602
|
__exportStar: () => __exportStar2,
|
|
607
603
|
__extends: () => __extends2,
|
|
608
604
|
__generator: () => __generator2,
|
|
@@ -611,20 +607,13 @@ __export(tslib_es6_exports2, {
|
|
|
611
607
|
__makeTemplateObject: () => __makeTemplateObject2,
|
|
612
608
|
__metadata: () => __metadata2,
|
|
613
609
|
__param: () => __param2,
|
|
614
|
-
__propKey: () => __propKey2,
|
|
615
610
|
__read: () => __read2,
|
|
616
611
|
__rest: () => __rest2,
|
|
617
|
-
__runInitializers: () => __runInitializers2,
|
|
618
|
-
__setFunctionName: () => __setFunctionName2,
|
|
619
612
|
__spread: () => __spread2,
|
|
620
|
-
__spreadArray: () => __spreadArray2,
|
|
621
613
|
__spreadArrays: () => __spreadArrays2,
|
|
622
|
-
__values: () => __values2
|
|
623
|
-
default: () => tslib_es6_default2
|
|
614
|
+
__values: () => __values2
|
|
624
615
|
});
|
|
625
616
|
function __extends2(d, b) {
|
|
626
|
-
if (typeof b !== "function" && b !== null)
|
|
627
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
628
617
|
extendStatics2(d, b);
|
|
629
618
|
function __() {
|
|
630
619
|
this.constructor = d;
|
|
@@ -658,65 +647,6 @@ function __param2(paramIndex, decorator) {
|
|
|
658
647
|
decorator(target, key, paramIndex);
|
|
659
648
|
};
|
|
660
649
|
}
|
|
661
|
-
function __esDecorate2(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {
|
|
662
|
-
function accept(f) {
|
|
663
|
-
if (f !== void 0 && typeof f !== "function")
|
|
664
|
-
throw new TypeError("Function expected");
|
|
665
|
-
return f;
|
|
666
|
-
}
|
|
667
|
-
var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";
|
|
668
|
-
var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;
|
|
669
|
-
var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});
|
|
670
|
-
var _, done = false;
|
|
671
|
-
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
672
|
-
var context = {};
|
|
673
|
-
for (var p in contextIn)
|
|
674
|
-
context[p] = p === "access" ? {} : contextIn[p];
|
|
675
|
-
for (var p in contextIn.access)
|
|
676
|
-
context.access[p] = contextIn.access[p];
|
|
677
|
-
context.addInitializer = function(f) {
|
|
678
|
-
if (done)
|
|
679
|
-
throw new TypeError("Cannot add initializers after decoration has completed");
|
|
680
|
-
extraInitializers.push(accept(f || null));
|
|
681
|
-
};
|
|
682
|
-
var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);
|
|
683
|
-
if (kind === "accessor") {
|
|
684
|
-
if (result === void 0)
|
|
685
|
-
continue;
|
|
686
|
-
if (result === null || typeof result !== "object")
|
|
687
|
-
throw new TypeError("Object expected");
|
|
688
|
-
if (_ = accept(result.get))
|
|
689
|
-
descriptor.get = _;
|
|
690
|
-
if (_ = accept(result.set))
|
|
691
|
-
descriptor.set = _;
|
|
692
|
-
if (_ = accept(result.init))
|
|
693
|
-
initializers.unshift(_);
|
|
694
|
-
} else if (_ = accept(result)) {
|
|
695
|
-
if (kind === "field")
|
|
696
|
-
initializers.unshift(_);
|
|
697
|
-
else
|
|
698
|
-
descriptor[key] = _;
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
if (target)
|
|
702
|
-
Object.defineProperty(target, contextIn.name, descriptor);
|
|
703
|
-
done = true;
|
|
704
|
-
}
|
|
705
|
-
function __runInitializers2(thisArg, initializers, value) {
|
|
706
|
-
var useValue = arguments.length > 2;
|
|
707
|
-
for (var i = 0; i < initializers.length; i++) {
|
|
708
|
-
value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);
|
|
709
|
-
}
|
|
710
|
-
return useValue ? value : void 0;
|
|
711
|
-
}
|
|
712
|
-
function __propKey2(x) {
|
|
713
|
-
return typeof x === "symbol" ? x : "".concat(x);
|
|
714
|
-
}
|
|
715
|
-
function __setFunctionName2(f, name, prefix) {
|
|
716
|
-
if (typeof name === "symbol")
|
|
717
|
-
name = name.description ? "[".concat(name.description, "]") : "";
|
|
718
|
-
return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
|
|
719
|
-
}
|
|
720
650
|
function __metadata2(metadataKey, metadataValue) {
|
|
721
651
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
722
652
|
return Reflect.metadata(metadataKey, metadataValue);
|
|
@@ -765,7 +695,7 @@ function __generator2(thisArg, body) {
|
|
|
765
695
|
function step(op) {
|
|
766
696
|
if (f)
|
|
767
697
|
throw new TypeError("Generator is already executing.");
|
|
768
|
-
while (
|
|
698
|
+
while (_)
|
|
769
699
|
try {
|
|
770
700
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
771
701
|
return t;
|
|
@@ -824,10 +754,15 @@ function __generator2(thisArg, body) {
|
|
|
824
754
|
return { value: op[0] ? op[1] : void 0, done: true };
|
|
825
755
|
}
|
|
826
756
|
}
|
|
827
|
-
function
|
|
757
|
+
function __createBinding2(o, m, k, k2) {
|
|
758
|
+
if (k2 === void 0)
|
|
759
|
+
k2 = k;
|
|
760
|
+
o[k2] = m[k];
|
|
761
|
+
}
|
|
762
|
+
function __exportStar2(m, exports) {
|
|
828
763
|
for (var p in m)
|
|
829
|
-
if (p !== "default" && !
|
|
830
|
-
|
|
764
|
+
if (p !== "default" && !exports.hasOwnProperty(p))
|
|
765
|
+
exports[p] = m[p];
|
|
831
766
|
}
|
|
832
767
|
function __values2(o) {
|
|
833
768
|
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
@@ -877,17 +812,6 @@ function __spreadArrays2() {
|
|
|
877
812
|
r[k] = a[j];
|
|
878
813
|
return r;
|
|
879
814
|
}
|
|
880
|
-
function __spreadArray2(to, from, pack) {
|
|
881
|
-
if (pack || arguments.length === 2)
|
|
882
|
-
for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
883
|
-
if (ar || !(i in from)) {
|
|
884
|
-
if (!ar)
|
|
885
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
886
|
-
ar[i] = from[i];
|
|
887
|
-
}
|
|
888
|
-
}
|
|
889
|
-
return to.concat(ar || Array.prototype.slice.call(from));
|
|
890
|
-
}
|
|
891
815
|
function __await2(v) {
|
|
892
816
|
return this instanceof __await2 ? (this.v = v, this) : new __await2(v);
|
|
893
817
|
}
|
|
@@ -936,7 +860,7 @@ function __asyncDelegator2(o) {
|
|
|
936
860
|
}, i;
|
|
937
861
|
function verb(n, f) {
|
|
938
862
|
i[n] = o[n] ? function(v) {
|
|
939
|
-
return (p = !p) ? { value: __await2(o[n](v)), done:
|
|
863
|
+
return (p = !p) ? { value: __await2(o[n](v)), done: n === "return" } : f ? f(v) : v;
|
|
940
864
|
} : f;
|
|
941
865
|
}
|
|
942
866
|
}
|
|
@@ -974,98 +898,43 @@ function __importStar2(mod) {
|
|
|
974
898
|
var result = {};
|
|
975
899
|
if (mod != null) {
|
|
976
900
|
for (var k in mod)
|
|
977
|
-
if (
|
|
978
|
-
|
|
901
|
+
if (Object.hasOwnProperty.call(mod, k))
|
|
902
|
+
result[k] = mod[k];
|
|
979
903
|
}
|
|
980
|
-
|
|
904
|
+
result.default = mod;
|
|
981
905
|
return result;
|
|
982
906
|
}
|
|
983
907
|
function __importDefault2(mod) {
|
|
984
908
|
return mod && mod.__esModule ? mod : { default: mod };
|
|
985
909
|
}
|
|
986
|
-
function __classPrivateFieldGet2(receiver,
|
|
987
|
-
if (
|
|
988
|
-
throw new TypeError("
|
|
989
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
990
|
-
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
991
|
-
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
992
|
-
}
|
|
993
|
-
function __classPrivateFieldSet2(receiver, state, value, kind, f) {
|
|
994
|
-
if (kind === "m")
|
|
995
|
-
throw new TypeError("Private method is not writable");
|
|
996
|
-
if (kind === "a" && !f)
|
|
997
|
-
throw new TypeError("Private accessor was defined without a setter");
|
|
998
|
-
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
999
|
-
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
1000
|
-
return kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;
|
|
1001
|
-
}
|
|
1002
|
-
function __classPrivateFieldIn2(state, receiver) {
|
|
1003
|
-
if (receiver === null || typeof receiver !== "object" && typeof receiver !== "function")
|
|
1004
|
-
throw new TypeError("Cannot use 'in' operator on non-object");
|
|
1005
|
-
return typeof state === "function" ? receiver === state : state.has(receiver);
|
|
1006
|
-
}
|
|
1007
|
-
function __addDisposableResource2(env, value, async) {
|
|
1008
|
-
if (value !== null && value !== void 0) {
|
|
1009
|
-
if (typeof value !== "object" && typeof value !== "function")
|
|
1010
|
-
throw new TypeError("Object expected.");
|
|
1011
|
-
var dispose;
|
|
1012
|
-
if (async) {
|
|
1013
|
-
if (!Symbol.asyncDispose)
|
|
1014
|
-
throw new TypeError("Symbol.asyncDispose is not defined.");
|
|
1015
|
-
dispose = value[Symbol.asyncDispose];
|
|
1016
|
-
}
|
|
1017
|
-
if (dispose === void 0) {
|
|
1018
|
-
if (!Symbol.dispose)
|
|
1019
|
-
throw new TypeError("Symbol.dispose is not defined.");
|
|
1020
|
-
dispose = value[Symbol.dispose];
|
|
1021
|
-
}
|
|
1022
|
-
if (typeof dispose !== "function")
|
|
1023
|
-
throw new TypeError("Object not disposable.");
|
|
1024
|
-
env.stack.push({ value, dispose, async });
|
|
1025
|
-
} else if (async) {
|
|
1026
|
-
env.stack.push({ async: true });
|
|
910
|
+
function __classPrivateFieldGet2(receiver, privateMap) {
|
|
911
|
+
if (!privateMap.has(receiver)) {
|
|
912
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
1027
913
|
}
|
|
1028
|
-
return
|
|
914
|
+
return privateMap.get(receiver);
|
|
1029
915
|
}
|
|
1030
|
-
function
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
env.hasError = true;
|
|
1034
|
-
}
|
|
1035
|
-
function next() {
|
|
1036
|
-
while (env.stack.length) {
|
|
1037
|
-
var rec = env.stack.pop();
|
|
1038
|
-
try {
|
|
1039
|
-
var result = rec.dispose && rec.dispose.call(rec.value);
|
|
1040
|
-
if (rec.async)
|
|
1041
|
-
return Promise.resolve(result).then(next, function(e) {
|
|
1042
|
-
fail(e);
|
|
1043
|
-
return next();
|
|
1044
|
-
});
|
|
1045
|
-
} catch (e) {
|
|
1046
|
-
fail(e);
|
|
1047
|
-
}
|
|
1048
|
-
}
|
|
1049
|
-
if (env.hasError)
|
|
1050
|
-
throw env.error;
|
|
916
|
+
function __classPrivateFieldSet2(receiver, privateMap, value) {
|
|
917
|
+
if (!privateMap.has(receiver)) {
|
|
918
|
+
throw new TypeError("attempted to set private field on non-instance");
|
|
1051
919
|
}
|
|
1052
|
-
|
|
920
|
+
privateMap.set(receiver, value);
|
|
921
|
+
return value;
|
|
1053
922
|
}
|
|
1054
|
-
var extendStatics2, __assign2
|
|
923
|
+
var extendStatics2, __assign2;
|
|
1055
924
|
var init_tslib_es62 = __esm({
|
|
1056
|
-
"../../node_modules/.pnpm/tslib@
|
|
925
|
+
"../../node_modules/.pnpm/tslib@1.14.1/node_modules/tslib/tslib.es6.js"() {
|
|
1057
926
|
extendStatics2 = function(d, b) {
|
|
1058
927
|
extendStatics2 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
1059
928
|
d2.__proto__ = b2;
|
|
1060
929
|
} || function(d2, b2) {
|
|
1061
930
|
for (var p in b2)
|
|
1062
|
-
if (
|
|
931
|
+
if (b2.hasOwnProperty(p))
|
|
1063
932
|
d2[p] = b2[p];
|
|
1064
933
|
};
|
|
1065
934
|
return extendStatics2(d, b);
|
|
1066
935
|
};
|
|
1067
936
|
__assign2 = function() {
|
|
1068
|
-
__assign2 = Object.assign || function
|
|
937
|
+
__assign2 = Object.assign || function __assign3(t) {
|
|
1069
938
|
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1070
939
|
s = arguments[i];
|
|
1071
940
|
for (var p in s)
|
|
@@ -1076,581 +945,166 @@ var init_tslib_es62 = __esm({
|
|
|
1076
945
|
};
|
|
1077
946
|
return __assign2.apply(this, arguments);
|
|
1078
947
|
};
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
948
|
+
}
|
|
949
|
+
});
|
|
950
|
+
|
|
951
|
+
// ../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js
|
|
952
|
+
var require_pureJs = __commonJS({
|
|
953
|
+
"../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js"(exports) {
|
|
954
|
+
"use strict";
|
|
955
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
956
|
+
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
957
|
+
var fromUtf8 = (input) => {
|
|
958
|
+
const bytes = [];
|
|
959
|
+
for (let i = 0, len = input.length; i < len; i++) {
|
|
960
|
+
const value = input.charCodeAt(i);
|
|
961
|
+
if (value < 128) {
|
|
962
|
+
bytes.push(value);
|
|
963
|
+
} else if (value < 2048) {
|
|
964
|
+
bytes.push(value >> 6 | 192, value & 63 | 128);
|
|
965
|
+
} else if (i + 1 < input.length && (value & 64512) === 55296 && (input.charCodeAt(i + 1) & 64512) === 56320) {
|
|
966
|
+
const surrogatePair = 65536 + ((value & 1023) << 10) + (input.charCodeAt(++i) & 1023);
|
|
967
|
+
bytes.push(surrogatePair >> 18 | 240, surrogatePair >> 12 & 63 | 128, surrogatePair >> 6 & 63 | 128, surrogatePair & 63 | 128);
|
|
968
|
+
} else {
|
|
969
|
+
bytes.push(value >> 12 | 224, value >> 6 & 63 | 128, value & 63 | 128);
|
|
970
|
+
}
|
|
1087
971
|
}
|
|
1088
|
-
|
|
1089
|
-
} : function(o, m, k, k2) {
|
|
1090
|
-
if (k2 === void 0)
|
|
1091
|
-
k2 = k;
|
|
1092
|
-
o[k2] = m[k];
|
|
1093
|
-
};
|
|
1094
|
-
__setModuleDefault2 = Object.create ? function(o, v) {
|
|
1095
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
1096
|
-
} : function(o, v) {
|
|
1097
|
-
o["default"] = v;
|
|
1098
|
-
};
|
|
1099
|
-
_SuppressedError2 = typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
|
|
1100
|
-
var e = new Error(message);
|
|
1101
|
-
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
972
|
+
return Uint8Array.from(bytes);
|
|
1102
973
|
};
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
__asyncValues: __asyncValues2,
|
|
1123
|
-
__makeTemplateObject: __makeTemplateObject2,
|
|
1124
|
-
__importStar: __importStar2,
|
|
1125
|
-
__importDefault: __importDefault2,
|
|
1126
|
-
__classPrivateFieldGet: __classPrivateFieldGet2,
|
|
1127
|
-
__classPrivateFieldSet: __classPrivateFieldSet2,
|
|
1128
|
-
__classPrivateFieldIn: __classPrivateFieldIn2,
|
|
1129
|
-
__addDisposableResource: __addDisposableResource2,
|
|
1130
|
-
__disposeResources: __disposeResources2
|
|
974
|
+
exports.fromUtf8 = fromUtf8;
|
|
975
|
+
var toUtf8 = (input) => {
|
|
976
|
+
let decoded = "";
|
|
977
|
+
for (let i = 0, len = input.length; i < len; i++) {
|
|
978
|
+
const byte = input[i];
|
|
979
|
+
if (byte < 128) {
|
|
980
|
+
decoded += String.fromCharCode(byte);
|
|
981
|
+
} else if (192 <= byte && byte < 224) {
|
|
982
|
+
const nextByte = input[++i];
|
|
983
|
+
decoded += String.fromCharCode((byte & 31) << 6 | nextByte & 63);
|
|
984
|
+
} else if (240 <= byte && byte < 365) {
|
|
985
|
+
const surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
|
986
|
+
const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");
|
|
987
|
+
decoded += decodeURIComponent(encoded);
|
|
988
|
+
} else {
|
|
989
|
+
decoded += String.fromCharCode((byte & 15) << 12 | (input[++i] & 63) << 6 | input[++i] & 63);
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
return decoded;
|
|
1131
993
|
};
|
|
994
|
+
exports.toUtf8 = toUtf8;
|
|
1132
995
|
}
|
|
1133
996
|
});
|
|
1134
997
|
|
|
1135
|
-
// ../../node_modules/.pnpm
|
|
1136
|
-
var
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
__awaiter: () => __awaiter3,
|
|
1144
|
-
__classPrivateFieldGet: () => __classPrivateFieldGet3,
|
|
1145
|
-
__classPrivateFieldSet: () => __classPrivateFieldSet3,
|
|
1146
|
-
__createBinding: () => __createBinding3,
|
|
1147
|
-
__decorate: () => __decorate3,
|
|
1148
|
-
__exportStar: () => __exportStar3,
|
|
1149
|
-
__extends: () => __extends3,
|
|
1150
|
-
__generator: () => __generator3,
|
|
1151
|
-
__importDefault: () => __importDefault3,
|
|
1152
|
-
__importStar: () => __importStar3,
|
|
1153
|
-
__makeTemplateObject: () => __makeTemplateObject3,
|
|
1154
|
-
__metadata: () => __metadata3,
|
|
1155
|
-
__param: () => __param3,
|
|
1156
|
-
__read: () => __read3,
|
|
1157
|
-
__rest: () => __rest3,
|
|
1158
|
-
__spread: () => __spread3,
|
|
1159
|
-
__spreadArrays: () => __spreadArrays3,
|
|
1160
|
-
__values: () => __values3
|
|
1161
|
-
});
|
|
1162
|
-
function __extends3(d, b) {
|
|
1163
|
-
extendStatics3(d, b);
|
|
1164
|
-
function __() {
|
|
1165
|
-
this.constructor = d;
|
|
1166
|
-
}
|
|
1167
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1168
|
-
}
|
|
1169
|
-
function __rest3(s, e) {
|
|
1170
|
-
var t = {};
|
|
1171
|
-
for (var p in s)
|
|
1172
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
1173
|
-
t[p] = s[p];
|
|
1174
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
1175
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
1176
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
1177
|
-
t[p[i]] = s[p[i]];
|
|
998
|
+
// ../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js
|
|
999
|
+
var require_whatwgEncodingApi = __commonJS({
|
|
1000
|
+
"../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js"(exports) {
|
|
1001
|
+
"use strict";
|
|
1002
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1003
|
+
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
1004
|
+
function fromUtf8(input) {
|
|
1005
|
+
return new TextEncoder().encode(input);
|
|
1178
1006
|
}
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
r = Reflect.decorate(decorators, target, key, desc);
|
|
1185
|
-
else
|
|
1186
|
-
for (var i = decorators.length - 1; i >= 0; i--)
|
|
1187
|
-
if (d = decorators[i])
|
|
1188
|
-
r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1189
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1190
|
-
}
|
|
1191
|
-
function __param3(paramIndex, decorator) {
|
|
1192
|
-
return function(target, key) {
|
|
1193
|
-
decorator(target, key, paramIndex);
|
|
1194
|
-
};
|
|
1195
|
-
}
|
|
1196
|
-
function __metadata3(metadataKey, metadataValue) {
|
|
1197
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
|
|
1198
|
-
return Reflect.metadata(metadataKey, metadataValue);
|
|
1199
|
-
}
|
|
1200
|
-
function __awaiter3(thisArg, _arguments, P, generator) {
|
|
1201
|
-
function adopt(value) {
|
|
1202
|
-
return value instanceof P ? value : new P(function(resolve) {
|
|
1203
|
-
resolve(value);
|
|
1204
|
-
});
|
|
1007
|
+
exports.fromUtf8 = fromUtf8;
|
|
1008
|
+
function toUtf8(input) {
|
|
1009
|
+
return new TextDecoder("utf-8").decode(input);
|
|
1010
|
+
}
|
|
1011
|
+
exports.toUtf8 = toUtf8;
|
|
1205
1012
|
}
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1013
|
+
});
|
|
1014
|
+
|
|
1015
|
+
// ../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js
|
|
1016
|
+
var require_dist_cjs = __commonJS({
|
|
1017
|
+
"../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js"(exports) {
|
|
1018
|
+
"use strict";
|
|
1019
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1020
|
+
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
1021
|
+
var pureJs_1 = require_pureJs();
|
|
1022
|
+
var whatwgEncodingApi_1 = require_whatwgEncodingApi();
|
|
1023
|
+
var fromUtf8 = (input) => typeof TextEncoder === "function" ? (0, whatwgEncodingApi_1.fromUtf8)(input) : (0, pureJs_1.fromUtf8)(input);
|
|
1024
|
+
exports.fromUtf8 = fromUtf8;
|
|
1025
|
+
var toUtf8 = (input) => typeof TextDecoder === "function" ? (0, whatwgEncodingApi_1.toUtf8)(input) : (0, pureJs_1.toUtf8)(input);
|
|
1026
|
+
exports.toUtf8 = toUtf8;
|
|
1027
|
+
}
|
|
1028
|
+
});
|
|
1029
|
+
|
|
1030
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/convertToBuffer.js
|
|
1031
|
+
var require_convertToBuffer = __commonJS({
|
|
1032
|
+
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/convertToBuffer.js"(exports) {
|
|
1033
|
+
"use strict";
|
|
1034
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1035
|
+
exports.convertToBuffer = void 0;
|
|
1036
|
+
var util_utf8_browser_1 = require_dist_cjs();
|
|
1037
|
+
var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
|
|
1038
|
+
return Buffer.from(input, "utf8");
|
|
1039
|
+
} : util_utf8_browser_1.fromUtf8;
|
|
1040
|
+
function convertToBuffer(data) {
|
|
1041
|
+
if (data instanceof Uint8Array)
|
|
1042
|
+
return data;
|
|
1043
|
+
if (typeof data === "string") {
|
|
1044
|
+
return fromUtf8(data);
|
|
1212
1045
|
}
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
try {
|
|
1216
|
-
step(generator["throw"](value));
|
|
1217
|
-
} catch (e) {
|
|
1218
|
-
reject(e);
|
|
1046
|
+
if (ArrayBuffer.isView(data)) {
|
|
1047
|
+
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
1219
1048
|
}
|
|
1049
|
+
return new Uint8Array(data);
|
|
1220
1050
|
}
|
|
1221
|
-
|
|
1222
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
1223
|
-
}
|
|
1224
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
1225
|
-
});
|
|
1226
|
-
}
|
|
1227
|
-
function __generator3(thisArg, body) {
|
|
1228
|
-
var _ = { label: 0, sent: function() {
|
|
1229
|
-
if (t[0] & 1)
|
|
1230
|
-
throw t[1];
|
|
1231
|
-
return t[1];
|
|
1232
|
-
}, trys: [], ops: [] }, f, y, t, g;
|
|
1233
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
1234
|
-
return this;
|
|
1235
|
-
}), g;
|
|
1236
|
-
function verb(n) {
|
|
1237
|
-
return function(v) {
|
|
1238
|
-
return step([n, v]);
|
|
1239
|
-
};
|
|
1240
|
-
}
|
|
1241
|
-
function step(op) {
|
|
1242
|
-
if (f)
|
|
1243
|
-
throw new TypeError("Generator is already executing.");
|
|
1244
|
-
while (_)
|
|
1245
|
-
try {
|
|
1246
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
|
|
1247
|
-
return t;
|
|
1248
|
-
if (y = 0, t)
|
|
1249
|
-
op = [op[0] & 2, t.value];
|
|
1250
|
-
switch (op[0]) {
|
|
1251
|
-
case 0:
|
|
1252
|
-
case 1:
|
|
1253
|
-
t = op;
|
|
1254
|
-
break;
|
|
1255
|
-
case 4:
|
|
1256
|
-
_.label++;
|
|
1257
|
-
return { value: op[1], done: false };
|
|
1258
|
-
case 5:
|
|
1259
|
-
_.label++;
|
|
1260
|
-
y = op[1];
|
|
1261
|
-
op = [0];
|
|
1262
|
-
continue;
|
|
1263
|
-
case 7:
|
|
1264
|
-
op = _.ops.pop();
|
|
1265
|
-
_.trys.pop();
|
|
1266
|
-
continue;
|
|
1267
|
-
default:
|
|
1268
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
1269
|
-
_ = 0;
|
|
1270
|
-
continue;
|
|
1271
|
-
}
|
|
1272
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
1273
|
-
_.label = op[1];
|
|
1274
|
-
break;
|
|
1275
|
-
}
|
|
1276
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
1277
|
-
_.label = t[1];
|
|
1278
|
-
t = op;
|
|
1279
|
-
break;
|
|
1280
|
-
}
|
|
1281
|
-
if (t && _.label < t[2]) {
|
|
1282
|
-
_.label = t[2];
|
|
1283
|
-
_.ops.push(op);
|
|
1284
|
-
break;
|
|
1285
|
-
}
|
|
1286
|
-
if (t[2])
|
|
1287
|
-
_.ops.pop();
|
|
1288
|
-
_.trys.pop();
|
|
1289
|
-
continue;
|
|
1290
|
-
}
|
|
1291
|
-
op = body.call(thisArg, _);
|
|
1292
|
-
} catch (e) {
|
|
1293
|
-
op = [6, e];
|
|
1294
|
-
y = 0;
|
|
1295
|
-
} finally {
|
|
1296
|
-
f = t = 0;
|
|
1297
|
-
}
|
|
1298
|
-
if (op[0] & 5)
|
|
1299
|
-
throw op[1];
|
|
1300
|
-
return { value: op[0] ? op[1] : void 0, done: true };
|
|
1051
|
+
exports.convertToBuffer = convertToBuffer;
|
|
1301
1052
|
}
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
function __values3(o) {
|
|
1314
|
-
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
|
|
1315
|
-
if (m)
|
|
1316
|
-
return m.call(o);
|
|
1317
|
-
if (o && typeof o.length === "number")
|
|
1318
|
-
return {
|
|
1319
|
-
next: function() {
|
|
1320
|
-
if (o && i >= o.length)
|
|
1321
|
-
o = void 0;
|
|
1322
|
-
return { value: o && o[i++], done: !o };
|
|
1053
|
+
});
|
|
1054
|
+
|
|
1055
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/isEmptyData.js
|
|
1056
|
+
var require_isEmptyData = __commonJS({
|
|
1057
|
+
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/isEmptyData.js"(exports) {
|
|
1058
|
+
"use strict";
|
|
1059
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1060
|
+
exports.isEmptyData = void 0;
|
|
1061
|
+
function isEmptyData(data) {
|
|
1062
|
+
if (typeof data === "string") {
|
|
1063
|
+
return data.length === 0;
|
|
1323
1064
|
}
|
|
1324
|
-
|
|
1325
|
-
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
1326
|
-
}
|
|
1327
|
-
function __read3(o, n) {
|
|
1328
|
-
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
1329
|
-
if (!m)
|
|
1330
|
-
return o;
|
|
1331
|
-
var i = m.call(o), r, ar = [], e;
|
|
1332
|
-
try {
|
|
1333
|
-
while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
|
|
1334
|
-
ar.push(r.value);
|
|
1335
|
-
} catch (error) {
|
|
1336
|
-
e = { error };
|
|
1337
|
-
} finally {
|
|
1338
|
-
try {
|
|
1339
|
-
if (r && !r.done && (m = i["return"]))
|
|
1340
|
-
m.call(i);
|
|
1341
|
-
} finally {
|
|
1342
|
-
if (e)
|
|
1343
|
-
throw e.error;
|
|
1065
|
+
return data.byteLength === 0;
|
|
1344
1066
|
}
|
|
1067
|
+
exports.isEmptyData = isEmptyData;
|
|
1345
1068
|
}
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
function __await3(v) {
|
|
1362
|
-
return this instanceof __await3 ? (this.v = v, this) : new __await3(v);
|
|
1363
|
-
}
|
|
1364
|
-
function __asyncGenerator3(thisArg, _arguments, generator) {
|
|
1365
|
-
if (!Symbol.asyncIterator)
|
|
1366
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1367
|
-
var g = generator.apply(thisArg, _arguments || []), i, q = [];
|
|
1368
|
-
return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
1369
|
-
return this;
|
|
1370
|
-
}, i;
|
|
1371
|
-
function verb(n) {
|
|
1372
|
-
if (g[n])
|
|
1373
|
-
i[n] = function(v) {
|
|
1374
|
-
return new Promise(function(a, b) {
|
|
1375
|
-
q.push([n, v, a, b]) > 1 || resume(n, v);
|
|
1376
|
-
});
|
|
1377
|
-
};
|
|
1378
|
-
}
|
|
1379
|
-
function resume(n, v) {
|
|
1380
|
-
try {
|
|
1381
|
-
step(g[n](v));
|
|
1382
|
-
} catch (e) {
|
|
1383
|
-
settle(q[0][3], e);
|
|
1069
|
+
});
|
|
1070
|
+
|
|
1071
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/numToUint8.js
|
|
1072
|
+
var require_numToUint8 = __commonJS({
|
|
1073
|
+
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/numToUint8.js"(exports) {
|
|
1074
|
+
"use strict";
|
|
1075
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1076
|
+
exports.numToUint8 = void 0;
|
|
1077
|
+
function numToUint8(num) {
|
|
1078
|
+
return new Uint8Array([
|
|
1079
|
+
(num & 4278190080) >> 24,
|
|
1080
|
+
(num & 16711680) >> 16,
|
|
1081
|
+
(num & 65280) >> 8,
|
|
1082
|
+
num & 255
|
|
1083
|
+
]);
|
|
1384
1084
|
}
|
|
1085
|
+
exports.numToUint8 = numToUint8;
|
|
1385
1086
|
}
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
function verb(n, f) {
|
|
1408
|
-
i[n] = o[n] ? function(v) {
|
|
1409
|
-
return (p = !p) ? { value: __await3(o[n](v)), done: n === "return" } : f ? f(v) : v;
|
|
1410
|
-
} : f;
|
|
1411
|
-
}
|
|
1412
|
-
}
|
|
1413
|
-
function __asyncValues3(o) {
|
|
1414
|
-
if (!Symbol.asyncIterator)
|
|
1415
|
-
throw new TypeError("Symbol.asyncIterator is not defined.");
|
|
1416
|
-
var m = o[Symbol.asyncIterator], i;
|
|
1417
|
-
return m ? m.call(o) : (o = typeof __values3 === "function" ? __values3(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function() {
|
|
1418
|
-
return this;
|
|
1419
|
-
}, i);
|
|
1420
|
-
function verb(n) {
|
|
1421
|
-
i[n] = o[n] && function(v) {
|
|
1422
|
-
return new Promise(function(resolve, reject) {
|
|
1423
|
-
v = o[n](v), settle(resolve, reject, v.done, v.value);
|
|
1424
|
-
});
|
|
1425
|
-
};
|
|
1426
|
-
}
|
|
1427
|
-
function settle(resolve, reject, d, v) {
|
|
1428
|
-
Promise.resolve(v).then(function(v2) {
|
|
1429
|
-
resolve({ value: v2, done: d });
|
|
1430
|
-
}, reject);
|
|
1431
|
-
}
|
|
1432
|
-
}
|
|
1433
|
-
function __makeTemplateObject3(cooked, raw) {
|
|
1434
|
-
if (Object.defineProperty) {
|
|
1435
|
-
Object.defineProperty(cooked, "raw", { value: raw });
|
|
1436
|
-
} else {
|
|
1437
|
-
cooked.raw = raw;
|
|
1438
|
-
}
|
|
1439
|
-
return cooked;
|
|
1440
|
-
}
|
|
1441
|
-
function __importStar3(mod) {
|
|
1442
|
-
if (mod && mod.__esModule)
|
|
1443
|
-
return mod;
|
|
1444
|
-
var result = {};
|
|
1445
|
-
if (mod != null) {
|
|
1446
|
-
for (var k in mod)
|
|
1447
|
-
if (Object.hasOwnProperty.call(mod, k))
|
|
1448
|
-
result[k] = mod[k];
|
|
1449
|
-
}
|
|
1450
|
-
result.default = mod;
|
|
1451
|
-
return result;
|
|
1452
|
-
}
|
|
1453
|
-
function __importDefault3(mod) {
|
|
1454
|
-
return mod && mod.__esModule ? mod : { default: mod };
|
|
1455
|
-
}
|
|
1456
|
-
function __classPrivateFieldGet3(receiver, privateMap) {
|
|
1457
|
-
if (!privateMap.has(receiver)) {
|
|
1458
|
-
throw new TypeError("attempted to get private field on non-instance");
|
|
1459
|
-
}
|
|
1460
|
-
return privateMap.get(receiver);
|
|
1461
|
-
}
|
|
1462
|
-
function __classPrivateFieldSet3(receiver, privateMap, value) {
|
|
1463
|
-
if (!privateMap.has(receiver)) {
|
|
1464
|
-
throw new TypeError("attempted to set private field on non-instance");
|
|
1465
|
-
}
|
|
1466
|
-
privateMap.set(receiver, value);
|
|
1467
|
-
return value;
|
|
1468
|
-
}
|
|
1469
|
-
var extendStatics3, __assign3;
|
|
1470
|
-
var init_tslib_es63 = __esm({
|
|
1471
|
-
"../../node_modules/.pnpm/tslib@1.14.1/node_modules/tslib/tslib.es6.js"() {
|
|
1472
|
-
extendStatics3 = function(d, b) {
|
|
1473
|
-
extendStatics3 = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
1474
|
-
d2.__proto__ = b2;
|
|
1475
|
-
} || function(d2, b2) {
|
|
1476
|
-
for (var p in b2)
|
|
1477
|
-
if (b2.hasOwnProperty(p))
|
|
1478
|
-
d2[p] = b2[p];
|
|
1479
|
-
};
|
|
1480
|
-
return extendStatics3(d, b);
|
|
1481
|
-
};
|
|
1482
|
-
__assign3 = function() {
|
|
1483
|
-
__assign3 = Object.assign || function __assign4(t) {
|
|
1484
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
1485
|
-
s = arguments[i];
|
|
1486
|
-
for (var p in s)
|
|
1487
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
1488
|
-
t[p] = s[p];
|
|
1489
|
-
}
|
|
1490
|
-
return t;
|
|
1491
|
-
};
|
|
1492
|
-
return __assign3.apply(this, arguments);
|
|
1493
|
-
};
|
|
1494
|
-
}
|
|
1495
|
-
});
|
|
1496
|
-
|
|
1497
|
-
// ../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js
|
|
1498
|
-
var require_pureJs = __commonJS({
|
|
1499
|
-
"../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/pureJs.js"(exports) {
|
|
1500
|
-
"use strict";
|
|
1501
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1502
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
1503
|
-
var fromUtf8 = (input) => {
|
|
1504
|
-
const bytes = [];
|
|
1505
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
|
1506
|
-
const value = input.charCodeAt(i);
|
|
1507
|
-
if (value < 128) {
|
|
1508
|
-
bytes.push(value);
|
|
1509
|
-
} else if (value < 2048) {
|
|
1510
|
-
bytes.push(value >> 6 | 192, value & 63 | 128);
|
|
1511
|
-
} else if (i + 1 < input.length && (value & 64512) === 55296 && (input.charCodeAt(i + 1) & 64512) === 56320) {
|
|
1512
|
-
const surrogatePair = 65536 + ((value & 1023) << 10) + (input.charCodeAt(++i) & 1023);
|
|
1513
|
-
bytes.push(surrogatePair >> 18 | 240, surrogatePair >> 12 & 63 | 128, surrogatePair >> 6 & 63 | 128, surrogatePair & 63 | 128);
|
|
1514
|
-
} else {
|
|
1515
|
-
bytes.push(value >> 12 | 224, value >> 6 & 63 | 128, value & 63 | 128);
|
|
1516
|
-
}
|
|
1517
|
-
}
|
|
1518
|
-
return Uint8Array.from(bytes);
|
|
1519
|
-
};
|
|
1520
|
-
exports.fromUtf8 = fromUtf8;
|
|
1521
|
-
var toUtf8 = (input) => {
|
|
1522
|
-
let decoded = "";
|
|
1523
|
-
for (let i = 0, len = input.length; i < len; i++) {
|
|
1524
|
-
const byte = input[i];
|
|
1525
|
-
if (byte < 128) {
|
|
1526
|
-
decoded += String.fromCharCode(byte);
|
|
1527
|
-
} else if (192 <= byte && byte < 224) {
|
|
1528
|
-
const nextByte = input[++i];
|
|
1529
|
-
decoded += String.fromCharCode((byte & 31) << 6 | nextByte & 63);
|
|
1530
|
-
} else if (240 <= byte && byte < 365) {
|
|
1531
|
-
const surrogatePair = [byte, input[++i], input[++i], input[++i]];
|
|
1532
|
-
const encoded = "%" + surrogatePair.map((byteValue) => byteValue.toString(16)).join("%");
|
|
1533
|
-
decoded += decodeURIComponent(encoded);
|
|
1534
|
-
} else {
|
|
1535
|
-
decoded += String.fromCharCode((byte & 15) << 12 | (input[++i] & 63) << 6 | input[++i] & 63);
|
|
1536
|
-
}
|
|
1537
|
-
}
|
|
1538
|
-
return decoded;
|
|
1539
|
-
};
|
|
1540
|
-
exports.toUtf8 = toUtf8;
|
|
1541
|
-
}
|
|
1542
|
-
});
|
|
1543
|
-
|
|
1544
|
-
// ../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js
|
|
1545
|
-
var require_whatwgEncodingApi = __commonJS({
|
|
1546
|
-
"../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/whatwgEncodingApi.js"(exports) {
|
|
1547
|
-
"use strict";
|
|
1548
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1549
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
1550
|
-
function fromUtf8(input) {
|
|
1551
|
-
return new TextEncoder().encode(input);
|
|
1552
|
-
}
|
|
1553
|
-
exports.fromUtf8 = fromUtf8;
|
|
1554
|
-
function toUtf8(input) {
|
|
1555
|
-
return new TextDecoder("utf-8").decode(input);
|
|
1556
|
-
}
|
|
1557
|
-
exports.toUtf8 = toUtf8;
|
|
1558
|
-
}
|
|
1559
|
-
});
|
|
1560
|
-
|
|
1561
|
-
// ../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js
|
|
1562
|
-
var require_dist_cjs = __commonJS({
|
|
1563
|
-
"../../node_modules/.pnpm/@aws-sdk+util-utf8-browser@3.259.0/node_modules/@aws-sdk/util-utf8-browser/dist-cjs/index.js"(exports) {
|
|
1564
|
-
"use strict";
|
|
1565
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1566
|
-
exports.toUtf8 = exports.fromUtf8 = void 0;
|
|
1567
|
-
var pureJs_1 = require_pureJs();
|
|
1568
|
-
var whatwgEncodingApi_1 = require_whatwgEncodingApi();
|
|
1569
|
-
var fromUtf8 = (input) => typeof TextEncoder === "function" ? (0, whatwgEncodingApi_1.fromUtf8)(input) : (0, pureJs_1.fromUtf8)(input);
|
|
1570
|
-
exports.fromUtf8 = fromUtf8;
|
|
1571
|
-
var toUtf8 = (input) => typeof TextDecoder === "function" ? (0, whatwgEncodingApi_1.toUtf8)(input) : (0, pureJs_1.toUtf8)(input);
|
|
1572
|
-
exports.toUtf8 = toUtf8;
|
|
1573
|
-
}
|
|
1574
|
-
});
|
|
1575
|
-
|
|
1576
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/convertToBuffer.js
|
|
1577
|
-
var require_convertToBuffer = __commonJS({
|
|
1578
|
-
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/convertToBuffer.js"(exports) {
|
|
1579
|
-
"use strict";
|
|
1580
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1581
|
-
exports.convertToBuffer = void 0;
|
|
1582
|
-
var util_utf8_browser_1 = require_dist_cjs();
|
|
1583
|
-
var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
|
|
1584
|
-
return Buffer.from(input, "utf8");
|
|
1585
|
-
} : util_utf8_browser_1.fromUtf8;
|
|
1586
|
-
function convertToBuffer(data) {
|
|
1587
|
-
if (data instanceof Uint8Array)
|
|
1588
|
-
return data;
|
|
1589
|
-
if (typeof data === "string") {
|
|
1590
|
-
return fromUtf8(data);
|
|
1591
|
-
}
|
|
1592
|
-
if (ArrayBuffer.isView(data)) {
|
|
1593
|
-
return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
1594
|
-
}
|
|
1595
|
-
return new Uint8Array(data);
|
|
1596
|
-
}
|
|
1597
|
-
exports.convertToBuffer = convertToBuffer;
|
|
1598
|
-
}
|
|
1599
|
-
});
|
|
1600
|
-
|
|
1601
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/isEmptyData.js
|
|
1602
|
-
var require_isEmptyData = __commonJS({
|
|
1603
|
-
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/isEmptyData.js"(exports) {
|
|
1604
|
-
"use strict";
|
|
1605
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1606
|
-
exports.isEmptyData = void 0;
|
|
1607
|
-
function isEmptyData(data) {
|
|
1608
|
-
if (typeof data === "string") {
|
|
1609
|
-
return data.length === 0;
|
|
1610
|
-
}
|
|
1611
|
-
return data.byteLength === 0;
|
|
1612
|
-
}
|
|
1613
|
-
exports.isEmptyData = isEmptyData;
|
|
1614
|
-
}
|
|
1615
|
-
});
|
|
1616
|
-
|
|
1617
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/numToUint8.js
|
|
1618
|
-
var require_numToUint8 = __commonJS({
|
|
1619
|
-
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/numToUint8.js"(exports) {
|
|
1620
|
-
"use strict";
|
|
1621
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1622
|
-
exports.numToUint8 = void 0;
|
|
1623
|
-
function numToUint8(num) {
|
|
1624
|
-
return new Uint8Array([
|
|
1625
|
-
(num & 4278190080) >> 24,
|
|
1626
|
-
(num & 16711680) >> 16,
|
|
1627
|
-
(num & 65280) >> 8,
|
|
1628
|
-
num & 255
|
|
1629
|
-
]);
|
|
1630
|
-
}
|
|
1631
|
-
exports.numToUint8 = numToUint8;
|
|
1632
|
-
}
|
|
1633
|
-
});
|
|
1634
|
-
|
|
1635
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js
|
|
1636
|
-
var require_uint32ArrayFrom = __commonJS({
|
|
1637
|
-
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js"(exports) {
|
|
1638
|
-
"use strict";
|
|
1639
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1640
|
-
exports.uint32ArrayFrom = void 0;
|
|
1641
|
-
function uint32ArrayFrom(a_lookUpTable) {
|
|
1642
|
-
if (!Uint32Array.from) {
|
|
1643
|
-
var return_array = new Uint32Array(a_lookUpTable.length);
|
|
1644
|
-
var a_index = 0;
|
|
1645
|
-
while (a_index < a_lookUpTable.length) {
|
|
1646
|
-
return_array[a_index] = a_lookUpTable[a_index];
|
|
1647
|
-
a_index += 1;
|
|
1648
|
-
}
|
|
1649
|
-
return return_array;
|
|
1650
|
-
}
|
|
1651
|
-
return Uint32Array.from(a_lookUpTable);
|
|
1652
|
-
}
|
|
1653
|
-
exports.uint32ArrayFrom = uint32ArrayFrom;
|
|
1087
|
+
});
|
|
1088
|
+
|
|
1089
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js
|
|
1090
|
+
var require_uint32ArrayFrom = __commonJS({
|
|
1091
|
+
"../../node_modules/.pnpm/@aws-crypto+util@3.0.0/node_modules/@aws-crypto/util/build/uint32ArrayFrom.js"(exports) {
|
|
1092
|
+
"use strict";
|
|
1093
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1094
|
+
exports.uint32ArrayFrom = void 0;
|
|
1095
|
+
function uint32ArrayFrom(a_lookUpTable) {
|
|
1096
|
+
if (!Uint32Array.from) {
|
|
1097
|
+
var return_array = new Uint32Array(a_lookUpTable.length);
|
|
1098
|
+
var a_index = 0;
|
|
1099
|
+
while (a_index < a_lookUpTable.length) {
|
|
1100
|
+
return_array[a_index] = a_lookUpTable[a_index];
|
|
1101
|
+
a_index += 1;
|
|
1102
|
+
}
|
|
1103
|
+
return return_array;
|
|
1104
|
+
}
|
|
1105
|
+
return Uint32Array.from(a_lookUpTable);
|
|
1106
|
+
}
|
|
1107
|
+
exports.uint32ArrayFrom = uint32ArrayFrom;
|
|
1654
1108
|
}
|
|
1655
1109
|
});
|
|
1656
1110
|
|
|
@@ -1685,7 +1139,7 @@ var require_aws_crc32 = __commonJS({
|
|
|
1685
1139
|
"use strict";
|
|
1686
1140
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1687
1141
|
exports.AwsCrc32 = void 0;
|
|
1688
|
-
var tslib_1 = (
|
|
1142
|
+
var tslib_1 = (init_tslib_es62(), __toCommonJS(tslib_es6_exports2));
|
|
1689
1143
|
var util_1 = require_build();
|
|
1690
1144
|
var index_1 = require_build2();
|
|
1691
1145
|
var AwsCrc32 = (
|
|
@@ -1722,7 +1176,7 @@ var require_build2 = __commonJS({
|
|
|
1722
1176
|
"use strict";
|
|
1723
1177
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1724
1178
|
exports.AwsCrc32 = exports.Crc32 = exports.crc32 = void 0;
|
|
1725
|
-
var tslib_1 = (
|
|
1179
|
+
var tslib_1 = (init_tslib_es62(), __toCommonJS(tslib_es6_exports2));
|
|
1726
1180
|
var util_1 = require_build();
|
|
1727
1181
|
function crc32(data) {
|
|
1728
1182
|
return new Crc32().update(data).digest();
|
|
@@ -2070,9 +1524,9 @@ var require_dist_cjs2 = __commonJS({
|
|
|
2070
1524
|
}
|
|
2071
1525
|
});
|
|
2072
1526
|
|
|
2073
|
-
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.
|
|
1527
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js
|
|
2074
1528
|
var require_Int64 = __commonJS({
|
|
2075
|
-
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.
|
|
1529
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/Int64.js"(exports) {
|
|
2076
1530
|
"use strict";
|
|
2077
1531
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2078
1532
|
exports.Int64 = void 0;
|
|
@@ -2123,9 +1577,9 @@ var require_Int64 = __commonJS({
|
|
|
2123
1577
|
}
|
|
2124
1578
|
});
|
|
2125
1579
|
|
|
2126
|
-
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.
|
|
1580
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js
|
|
2127
1581
|
var require_HeaderMarshaller = __commonJS({
|
|
2128
|
-
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.
|
|
1582
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/HeaderMarshaller.js"(exports) {
|
|
2129
1583
|
"use strict";
|
|
2130
1584
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2131
1585
|
exports.HeaderMarshaller = void 0;
|
|
@@ -2315,247 +1769,877 @@ var require_HeaderMarshaller = __commonJS({
|
|
|
2315
1769
|
}
|
|
2316
1770
|
});
|
|
2317
1771
|
|
|
2318
|
-
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.
|
|
2319
|
-
var require_splitMessage = __commonJS({
|
|
2320
|
-
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.
|
|
1772
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js
|
|
1773
|
+
var require_splitMessage = __commonJS({
|
|
1774
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/splitMessage.js"(exports) {
|
|
1775
|
+
"use strict";
|
|
1776
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1777
|
+
exports.splitMessage = void 0;
|
|
1778
|
+
var crc32_1 = require_build2();
|
|
1779
|
+
var PRELUDE_MEMBER_LENGTH = 4;
|
|
1780
|
+
var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
1781
|
+
var CHECKSUM_LENGTH = 4;
|
|
1782
|
+
var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
1783
|
+
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
1784
|
+
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
1785
|
+
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
1786
|
+
}
|
|
1787
|
+
const view = new DataView(buffer, byteOffset, byteLength);
|
|
1788
|
+
const messageLength = view.getUint32(0, false);
|
|
1789
|
+
if (byteLength !== messageLength) {
|
|
1790
|
+
throw new Error("Reported message length does not match received message length");
|
|
1791
|
+
}
|
|
1792
|
+
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
1793
|
+
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
1794
|
+
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
1795
|
+
const checksummer = new crc32_1.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
1796
|
+
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
1797
|
+
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
1798
|
+
}
|
|
1799
|
+
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
1800
|
+
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
1801
|
+
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
1802
|
+
}
|
|
1803
|
+
return {
|
|
1804
|
+
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
1805
|
+
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
exports.splitMessage = splitMessage;
|
|
1809
|
+
}
|
|
1810
|
+
});
|
|
1811
|
+
|
|
1812
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js
|
|
1813
|
+
var require_EventStreamCodec = __commonJS({
|
|
1814
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/EventStreamCodec.js"(exports) {
|
|
1815
|
+
"use strict";
|
|
1816
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1817
|
+
exports.EventStreamCodec = void 0;
|
|
1818
|
+
var crc32_1 = require_build2();
|
|
1819
|
+
var HeaderMarshaller_1 = require_HeaderMarshaller();
|
|
1820
|
+
var splitMessage_1 = require_splitMessage();
|
|
1821
|
+
var EventStreamCodec = class {
|
|
1822
|
+
constructor(toUtf8, fromUtf8) {
|
|
1823
|
+
this.headerMarshaller = new HeaderMarshaller_1.HeaderMarshaller(toUtf8, fromUtf8);
|
|
1824
|
+
this.messageBuffer = [];
|
|
1825
|
+
this.isEndOfStream = false;
|
|
1826
|
+
}
|
|
1827
|
+
feed(message) {
|
|
1828
|
+
this.messageBuffer.push(this.decode(message));
|
|
1829
|
+
}
|
|
1830
|
+
endOfStream() {
|
|
1831
|
+
this.isEndOfStream = true;
|
|
1832
|
+
}
|
|
1833
|
+
getMessage() {
|
|
1834
|
+
const message = this.messageBuffer.pop();
|
|
1835
|
+
const isEndOfStream = this.isEndOfStream;
|
|
1836
|
+
return {
|
|
1837
|
+
getMessage() {
|
|
1838
|
+
return message;
|
|
1839
|
+
},
|
|
1840
|
+
isEndOfStream() {
|
|
1841
|
+
return isEndOfStream;
|
|
1842
|
+
}
|
|
1843
|
+
};
|
|
1844
|
+
}
|
|
1845
|
+
getAvailableMessages() {
|
|
1846
|
+
const messages = this.messageBuffer;
|
|
1847
|
+
this.messageBuffer = [];
|
|
1848
|
+
const isEndOfStream = this.isEndOfStream;
|
|
1849
|
+
return {
|
|
1850
|
+
getMessages() {
|
|
1851
|
+
return messages;
|
|
1852
|
+
},
|
|
1853
|
+
isEndOfStream() {
|
|
1854
|
+
return isEndOfStream;
|
|
1855
|
+
}
|
|
1856
|
+
};
|
|
1857
|
+
}
|
|
1858
|
+
encode({ headers: rawHeaders, body }) {
|
|
1859
|
+
const headers = this.headerMarshaller.format(rawHeaders);
|
|
1860
|
+
const length = headers.byteLength + body.byteLength + 16;
|
|
1861
|
+
const out = new Uint8Array(length);
|
|
1862
|
+
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
1863
|
+
const checksum = new crc32_1.Crc32();
|
|
1864
|
+
view.setUint32(0, length, false);
|
|
1865
|
+
view.setUint32(4, headers.byteLength, false);
|
|
1866
|
+
view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
|
|
1867
|
+
out.set(headers, 12);
|
|
1868
|
+
out.set(body, headers.byteLength + 12);
|
|
1869
|
+
view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
|
|
1870
|
+
return out;
|
|
1871
|
+
}
|
|
1872
|
+
decode(message) {
|
|
1873
|
+
const { headers, body } = (0, splitMessage_1.splitMessage)(message);
|
|
1874
|
+
return { headers: this.headerMarshaller.parse(headers), body };
|
|
1875
|
+
}
|
|
1876
|
+
formatHeaders(rawHeaders) {
|
|
1877
|
+
return this.headerMarshaller.format(rawHeaders);
|
|
1878
|
+
}
|
|
1879
|
+
};
|
|
1880
|
+
exports.EventStreamCodec = EventStreamCodec;
|
|
1881
|
+
}
|
|
1882
|
+
});
|
|
1883
|
+
|
|
1884
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js
|
|
1885
|
+
var require_Message = __commonJS({
|
|
1886
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/Message.js"(exports) {
|
|
1887
|
+
"use strict";
|
|
1888
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1889
|
+
}
|
|
1890
|
+
});
|
|
1891
|
+
|
|
1892
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js
|
|
1893
|
+
var require_MessageDecoderStream = __commonJS({
|
|
1894
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/MessageDecoderStream.js"(exports) {
|
|
1895
|
+
"use strict";
|
|
1896
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1897
|
+
exports.MessageDecoderStream = void 0;
|
|
1898
|
+
var MessageDecoderStream = class {
|
|
1899
|
+
constructor(options) {
|
|
1900
|
+
this.options = options;
|
|
1901
|
+
}
|
|
1902
|
+
[Symbol.asyncIterator]() {
|
|
1903
|
+
return this.asyncIterator();
|
|
1904
|
+
}
|
|
1905
|
+
async *asyncIterator() {
|
|
1906
|
+
for await (const bytes of this.options.inputStream) {
|
|
1907
|
+
const decoded = this.options.decoder.decode(bytes);
|
|
1908
|
+
yield decoded;
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
};
|
|
1912
|
+
exports.MessageDecoderStream = MessageDecoderStream;
|
|
1913
|
+
}
|
|
1914
|
+
});
|
|
1915
|
+
|
|
1916
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js
|
|
1917
|
+
var require_MessageEncoderStream = __commonJS({
|
|
1918
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/MessageEncoderStream.js"(exports) {
|
|
1919
|
+
"use strict";
|
|
1920
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1921
|
+
exports.MessageEncoderStream = void 0;
|
|
1922
|
+
var MessageEncoderStream = class {
|
|
1923
|
+
constructor(options) {
|
|
1924
|
+
this.options = options;
|
|
1925
|
+
}
|
|
1926
|
+
[Symbol.asyncIterator]() {
|
|
1927
|
+
return this.asyncIterator();
|
|
1928
|
+
}
|
|
1929
|
+
async *asyncIterator() {
|
|
1930
|
+
for await (const msg of this.options.messageStream) {
|
|
1931
|
+
const encoded = this.options.encoder.encode(msg);
|
|
1932
|
+
yield encoded;
|
|
1933
|
+
}
|
|
1934
|
+
if (this.options.includeEndFrame) {
|
|
1935
|
+
yield new Uint8Array(0);
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
};
|
|
1939
|
+
exports.MessageEncoderStream = MessageEncoderStream;
|
|
1940
|
+
}
|
|
1941
|
+
});
|
|
1942
|
+
|
|
1943
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js
|
|
1944
|
+
var require_SmithyMessageDecoderStream = __commonJS({
|
|
1945
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageDecoderStream.js"(exports) {
|
|
1946
|
+
"use strict";
|
|
1947
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1948
|
+
exports.SmithyMessageDecoderStream = void 0;
|
|
1949
|
+
var SmithyMessageDecoderStream = class {
|
|
1950
|
+
constructor(options) {
|
|
1951
|
+
this.options = options;
|
|
1952
|
+
}
|
|
1953
|
+
[Symbol.asyncIterator]() {
|
|
1954
|
+
return this.asyncIterator();
|
|
1955
|
+
}
|
|
1956
|
+
async *asyncIterator() {
|
|
1957
|
+
for await (const message of this.options.messageStream) {
|
|
1958
|
+
const deserialized = await this.options.deserializer(message);
|
|
1959
|
+
if (deserialized === void 0)
|
|
1960
|
+
continue;
|
|
1961
|
+
yield deserialized;
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
};
|
|
1965
|
+
exports.SmithyMessageDecoderStream = SmithyMessageDecoderStream;
|
|
1966
|
+
}
|
|
1967
|
+
});
|
|
1968
|
+
|
|
1969
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js
|
|
1970
|
+
var require_SmithyMessageEncoderStream = __commonJS({
|
|
1971
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/SmithyMessageEncoderStream.js"(exports) {
|
|
1972
|
+
"use strict";
|
|
1973
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1974
|
+
exports.SmithyMessageEncoderStream = void 0;
|
|
1975
|
+
var SmithyMessageEncoderStream = class {
|
|
1976
|
+
constructor(options) {
|
|
1977
|
+
this.options = options;
|
|
1978
|
+
}
|
|
1979
|
+
[Symbol.asyncIterator]() {
|
|
1980
|
+
return this.asyncIterator();
|
|
1981
|
+
}
|
|
1982
|
+
async *asyncIterator() {
|
|
1983
|
+
for await (const chunk of this.options.inputStream) {
|
|
1984
|
+
const payloadBuf = this.options.serializer(chunk);
|
|
1985
|
+
yield payloadBuf;
|
|
1986
|
+
}
|
|
1987
|
+
}
|
|
1988
|
+
};
|
|
1989
|
+
exports.SmithyMessageEncoderStream = SmithyMessageEncoderStream;
|
|
1990
|
+
}
|
|
1991
|
+
});
|
|
1992
|
+
|
|
1993
|
+
// ../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/index.js
|
|
1994
|
+
var require_dist_cjs3 = __commonJS({
|
|
1995
|
+
"../../node_modules/.pnpm/@smithy+eventstream-codec@2.0.14/node_modules/@smithy/eventstream-codec/dist-cjs/index.js"(exports) {
|
|
1996
|
+
"use strict";
|
|
1997
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1998
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
1999
|
+
tslib_1.__exportStar(require_EventStreamCodec(), exports);
|
|
2000
|
+
tslib_1.__exportStar(require_HeaderMarshaller(), exports);
|
|
2001
|
+
tslib_1.__exportStar(require_Int64(), exports);
|
|
2002
|
+
tslib_1.__exportStar(require_Message(), exports);
|
|
2003
|
+
tslib_1.__exportStar(require_MessageDecoderStream(), exports);
|
|
2004
|
+
tslib_1.__exportStar(require_MessageEncoderStream(), exports);
|
|
2005
|
+
tslib_1.__exportStar(require_SmithyMessageDecoderStream(), exports);
|
|
2006
|
+
tslib_1.__exportStar(require_SmithyMessageEncoderStream(), exports);
|
|
2007
|
+
}
|
|
2008
|
+
});
|
|
2009
|
+
|
|
2010
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/abort.js
|
|
2011
|
+
var require_abort = __commonJS({
|
|
2012
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/abort.js"(exports) {
|
|
2013
|
+
"use strict";
|
|
2014
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2015
|
+
}
|
|
2016
|
+
});
|
|
2017
|
+
|
|
2018
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/auth.js
|
|
2019
|
+
var require_auth = __commonJS({
|
|
2020
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/auth.js"(exports) {
|
|
2021
|
+
"use strict";
|
|
2022
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2023
|
+
exports.HttpAuthLocation = void 0;
|
|
2024
|
+
var HttpAuthLocation;
|
|
2025
|
+
(function(HttpAuthLocation2) {
|
|
2026
|
+
HttpAuthLocation2["HEADER"] = "header";
|
|
2027
|
+
HttpAuthLocation2["QUERY"] = "query";
|
|
2028
|
+
})(HttpAuthLocation = exports.HttpAuthLocation || (exports.HttpAuthLocation = {}));
|
|
2029
|
+
}
|
|
2030
|
+
});
|
|
2031
|
+
|
|
2032
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js
|
|
2033
|
+
var require_HttpApiKeyAuth = __commonJS({
|
|
2034
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpApiKeyAuth.js"(exports) {
|
|
2035
|
+
"use strict";
|
|
2036
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2037
|
+
exports.HttpApiKeyAuthLocation = void 0;
|
|
2038
|
+
var HttpApiKeyAuthLocation;
|
|
2039
|
+
(function(HttpApiKeyAuthLocation2) {
|
|
2040
|
+
HttpApiKeyAuthLocation2["HEADER"] = "header";
|
|
2041
|
+
HttpApiKeyAuthLocation2["QUERY"] = "query";
|
|
2042
|
+
})(HttpApiKeyAuthLocation = exports.HttpApiKeyAuthLocation || (exports.HttpApiKeyAuthLocation = {}));
|
|
2043
|
+
}
|
|
2044
|
+
});
|
|
2045
|
+
|
|
2046
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js
|
|
2047
|
+
var require_HttpAuthScheme = __commonJS({
|
|
2048
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpAuthScheme.js"(exports) {
|
|
2049
|
+
"use strict";
|
|
2050
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2051
|
+
}
|
|
2052
|
+
});
|
|
2053
|
+
|
|
2054
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js
|
|
2055
|
+
var require_HttpAuthSchemeProvider = __commonJS({
|
|
2056
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpAuthSchemeProvider.js"(exports) {
|
|
2057
|
+
"use strict";
|
|
2058
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2059
|
+
}
|
|
2060
|
+
});
|
|
2061
|
+
|
|
2062
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js
|
|
2063
|
+
var require_HttpSigner = __commonJS({
|
|
2064
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/HttpSigner.js"(exports) {
|
|
2065
|
+
"use strict";
|
|
2066
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2067
|
+
}
|
|
2068
|
+
});
|
|
2069
|
+
|
|
2070
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js
|
|
2071
|
+
var require_IdentityProviderConfig = __commonJS({
|
|
2072
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/IdentityProviderConfig.js"(exports) {
|
|
2073
|
+
"use strict";
|
|
2074
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2075
|
+
}
|
|
2076
|
+
});
|
|
2077
|
+
|
|
2078
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/index.js
|
|
2079
|
+
var require_auth2 = __commonJS({
|
|
2080
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/auth/index.js"(exports) {
|
|
2081
|
+
"use strict";
|
|
2082
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2083
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2084
|
+
tslib_1.__exportStar(require_auth(), exports);
|
|
2085
|
+
tslib_1.__exportStar(require_HttpApiKeyAuth(), exports);
|
|
2086
|
+
tslib_1.__exportStar(require_HttpAuthScheme(), exports);
|
|
2087
|
+
tslib_1.__exportStar(require_HttpAuthSchemeProvider(), exports);
|
|
2088
|
+
tslib_1.__exportStar(require_HttpSigner(), exports);
|
|
2089
|
+
tslib_1.__exportStar(require_IdentityProviderConfig(), exports);
|
|
2090
|
+
}
|
|
2091
|
+
});
|
|
2092
|
+
|
|
2093
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js
|
|
2094
|
+
var require_blob_payload_input_types = __commonJS({
|
|
2095
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/blob/blob-payload-input-types.js"(exports) {
|
|
2096
|
+
"use strict";
|
|
2097
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2098
|
+
}
|
|
2099
|
+
});
|
|
2100
|
+
|
|
2101
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/checksum.js
|
|
2102
|
+
var require_checksum = __commonJS({
|
|
2103
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/checksum.js"(exports) {
|
|
2104
|
+
"use strict";
|
|
2105
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2106
|
+
}
|
|
2107
|
+
});
|
|
2108
|
+
|
|
2109
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/client.js
|
|
2110
|
+
var require_client = __commonJS({
|
|
2111
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/client.js"(exports) {
|
|
2112
|
+
"use strict";
|
|
2113
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2114
|
+
}
|
|
2115
|
+
});
|
|
2116
|
+
|
|
2117
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/command.js
|
|
2118
|
+
var require_command = __commonJS({
|
|
2119
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/command.js"(exports) {
|
|
2120
|
+
"use strict";
|
|
2121
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2122
|
+
}
|
|
2123
|
+
});
|
|
2124
|
+
|
|
2125
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/config.js
|
|
2126
|
+
var require_config = __commonJS({
|
|
2127
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/config.js"(exports) {
|
|
2128
|
+
"use strict";
|
|
2129
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2130
|
+
}
|
|
2131
|
+
});
|
|
2132
|
+
|
|
2133
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/manager.js
|
|
2134
|
+
var require_manager = __commonJS({
|
|
2135
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/manager.js"(exports) {
|
|
2136
|
+
"use strict";
|
|
2137
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2138
|
+
}
|
|
2139
|
+
});
|
|
2140
|
+
|
|
2141
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/pool.js
|
|
2142
|
+
var require_pool = __commonJS({
|
|
2143
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/pool.js"(exports) {
|
|
2144
|
+
"use strict";
|
|
2145
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2146
|
+
}
|
|
2147
|
+
});
|
|
2148
|
+
|
|
2149
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/index.js
|
|
2150
|
+
var require_connection = __commonJS({
|
|
2151
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/connection/index.js"(exports) {
|
|
2152
|
+
"use strict";
|
|
2153
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2154
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2155
|
+
tslib_1.__exportStar(require_config(), exports);
|
|
2156
|
+
tslib_1.__exportStar(require_manager(), exports);
|
|
2157
|
+
tslib_1.__exportStar(require_pool(), exports);
|
|
2158
|
+
}
|
|
2159
|
+
});
|
|
2160
|
+
|
|
2161
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/crypto.js
|
|
2162
|
+
var require_crypto = __commonJS({
|
|
2163
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/crypto.js"(exports) {
|
|
2164
|
+
"use strict";
|
|
2165
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2166
|
+
}
|
|
2167
|
+
});
|
|
2168
|
+
|
|
2169
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/encode.js
|
|
2170
|
+
var require_encode = __commonJS({
|
|
2171
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/encode.js"(exports) {
|
|
2172
|
+
"use strict";
|
|
2173
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2174
|
+
}
|
|
2175
|
+
});
|
|
2176
|
+
|
|
2177
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoint.js
|
|
2178
|
+
var require_endpoint = __commonJS({
|
|
2179
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoint.js"(exports) {
|
|
2180
|
+
"use strict";
|
|
2181
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2182
|
+
exports.EndpointURLScheme = void 0;
|
|
2183
|
+
var EndpointURLScheme;
|
|
2184
|
+
(function(EndpointURLScheme2) {
|
|
2185
|
+
EndpointURLScheme2["HTTP"] = "http";
|
|
2186
|
+
EndpointURLScheme2["HTTPS"] = "https";
|
|
2187
|
+
})(EndpointURLScheme = exports.EndpointURLScheme || (exports.EndpointURLScheme = {}));
|
|
2188
|
+
}
|
|
2189
|
+
});
|
|
2190
|
+
|
|
2191
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js
|
|
2192
|
+
var require_EndpointRuleObject = __commonJS({
|
|
2193
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/EndpointRuleObject.js"(exports) {
|
|
2194
|
+
"use strict";
|
|
2195
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2196
|
+
}
|
|
2197
|
+
});
|
|
2198
|
+
|
|
2199
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js
|
|
2200
|
+
var require_ErrorRuleObject = __commonJS({
|
|
2201
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/ErrorRuleObject.js"(exports) {
|
|
2202
|
+
"use strict";
|
|
2203
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2204
|
+
}
|
|
2205
|
+
});
|
|
2206
|
+
|
|
2207
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js
|
|
2208
|
+
var require_RuleSetObject = __commonJS({
|
|
2209
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/RuleSetObject.js"(exports) {
|
|
2210
|
+
"use strict";
|
|
2211
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2212
|
+
}
|
|
2213
|
+
});
|
|
2214
|
+
|
|
2215
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/shared.js
|
|
2216
|
+
var require_shared = __commonJS({
|
|
2217
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/shared.js"(exports) {
|
|
2218
|
+
"use strict";
|
|
2219
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2220
|
+
}
|
|
2221
|
+
});
|
|
2222
|
+
|
|
2223
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js
|
|
2224
|
+
var require_TreeRuleObject = __commonJS({
|
|
2225
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/TreeRuleObject.js"(exports) {
|
|
2226
|
+
"use strict";
|
|
2227
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2228
|
+
}
|
|
2229
|
+
});
|
|
2230
|
+
|
|
2231
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/index.js
|
|
2232
|
+
var require_endpoints = __commonJS({
|
|
2233
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/endpoints/index.js"(exports) {
|
|
2234
|
+
"use strict";
|
|
2235
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2236
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2237
|
+
tslib_1.__exportStar(require_EndpointRuleObject(), exports);
|
|
2238
|
+
tslib_1.__exportStar(require_ErrorRuleObject(), exports);
|
|
2239
|
+
tslib_1.__exportStar(require_RuleSetObject(), exports);
|
|
2240
|
+
tslib_1.__exportStar(require_shared(), exports);
|
|
2241
|
+
tslib_1.__exportStar(require_TreeRuleObject(), exports);
|
|
2242
|
+
}
|
|
2243
|
+
});
|
|
2244
|
+
|
|
2245
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/eventStream.js
|
|
2246
|
+
var require_eventStream = __commonJS({
|
|
2247
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/eventStream.js"(exports) {
|
|
2248
|
+
"use strict";
|
|
2249
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2250
|
+
}
|
|
2251
|
+
});
|
|
2252
|
+
|
|
2253
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/checksum.js
|
|
2254
|
+
var require_checksum2 = __commonJS({
|
|
2255
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/checksum.js"(exports) {
|
|
2256
|
+
"use strict";
|
|
2257
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2258
|
+
exports.resolveChecksumRuntimeConfig = exports.getChecksumConfiguration = exports.AlgorithmId = void 0;
|
|
2259
|
+
var AlgorithmId;
|
|
2260
|
+
(function(AlgorithmId2) {
|
|
2261
|
+
AlgorithmId2["MD5"] = "md5";
|
|
2262
|
+
AlgorithmId2["CRC32"] = "crc32";
|
|
2263
|
+
AlgorithmId2["CRC32C"] = "crc32c";
|
|
2264
|
+
AlgorithmId2["SHA1"] = "sha1";
|
|
2265
|
+
AlgorithmId2["SHA256"] = "sha256";
|
|
2266
|
+
})(AlgorithmId = exports.AlgorithmId || (exports.AlgorithmId = {}));
|
|
2267
|
+
var getChecksumConfiguration = (runtimeConfig) => {
|
|
2268
|
+
const checksumAlgorithms = [];
|
|
2269
|
+
if (runtimeConfig.sha256 !== void 0) {
|
|
2270
|
+
checksumAlgorithms.push({
|
|
2271
|
+
algorithmId: () => AlgorithmId.SHA256,
|
|
2272
|
+
checksumConstructor: () => runtimeConfig.sha256
|
|
2273
|
+
});
|
|
2274
|
+
}
|
|
2275
|
+
if (runtimeConfig.md5 != void 0) {
|
|
2276
|
+
checksumAlgorithms.push({
|
|
2277
|
+
algorithmId: () => AlgorithmId.MD5,
|
|
2278
|
+
checksumConstructor: () => runtimeConfig.md5
|
|
2279
|
+
});
|
|
2280
|
+
}
|
|
2281
|
+
return {
|
|
2282
|
+
_checksumAlgorithms: checksumAlgorithms,
|
|
2283
|
+
addChecksumAlgorithm(algo) {
|
|
2284
|
+
this._checksumAlgorithms.push(algo);
|
|
2285
|
+
},
|
|
2286
|
+
checksumAlgorithms() {
|
|
2287
|
+
return this._checksumAlgorithms;
|
|
2288
|
+
}
|
|
2289
|
+
};
|
|
2290
|
+
};
|
|
2291
|
+
exports.getChecksumConfiguration = getChecksumConfiguration;
|
|
2292
|
+
var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
2293
|
+
const runtimeConfig = {};
|
|
2294
|
+
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
2295
|
+
runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();
|
|
2296
|
+
});
|
|
2297
|
+
return runtimeConfig;
|
|
2298
|
+
};
|
|
2299
|
+
exports.resolveChecksumRuntimeConfig = resolveChecksumRuntimeConfig;
|
|
2300
|
+
}
|
|
2301
|
+
});
|
|
2302
|
+
|
|
2303
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js
|
|
2304
|
+
var require_defaultClientConfiguration = __commonJS({
|
|
2305
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/defaultClientConfiguration.js"(exports) {
|
|
2306
|
+
"use strict";
|
|
2307
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2308
|
+
exports.resolveDefaultRuntimeConfig = exports.getDefaultClientConfiguration = void 0;
|
|
2309
|
+
var checksum_1 = require_checksum2();
|
|
2310
|
+
var getDefaultClientConfiguration = (runtimeConfig) => {
|
|
2311
|
+
return {
|
|
2312
|
+
...(0, checksum_1.getChecksumConfiguration)(runtimeConfig)
|
|
2313
|
+
};
|
|
2314
|
+
};
|
|
2315
|
+
exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
|
|
2316
|
+
var resolveDefaultRuntimeConfig = (config) => {
|
|
2317
|
+
return {
|
|
2318
|
+
...(0, checksum_1.resolveChecksumRuntimeConfig)(config)
|
|
2319
|
+
};
|
|
2320
|
+
};
|
|
2321
|
+
exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
|
|
2322
|
+
}
|
|
2323
|
+
});
|
|
2324
|
+
|
|
2325
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js
|
|
2326
|
+
var require_defaultExtensionConfiguration = __commonJS({
|
|
2327
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/defaultExtensionConfiguration.js"(exports) {
|
|
2328
|
+
"use strict";
|
|
2329
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2330
|
+
}
|
|
2331
|
+
});
|
|
2332
|
+
|
|
2333
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/index.js
|
|
2334
|
+
var require_extensions = __commonJS({
|
|
2335
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/extensions/index.js"(exports) {
|
|
2336
|
+
"use strict";
|
|
2337
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2338
|
+
exports.AlgorithmId = void 0;
|
|
2339
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2340
|
+
tslib_1.__exportStar(require_defaultClientConfiguration(), exports);
|
|
2341
|
+
tslib_1.__exportStar(require_defaultExtensionConfiguration(), exports);
|
|
2342
|
+
var checksum_1 = require_checksum2();
|
|
2343
|
+
Object.defineProperty(exports, "AlgorithmId", { enumerable: true, get: function() {
|
|
2344
|
+
return checksum_1.AlgorithmId;
|
|
2345
|
+
} });
|
|
2346
|
+
}
|
|
2347
|
+
});
|
|
2348
|
+
|
|
2349
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/http.js
|
|
2350
|
+
var require_http = __commonJS({
|
|
2351
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/http.js"(exports) {
|
|
2352
|
+
"use strict";
|
|
2353
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2354
|
+
exports.FieldPosition = void 0;
|
|
2355
|
+
var FieldPosition;
|
|
2356
|
+
(function(FieldPosition2) {
|
|
2357
|
+
FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER";
|
|
2358
|
+
FieldPosition2[FieldPosition2["TRAILER"] = 1] = "TRAILER";
|
|
2359
|
+
})(FieldPosition = exports.FieldPosition || (exports.FieldPosition = {}));
|
|
2360
|
+
}
|
|
2361
|
+
});
|
|
2362
|
+
|
|
2363
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js
|
|
2364
|
+
var require_apiKeyIdentity = __commonJS({
|
|
2365
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/apiKeyIdentity.js"(exports) {
|
|
2366
|
+
"use strict";
|
|
2367
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2368
|
+
}
|
|
2369
|
+
});
|
|
2370
|
+
|
|
2371
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js
|
|
2372
|
+
var require_awsCredentialIdentity = __commonJS({
|
|
2373
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/awsCredentialIdentity.js"(exports) {
|
|
2374
|
+
"use strict";
|
|
2375
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2376
|
+
}
|
|
2377
|
+
});
|
|
2378
|
+
|
|
2379
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/identity.js
|
|
2380
|
+
var require_identity = __commonJS({
|
|
2381
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/identity.js"(exports) {
|
|
2382
|
+
"use strict";
|
|
2383
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2384
|
+
}
|
|
2385
|
+
});
|
|
2386
|
+
|
|
2387
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js
|
|
2388
|
+
var require_tokenIdentity = __commonJS({
|
|
2389
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/tokenIdentity.js"(exports) {
|
|
2390
|
+
"use strict";
|
|
2391
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2392
|
+
}
|
|
2393
|
+
});
|
|
2394
|
+
|
|
2395
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/index.js
|
|
2396
|
+
var require_identity2 = __commonJS({
|
|
2397
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/identity/index.js"(exports) {
|
|
2398
|
+
"use strict";
|
|
2399
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2400
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2401
|
+
tslib_1.__exportStar(require_apiKeyIdentity(), exports);
|
|
2402
|
+
tslib_1.__exportStar(require_awsCredentialIdentity(), exports);
|
|
2403
|
+
tslib_1.__exportStar(require_identity(), exports);
|
|
2404
|
+
tslib_1.__exportStar(require_tokenIdentity(), exports);
|
|
2405
|
+
}
|
|
2406
|
+
});
|
|
2407
|
+
|
|
2408
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/logger.js
|
|
2409
|
+
var require_logger = __commonJS({
|
|
2410
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/logger.js"(exports) {
|
|
2411
|
+
"use strict";
|
|
2412
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2413
|
+
}
|
|
2414
|
+
});
|
|
2415
|
+
|
|
2416
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/middleware.js
|
|
2417
|
+
var require_middleware = __commonJS({
|
|
2418
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/middleware.js"(exports) {
|
|
2419
|
+
"use strict";
|
|
2420
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2421
|
+
exports.SMITHY_CONTEXT_KEY = void 0;
|
|
2422
|
+
exports.SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
2423
|
+
}
|
|
2424
|
+
});
|
|
2425
|
+
|
|
2426
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/pagination.js
|
|
2427
|
+
var require_pagination = __commonJS({
|
|
2428
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/pagination.js"(exports) {
|
|
2429
|
+
"use strict";
|
|
2430
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2431
|
+
}
|
|
2432
|
+
});
|
|
2433
|
+
|
|
2434
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/profile.js
|
|
2435
|
+
var require_profile = __commonJS({
|
|
2436
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/profile.js"(exports) {
|
|
2437
|
+
"use strict";
|
|
2438
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2439
|
+
exports.IniSectionType = void 0;
|
|
2440
|
+
var IniSectionType;
|
|
2441
|
+
(function(IniSectionType2) {
|
|
2442
|
+
IniSectionType2["PROFILE"] = "profile";
|
|
2443
|
+
IniSectionType2["SSO_SESSION"] = "sso-session";
|
|
2444
|
+
IniSectionType2["SERVICES"] = "services";
|
|
2445
|
+
})(IniSectionType = exports.IniSectionType || (exports.IniSectionType = {}));
|
|
2446
|
+
}
|
|
2447
|
+
});
|
|
2448
|
+
|
|
2449
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/response.js
|
|
2450
|
+
var require_response = __commonJS({
|
|
2451
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/response.js"(exports) {
|
|
2321
2452
|
"use strict";
|
|
2322
2453
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2323
|
-
exports.splitMessage = void 0;
|
|
2324
|
-
var crc32_1 = require_build2();
|
|
2325
|
-
var PRELUDE_MEMBER_LENGTH = 4;
|
|
2326
|
-
var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2;
|
|
2327
|
-
var CHECKSUM_LENGTH = 4;
|
|
2328
|
-
var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2;
|
|
2329
|
-
function splitMessage({ byteLength, byteOffset, buffer }) {
|
|
2330
|
-
if (byteLength < MINIMUM_MESSAGE_LENGTH) {
|
|
2331
|
-
throw new Error("Provided message too short to accommodate event stream message overhead");
|
|
2332
|
-
}
|
|
2333
|
-
const view = new DataView(buffer, byteOffset, byteLength);
|
|
2334
|
-
const messageLength = view.getUint32(0, false);
|
|
2335
|
-
if (byteLength !== messageLength) {
|
|
2336
|
-
throw new Error("Reported message length does not match received message length");
|
|
2337
|
-
}
|
|
2338
|
-
const headerLength = view.getUint32(PRELUDE_MEMBER_LENGTH, false);
|
|
2339
|
-
const expectedPreludeChecksum = view.getUint32(PRELUDE_LENGTH, false);
|
|
2340
|
-
const expectedMessageChecksum = view.getUint32(byteLength - CHECKSUM_LENGTH, false);
|
|
2341
|
-
const checksummer = new crc32_1.Crc32().update(new Uint8Array(buffer, byteOffset, PRELUDE_LENGTH));
|
|
2342
|
-
if (expectedPreludeChecksum !== checksummer.digest()) {
|
|
2343
|
-
throw new Error(`The prelude checksum specified in the message (${expectedPreludeChecksum}) does not match the calculated CRC32 checksum (${checksummer.digest()})`);
|
|
2344
|
-
}
|
|
2345
|
-
checksummer.update(new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH, byteLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH)));
|
|
2346
|
-
if (expectedMessageChecksum !== checksummer.digest()) {
|
|
2347
|
-
throw new Error(`The message checksum (${checksummer.digest()}) did not match the expected value of ${expectedMessageChecksum}`);
|
|
2348
|
-
}
|
|
2349
|
-
return {
|
|
2350
|
-
headers: new DataView(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH, headerLength),
|
|
2351
|
-
body: new Uint8Array(buffer, byteOffset + PRELUDE_LENGTH + CHECKSUM_LENGTH + headerLength, messageLength - headerLength - (PRELUDE_LENGTH + CHECKSUM_LENGTH + CHECKSUM_LENGTH))
|
|
2352
|
-
};
|
|
2353
|
-
}
|
|
2354
|
-
exports.splitMessage = splitMessage;
|
|
2355
2454
|
}
|
|
2356
2455
|
});
|
|
2357
2456
|
|
|
2358
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2359
|
-
var
|
|
2360
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2457
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/retry.js
|
|
2458
|
+
var require_retry = __commonJS({
|
|
2459
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/retry.js"(exports) {
|
|
2361
2460
|
"use strict";
|
|
2362
2461
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2363
|
-
exports.EventStreamCodec = void 0;
|
|
2364
|
-
var crc32_1 = require_build2();
|
|
2365
|
-
var HeaderMarshaller_1 = require_HeaderMarshaller();
|
|
2366
|
-
var splitMessage_1 = require_splitMessage();
|
|
2367
|
-
var EventStreamCodec = class {
|
|
2368
|
-
constructor(toUtf8, fromUtf8) {
|
|
2369
|
-
this.headerMarshaller = new HeaderMarshaller_1.HeaderMarshaller(toUtf8, fromUtf8);
|
|
2370
|
-
this.messageBuffer = [];
|
|
2371
|
-
this.isEndOfStream = false;
|
|
2372
|
-
}
|
|
2373
|
-
feed(message) {
|
|
2374
|
-
this.messageBuffer.push(this.decode(message));
|
|
2375
|
-
}
|
|
2376
|
-
endOfStream() {
|
|
2377
|
-
this.isEndOfStream = true;
|
|
2378
|
-
}
|
|
2379
|
-
getMessage() {
|
|
2380
|
-
const message = this.messageBuffer.pop();
|
|
2381
|
-
const isEndOfStream = this.isEndOfStream;
|
|
2382
|
-
return {
|
|
2383
|
-
getMessage() {
|
|
2384
|
-
return message;
|
|
2385
|
-
},
|
|
2386
|
-
isEndOfStream() {
|
|
2387
|
-
return isEndOfStream;
|
|
2388
|
-
}
|
|
2389
|
-
};
|
|
2390
|
-
}
|
|
2391
|
-
getAvailableMessages() {
|
|
2392
|
-
const messages = this.messageBuffer;
|
|
2393
|
-
this.messageBuffer = [];
|
|
2394
|
-
const isEndOfStream = this.isEndOfStream;
|
|
2395
|
-
return {
|
|
2396
|
-
getMessages() {
|
|
2397
|
-
return messages;
|
|
2398
|
-
},
|
|
2399
|
-
isEndOfStream() {
|
|
2400
|
-
return isEndOfStream;
|
|
2401
|
-
}
|
|
2402
|
-
};
|
|
2403
|
-
}
|
|
2404
|
-
encode({ headers: rawHeaders, body }) {
|
|
2405
|
-
const headers = this.headerMarshaller.format(rawHeaders);
|
|
2406
|
-
const length = headers.byteLength + body.byteLength + 16;
|
|
2407
|
-
const out = new Uint8Array(length);
|
|
2408
|
-
const view = new DataView(out.buffer, out.byteOffset, out.byteLength);
|
|
2409
|
-
const checksum = new crc32_1.Crc32();
|
|
2410
|
-
view.setUint32(0, length, false);
|
|
2411
|
-
view.setUint32(4, headers.byteLength, false);
|
|
2412
|
-
view.setUint32(8, checksum.update(out.subarray(0, 8)).digest(), false);
|
|
2413
|
-
out.set(headers, 12);
|
|
2414
|
-
out.set(body, headers.byteLength + 12);
|
|
2415
|
-
view.setUint32(length - 4, checksum.update(out.subarray(8, length - 4)).digest(), false);
|
|
2416
|
-
return out;
|
|
2417
|
-
}
|
|
2418
|
-
decode(message) {
|
|
2419
|
-
const { headers, body } = (0, splitMessage_1.splitMessage)(message);
|
|
2420
|
-
return { headers: this.headerMarshaller.parse(headers), body };
|
|
2421
|
-
}
|
|
2422
|
-
formatHeaders(rawHeaders) {
|
|
2423
|
-
return this.headerMarshaller.format(rawHeaders);
|
|
2424
|
-
}
|
|
2425
|
-
};
|
|
2426
|
-
exports.EventStreamCodec = EventStreamCodec;
|
|
2427
2462
|
}
|
|
2428
2463
|
});
|
|
2429
2464
|
|
|
2430
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2431
|
-
var
|
|
2432
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2465
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/serde.js
|
|
2466
|
+
var require_serde = __commonJS({
|
|
2467
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/serde.js"(exports) {
|
|
2433
2468
|
"use strict";
|
|
2434
2469
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2435
2470
|
}
|
|
2436
2471
|
});
|
|
2437
2472
|
|
|
2438
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2439
|
-
var
|
|
2440
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2473
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/shapes.js
|
|
2474
|
+
var require_shapes = __commonJS({
|
|
2475
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/shapes.js"(exports) {
|
|
2441
2476
|
"use strict";
|
|
2442
2477
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2443
|
-
exports.MessageDecoderStream = void 0;
|
|
2444
|
-
var MessageDecoderStream = class {
|
|
2445
|
-
constructor(options) {
|
|
2446
|
-
this.options = options;
|
|
2447
|
-
}
|
|
2448
|
-
[Symbol.asyncIterator]() {
|
|
2449
|
-
return this.asyncIterator();
|
|
2450
|
-
}
|
|
2451
|
-
async *asyncIterator() {
|
|
2452
|
-
for await (const bytes of this.options.inputStream) {
|
|
2453
|
-
const decoded = this.options.decoder.decode(bytes);
|
|
2454
|
-
yield decoded;
|
|
2455
|
-
}
|
|
2456
|
-
}
|
|
2457
|
-
};
|
|
2458
|
-
exports.MessageDecoderStream = MessageDecoderStream;
|
|
2459
2478
|
}
|
|
2460
2479
|
});
|
|
2461
2480
|
|
|
2462
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2463
|
-
var
|
|
2464
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2481
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/signature.js
|
|
2482
|
+
var require_signature = __commonJS({
|
|
2483
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/signature.js"(exports) {
|
|
2465
2484
|
"use strict";
|
|
2466
2485
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2467
|
-
exports.MessageEncoderStream = void 0;
|
|
2468
|
-
var MessageEncoderStream = class {
|
|
2469
|
-
constructor(options) {
|
|
2470
|
-
this.options = options;
|
|
2471
|
-
}
|
|
2472
|
-
[Symbol.asyncIterator]() {
|
|
2473
|
-
return this.asyncIterator();
|
|
2474
|
-
}
|
|
2475
|
-
async *asyncIterator() {
|
|
2476
|
-
for await (const msg of this.options.messageStream) {
|
|
2477
|
-
const encoded = this.options.encoder.encode(msg);
|
|
2478
|
-
yield encoded;
|
|
2479
|
-
}
|
|
2480
|
-
if (this.options.includeEndFrame) {
|
|
2481
|
-
yield new Uint8Array(0);
|
|
2482
|
-
}
|
|
2483
|
-
}
|
|
2484
|
-
};
|
|
2485
|
-
exports.MessageEncoderStream = MessageEncoderStream;
|
|
2486
2486
|
}
|
|
2487
2487
|
});
|
|
2488
2488
|
|
|
2489
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2490
|
-
var
|
|
2491
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2489
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/stream.js
|
|
2490
|
+
var require_stream = __commonJS({
|
|
2491
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/stream.js"(exports) {
|
|
2492
2492
|
"use strict";
|
|
2493
2493
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2494
|
-
exports.SmithyMessageDecoderStream = void 0;
|
|
2495
|
-
var SmithyMessageDecoderStream = class {
|
|
2496
|
-
constructor(options) {
|
|
2497
|
-
this.options = options;
|
|
2498
|
-
}
|
|
2499
|
-
[Symbol.asyncIterator]() {
|
|
2500
|
-
return this.asyncIterator();
|
|
2501
|
-
}
|
|
2502
|
-
async *asyncIterator() {
|
|
2503
|
-
for await (const message of this.options.messageStream) {
|
|
2504
|
-
const deserialized = await this.options.deserializer(message);
|
|
2505
|
-
if (deserialized === void 0)
|
|
2506
|
-
continue;
|
|
2507
|
-
yield deserialized;
|
|
2508
|
-
}
|
|
2509
|
-
}
|
|
2510
|
-
};
|
|
2511
|
-
exports.SmithyMessageDecoderStream = SmithyMessageDecoderStream;
|
|
2512
2494
|
}
|
|
2513
2495
|
});
|
|
2514
2496
|
|
|
2515
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2516
|
-
var
|
|
2517
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2497
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js
|
|
2498
|
+
var require_streaming_blob_common_types = __commonJS({
|
|
2499
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-common-types.js"(exports) {
|
|
2518
2500
|
"use strict";
|
|
2519
2501
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2520
|
-
exports.SmithyMessageEncoderStream = void 0;
|
|
2521
|
-
var SmithyMessageEncoderStream = class {
|
|
2522
|
-
constructor(options) {
|
|
2523
|
-
this.options = options;
|
|
2524
|
-
}
|
|
2525
|
-
[Symbol.asyncIterator]() {
|
|
2526
|
-
return this.asyncIterator();
|
|
2527
|
-
}
|
|
2528
|
-
async *asyncIterator() {
|
|
2529
|
-
for await (const chunk of this.options.inputStream) {
|
|
2530
|
-
const payloadBuf = this.options.serializer(chunk);
|
|
2531
|
-
yield payloadBuf;
|
|
2532
|
-
}
|
|
2533
|
-
}
|
|
2534
|
-
};
|
|
2535
|
-
exports.SmithyMessageEncoderStream = SmithyMessageEncoderStream;
|
|
2536
2502
|
}
|
|
2537
2503
|
});
|
|
2538
2504
|
|
|
2539
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2540
|
-
var
|
|
2541
|
-
"../../node_modules/.pnpm/@smithy+
|
|
2505
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js
|
|
2506
|
+
var require_streaming_blob_payload_input_types = __commonJS({
|
|
2507
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-input-types.js"(exports) {
|
|
2542
2508
|
"use strict";
|
|
2543
2509
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2544
|
-
var tslib_1 = (init_tslib_es62(), __toCommonJS(tslib_es6_exports2));
|
|
2545
|
-
tslib_1.__exportStar(require_EventStreamCodec(), exports);
|
|
2546
|
-
tslib_1.__exportStar(require_HeaderMarshaller(), exports);
|
|
2547
|
-
tslib_1.__exportStar(require_Int64(), exports);
|
|
2548
|
-
tslib_1.__exportStar(require_Message(), exports);
|
|
2549
|
-
tslib_1.__exportStar(require_MessageDecoderStream(), exports);
|
|
2550
|
-
tslib_1.__exportStar(require_MessageEncoderStream(), exports);
|
|
2551
|
-
tslib_1.__exportStar(require_SmithyMessageDecoderStream(), exports);
|
|
2552
|
-
tslib_1.__exportStar(require_SmithyMessageEncoderStream(), exports);
|
|
2553
2510
|
}
|
|
2554
2511
|
});
|
|
2555
2512
|
|
|
2556
|
-
// ../../node_modules/.pnpm/@smithy+
|
|
2513
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js
|
|
2514
|
+
var require_streaming_blob_payload_output_types = __commonJS({
|
|
2515
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/streaming-payload/streaming-blob-payload-output-types.js"(exports) {
|
|
2516
|
+
"use strict";
|
|
2517
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2518
|
+
}
|
|
2519
|
+
});
|
|
2520
|
+
|
|
2521
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transfer.js
|
|
2522
|
+
var require_transfer = __commonJS({
|
|
2523
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transfer.js"(exports) {
|
|
2524
|
+
"use strict";
|
|
2525
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2526
|
+
exports.RequestHandlerProtocol = void 0;
|
|
2527
|
+
var RequestHandlerProtocol;
|
|
2528
|
+
(function(RequestHandlerProtocol2) {
|
|
2529
|
+
RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9";
|
|
2530
|
+
RequestHandlerProtocol2["HTTP_1_0"] = "http/1.0";
|
|
2531
|
+
RequestHandlerProtocol2["TDS_8_0"] = "tds/8.0";
|
|
2532
|
+
})(RequestHandlerProtocol = exports.RequestHandlerProtocol || (exports.RequestHandlerProtocol = {}));
|
|
2533
|
+
}
|
|
2534
|
+
});
|
|
2535
|
+
|
|
2536
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js
|
|
2537
|
+
var require_client_payload_blob_type_narrow = __commonJS({
|
|
2538
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transform/client-payload-blob-type-narrow.js"(exports) {
|
|
2539
|
+
"use strict";
|
|
2540
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2541
|
+
}
|
|
2542
|
+
});
|
|
2543
|
+
|
|
2544
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js
|
|
2545
|
+
var require_no_undefined = __commonJS({
|
|
2546
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transform/no-undefined.js"(exports) {
|
|
2547
|
+
"use strict";
|
|
2548
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2549
|
+
}
|
|
2550
|
+
});
|
|
2551
|
+
|
|
2552
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transform/type-transform.js
|
|
2553
|
+
var require_type_transform = __commonJS({
|
|
2554
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/transform/type-transform.js"(exports) {
|
|
2555
|
+
"use strict";
|
|
2556
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2557
|
+
}
|
|
2558
|
+
});
|
|
2559
|
+
|
|
2560
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/uri.js
|
|
2561
|
+
var require_uri = __commonJS({
|
|
2562
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/uri.js"(exports) {
|
|
2563
|
+
"use strict";
|
|
2564
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2565
|
+
}
|
|
2566
|
+
});
|
|
2567
|
+
|
|
2568
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/util.js
|
|
2569
|
+
var require_util = __commonJS({
|
|
2570
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/util.js"(exports) {
|
|
2571
|
+
"use strict";
|
|
2572
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2573
|
+
}
|
|
2574
|
+
});
|
|
2575
|
+
|
|
2576
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/waiter.js
|
|
2577
|
+
var require_waiter = __commonJS({
|
|
2578
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/waiter.js"(exports) {
|
|
2579
|
+
"use strict";
|
|
2580
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2581
|
+
}
|
|
2582
|
+
});
|
|
2583
|
+
|
|
2584
|
+
// ../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/index.js
|
|
2585
|
+
var require_dist_cjs4 = __commonJS({
|
|
2586
|
+
"../../node_modules/.pnpm/@smithy+types@2.6.0/node_modules/@smithy/types/dist-cjs/index.js"(exports) {
|
|
2587
|
+
"use strict";
|
|
2588
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2589
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2590
|
+
tslib_1.__exportStar(require_abort(), exports);
|
|
2591
|
+
tslib_1.__exportStar(require_auth2(), exports);
|
|
2592
|
+
tslib_1.__exportStar(require_blob_payload_input_types(), exports);
|
|
2593
|
+
tslib_1.__exportStar(require_checksum(), exports);
|
|
2594
|
+
tslib_1.__exportStar(require_client(), exports);
|
|
2595
|
+
tslib_1.__exportStar(require_command(), exports);
|
|
2596
|
+
tslib_1.__exportStar(require_connection(), exports);
|
|
2597
|
+
tslib_1.__exportStar(require_crypto(), exports);
|
|
2598
|
+
tslib_1.__exportStar(require_encode(), exports);
|
|
2599
|
+
tslib_1.__exportStar(require_endpoint(), exports);
|
|
2600
|
+
tslib_1.__exportStar(require_endpoints(), exports);
|
|
2601
|
+
tslib_1.__exportStar(require_eventStream(), exports);
|
|
2602
|
+
tslib_1.__exportStar(require_extensions(), exports);
|
|
2603
|
+
tslib_1.__exportStar(require_http(), exports);
|
|
2604
|
+
tslib_1.__exportStar(require_identity2(), exports);
|
|
2605
|
+
tslib_1.__exportStar(require_logger(), exports);
|
|
2606
|
+
tslib_1.__exportStar(require_middleware(), exports);
|
|
2607
|
+
tslib_1.__exportStar(require_pagination(), exports);
|
|
2608
|
+
tslib_1.__exportStar(require_profile(), exports);
|
|
2609
|
+
tslib_1.__exportStar(require_response(), exports);
|
|
2610
|
+
tslib_1.__exportStar(require_retry(), exports);
|
|
2611
|
+
tslib_1.__exportStar(require_serde(), exports);
|
|
2612
|
+
tslib_1.__exportStar(require_shapes(), exports);
|
|
2613
|
+
tslib_1.__exportStar(require_signature(), exports);
|
|
2614
|
+
tslib_1.__exportStar(require_stream(), exports);
|
|
2615
|
+
tslib_1.__exportStar(require_streaming_blob_common_types(), exports);
|
|
2616
|
+
tslib_1.__exportStar(require_streaming_blob_payload_input_types(), exports);
|
|
2617
|
+
tslib_1.__exportStar(require_streaming_blob_payload_output_types(), exports);
|
|
2618
|
+
tslib_1.__exportStar(require_transfer(), exports);
|
|
2619
|
+
tslib_1.__exportStar(require_client_payload_blob_type_narrow(), exports);
|
|
2620
|
+
tslib_1.__exportStar(require_no_undefined(), exports);
|
|
2621
|
+
tslib_1.__exportStar(require_type_transform(), exports);
|
|
2622
|
+
tslib_1.__exportStar(require_uri(), exports);
|
|
2623
|
+
tslib_1.__exportStar(require_util(), exports);
|
|
2624
|
+
tslib_1.__exportStar(require_waiter(), exports);
|
|
2625
|
+
}
|
|
2626
|
+
});
|
|
2627
|
+
|
|
2628
|
+
// ../../node_modules/.pnpm/@smithy+util-middleware@2.0.7/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js
|
|
2629
|
+
var require_getSmithyContext = __commonJS({
|
|
2630
|
+
"../../node_modules/.pnpm/@smithy+util-middleware@2.0.7/node_modules/@smithy/util-middleware/dist-cjs/getSmithyContext.js"(exports) {
|
|
2631
|
+
"use strict";
|
|
2632
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2633
|
+
exports.getSmithyContext = void 0;
|
|
2634
|
+
var types_1 = require_dist_cjs4();
|
|
2635
|
+
var getSmithyContext = (context) => context[types_1.SMITHY_CONTEXT_KEY] || (context[types_1.SMITHY_CONTEXT_KEY] = {});
|
|
2636
|
+
exports.getSmithyContext = getSmithyContext;
|
|
2637
|
+
}
|
|
2638
|
+
});
|
|
2639
|
+
|
|
2640
|
+
// ../../node_modules/.pnpm/@smithy+util-middleware@2.0.7/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js
|
|
2557
2641
|
var require_normalizeProvider = __commonJS({
|
|
2558
|
-
"../../node_modules/.pnpm/@smithy+util-middleware@2.0.
|
|
2642
|
+
"../../node_modules/.pnpm/@smithy+util-middleware@2.0.7/node_modules/@smithy/util-middleware/dist-cjs/normalizeProvider.js"(exports) {
|
|
2559
2643
|
"use strict";
|
|
2560
2644
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2561
2645
|
exports.normalizeProvider = void 0;
|
|
@@ -2569,18 +2653,19 @@ var require_normalizeProvider = __commonJS({
|
|
|
2569
2653
|
}
|
|
2570
2654
|
});
|
|
2571
2655
|
|
|
2572
|
-
// ../../node_modules/.pnpm/@smithy+util-middleware@2.0.
|
|
2573
|
-
var
|
|
2574
|
-
"../../node_modules/.pnpm/@smithy+util-middleware@2.0.
|
|
2656
|
+
// ../../node_modules/.pnpm/@smithy+util-middleware@2.0.7/node_modules/@smithy/util-middleware/dist-cjs/index.js
|
|
2657
|
+
var require_dist_cjs5 = __commonJS({
|
|
2658
|
+
"../../node_modules/.pnpm/@smithy+util-middleware@2.0.7/node_modules/@smithy/util-middleware/dist-cjs/index.js"(exports) {
|
|
2575
2659
|
"use strict";
|
|
2576
2660
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2577
|
-
var tslib_1 = (
|
|
2661
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2662
|
+
tslib_1.__exportStar(require_getSmithyContext(), exports);
|
|
2578
2663
|
tslib_1.__exportStar(require_normalizeProvider(), exports);
|
|
2579
2664
|
}
|
|
2580
2665
|
});
|
|
2581
2666
|
|
|
2582
2667
|
// ../../node_modules/.pnpm/@smithy+is-array-buffer@2.0.0/node_modules/@smithy/is-array-buffer/dist-cjs/index.js
|
|
2583
|
-
var
|
|
2668
|
+
var require_dist_cjs6 = __commonJS({
|
|
2584
2669
|
"../../node_modules/.pnpm/@smithy+is-array-buffer@2.0.0/node_modules/@smithy/is-array-buffer/dist-cjs/index.js"(exports) {
|
|
2585
2670
|
"use strict";
|
|
2586
2671
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -2591,12 +2676,12 @@ var require_dist_cjs5 = __commonJS({
|
|
|
2591
2676
|
});
|
|
2592
2677
|
|
|
2593
2678
|
// ../../node_modules/.pnpm/@smithy+util-buffer-from@2.0.0/node_modules/@smithy/util-buffer-from/dist-cjs/index.js
|
|
2594
|
-
var
|
|
2679
|
+
var require_dist_cjs7 = __commonJS({
|
|
2595
2680
|
"../../node_modules/.pnpm/@smithy+util-buffer-from@2.0.0/node_modules/@smithy/util-buffer-from/dist-cjs/index.js"(exports) {
|
|
2596
2681
|
"use strict";
|
|
2597
2682
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2598
2683
|
exports.fromString = exports.fromArrayBuffer = void 0;
|
|
2599
|
-
var is_array_buffer_1 =
|
|
2684
|
+
var is_array_buffer_1 = require_dist_cjs6();
|
|
2600
2685
|
var buffer_1 = __require("buffer");
|
|
2601
2686
|
var fromArrayBuffer = (input, offset = 0, length = input.byteLength - offset) => {
|
|
2602
2687
|
if (!(0, is_array_buffer_1.isArrayBuffer)(input)) {
|
|
@@ -2615,13 +2700,13 @@ var require_dist_cjs6 = __commonJS({
|
|
|
2615
2700
|
}
|
|
2616
2701
|
});
|
|
2617
2702
|
|
|
2618
|
-
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2703
|
+
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js
|
|
2619
2704
|
var require_fromUtf8 = __commonJS({
|
|
2620
|
-
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2705
|
+
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/fromUtf8.js"(exports) {
|
|
2621
2706
|
"use strict";
|
|
2622
2707
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2623
2708
|
exports.fromUtf8 = void 0;
|
|
2624
|
-
var util_buffer_from_1 =
|
|
2709
|
+
var util_buffer_from_1 = require_dist_cjs7();
|
|
2625
2710
|
var fromUtf8 = (input) => {
|
|
2626
2711
|
const buf = (0, util_buffer_from_1.fromString)(input, "utf8");
|
|
2627
2712
|
return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT);
|
|
@@ -2630,9 +2715,9 @@ var require_fromUtf8 = __commonJS({
|
|
|
2630
2715
|
}
|
|
2631
2716
|
});
|
|
2632
2717
|
|
|
2633
|
-
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2718
|
+
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js
|
|
2634
2719
|
var require_toUint8Array = __commonJS({
|
|
2635
|
-
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2720
|
+
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/toUint8Array.js"(exports) {
|
|
2636
2721
|
"use strict";
|
|
2637
2722
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2638
2723
|
exports.toUint8Array = void 0;
|
|
@@ -2650,33 +2735,33 @@ var require_toUint8Array = __commonJS({
|
|
|
2650
2735
|
}
|
|
2651
2736
|
});
|
|
2652
2737
|
|
|
2653
|
-
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2738
|
+
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js
|
|
2654
2739
|
var require_toUtf8 = __commonJS({
|
|
2655
|
-
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2740
|
+
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/toUtf8.js"(exports) {
|
|
2656
2741
|
"use strict";
|
|
2657
2742
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2658
2743
|
exports.toUtf8 = void 0;
|
|
2659
|
-
var util_buffer_from_1 =
|
|
2744
|
+
var util_buffer_from_1 = require_dist_cjs7();
|
|
2660
2745
|
var toUtf8 = (input) => (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8");
|
|
2661
2746
|
exports.toUtf8 = toUtf8;
|
|
2662
2747
|
}
|
|
2663
2748
|
});
|
|
2664
2749
|
|
|
2665
|
-
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2666
|
-
var
|
|
2667
|
-
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.
|
|
2750
|
+
// ../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/index.js
|
|
2751
|
+
var require_dist_cjs8 = __commonJS({
|
|
2752
|
+
"../../node_modules/.pnpm/@smithy+util-utf8@2.0.2/node_modules/@smithy/util-utf8/dist-cjs/index.js"(exports) {
|
|
2668
2753
|
"use strict";
|
|
2669
2754
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2670
|
-
var tslib_1 = (
|
|
2755
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2671
2756
|
tslib_1.__exportStar(require_fromUtf8(), exports);
|
|
2672
2757
|
tslib_1.__exportStar(require_toUint8Array(), exports);
|
|
2673
2758
|
tslib_1.__exportStar(require_toUtf8(), exports);
|
|
2674
2759
|
}
|
|
2675
2760
|
});
|
|
2676
2761
|
|
|
2677
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2762
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/constants.js
|
|
2678
2763
|
var require_constants = __commonJS({
|
|
2679
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2764
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/constants.js"(exports) {
|
|
2680
2765
|
"use strict";
|
|
2681
2766
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2682
2767
|
exports.MAX_PRESIGNED_TTL = exports.KEY_TYPE_IDENTIFIER = exports.MAX_CACHE_SIZE = exports.UNSIGNED_PAYLOAD = exports.EVENT_ALGORITHM_IDENTIFIER = exports.ALGORITHM_IDENTIFIER_V4A = exports.ALGORITHM_IDENTIFIER = exports.UNSIGNABLE_PATTERNS = exports.SEC_HEADER_PATTERN = exports.PROXY_HEADER_PATTERN = exports.ALWAYS_UNSIGNABLE_HEADERS = exports.HOST_HEADER = exports.TOKEN_HEADER = exports.SHA256_HEADER = exports.SIGNATURE_HEADER = exports.GENERATED_HEADERS = exports.DATE_HEADER = exports.AMZ_DATE_HEADER = exports.AUTH_HEADER = exports.REGION_SET_PARAM = exports.TOKEN_QUERY_PARAM = exports.SIGNATURE_QUERY_PARAM = exports.EXPIRES_QUERY_PARAM = exports.SIGNED_HEADERS_QUERY_PARAM = exports.AMZ_DATE_QUERY_PARAM = exports.CREDENTIAL_QUERY_PARAM = exports.ALGORITHM_QUERY_PARAM = void 0;
|
|
@@ -2726,14 +2811,14 @@ var require_constants = __commonJS({
|
|
|
2726
2811
|
}
|
|
2727
2812
|
});
|
|
2728
2813
|
|
|
2729
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2814
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js
|
|
2730
2815
|
var require_credentialDerivation = __commonJS({
|
|
2731
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2816
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/credentialDerivation.js"(exports) {
|
|
2732
2817
|
"use strict";
|
|
2733
2818
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2734
2819
|
exports.clearCredentialCache = exports.getSigningKey = exports.createScope = void 0;
|
|
2735
2820
|
var util_hex_encoding_1 = require_dist_cjs2();
|
|
2736
|
-
var util_utf8_1 =
|
|
2821
|
+
var util_utf8_1 = require_dist_cjs8();
|
|
2737
2822
|
var constants_1 = require_constants();
|
|
2738
2823
|
var signingKeyCache = {};
|
|
2739
2824
|
var cacheQueue = [];
|
|
@@ -2771,9 +2856,9 @@ var require_credentialDerivation = __commonJS({
|
|
|
2771
2856
|
}
|
|
2772
2857
|
});
|
|
2773
2858
|
|
|
2774
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2859
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js
|
|
2775
2860
|
var require_getCanonicalHeaders = __commonJS({
|
|
2776
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2861
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalHeaders.js"(exports) {
|
|
2777
2862
|
"use strict";
|
|
2778
2863
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2779
2864
|
exports.getCanonicalHeaders = void 0;
|
|
@@ -2823,23 +2908,23 @@ var require_escape_uri_path = __commonJS({
|
|
|
2823
2908
|
});
|
|
2824
2909
|
|
|
2825
2910
|
// ../../node_modules/.pnpm/@smithy+util-uri-escape@2.0.0/node_modules/@smithy/util-uri-escape/dist-cjs/index.js
|
|
2826
|
-
var
|
|
2911
|
+
var require_dist_cjs9 = __commonJS({
|
|
2827
2912
|
"../../node_modules/.pnpm/@smithy+util-uri-escape@2.0.0/node_modules/@smithy/util-uri-escape/dist-cjs/index.js"(exports) {
|
|
2828
2913
|
"use strict";
|
|
2829
2914
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2830
|
-
var tslib_1 = (
|
|
2915
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
2831
2916
|
tslib_1.__exportStar(require_escape_uri(), exports);
|
|
2832
2917
|
tslib_1.__exportStar(require_escape_uri_path(), exports);
|
|
2833
2918
|
}
|
|
2834
2919
|
});
|
|
2835
2920
|
|
|
2836
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2921
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js
|
|
2837
2922
|
var require_getCanonicalQuery = __commonJS({
|
|
2838
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2923
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/getCanonicalQuery.js"(exports) {
|
|
2839
2924
|
"use strict";
|
|
2840
2925
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2841
2926
|
exports.getCanonicalQuery = void 0;
|
|
2842
|
-
var util_uri_escape_1 =
|
|
2927
|
+
var util_uri_escape_1 = require_dist_cjs9();
|
|
2843
2928
|
var constants_1 = require_constants();
|
|
2844
2929
|
var getCanonicalQuery = ({ query = {} }) => {
|
|
2845
2930
|
const keys = [];
|
|
@@ -2862,15 +2947,15 @@ var require_getCanonicalQuery = __commonJS({
|
|
|
2862
2947
|
}
|
|
2863
2948
|
});
|
|
2864
2949
|
|
|
2865
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2950
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js
|
|
2866
2951
|
var require_getPayloadHash = __commonJS({
|
|
2867
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2952
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/getPayloadHash.js"(exports) {
|
|
2868
2953
|
"use strict";
|
|
2869
2954
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2870
2955
|
exports.getPayloadHash = void 0;
|
|
2871
|
-
var is_array_buffer_1 =
|
|
2956
|
+
var is_array_buffer_1 = require_dist_cjs6();
|
|
2872
2957
|
var util_hex_encoding_1 = require_dist_cjs2();
|
|
2873
|
-
var util_utf8_1 =
|
|
2958
|
+
var util_utf8_1 = require_dist_cjs8();
|
|
2874
2959
|
var constants_1 = require_constants();
|
|
2875
2960
|
var getPayloadHash = async ({ headers, body }, hashConstructor) => {
|
|
2876
2961
|
for (const headerName of Object.keys(headers)) {
|
|
@@ -2891,9 +2976,9 @@ var require_getPayloadHash = __commonJS({
|
|
|
2891
2976
|
}
|
|
2892
2977
|
});
|
|
2893
2978
|
|
|
2894
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2979
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js
|
|
2895
2980
|
var require_headerUtil = __commonJS({
|
|
2896
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
2981
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/headerUtil.js"(exports) {
|
|
2897
2982
|
"use strict";
|
|
2898
2983
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2899
2984
|
exports.deleteHeader = exports.getHeaderValue = exports.hasHeader = void 0;
|
|
@@ -2929,9 +3014,9 @@ var require_headerUtil = __commonJS({
|
|
|
2929
3014
|
}
|
|
2930
3015
|
});
|
|
2931
3016
|
|
|
2932
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3017
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js
|
|
2933
3018
|
var require_cloneRequest = __commonJS({
|
|
2934
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3019
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/cloneRequest.js"(exports) {
|
|
2935
3020
|
"use strict";
|
|
2936
3021
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2937
3022
|
exports.cloneQuery = exports.cloneRequest = void 0;
|
|
@@ -2952,9 +3037,9 @@ var require_cloneRequest = __commonJS({
|
|
|
2952
3037
|
}
|
|
2953
3038
|
});
|
|
2954
3039
|
|
|
2955
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3040
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js
|
|
2956
3041
|
var require_moveHeadersToQuery = __commonJS({
|
|
2957
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3042
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/moveHeadersToQuery.js"(exports) {
|
|
2958
3043
|
"use strict";
|
|
2959
3044
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2960
3045
|
exports.moveHeadersToQuery = void 0;
|
|
@@ -2979,9 +3064,9 @@ var require_moveHeadersToQuery = __commonJS({
|
|
|
2979
3064
|
}
|
|
2980
3065
|
});
|
|
2981
3066
|
|
|
2982
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3067
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js
|
|
2983
3068
|
var require_prepareRequest = __commonJS({
|
|
2984
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3069
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/prepareRequest.js"(exports) {
|
|
2985
3070
|
"use strict";
|
|
2986
3071
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2987
3072
|
exports.prepareRequest = void 0;
|
|
@@ -3000,9 +3085,9 @@ var require_prepareRequest = __commonJS({
|
|
|
3000
3085
|
}
|
|
3001
3086
|
});
|
|
3002
3087
|
|
|
3003
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3088
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js
|
|
3004
3089
|
var require_utilDate = __commonJS({
|
|
3005
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3090
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/utilDate.js"(exports) {
|
|
3006
3091
|
"use strict";
|
|
3007
3092
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3008
3093
|
exports.toDate = exports.iso8601 = void 0;
|
|
@@ -3024,16 +3109,16 @@ var require_utilDate = __commonJS({
|
|
|
3024
3109
|
}
|
|
3025
3110
|
});
|
|
3026
3111
|
|
|
3027
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3112
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js
|
|
3028
3113
|
var require_SignatureV4 = __commonJS({
|
|
3029
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3114
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/SignatureV4.js"(exports) {
|
|
3030
3115
|
"use strict";
|
|
3031
3116
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3032
3117
|
exports.SignatureV4 = void 0;
|
|
3033
3118
|
var eventstream_codec_1 = require_dist_cjs3();
|
|
3034
3119
|
var util_hex_encoding_1 = require_dist_cjs2();
|
|
3035
|
-
var util_middleware_1 =
|
|
3036
|
-
var util_utf8_1 =
|
|
3120
|
+
var util_middleware_1 = require_dist_cjs5();
|
|
3121
|
+
var util_utf8_1 = require_dist_cjs8();
|
|
3037
3122
|
var constants_1 = require_constants();
|
|
3038
3123
|
var credentialDerivation_1 = require_credentialDerivation();
|
|
3039
3124
|
var getCanonicalHeaders_1 = require_getCanonicalHeaders();
|
|
@@ -3214,9 +3299,9 @@ ${(0, util_hex_encoding_1.toHex)(hashedRequest)}`;
|
|
|
3214
3299
|
}
|
|
3215
3300
|
});
|
|
3216
3301
|
|
|
3217
|
-
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3218
|
-
var
|
|
3219
|
-
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.
|
|
3302
|
+
// ../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
3303
|
+
var require_dist_cjs10 = __commonJS({
|
|
3304
|
+
"../../node_modules/.pnpm/@smithy+signature-v4@2.0.16/node_modules/@smithy/signature-v4/dist-cjs/index.js"(exports) {
|
|
3220
3305
|
"use strict";
|
|
3221
3306
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3222
3307
|
exports.prepareRequest = exports.moveHeadersToQuery = exports.getPayloadHash = exports.getCanonicalQuery = exports.getCanonicalHeaders = void 0;
|
|
@@ -3246,9 +3331,9 @@ var require_dist_cjs9 = __commonJS({
|
|
|
3246
3331
|
}
|
|
3247
3332
|
});
|
|
3248
3333
|
|
|
3249
|
-
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3334
|
+
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/constants.js
|
|
3250
3335
|
var require_constants2 = __commonJS({
|
|
3251
|
-
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3336
|
+
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/constants.js"(exports) {
|
|
3252
3337
|
"use strict";
|
|
3253
3338
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3254
3339
|
exports.MAX_HASHABLE_LENGTH = exports.INIT = exports.KEY = exports.DIGEST_LENGTH = exports.BLOCK_SIZE = void 0;
|
|
@@ -3334,9 +3419,9 @@ var require_constants2 = __commonJS({
|
|
|
3334
3419
|
}
|
|
3335
3420
|
});
|
|
3336
3421
|
|
|
3337
|
-
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3422
|
+
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js
|
|
3338
3423
|
var require_RawSha256 = __commonJS({
|
|
3339
|
-
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3424
|
+
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/RawSha256.js"(exports) {
|
|
3340
3425
|
"use strict";
|
|
3341
3426
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3342
3427
|
exports.RawSha256 = void 0;
|
|
@@ -3441,16 +3526,16 @@ var require_RawSha256 = __commonJS({
|
|
|
3441
3526
|
}
|
|
3442
3527
|
});
|
|
3443
3528
|
|
|
3444
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3529
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/convertToBuffer.js
|
|
3445
3530
|
var require_convertToBuffer2 = __commonJS({
|
|
3446
|
-
"../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3531
|
+
"../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/convertToBuffer.js"(exports) {
|
|
3447
3532
|
"use strict";
|
|
3448
3533
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3449
3534
|
exports.convertToBuffer = void 0;
|
|
3450
|
-
var
|
|
3535
|
+
var util_utf8_1 = require_dist_cjs8();
|
|
3451
3536
|
var fromUtf8 = typeof Buffer !== "undefined" && Buffer.from ? function(input) {
|
|
3452
3537
|
return Buffer.from(input, "utf8");
|
|
3453
|
-
} :
|
|
3538
|
+
} : util_utf8_1.fromUtf8;
|
|
3454
3539
|
function convertToBuffer(data) {
|
|
3455
3540
|
if (data instanceof Uint8Array)
|
|
3456
3541
|
return data;
|
|
@@ -3466,9 +3551,9 @@ var require_convertToBuffer2 = __commonJS({
|
|
|
3466
3551
|
}
|
|
3467
3552
|
});
|
|
3468
3553
|
|
|
3469
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3554
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/isEmptyData.js
|
|
3470
3555
|
var require_isEmptyData2 = __commonJS({
|
|
3471
|
-
"../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3556
|
+
"../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/isEmptyData.js"(exports) {
|
|
3472
3557
|
"use strict";
|
|
3473
3558
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3474
3559
|
exports.isEmptyData = void 0;
|
|
@@ -3482,9 +3567,9 @@ var require_isEmptyData2 = __commonJS({
|
|
|
3482
3567
|
}
|
|
3483
3568
|
});
|
|
3484
3569
|
|
|
3485
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3570
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/numToUint8.js
|
|
3486
3571
|
var require_numToUint82 = __commonJS({
|
|
3487
|
-
"../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3572
|
+
"../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/numToUint8.js"(exports) {
|
|
3488
3573
|
"use strict";
|
|
3489
3574
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3490
3575
|
exports.numToUint8 = void 0;
|
|
@@ -3500,9 +3585,9 @@ var require_numToUint82 = __commonJS({
|
|
|
3500
3585
|
}
|
|
3501
3586
|
});
|
|
3502
3587
|
|
|
3503
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3588
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js
|
|
3504
3589
|
var require_uint32ArrayFrom2 = __commonJS({
|
|
3505
|
-
"../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3590
|
+
"../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/uint32ArrayFrom.js"(exports) {
|
|
3506
3591
|
"use strict";
|
|
3507
3592
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3508
3593
|
exports.uint32ArrayFrom = void 0;
|
|
@@ -3522,9 +3607,9 @@ var require_uint32ArrayFrom2 = __commonJS({
|
|
|
3522
3607
|
}
|
|
3523
3608
|
});
|
|
3524
3609
|
|
|
3525
|
-
// ../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3526
|
-
var
|
|
3527
|
-
"../../node_modules/.pnpm/@aws-crypto+util@5.
|
|
3610
|
+
// ../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/index.js
|
|
3611
|
+
var require_main = __commonJS({
|
|
3612
|
+
"../../node_modules/.pnpm/@aws-crypto+util@5.2.0/node_modules/@aws-crypto/util/build/main/index.js"(exports) {
|
|
3528
3613
|
"use strict";
|
|
3529
3614
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3530
3615
|
exports.uint32ArrayFrom = exports.numToUint8 = exports.isEmptyData = exports.convertToBuffer = void 0;
|
|
@@ -3547,16 +3632,16 @@ var require_build3 = __commonJS({
|
|
|
3547
3632
|
}
|
|
3548
3633
|
});
|
|
3549
3634
|
|
|
3550
|
-
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3635
|
+
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js
|
|
3551
3636
|
var require_jsSha256 = __commonJS({
|
|
3552
|
-
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3637
|
+
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/jsSha256.js"(exports) {
|
|
3553
3638
|
"use strict";
|
|
3554
3639
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3555
3640
|
exports.Sha256 = void 0;
|
|
3556
|
-
var tslib_1 = (
|
|
3641
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
3557
3642
|
var constants_1 = require_constants2();
|
|
3558
3643
|
var RawSha256_1 = require_RawSha256();
|
|
3559
|
-
var util_1 =
|
|
3644
|
+
var util_1 = require_main();
|
|
3560
3645
|
var Sha2562 = (
|
|
3561
3646
|
/** @class */
|
|
3562
3647
|
function() {
|
|
@@ -3630,19 +3715,19 @@ var require_jsSha256 = __commonJS({
|
|
|
3630
3715
|
}
|
|
3631
3716
|
});
|
|
3632
3717
|
|
|
3633
|
-
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3634
|
-
var
|
|
3635
|
-
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.
|
|
3718
|
+
// ../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/index.js
|
|
3719
|
+
var require_main2 = __commonJS({
|
|
3720
|
+
"../../node_modules/.pnpm/@aws-crypto+sha256-js@5.2.0/node_modules/@aws-crypto/sha256-js/build/main/index.js"(exports) {
|
|
3636
3721
|
"use strict";
|
|
3637
3722
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3638
|
-
var tslib_1 = (
|
|
3723
|
+
var tslib_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports));
|
|
3639
3724
|
tslib_1.__exportStar(require_jsSha256(), exports);
|
|
3640
3725
|
}
|
|
3641
3726
|
});
|
|
3642
3727
|
|
|
3643
3728
|
// support/signing-function/helpers/getSigV4.ts
|
|
3644
|
-
var import_signature_v4 = __toESM(
|
|
3645
|
-
var import_sha256_js = __toESM(
|
|
3729
|
+
var import_signature_v4 = __toESM(require_dist_cjs10(), 1);
|
|
3730
|
+
var import_sha256_js = __toESM(require_main2(), 1);
|
|
3646
3731
|
var getSigV4 = (region) => {
|
|
3647
3732
|
if (process.env.AWS_ACCESS_KEY_ID === void 0)
|
|
3648
3733
|
throw new Error("AWS_ACCESS_KEY_ID missing");
|