diff --git a/package-lock.json b/package-lock.json index 3354f14..5b6f840 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "smp-noto-glyphs": "^1.0.0-pre.0", "start-stop-state-machine": "^2.0.0", "styled-map-package-api": "^5.0.0-pre.4", - "typebox": "^1.0.61", + "typebox": "~1.3.0", "typed-event-target": "^3.4.0" }, "devDependencies": { @@ -6182,9 +6182,9 @@ } }, "node_modules/typebox": { - "version": "1.0.61", - "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.0.61.tgz", - "integrity": "sha512-5KeeL5QoPBoYm8Z7tGR1Pw9FjWA75MLhVuiSMCRgtgTg/d2+kTvolFddhOUua9FxpIaqXznFPZcc3sl6cEpafw==", + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.6.tgz", + "integrity": "sha512-Sc8RA0NCMEFmApHNU9ZMzqcpQj46She44J8ffpLM/bdhLNUZKq7DJumcLcsFx1gRmDfQPgCgOmFFJ7rcnfWNyA==", "license": "MIT" }, "node_modules/typed-event-target": { @@ -6774,13 +6774,6 @@ "funding": { "url": "https://github.com/sponsors/sindresorhus" } - }, - "stubs/empty-fetch": { - "extraneous": true - }, - "stubs/empty-fetch-stub": { - "version": "1.0.0", - "extraneous": true } } } diff --git a/package.json b/package.json index 79a42ee..e4180b8 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "smp-noto-glyphs": "^1.0.0-pre.0", "start-stop-state-machine": "^2.0.0", "styled-map-package-api": "^5.0.0-pre.4", - "typebox": "^1.0.61", + "typebox": "~1.3.0", "typed-event-target": "^3.4.0" }, "bundleDependencies": [ diff --git a/src/types.ts b/src/types.ts index 020670b..4e3afd6 100644 --- a/src/types.ts +++ b/src/types.ts @@ -93,7 +93,7 @@ const MapInfo = T.Object({ mapId: T.String({ description: 'The ID of the map' }), mapName: T.String({ description: 'The name of the map' }), estimatedSizeBytes: EstimatedSizeBytes, - bounds: T.ReadonlyType( + bounds: T.ReadonlyObject( T.Tuple([T.Number(), T.Number(), T.Number(), T.Number()], { description: 'The bounding box of the map data', }),