@junando/worker 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checksum-B7SAT8oI.cjs +8048 -0
- package/dist/checksum-BKPTTLSe.cjs +7710 -0
- package/dist/dist-CbGq-c4z.cjs +1463 -0
- package/dist/dist-cjs-mxzJ7CE9.cjs +100 -0
- package/dist/es5-CBwA-Kuh.cjs +1731 -0
- package/dist/event-streams-B7_gEE-_.cjs +953 -0
- package/dist/event-streams-DNZOvjgj.cjs +953 -0
- package/dist/handler.cjs +83999 -73109
- package/dist/node-BzYEGMG1.cjs +1177 -0
- package/dist/rolldown-runtime-CfAboj1T.cjs +81 -0
- package/dist/sdk-BD78kZ4E.cjs +10527 -0
- package/package.json +12 -12
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('./rolldown-runtime-CfAboj1T.cjs');
|
|
2
|
+
|
|
3
|
+
//#region ../../node_modules/.pnpm/@smithy+types@4.16.1/node_modules/@smithy/types/dist-cjs/index.js
|
|
4
|
+
var require_dist_cjs = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exports) => {
|
|
5
|
+
var HttpAuthLocation;
|
|
6
|
+
(function(HttpAuthLocation) {
|
|
7
|
+
HttpAuthLocation["HEADER"] = "header";
|
|
8
|
+
HttpAuthLocation["QUERY"] = "query";
|
|
9
|
+
})(HttpAuthLocation || (HttpAuthLocation = {}));
|
|
10
|
+
var HttpApiKeyAuthLocation;
|
|
11
|
+
(function(HttpApiKeyAuthLocation) {
|
|
12
|
+
HttpApiKeyAuthLocation["HEADER"] = "header";
|
|
13
|
+
HttpApiKeyAuthLocation["QUERY"] = "query";
|
|
14
|
+
})(HttpApiKeyAuthLocation || (HttpApiKeyAuthLocation = {}));
|
|
15
|
+
var EndpointURLScheme;
|
|
16
|
+
(function(EndpointURLScheme) {
|
|
17
|
+
EndpointURLScheme["HTTP"] = "http";
|
|
18
|
+
EndpointURLScheme["HTTPS"] = "https";
|
|
19
|
+
})(EndpointURLScheme || (EndpointURLScheme = {}));
|
|
20
|
+
var AlgorithmId;
|
|
21
|
+
(function(AlgorithmId) {
|
|
22
|
+
AlgorithmId["MD5"] = "md5";
|
|
23
|
+
AlgorithmId["CRC32"] = "crc32";
|
|
24
|
+
AlgorithmId["CRC32C"] = "crc32c";
|
|
25
|
+
AlgorithmId["SHA1"] = "sha1";
|
|
26
|
+
AlgorithmId["SHA256"] = "sha256";
|
|
27
|
+
})(AlgorithmId || (AlgorithmId = {}));
|
|
28
|
+
const getChecksumConfiguration = (runtimeConfig) => {
|
|
29
|
+
const checksumAlgorithms = [];
|
|
30
|
+
if (runtimeConfig.sha256 !== undefined) {
|
|
31
|
+
checksumAlgorithms.push({
|
|
32
|
+
algorithmId: () => AlgorithmId.SHA256,
|
|
33
|
+
checksumConstructor: () => runtimeConfig.sha256
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
if (runtimeConfig.md5 != undefined) {
|
|
37
|
+
checksumAlgorithms.push({
|
|
38
|
+
algorithmId: () => AlgorithmId.MD5,
|
|
39
|
+
checksumConstructor: () => runtimeConfig.md5
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
addChecksumAlgorithm(algo) {
|
|
44
|
+
checksumAlgorithms.push(algo);
|
|
45
|
+
},
|
|
46
|
+
checksumAlgorithms() {
|
|
47
|
+
return checksumAlgorithms;
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
const resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
52
|
+
const runtimeConfig = {};
|
|
53
|
+
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
54
|
+
runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor();
|
|
55
|
+
});
|
|
56
|
+
return runtimeConfig;
|
|
57
|
+
};
|
|
58
|
+
const getDefaultClientConfiguration = (runtimeConfig) => {
|
|
59
|
+
return getChecksumConfiguration(runtimeConfig);
|
|
60
|
+
};
|
|
61
|
+
const resolveDefaultRuntimeConfig = (config) => {
|
|
62
|
+
return resolveChecksumRuntimeConfig(config);
|
|
63
|
+
};
|
|
64
|
+
var FieldPosition;
|
|
65
|
+
(function(FieldPosition) {
|
|
66
|
+
FieldPosition[FieldPosition["HEADER"] = 0] = "HEADER";
|
|
67
|
+
FieldPosition[FieldPosition["TRAILER"] = 1] = "TRAILER";
|
|
68
|
+
})(FieldPosition || (FieldPosition = {}));
|
|
69
|
+
const SMITHY_CONTEXT_KEY = "__smithy_context";
|
|
70
|
+
var IniSectionType;
|
|
71
|
+
(function(IniSectionType) {
|
|
72
|
+
IniSectionType["PROFILE"] = "profile";
|
|
73
|
+
IniSectionType["SSO_SESSION"] = "sso-session";
|
|
74
|
+
IniSectionType["SERVICES"] = "services";
|
|
75
|
+
})(IniSectionType || (IniSectionType = {}));
|
|
76
|
+
var RequestHandlerProtocol;
|
|
77
|
+
(function(RequestHandlerProtocol) {
|
|
78
|
+
RequestHandlerProtocol["HTTP_0_9"] = "http/0.9";
|
|
79
|
+
RequestHandlerProtocol["HTTP_1_0"] = "http/1.0";
|
|
80
|
+
RequestHandlerProtocol["TDS_8_0"] = "tds/8.0";
|
|
81
|
+
})(RequestHandlerProtocol || (RequestHandlerProtocol = {}));
|
|
82
|
+
exports.AlgorithmId = AlgorithmId;
|
|
83
|
+
exports.EndpointURLScheme = EndpointURLScheme;
|
|
84
|
+
exports.FieldPosition = FieldPosition;
|
|
85
|
+
exports.HttpApiKeyAuthLocation = HttpApiKeyAuthLocation;
|
|
86
|
+
exports.HttpAuthLocation = HttpAuthLocation;
|
|
87
|
+
exports.IniSectionType = IniSectionType;
|
|
88
|
+
exports.RequestHandlerProtocol = RequestHandlerProtocol;
|
|
89
|
+
exports.SMITHY_CONTEXT_KEY = SMITHY_CONTEXT_KEY;
|
|
90
|
+
exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
|
|
91
|
+
exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
|
|
92
|
+
}));
|
|
93
|
+
|
|
94
|
+
//#endregion
|
|
95
|
+
Object.defineProperty(exports, 'require_dist_cjs', {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () {
|
|
98
|
+
return require_dist_cjs;
|
|
99
|
+
}
|
|
100
|
+
});
|