monorise 1.6.0 → 1.8.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base/index.d.ts +5 -0
- package/dist/base/index.js.map +1 -1
- package/dist/cli/cli.js +155 -0
- package/dist/cli/cli.js.map +1 -1
- package/dist/core/index.d.ts +53 -4
- package/dist/core/index.js +556 -16
- package/dist/core/index.js.map +1 -1
- package/dist/react/bowser-RUCNDTEX.js +2822 -0
- package/dist/react/bowser-RUCNDTEX.js.map +1 -0
- package/dist/react/chunk-2U2REJF4.js +138 -0
- package/dist/react/chunk-2U2REJF4.js.map +1 -0
- package/dist/react/chunk-5CPIG7AN.js +449 -0
- package/dist/react/chunk-5CPIG7AN.js.map +1 -0
- package/dist/react/chunk-7BSJSLIL.js +528 -0
- package/dist/react/chunk-7BSJSLIL.js.map +1 -0
- package/dist/react/chunk-7MNBSDJI.js +3362 -0
- package/dist/react/chunk-7MNBSDJI.js.map +1 -0
- package/dist/react/chunk-JXBFOCBM.js +2929 -0
- package/dist/react/chunk-JXBFOCBM.js.map +1 -0
- package/dist/react/{chunk-S6RDMHHH.js → chunk-Q26JGAFF.js} +3 -3
- package/dist/react/chunk-Q26JGAFF.js.map +1 -0
- package/dist/react/chunk-QZSEUOCY.js +2298 -0
- package/dist/react/chunk-QZSEUOCY.js.map +1 -0
- package/dist/react/chunk-W6S3JWZV.js +1045 -0
- package/dist/react/chunk-W6S3JWZV.js.map +1 -0
- package/dist/react/chunk-WUOPYF3V.js +127 -0
- package/dist/react/chunk-WUOPYF3V.js.map +1 -0
- package/dist/react/chunk-Z45ECZFO.js +995 -0
- package/dist/react/chunk-Z45ECZFO.js.map +1 -0
- package/dist/react/{dist-es-DLWQXBOR.js → dist-es-2P6AKQM3.js} +16 -24
- package/dist/react/dist-es-2P6AKQM3.js.map +1 -0
- package/dist/react/dist-es-CEMZ6HT6.js +294 -0
- package/dist/react/dist-es-CEMZ6HT6.js.map +1 -0
- package/dist/react/{dist-es-XNAC47MK.js → dist-es-NZWWHEBR.js} +7 -8
- package/dist/react/dist-es-NZWWHEBR.js.map +1 -0
- package/dist/react/{dist-es-5WYA7CWK.js → dist-es-QVQ2CPIM.js} +37 -40
- package/dist/react/dist-es-QVQ2CPIM.js.map +1 -0
- package/dist/react/{dist-es-EMJCB37T.js → dist-es-VBWII54H.js} +7 -8
- package/dist/react/dist-es-VBWII54H.js.map +1 -0
- package/dist/react/{dist-es-R4TRTT45.js → dist-es-VXN7IC3J.js} +5 -4
- package/dist/react/dist-es-YKVDPOOB.js +221 -0
- package/dist/react/dist-es-YKVDPOOB.js.map +1 -0
- package/dist/react/{dist-es-QF65HH5Y.js → dist-es-ZPOY2Z6R.js} +37 -28
- package/dist/react/dist-es-ZPOY2Z6R.js.map +1 -0
- package/dist/react/event-streams-NBH35WQC.js +44 -0
- package/dist/react/event-streams-NBH35WQC.js.map +1 -0
- package/dist/react/index.js +18815 -2076
- package/dist/react/index.js.map +1 -1
- package/dist/react/{loadSso-WMS367NT.js → loadSso-2GPAQE3H.js} +183 -195
- package/dist/react/loadSso-2GPAQE3H.js.map +1 -0
- package/dist/react/{signin-2I7AG6XI.js → signin-HT4EDHQE.js} +354 -240
- package/dist/react/signin-HT4EDHQE.js.map +1 -0
- package/dist/react/{sso-oidc-OAJ7SALL.js → sso-oidc-WA3BK6FI.js} +200 -195
- package/dist/react/sso-oidc-WA3BK6FI.js.map +1 -0
- package/dist/react/sts-V7PNNQ2L.js +1114 -0
- package/dist/react/sts-V7PNNQ2L.js.map +1 -0
- package/dist/sst/components/analytics.d.ts +52 -0
- package/dist/sst/components/analytics.d.ts.map +1 -0
- package/dist/sst/components/monorise-core.d.ts +5 -1
- package/dist/sst/components/monorise-core.d.ts.map +1 -1
- package/dist/sst/components/single-table.d.ts +3 -1
- package/dist/sst/components/single-table.d.ts.map +1 -1
- package/dist/sst/index.js +344 -7
- package/dist/sst/index.js.map +1 -1
- package/package.json +4 -1
- package/dist/react/chunk-5XIRNUBL.js +0 -43
- package/dist/react/chunk-5XIRNUBL.js.map +0 -1
- package/dist/react/chunk-7JDOKZGQ.js +0 -172
- package/dist/react/chunk-7JDOKZGQ.js.map +0 -1
- package/dist/react/chunk-A5TI2FW3.js +0 -13
- package/dist/react/chunk-A5TI2FW3.js.map +0 -1
- package/dist/react/chunk-AYQDOLYF.js +0 -628
- package/dist/react/chunk-AYQDOLYF.js.map +0 -1
- package/dist/react/chunk-BUTF5RJU.js +0 -29
- package/dist/react/chunk-BUTF5RJU.js.map +0 -1
- package/dist/react/chunk-EYG2DL3D.js +0 -893
- package/dist/react/chunk-EYG2DL3D.js.map +0 -1
- package/dist/react/chunk-GEN4TSCQ.js +0 -5179
- package/dist/react/chunk-GEN4TSCQ.js.map +0 -1
- package/dist/react/chunk-GFVCNWVT.js +0 -54
- package/dist/react/chunk-GFVCNWVT.js.map +0 -1
- package/dist/react/chunk-KJX5LOMN.js +0 -43
- package/dist/react/chunk-KJX5LOMN.js.map +0 -1
- package/dist/react/chunk-KLXK4V6G.js +0 -65
- package/dist/react/chunk-KLXK4V6G.js.map +0 -1
- package/dist/react/chunk-L6MAS3AX.js +0 -482
- package/dist/react/chunk-L6MAS3AX.js.map +0 -1
- package/dist/react/chunk-LPXR5V4J.js +0 -582
- package/dist/react/chunk-LPXR5V4J.js.map +0 -1
- package/dist/react/chunk-OEHQ546W.js +0 -182
- package/dist/react/chunk-OEHQ546W.js.map +0 -1
- package/dist/react/chunk-RPNCWADG.js +0 -248
- package/dist/react/chunk-RPNCWADG.js.map +0 -1
- package/dist/react/chunk-S6RDMHHH.js.map +0 -1
- package/dist/react/chunk-VVCM7N22.js +0 -101
- package/dist/react/chunk-VVCM7N22.js.map +0 -1
- package/dist/react/dist-es-5WYA7CWK.js.map +0 -1
- package/dist/react/dist-es-DLWQXBOR.js.map +0 -1
- package/dist/react/dist-es-EMJCB37T.js.map +0 -1
- package/dist/react/dist-es-Q7IAXWRB.js +0 -494
- package/dist/react/dist-es-Q7IAXWRB.js.map +0 -1
- package/dist/react/dist-es-QF65HH5Y.js.map +0 -1
- package/dist/react/dist-es-XNAC47MK.js.map +0 -1
- package/dist/react/event-streams-6APKUBMC.js +0 -270
- package/dist/react/event-streams-6APKUBMC.js.map +0 -1
- package/dist/react/loadSso-WMS367NT.js.map +0 -1
- package/dist/react/signin-2I7AG6XI.js.map +0 -1
- package/dist/react/sso-oidc-OAJ7SALL.js.map +0 -1
- package/dist/react/sts-LKM23TRV.js +0 -3866
- package/dist/react/sts-LKM23TRV.js.map +0 -1
- /package/dist/react/{dist-es-R4TRTT45.js.map → dist-es-VXN7IC3J.js.map} +0 -0
|
@@ -1,628 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
LazyJsonString,
|
|
3
|
-
NormalizedSchema,
|
|
4
|
-
NumericValue,
|
|
5
|
-
SMITHY_CONTEXT_KEY,
|
|
6
|
-
SerdeContext,
|
|
7
|
-
constructStack,
|
|
8
|
-
determineTimestampFormat,
|
|
9
|
-
getEndpointFromInstructions,
|
|
10
|
-
getSmithyContext
|
|
11
|
-
} from "./chunk-GEN4TSCQ.js";
|
|
12
|
-
import {
|
|
13
|
-
fromBase64
|
|
14
|
-
} from "./chunk-EYG2DL3D.js";
|
|
15
|
-
import {
|
|
16
|
-
toUtf8
|
|
17
|
-
} from "./chunk-KJX5LOMN.js";
|
|
18
|
-
import {
|
|
19
|
-
__publicField,
|
|
20
|
-
__spreadValues
|
|
21
|
-
} from "./chunk-MIXAYX55.js";
|
|
22
|
-
|
|
23
|
-
// ../../node_modules/@smithy/smithy-client/dist-es/schemaLogFilter.js
|
|
24
|
-
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
25
|
-
function schemaLogFilter(schema, data) {
|
|
26
|
-
if (data == null) {
|
|
27
|
-
return data;
|
|
28
|
-
}
|
|
29
|
-
const ns = NormalizedSchema.of(schema);
|
|
30
|
-
if (ns.getMergedTraits().sensitive) {
|
|
31
|
-
return SENSITIVE_STRING;
|
|
32
|
-
}
|
|
33
|
-
if (ns.isListSchema()) {
|
|
34
|
-
const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
35
|
-
if (isSensitive) {
|
|
36
|
-
return SENSITIVE_STRING;
|
|
37
|
-
}
|
|
38
|
-
} else if (ns.isMapSchema()) {
|
|
39
|
-
const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
40
|
-
if (isSensitive) {
|
|
41
|
-
return SENSITIVE_STRING;
|
|
42
|
-
}
|
|
43
|
-
} else if (ns.isStructSchema() && typeof data === "object") {
|
|
44
|
-
const object = data;
|
|
45
|
-
const newObject = {};
|
|
46
|
-
for (const [member, memberNs] of ns.structIterator()) {
|
|
47
|
-
if (object[member] != null) {
|
|
48
|
-
newObject[member] = schemaLogFilter(memberNs, object[member]);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
return newObject;
|
|
52
|
-
}
|
|
53
|
-
return data;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
// ../../node_modules/@smithy/smithy-client/dist-es/command.js
|
|
57
|
-
var Command = class {
|
|
58
|
-
constructor() {
|
|
59
|
-
__publicField(this, "middlewareStack", constructStack());
|
|
60
|
-
__publicField(this, "schema");
|
|
61
|
-
}
|
|
62
|
-
static classBuilder() {
|
|
63
|
-
return new ClassBuilder();
|
|
64
|
-
}
|
|
65
|
-
resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor }) {
|
|
66
|
-
for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
|
|
67
|
-
this.middlewareStack.use(mw);
|
|
68
|
-
}
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const handlerExecutionContext = __spreadValues({
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog,
|
|
77
|
-
[SMITHY_CONTEXT_KEY]: __spreadValues({
|
|
78
|
-
commandInstance: this
|
|
79
|
-
}, smithyContext)
|
|
80
|
-
}, additionalContext);
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
var ClassBuilder = class {
|
|
86
|
-
constructor() {
|
|
87
|
-
__publicField(this, "_init", () => {
|
|
88
|
-
});
|
|
89
|
-
__publicField(this, "_ep", {});
|
|
90
|
-
__publicField(this, "_middlewareFn", () => []);
|
|
91
|
-
__publicField(this, "_commandName", "");
|
|
92
|
-
__publicField(this, "_clientName", "");
|
|
93
|
-
__publicField(this, "_additionalContext", {});
|
|
94
|
-
__publicField(this, "_smithyContext", {});
|
|
95
|
-
__publicField(this, "_inputFilterSensitiveLog");
|
|
96
|
-
__publicField(this, "_outputFilterSensitiveLog");
|
|
97
|
-
__publicField(this, "_serializer", null);
|
|
98
|
-
__publicField(this, "_deserializer", null);
|
|
99
|
-
__publicField(this, "_operationSchema");
|
|
100
|
-
}
|
|
101
|
-
init(cb) {
|
|
102
|
-
this._init = cb;
|
|
103
|
-
}
|
|
104
|
-
ep(endpointParameterInstructions) {
|
|
105
|
-
this._ep = endpointParameterInstructions;
|
|
106
|
-
return this;
|
|
107
|
-
}
|
|
108
|
-
m(middlewareSupplier) {
|
|
109
|
-
this._middlewareFn = middlewareSupplier;
|
|
110
|
-
return this;
|
|
111
|
-
}
|
|
112
|
-
s(service, operation, smithyContext = {}) {
|
|
113
|
-
this._smithyContext = __spreadValues({
|
|
114
|
-
service,
|
|
115
|
-
operation
|
|
116
|
-
}, smithyContext);
|
|
117
|
-
return this;
|
|
118
|
-
}
|
|
119
|
-
c(additionalContext = {}) {
|
|
120
|
-
this._additionalContext = additionalContext;
|
|
121
|
-
return this;
|
|
122
|
-
}
|
|
123
|
-
n(clientName, commandName) {
|
|
124
|
-
this._clientName = clientName;
|
|
125
|
-
this._commandName = commandName;
|
|
126
|
-
return this;
|
|
127
|
-
}
|
|
128
|
-
f(inputFilter = (_) => _, outputFilter = (_) => _) {
|
|
129
|
-
this._inputFilterSensitiveLog = inputFilter;
|
|
130
|
-
this._outputFilterSensitiveLog = outputFilter;
|
|
131
|
-
return this;
|
|
132
|
-
}
|
|
133
|
-
ser(serializer) {
|
|
134
|
-
this._serializer = serializer;
|
|
135
|
-
return this;
|
|
136
|
-
}
|
|
137
|
-
de(deserializer) {
|
|
138
|
-
this._deserializer = deserializer;
|
|
139
|
-
return this;
|
|
140
|
-
}
|
|
141
|
-
sc(operation) {
|
|
142
|
-
this._operationSchema = operation;
|
|
143
|
-
this._smithyContext.operationSchema = operation;
|
|
144
|
-
return this;
|
|
145
|
-
}
|
|
146
|
-
build() {
|
|
147
|
-
const closure = this;
|
|
148
|
-
let CommandRef;
|
|
149
|
-
return CommandRef = class extends Command {
|
|
150
|
-
constructor(...[input]) {
|
|
151
|
-
super();
|
|
152
|
-
__publicField(this, "input");
|
|
153
|
-
__publicField(this, "serialize", closure._serializer);
|
|
154
|
-
__publicField(this, "deserialize", closure._deserializer);
|
|
155
|
-
this.input = input != null ? input : {};
|
|
156
|
-
closure._init(this);
|
|
157
|
-
this.schema = closure._operationSchema;
|
|
158
|
-
}
|
|
159
|
-
static getEndpointParameterInstructions() {
|
|
160
|
-
return closure._ep;
|
|
161
|
-
}
|
|
162
|
-
resolveMiddleware(stack, configuration, options) {
|
|
163
|
-
var _a, _b, _c, _d;
|
|
164
|
-
const op = closure._operationSchema;
|
|
165
|
-
const input = (_a = op == null ? void 0 : op[4]) != null ? _a : op == null ? void 0 : op.input;
|
|
166
|
-
const output = (_b = op == null ? void 0 : op[5]) != null ? _b : op == null ? void 0 : op.output;
|
|
167
|
-
return this.resolveMiddlewareWithContext(stack, configuration, options, {
|
|
168
|
-
CommandCtor: CommandRef,
|
|
169
|
-
middlewareFn: closure._middlewareFn,
|
|
170
|
-
clientName: closure._clientName,
|
|
171
|
-
commandName: closure._commandName,
|
|
172
|
-
inputFilterSensitiveLog: (_c = closure._inputFilterSensitiveLog) != null ? _c : op ? schemaLogFilter.bind(null, input) : (_) => _,
|
|
173
|
-
outputFilterSensitiveLog: (_d = closure._outputFilterSensitiveLog) != null ? _d : op ? schemaLogFilter.bind(null, output) : (_) => _,
|
|
174
|
-
smithyContext: closure._smithyContext,
|
|
175
|
-
additionalContext: closure._additionalContext
|
|
176
|
-
});
|
|
177
|
-
}
|
|
178
|
-
};
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
// ../../node_modules/@smithy/middleware-serde/dist-es/serdePlugin.js
|
|
183
|
-
var serializerMiddlewareOption = {
|
|
184
|
-
name: "serializerMiddleware",
|
|
185
|
-
step: "serialize",
|
|
186
|
-
tags: ["SERIALIZER"],
|
|
187
|
-
override: true
|
|
188
|
-
};
|
|
189
|
-
|
|
190
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/protocols/extended-encode-uri-component.js
|
|
191
|
-
function extendedEncodeURIComponent(str) {
|
|
192
|
-
return encodeURIComponent(str).replace(/[!'()*]/g, function(c) {
|
|
193
|
-
return "%" + c.charCodeAt(0).toString(16).toUpperCase();
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/serde/schema-serde-lib/schema-date-utils.js
|
|
198
|
-
var ddd = `(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;
|
|
199
|
-
var mmm = `(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;
|
|
200
|
-
var time = `(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;
|
|
201
|
-
var date = `(\\d?\\d)`;
|
|
202
|
-
var year = `(\\d{4})`;
|
|
203
|
-
var RFC3339_WITH_OFFSET = new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);
|
|
204
|
-
var IMF_FIXDATE = new RegExp(`^${ddd}, ${date} ${mmm} ${year} ${time} GMT$`);
|
|
205
|
-
var RFC_850_DATE = new RegExp(`^${ddd}, ${date}-${mmm}-(\\d\\d) ${time} GMT$`);
|
|
206
|
-
var ASC_TIME = new RegExp(`^${ddd} ${mmm} ( [1-9]|\\d\\d) ${time} ${year}$`);
|
|
207
|
-
var months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
|
|
208
|
-
var _parseEpochTimestamp = (value) => {
|
|
209
|
-
if (value == null) {
|
|
210
|
-
return void 0;
|
|
211
|
-
}
|
|
212
|
-
let num = NaN;
|
|
213
|
-
if (typeof value === "number") {
|
|
214
|
-
num = value;
|
|
215
|
-
} else if (typeof value === "string") {
|
|
216
|
-
if (!/^-?\d*\.?\d+$/.test(value)) {
|
|
217
|
-
throw new TypeError(`parseEpochTimestamp - numeric string invalid.`);
|
|
218
|
-
}
|
|
219
|
-
num = Number.parseFloat(value);
|
|
220
|
-
} else if (typeof value === "object" && value.tag === 1) {
|
|
221
|
-
num = value.value;
|
|
222
|
-
}
|
|
223
|
-
if (isNaN(num) || Math.abs(num) === Infinity) {
|
|
224
|
-
throw new TypeError("Epoch timestamps must be valid finite numbers.");
|
|
225
|
-
}
|
|
226
|
-
return new Date(Math.round(num * 1e3));
|
|
227
|
-
};
|
|
228
|
-
var _parseRfc3339DateTimeWithOffset = (value) => {
|
|
229
|
-
if (value == null) {
|
|
230
|
-
return void 0;
|
|
231
|
-
}
|
|
232
|
-
if (typeof value !== "string") {
|
|
233
|
-
throw new TypeError("RFC3339 timestamps must be strings");
|
|
234
|
-
}
|
|
235
|
-
const matches = RFC3339_WITH_OFFSET.exec(value);
|
|
236
|
-
if (!matches) {
|
|
237
|
-
throw new TypeError(`Invalid RFC3339 timestamp format ${value}`);
|
|
238
|
-
}
|
|
239
|
-
const [, yearStr, monthStr, dayStr, hours, minutes, seconds, , ms, offsetStr] = matches;
|
|
240
|
-
range(monthStr, 1, 12);
|
|
241
|
-
range(dayStr, 1, 31);
|
|
242
|
-
range(hours, 0, 23);
|
|
243
|
-
range(minutes, 0, 59);
|
|
244
|
-
range(seconds, 0, 60);
|
|
245
|
-
const date2 = new Date(Date.UTC(Number(yearStr), Number(monthStr) - 1, Number(dayStr), Number(hours), Number(minutes), Number(seconds), Number(ms) ? Math.round(parseFloat(`0.${ms}`) * 1e3) : 0));
|
|
246
|
-
date2.setUTCFullYear(Number(yearStr));
|
|
247
|
-
if (offsetStr.toUpperCase() != "Z") {
|
|
248
|
-
const [, sign, offsetH, offsetM] = /([+-])(\d\d):(\d\d)/.exec(offsetStr) || [void 0, "+", 0, 0];
|
|
249
|
-
const scalar = sign === "-" ? 1 : -1;
|
|
250
|
-
date2.setTime(date2.getTime() + scalar * (Number(offsetH) * 60 * 60 * 1e3 + Number(offsetM) * 60 * 1e3));
|
|
251
|
-
}
|
|
252
|
-
return date2;
|
|
253
|
-
};
|
|
254
|
-
var _parseRfc7231DateTime = (value) => {
|
|
255
|
-
if (value == null) {
|
|
256
|
-
return void 0;
|
|
257
|
-
}
|
|
258
|
-
if (typeof value !== "string") {
|
|
259
|
-
throw new TypeError("RFC7231 timestamps must be strings.");
|
|
260
|
-
}
|
|
261
|
-
let day;
|
|
262
|
-
let month;
|
|
263
|
-
let year2;
|
|
264
|
-
let hour;
|
|
265
|
-
let minute;
|
|
266
|
-
let second;
|
|
267
|
-
let fraction;
|
|
268
|
-
let matches;
|
|
269
|
-
if (matches = IMF_FIXDATE.exec(value)) {
|
|
270
|
-
[, day, month, year2, hour, minute, second, fraction] = matches;
|
|
271
|
-
} else if (matches = RFC_850_DATE.exec(value)) {
|
|
272
|
-
[, day, month, year2, hour, minute, second, fraction] = matches;
|
|
273
|
-
year2 = (Number(year2) + 1900).toString();
|
|
274
|
-
} else if (matches = ASC_TIME.exec(value)) {
|
|
275
|
-
[, month, day, hour, minute, second, fraction, year2] = matches;
|
|
276
|
-
}
|
|
277
|
-
if (year2 && second) {
|
|
278
|
-
const timestamp = Date.UTC(Number(year2), months.indexOf(month), Number(day), Number(hour), Number(minute), Number(second), fraction ? Math.round(parseFloat(`0.${fraction}`) * 1e3) : 0);
|
|
279
|
-
range(day, 1, 31);
|
|
280
|
-
range(hour, 0, 23);
|
|
281
|
-
range(minute, 0, 59);
|
|
282
|
-
range(second, 0, 60);
|
|
283
|
-
const date2 = new Date(timestamp);
|
|
284
|
-
date2.setUTCFullYear(Number(year2));
|
|
285
|
-
return date2;
|
|
286
|
-
}
|
|
287
|
-
throw new TypeError(`Invalid RFC7231 date-time value ${value}.`);
|
|
288
|
-
};
|
|
289
|
-
function range(v, min, max) {
|
|
290
|
-
const _v = Number(v);
|
|
291
|
-
if (_v < min || _v > max) {
|
|
292
|
-
throw new Error(`Value ${_v} out of range [${min}, ${max}]`);
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/serde/split-header.js
|
|
297
|
-
var splitHeader = (value) => {
|
|
298
|
-
const z = value.length;
|
|
299
|
-
const values = [];
|
|
300
|
-
let withinQuotes = false;
|
|
301
|
-
let prevChar = void 0;
|
|
302
|
-
let anchor = 0;
|
|
303
|
-
for (let i = 0; i < z; ++i) {
|
|
304
|
-
const char = value[i];
|
|
305
|
-
switch (char) {
|
|
306
|
-
case `"`:
|
|
307
|
-
if (prevChar !== "\\") {
|
|
308
|
-
withinQuotes = !withinQuotes;
|
|
309
|
-
}
|
|
310
|
-
break;
|
|
311
|
-
case ",":
|
|
312
|
-
if (!withinQuotes) {
|
|
313
|
-
values.push(value.slice(anchor, i));
|
|
314
|
-
anchor = i + 1;
|
|
315
|
-
}
|
|
316
|
-
break;
|
|
317
|
-
default:
|
|
318
|
-
}
|
|
319
|
-
prevChar = char;
|
|
320
|
-
}
|
|
321
|
-
values.push(value.slice(anchor));
|
|
322
|
-
return values.map((v) => {
|
|
323
|
-
v = v.trim();
|
|
324
|
-
const z2 = v.length;
|
|
325
|
-
if (z2 < 2) {
|
|
326
|
-
return v;
|
|
327
|
-
}
|
|
328
|
-
if (v[0] === `"` && v[z2 - 1] === `"`) {
|
|
329
|
-
v = v.slice(1, z2 - 1);
|
|
330
|
-
}
|
|
331
|
-
return v.replace(/\\"/g, '"');
|
|
332
|
-
});
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
// ../../node_modules/@smithy/core/dist-es/submodules/protocols/serde/FromStringShapeDeserializer.js
|
|
336
|
-
var FromStringShapeDeserializer = class extends SerdeContext {
|
|
337
|
-
constructor(settings) {
|
|
338
|
-
super();
|
|
339
|
-
__publicField(this, "settings");
|
|
340
|
-
this.settings = settings;
|
|
341
|
-
}
|
|
342
|
-
read(_schema, data) {
|
|
343
|
-
var _a, _b;
|
|
344
|
-
const ns = NormalizedSchema.of(_schema);
|
|
345
|
-
if (ns.isListSchema()) {
|
|
346
|
-
return splitHeader(data).map((item) => this.read(ns.getValueSchema(), item));
|
|
347
|
-
}
|
|
348
|
-
if (ns.isBlobSchema()) {
|
|
349
|
-
return ((_b = (_a = this.serdeContext) == null ? void 0 : _a.base64Decoder) != null ? _b : fromBase64)(data);
|
|
350
|
-
}
|
|
351
|
-
if (ns.isTimestampSchema()) {
|
|
352
|
-
const format = determineTimestampFormat(ns, this.settings);
|
|
353
|
-
switch (format) {
|
|
354
|
-
case 5:
|
|
355
|
-
return _parseRfc3339DateTimeWithOffset(data);
|
|
356
|
-
case 6:
|
|
357
|
-
return _parseRfc7231DateTime(data);
|
|
358
|
-
case 7:
|
|
359
|
-
return _parseEpochTimestamp(data);
|
|
360
|
-
default:
|
|
361
|
-
console.warn("Missing timestamp format, parsing value with Date constructor:", data);
|
|
362
|
-
return new Date(data);
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
if (ns.isStringSchema()) {
|
|
366
|
-
const mediaType = ns.getMergedTraits().mediaType;
|
|
367
|
-
let intermediateValue = data;
|
|
368
|
-
if (mediaType) {
|
|
369
|
-
if (ns.getMergedTraits().httpHeader) {
|
|
370
|
-
intermediateValue = this.base64ToUtf8(intermediateValue);
|
|
371
|
-
}
|
|
372
|
-
const isJson = mediaType === "application/json" || mediaType.endsWith("+json");
|
|
373
|
-
if (isJson) {
|
|
374
|
-
intermediateValue = LazyJsonString.from(intermediateValue);
|
|
375
|
-
}
|
|
376
|
-
return intermediateValue;
|
|
377
|
-
}
|
|
378
|
-
}
|
|
379
|
-
if (ns.isNumericSchema()) {
|
|
380
|
-
return Number(data);
|
|
381
|
-
}
|
|
382
|
-
if (ns.isBigIntegerSchema()) {
|
|
383
|
-
return BigInt(data);
|
|
384
|
-
}
|
|
385
|
-
if (ns.isBigDecimalSchema()) {
|
|
386
|
-
return new NumericValue(data, "bigDecimal");
|
|
387
|
-
}
|
|
388
|
-
if (ns.isBooleanSchema()) {
|
|
389
|
-
return String(data).toLowerCase() === "true";
|
|
390
|
-
}
|
|
391
|
-
return data;
|
|
392
|
-
}
|
|
393
|
-
base64ToUtf8(base64String) {
|
|
394
|
-
var _a, _b, _c, _d;
|
|
395
|
-
return ((_b = (_a = this.serdeContext) == null ? void 0 : _a.utf8Encoder) != null ? _b : toUtf8)(((_d = (_c = this.serdeContext) == null ? void 0 : _c.base64Decoder) != null ? _d : fromBase64)(base64String));
|
|
396
|
-
}
|
|
397
|
-
};
|
|
398
|
-
|
|
399
|
-
// ../../node_modules/@smithy/core/dist-es/setFeature.js
|
|
400
|
-
function setFeature(context, feature, value) {
|
|
401
|
-
if (!context.__smithy_context) {
|
|
402
|
-
context.__smithy_context = {
|
|
403
|
-
features: {}
|
|
404
|
-
};
|
|
405
|
-
} else if (!context.__smithy_context.features) {
|
|
406
|
-
context.__smithy_context.features = {};
|
|
407
|
-
}
|
|
408
|
-
context.__smithy_context.features[feature] = value;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
// ../../node_modules/@smithy/core/dist-es/util-identity-and-auth/httpAuthSchemes/noAuth.js
|
|
412
|
-
var NoAuthSigner = class {
|
|
413
|
-
async sign(httpRequest, identity, signingProperties) {
|
|
414
|
-
return httpRequest;
|
|
415
|
-
}
|
|
416
|
-
};
|
|
417
|
-
|
|
418
|
-
// ../../node_modules/@smithy/middleware-endpoint/dist-es/endpointMiddleware.js
|
|
419
|
-
var endpointMiddleware = ({ config, instructions }) => {
|
|
420
|
-
return (next, context) => async (args) => {
|
|
421
|
-
var _a, _b, _c;
|
|
422
|
-
if (config.isCustomEndpoint) {
|
|
423
|
-
setFeature(context, "ENDPOINT_OVERRIDE", "N");
|
|
424
|
-
}
|
|
425
|
-
const endpoint = await getEndpointFromInstructions(args.input, {
|
|
426
|
-
getEndpointParameterInstructions() {
|
|
427
|
-
return instructions;
|
|
428
|
-
}
|
|
429
|
-
}, __spreadValues({}, config), context);
|
|
430
|
-
context.endpointV2 = endpoint;
|
|
431
|
-
context.authSchemes = (_a = endpoint.properties) == null ? void 0 : _a.authSchemes;
|
|
432
|
-
const authScheme = (_b = context.authSchemes) == null ? void 0 : _b[0];
|
|
433
|
-
if (authScheme) {
|
|
434
|
-
context["signing_region"] = authScheme.signingRegion;
|
|
435
|
-
context["signing_service"] = authScheme.signingName;
|
|
436
|
-
const smithyContext = getSmithyContext(context);
|
|
437
|
-
const httpAuthOption = (_c = smithyContext == null ? void 0 : smithyContext.selectedHttpAuthScheme) == null ? void 0 : _c.httpAuthOption;
|
|
438
|
-
if (httpAuthOption) {
|
|
439
|
-
httpAuthOption.signingProperties = Object.assign(httpAuthOption.signingProperties || {}, {
|
|
440
|
-
signing_region: authScheme.signingRegion,
|
|
441
|
-
signingRegion: authScheme.signingRegion,
|
|
442
|
-
signing_service: authScheme.signingName,
|
|
443
|
-
signingName: authScheme.signingName,
|
|
444
|
-
signingRegionSet: authScheme.signingRegionSet
|
|
445
|
-
}, authScheme.properties);
|
|
446
|
-
}
|
|
447
|
-
}
|
|
448
|
-
return next(__spreadValues({}, args));
|
|
449
|
-
};
|
|
450
|
-
};
|
|
451
|
-
|
|
452
|
-
// ../../node_modules/@smithy/middleware-endpoint/dist-es/getEndpointPlugin.js
|
|
453
|
-
var endpointMiddlewareOptions = {
|
|
454
|
-
step: "serialize",
|
|
455
|
-
tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
|
|
456
|
-
name: "endpointV2Middleware",
|
|
457
|
-
override: true,
|
|
458
|
-
relation: "before",
|
|
459
|
-
toMiddleware: serializerMiddlewareOption.name
|
|
460
|
-
};
|
|
461
|
-
var getEndpointPlugin = (config, instructions) => ({
|
|
462
|
-
applyToStack: (clientStack) => {
|
|
463
|
-
clientStack.addRelativeTo(endpointMiddleware({
|
|
464
|
-
config,
|
|
465
|
-
instructions
|
|
466
|
-
}), endpointMiddlewareOptions);
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
|
-
|
|
470
|
-
// ../../node_modules/@aws-sdk/nested-clients/package.json
|
|
471
|
-
var package_default = {
|
|
472
|
-
name: "@aws-sdk/nested-clients",
|
|
473
|
-
version: "3.996.19",
|
|
474
|
-
description: "Nested clients for AWS SDK packages.",
|
|
475
|
-
main: "./dist-cjs/index.js",
|
|
476
|
-
module: "./dist-es/index.js",
|
|
477
|
-
types: "./dist-types/index.d.ts",
|
|
478
|
-
scripts: {
|
|
479
|
-
build: "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
480
|
-
"build:cjs": "node ../../scripts/compilation/inline nested-clients",
|
|
481
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
482
|
-
"build:include:deps": 'yarn g:turbo run build -F="$npm_package_name"',
|
|
483
|
-
"build:types": "tsc -p tsconfig.types.json",
|
|
484
|
-
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
485
|
-
clean: "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
486
|
-
lint: "node ../../scripts/validation/submodules-linter.js --pkg nested-clients",
|
|
487
|
-
test: "yarn g:vitest run",
|
|
488
|
-
"test:watch": "yarn g:vitest watch"
|
|
489
|
-
},
|
|
490
|
-
engines: {
|
|
491
|
-
node: ">=20.0.0"
|
|
492
|
-
},
|
|
493
|
-
sideEffects: false,
|
|
494
|
-
author: {
|
|
495
|
-
name: "AWS SDK for JavaScript Team",
|
|
496
|
-
url: "https://aws.amazon.com/javascript/"
|
|
497
|
-
},
|
|
498
|
-
license: "Apache-2.0",
|
|
499
|
-
dependencies: {
|
|
500
|
-
"@aws-crypto/sha256-browser": "5.2.0",
|
|
501
|
-
"@aws-crypto/sha256-js": "5.2.0",
|
|
502
|
-
"@aws-sdk/core": "^3.973.27",
|
|
503
|
-
"@aws-sdk/middleware-host-header": "^3.972.9",
|
|
504
|
-
"@aws-sdk/middleware-logger": "^3.972.9",
|
|
505
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.10",
|
|
506
|
-
"@aws-sdk/middleware-user-agent": "^3.972.29",
|
|
507
|
-
"@aws-sdk/region-config-resolver": "^3.972.11",
|
|
508
|
-
"@aws-sdk/types": "^3.973.7",
|
|
509
|
-
"@aws-sdk/util-endpoints": "^3.996.6",
|
|
510
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.9",
|
|
511
|
-
"@aws-sdk/util-user-agent-node": "^3.973.15",
|
|
512
|
-
"@smithy/config-resolver": "^4.4.14",
|
|
513
|
-
"@smithy/core": "^3.23.14",
|
|
514
|
-
"@smithy/fetch-http-handler": "^5.3.16",
|
|
515
|
-
"@smithy/hash-node": "^4.2.13",
|
|
516
|
-
"@smithy/invalid-dependency": "^4.2.13",
|
|
517
|
-
"@smithy/middleware-content-length": "^4.2.13",
|
|
518
|
-
"@smithy/middleware-endpoint": "^4.4.29",
|
|
519
|
-
"@smithy/middleware-retry": "^4.5.0",
|
|
520
|
-
"@smithy/middleware-serde": "^4.2.17",
|
|
521
|
-
"@smithy/middleware-stack": "^4.2.13",
|
|
522
|
-
"@smithy/node-config-provider": "^4.3.13",
|
|
523
|
-
"@smithy/node-http-handler": "^4.5.2",
|
|
524
|
-
"@smithy/protocol-http": "^5.3.13",
|
|
525
|
-
"@smithy/smithy-client": "^4.12.9",
|
|
526
|
-
"@smithy/types": "^4.14.0",
|
|
527
|
-
"@smithy/url-parser": "^4.2.13",
|
|
528
|
-
"@smithy/util-base64": "^4.3.2",
|
|
529
|
-
"@smithy/util-body-length-browser": "^4.2.2",
|
|
530
|
-
"@smithy/util-body-length-node": "^4.2.3",
|
|
531
|
-
"@smithy/util-defaults-mode-browser": "^4.3.45",
|
|
532
|
-
"@smithy/util-defaults-mode-node": "^4.2.49",
|
|
533
|
-
"@smithy/util-endpoints": "^3.3.4",
|
|
534
|
-
"@smithy/util-middleware": "^4.2.13",
|
|
535
|
-
"@smithy/util-retry": "^4.3.0",
|
|
536
|
-
"@smithy/util-utf8": "^4.2.2",
|
|
537
|
-
tslib: "^2.6.2"
|
|
538
|
-
},
|
|
539
|
-
devDependencies: {
|
|
540
|
-
concurrently: "7.0.0",
|
|
541
|
-
"downlevel-dts": "0.10.1",
|
|
542
|
-
premove: "4.0.0",
|
|
543
|
-
typescript: "~5.8.3"
|
|
544
|
-
},
|
|
545
|
-
typesVersions: {
|
|
546
|
-
"<4.5": {
|
|
547
|
-
"dist-types/*": [
|
|
548
|
-
"dist-types/ts3.4/*"
|
|
549
|
-
]
|
|
550
|
-
}
|
|
551
|
-
},
|
|
552
|
-
files: [
|
|
553
|
-
"./cognito-identity.d.ts",
|
|
554
|
-
"./cognito-identity.js",
|
|
555
|
-
"./signin.d.ts",
|
|
556
|
-
"./signin.js",
|
|
557
|
-
"./sso-oidc.d.ts",
|
|
558
|
-
"./sso-oidc.js",
|
|
559
|
-
"./sso.d.ts",
|
|
560
|
-
"./sso.js",
|
|
561
|
-
"./sts.d.ts",
|
|
562
|
-
"./sts.js",
|
|
563
|
-
"dist-*/**"
|
|
564
|
-
],
|
|
565
|
-
browser: {
|
|
566
|
-
"./dist-es/submodules/cognito-identity/runtimeConfig": "./dist-es/submodules/cognito-identity/runtimeConfig.browser",
|
|
567
|
-
"./dist-es/submodules/signin/runtimeConfig": "./dist-es/submodules/signin/runtimeConfig.browser",
|
|
568
|
-
"./dist-es/submodules/sso-oidc/runtimeConfig": "./dist-es/submodules/sso-oidc/runtimeConfig.browser",
|
|
569
|
-
"./dist-es/submodules/sso/runtimeConfig": "./dist-es/submodules/sso/runtimeConfig.browser",
|
|
570
|
-
"./dist-es/submodules/sts/runtimeConfig": "./dist-es/submodules/sts/runtimeConfig.browser"
|
|
571
|
-
},
|
|
572
|
-
"react-native": {},
|
|
573
|
-
homepage: "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/nested-clients",
|
|
574
|
-
repository: {
|
|
575
|
-
type: "git",
|
|
576
|
-
url: "https://github.com/aws/aws-sdk-js-v3.git",
|
|
577
|
-
directory: "packages/nested-clients"
|
|
578
|
-
},
|
|
579
|
-
exports: {
|
|
580
|
-
"./package.json": "./package.json",
|
|
581
|
-
"./sso-oidc": {
|
|
582
|
-
types: "./dist-types/submodules/sso-oidc/index.d.ts",
|
|
583
|
-
module: "./dist-es/submodules/sso-oidc/index.js",
|
|
584
|
-
node: "./dist-cjs/submodules/sso-oidc/index.js",
|
|
585
|
-
import: "./dist-es/submodules/sso-oidc/index.js",
|
|
586
|
-
require: "./dist-cjs/submodules/sso-oidc/index.js"
|
|
587
|
-
},
|
|
588
|
-
"./sts": {
|
|
589
|
-
types: "./dist-types/submodules/sts/index.d.ts",
|
|
590
|
-
module: "./dist-es/submodules/sts/index.js",
|
|
591
|
-
node: "./dist-cjs/submodules/sts/index.js",
|
|
592
|
-
import: "./dist-es/submodules/sts/index.js",
|
|
593
|
-
require: "./dist-cjs/submodules/sts/index.js"
|
|
594
|
-
},
|
|
595
|
-
"./signin": {
|
|
596
|
-
types: "./dist-types/submodules/signin/index.d.ts",
|
|
597
|
-
module: "./dist-es/submodules/signin/index.js",
|
|
598
|
-
node: "./dist-cjs/submodules/signin/index.js",
|
|
599
|
-
import: "./dist-es/submodules/signin/index.js",
|
|
600
|
-
require: "./dist-cjs/submodules/signin/index.js"
|
|
601
|
-
},
|
|
602
|
-
"./cognito-identity": {
|
|
603
|
-
types: "./dist-types/submodules/cognito-identity/index.d.ts",
|
|
604
|
-
module: "./dist-es/submodules/cognito-identity/index.js",
|
|
605
|
-
node: "./dist-cjs/submodules/cognito-identity/index.js",
|
|
606
|
-
import: "./dist-es/submodules/cognito-identity/index.js",
|
|
607
|
-
require: "./dist-cjs/submodules/cognito-identity/index.js"
|
|
608
|
-
},
|
|
609
|
-
"./sso": {
|
|
610
|
-
types: "./dist-types/submodules/sso/index.d.ts",
|
|
611
|
-
module: "./dist-es/submodules/sso/index.js",
|
|
612
|
-
node: "./dist-cjs/submodules/sso/index.js",
|
|
613
|
-
import: "./dist-es/submodules/sso/index.js",
|
|
614
|
-
require: "./dist-cjs/submodules/sso/index.js"
|
|
615
|
-
}
|
|
616
|
-
}
|
|
617
|
-
};
|
|
618
|
-
|
|
619
|
-
export {
|
|
620
|
-
extendedEncodeURIComponent,
|
|
621
|
-
splitHeader,
|
|
622
|
-
FromStringShapeDeserializer,
|
|
623
|
-
NoAuthSigner,
|
|
624
|
-
getEndpointPlugin,
|
|
625
|
-
Command,
|
|
626
|
-
package_default
|
|
627
|
-
};
|
|
628
|
-
//# sourceMappingURL=chunk-AYQDOLYF.js.map
|