From d4341b65accaa2ddbb952380d8ef12f95043d338 Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Tue, 21 Jul 2026 03:53:41 +0000 Subject: [PATCH] chore: Update dist --- THIRD-PARTY | 10 +++++----- dist/index.js | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/THIRD-PARTY b/THIRD-PARTY index 3b831d5..01a8477 100644 --- a/THIRD-PARTY +++ b/THIRD-PARTY @@ -832,7 +832,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The following npm package may be included in this product: - - @aws-sdk/core@3.975.1 + - @aws-sdk/core@3.975.3 This package contains the following license: @@ -1042,16 +1042,16 @@ Apache License The following npm packages may be included in this product: - - @aws-sdk/credential-provider-env@3.972.57 + - @aws-sdk/credential-provider-env@3.972.59 - @aws-sdk/credential-provider-ini@3.973.1 - @aws-sdk/credential-provider-node@3.972.67 - @aws-sdk/token-providers@3.1083.0 - - @aws-sdk/types@3.974.0 - - @aws-sdk/xml-builder@3.972.34 + - @aws-sdk/types@3.974.2 + - @aws-sdk/xml-builder@3.972.36 - @smithy/credential-provider-imds@4.4.8 - @smithy/fetch-http-handler@5.6.5 - @smithy/node-http-handler@4.9.8 - - @smithy/signature-v4@5.6.4 + - @smithy/signature-v4@5.6.7 These packages each contain the following license: diff --git a/dist/index.js b/dist/index.js index f3aff87..c69a83d 100644 --- a/dist/index.js +++ b/dist/index.js @@ -32443,27 +32443,27 @@ var require_dist_cjs2 = __commonJS({ formatHeaderValue(header) { switch (header.type) { case "boolean": - return Uint8Array.from([header.value ? 0 : 1]); + return Uint8Array.from([header.value ? HEADER_VALUE_TYPE2.boolTrue : HEADER_VALUE_TYPE2.boolFalse]); case "byte": - return Uint8Array.from([2, header.value]); + return Uint8Array.from([HEADER_VALUE_TYPE2.byte, header.value]); case "short": const shortView = new DataView(new ArrayBuffer(3)); - shortView.setUint8(0, 3); + shortView.setUint8(0, HEADER_VALUE_TYPE2.short); shortView.setInt16(1, header.value, false); return new Uint8Array(shortView.buffer); case "integer": const intView = new DataView(new ArrayBuffer(5)); - intView.setUint8(0, 4); + intView.setUint8(0, HEADER_VALUE_TYPE2.integer); intView.setInt32(1, header.value, false); return new Uint8Array(intView.buffer); case "long": const longBytes = new Uint8Array(9); - longBytes[0] = 5; + longBytes[0] = HEADER_VALUE_TYPE2.long; longBytes.set(header.value.bytes, 1); return longBytes; case "binary": const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); - binView.setUint8(0, 6); + binView.setUint8(0, HEADER_VALUE_TYPE2.byteArray); binView.setUint16(1, header.value.byteLength, false); const binBytes = new Uint8Array(binView.buffer); binBytes.set(header.value, 3); @@ -32471,14 +32471,14 @@ var require_dist_cjs2 = __commonJS({ case "string": const utf8Bytes = fromUtf83(header.value); const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); - strView.setUint8(0, 7); + strView.setUint8(0, HEADER_VALUE_TYPE2.string); strView.setUint16(1, utf8Bytes.byteLength, false); const strBytes = new Uint8Array(strView.buffer); strBytes.set(utf8Bytes, 3); return strBytes; case "timestamp": const tsBytes = new Uint8Array(9); - tsBytes[0] = 8; + tsBytes[0] = HEADER_VALUE_TYPE2.timestamp; tsBytes.set(Int642.fromNumber(header.value.valueOf()).bytes, 1); return tsBytes; case "uuid": @@ -32486,8 +32486,8 @@ var require_dist_cjs2 = __commonJS({ throw new Error(`Invalid UUID received: ${header.value}`); } const uuidBytes = new Uint8Array(17); - uuidBytes[0] = 9; - uuidBytes.set(fromHex2(header.value.replace(/\-/g, "")), 1); + uuidBytes[0] = HEADER_VALUE_TYPE2.uuid; + uuidBytes.set(fromHex2(header.value.replace(/-/g, "")), 1); return uuidBytes; } } @@ -32683,7 +32683,7 @@ ${toHex2(hashedRequest)}`; } } formatDate(now) { - const longDate = iso8601(now).replace(/[\-:]/g, ""); + const longDate = iso8601(now).replace(/[-:]/g, ""); return { longDate, shortDate: longDate.slice(0, 8)