@deck.gl/carto 8.8.17 → 8.8.19
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/dist.dev.js +730 -329
- package/dist.min.js +2 -2
- package/package.json +6 -6
- package/typed/api/carto-api-error.d.ts +24 -0
- package/typed/api/carto-api-error.d.ts.map +1 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@deck.gl/carto",
|
|
3
3
|
"description": "CARTO official integration with Deck.gl. Build geospatial applications using CARTO and Deck.gl.",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "8.8.
|
|
5
|
+
"version": "8.8.19",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
8
8
|
},
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@luma.gl/constants": "^8.5.16",
|
|
40
40
|
"@math.gl/web-mercator": "^3.6.2",
|
|
41
41
|
"cartocolor": "^4.0.2",
|
|
42
|
-
"d3-array": "^2.
|
|
43
|
-
"d3-color": "^
|
|
44
|
-
"d3-format": "^
|
|
45
|
-
"d3-scale": "^
|
|
42
|
+
"d3-array": "^3.2.0",
|
|
43
|
+
"d3-color": "^3.1.0",
|
|
44
|
+
"d3-format": "^3.1.0",
|
|
45
|
+
"d3-scale": "^4.0.0",
|
|
46
46
|
"h3-js": "^3.7.0",
|
|
47
47
|
"moment-timezone": "^0.5.33",
|
|
48
48
|
"pbf": "^3.2.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"@deck.gl/layers": "^8.0.0",
|
|
63
63
|
"@loaders.gl/core": "^3.0.0"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "08d96bf264e4b59bf829103df35f38f0825fccc9"
|
|
66
66
|
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { MapType, RequestType } from './maps-api-common';
|
|
2
|
+
export declare type APIErrorContext = {
|
|
3
|
+
requestType: RequestType;
|
|
4
|
+
mapId?: string;
|
|
5
|
+
connection?: string;
|
|
6
|
+
source?: string;
|
|
7
|
+
type?: MapType;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* Custom error for reported errors in CARTO Maps API.
|
|
12
|
+
* Provides useful debugging information in console and context for applications.
|
|
13
|
+
*
|
|
14
|
+
*/
|
|
15
|
+
export declare class CartoAPIError extends Error {
|
|
16
|
+
/** Source error from server */
|
|
17
|
+
error: Error;
|
|
18
|
+
/** Context (API call & parameters) in which error occured */
|
|
19
|
+
errorContext: APIErrorContext;
|
|
20
|
+
/** Response from server */
|
|
21
|
+
response?: Response;
|
|
22
|
+
constructor(error: Error, errorContext: APIErrorContext, response?: Response);
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=carto-api-error.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"carto-api-error.d.ts","sourceRoot":"","sources":["../../src/api/carto-api-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,EAAE,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAEvD,oBAAY,eAAe,GAAG;IAC5B,WAAW,EAAE,WAAW,CAAC;IACzB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,CAAC;AAEF;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACtC,+BAA+B;IAC/B,KAAK,EAAE,KAAK,CAAC;IAEb,6DAA6D;IAC7D,YAAY,EAAE,eAAe,CAAC;IAE9B,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,QAAQ,CAAC;gBAER,KAAK,EAAE,KAAK,EAAE,YAAY,EAAE,eAAe,EAAE,QAAQ,CAAC,EAAE,QAAQ;CAiC7E"}
|