mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-03-15 09:20:58 -04:00
chore: Update dist
This commit is contained in:
8
dist/cleanup/579.index.js
generated
vendored
8
dist/cleanup/579.index.js
generated
vendored
@@ -8,7 +8,6 @@ exports.modules = {
|
||||
|
||||
|
||||
|
||||
var schema = __webpack_require__(6890);
|
||||
var utilUtf8 = __webpack_require__(1577);
|
||||
|
||||
class EventStreamSerde {
|
||||
@@ -139,12 +138,15 @@ class EventStreamSerde {
|
||||
let eventType = unionMember;
|
||||
let explicitPayloadMember = null;
|
||||
let explicitPayloadContentType;
|
||||
const isKnownSchema = unionSchema.hasMemberSchema(unionMember);
|
||||
const isKnownSchema = (() => {
|
||||
const struct = unionSchema.getSchema();
|
||||
return struct.memberNames.includes(unionMember);
|
||||
})();
|
||||
const additionalHeaders = {};
|
||||
if (!isKnownSchema) {
|
||||
const [type, value] = event[unionMember];
|
||||
eventType = type;
|
||||
serializer.write(schema.SCHEMA.DOCUMENT, value);
|
||||
serializer.write(15, value);
|
||||
}
|
||||
else {
|
||||
const eventSchema = unionSchema.getMemberSchema(unionMember);
|
||||
|
||||
Reference in New Issue
Block a user