@smithy/smithy-client
Advanced tools
Comparing version 3.1.12 to 3.2.0
@@ -705,2 +705,4 @@ var __defProp = Object.defineProperty; | ||
valueAsDouble = strictParseDouble(value); | ||
} else if (typeof value === "object" && value.tag === 1) { | ||
valueAsDouble = value.value; | ||
} else { | ||
@@ -707,0 +709,0 @@ throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); |
@@ -101,2 +101,5 @@ import { strictParseByte, strictParseDouble, strictParseFloat32, strictParseShort } from "./parse-utils"; | ||
} | ||
else if (typeof value === "object" && value.tag === 1) { | ||
valueAsDouble = value.value; | ||
} | ||
else { | ||
@@ -103,0 +106,0 @@ throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); |
@@ -7,2 +7,4 @@ /** | ||
* | ||
* This is also used by Smithy RPCv2 CBOR as the default serde behavior. | ||
* | ||
* @param obj - to be checked. | ||
@@ -9,0 +11,0 @@ * @returns same object with default serde behavior applied. |
@@ -7,2 +7,4 @@ /** | ||
* | ||
* This is also used by Smithy RPCv2 CBOR as the default serde behavior. | ||
* | ||
* @param obj - to be checked. | ||
@@ -9,0 +11,0 @@ * @returns same object with default serde behavior applied. |
{ | ||
"name": "@smithy/smithy-client", | ||
"version": "3.1.12", | ||
"version": "3.2.0", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168649
4151