Skip to content

Commit 19c8d8b

Browse files
achou11gmaclennan
andauthored
fix: address breaking change from typebox patch release (#58)
* lockfile diff on initial install * update typebox dep * replace ReadonlyType with ReadonlyObject * update typebox used in lockfile * update semver range for typebox --------- Co-authored-by: Gregor MacLennan <gmaclennan@awana.digital>
1 parent f118c2c commit 19c8d8b

3 files changed

Lines changed: 6 additions & 13 deletions

File tree

package-lock.json

Lines changed: 4 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"smp-noto-glyphs": "^1.0.0-pre.0",
8585
"start-stop-state-machine": "^2.0.0",
8686
"styled-map-package-api": "^5.0.0-pre.4",
87-
"typebox": "^1.0.61",
87+
"typebox": "~1.3.0",
8888
"typed-event-target": "^3.4.0"
8989
},
9090
"bundleDependencies": [

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const MapInfo = T.Object({
9393
mapId: T.String({ description: 'The ID of the map' }),
9494
mapName: T.String({ description: 'The name of the map' }),
9595
estimatedSizeBytes: EstimatedSizeBytes,
96-
bounds: T.ReadonlyType(
96+
bounds: T.ReadonlyObject(
9797
T.Tuple([T.Number(), T.Number(), T.Number(), T.Number()], {
9898
description: 'The bounding box of the map data',
9999
}),

0 commit comments

Comments
 (0)