@smithy/core 3.20.0 → 3.20.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.
@@ -958,6 +958,9 @@ class CborShapeDeserializer extends protocols.SerdeContext {
958
958
  newObject.$unknown = [k, value[k]];
959
959
  }
960
960
  }
961
+ else if (value instanceof serde.NumericValue) {
962
+ return value;
963
+ }
961
964
  return newObject;
962
965
  }
963
966
  else {
@@ -1,6 +1,7 @@
1
1
  import { SerdeContext } from "@smithy/core/protocols";
2
2
  import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { _parseEpochTimestamp, generateIdempotencyToken } from "@smithy/core/serde";
4
+ import { NumericValue } from "@smithy/core/serde";
4
5
  import { fromBase64 } from "@smithy/util-base64";
5
6
  import { cbor } from "./cbor";
6
7
  import { dateToTag } from "./parseCborBody";
@@ -182,6 +183,9 @@ export class CborShapeDeserializer extends SerdeContext {
182
183
  newObject.$unknown = [k, value[k]];
183
184
  }
184
185
  }
186
+ else if (value instanceof NumericValue) {
187
+ return value;
188
+ }
185
189
  return newObject;
186
190
  }
187
191
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smithy/core",
3
- "version": "3.20.0",
3
+ "version": "3.20.1",
4
4
  "scripts": {
5
5
  "build": "yarn lint && concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
6
6
  "build:cjs": "node ../../scripts/inline core",
@@ -125,7 +125,7 @@
125
125
  "concurrently": "7.0.0",
126
126
  "downlevel-dts": "0.10.1",
127
127
  "json-bigint": "^1.0.0",
128
- "rimraf": "3.0.2",
128
+ "rimraf": "5.0.10",
129
129
  "typedoc": "0.23.23"
130
130
  },
131
131
  "typedoc": {