@maptiler/sdk 4.0.2 → 4.0.3-rc.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.
package/dist/tools.d.ts CHANGED
@@ -37,11 +37,11 @@ export declare function isValidGeoJSON<T>(obj: T & {
37
37
  * if there is no error (WebGL is supported), or returns a string with the error message if WebGL2 is
38
38
  * not supported.
39
39
  */
40
- export declare function getWebGLSupportError(canvasContextAttributes?: WebGLContextAttributes): string | null;
40
+ export declare function getWebGLSupportError(): string | null;
41
41
  /**
42
42
  * Display an error message in the Map div if WebGL2 is not supported
43
43
  */
44
- export declare function displayNoWebGlWarning(container: HTMLElement | string, canvasContextAttributes?: WebGLContextAttributes): void;
44
+ export declare function displayNoWebGlWarning(container: HTMLElement | string): void;
45
45
  /**
46
46
  * Display a warning message in the Map div if the WebGL context was lost
47
47
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/sdk",
3
- "version": "4.0.2",
3
+ "version": "4.0.3-rc.1",
4
4
  "description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
5
5
  "author": "MapTiler",
6
6
  "module": "dist/maptiler-sdk.mjs",