@types/mapbox__mapbox-sdk 0.15.1 → 0.16.0

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.
@@ -8,7 +8,7 @@ This package contains type definitions for @mapbox/mapbox-sdk (https://github.co
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-sdk.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Sat, 27 Jul 2024 21:36:11 GMT
11
+ * Last updated: Sun, 20 Oct 2024 21:07:24 GMT
12
12
  * Dependencies: [@types/geojson](https://npmjs.com/package/@types/geojson), [@types/mapbox-gl](https://npmjs.com/package/@types/mapbox-gl), [@types/node](https://npmjs.com/package/@types/node)
13
13
 
14
14
  # Credits
@@ -1841,7 +1841,7 @@ declare module "@mapbox/mapbox-sdk/services/static" {
1841
1841
  * Get a static map image..
1842
1842
  * @param request
1843
1843
  */
1844
- getStaticImage(request: StaticMapRequest): MapiRequest;
1844
+ getStaticImage(request: StaticMapRequest): MapiRequest<string>;
1845
1845
  }
1846
1846
 
1847
1847
  interface StaticMapRequest {
@@ -1856,6 +1856,7 @@ declare module "@mapbox/mapbox-sdk/services/static" {
1856
1856
  bearing?: number | undefined;
1857
1857
  pitch?: number | undefined;
1858
1858
  }
1859
+ | { bbox: [number, number, number, number] }
1859
1860
  | "auto";
1860
1861
  padding?: string | undefined;
1861
1862
  overlays?: Array<CustomMarkerOverlay | SimpleMarkerOverlay | PathOverlay | GeoJsonOverlay> | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/mapbox__mapbox-sdk",
3
- "version": "0.15.1",
3
+ "version": "0.16.0",
4
4
  "description": "TypeScript definitions for @mapbox/mapbox-sdk",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mapbox__mapbox-sdk",
6
6
  "license": "MIT",
@@ -44,6 +44,6 @@
44
44
  "@types/mapbox-gl": "*",
45
45
  "@types/node": "*"
46
46
  },
47
- "typesPublisherContentHash": "5a057401de7c87d8ca5636e0a1ce1917314edf58db55a57c3d5a6875b3edd95d",
47
+ "typesPublisherContentHash": "e7f7c74c1c820e8a29d5b1729d99296c1874a83b7584371bd39f835816da3506",
48
48
  "typeScriptVersion": "4.8"
49
49
  }