@carto/api-client 0.5.22 → 0.5.23-alpha.fill-data.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.
- package/build/api-client.cjs +4 -0
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.d.cts +15 -1
- package/build/api-client.d.ts +15 -1
- package/build/api-client.js +2 -0
- package/build/api-client.js.map +1 -1
- package/package.json +3 -2
- package/src/fetch-map/fetch-map.ts +2 -2
- package/src/fetch-map/index.ts +5 -1
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"homepage": "https://github.com/CartoDB/carto-api-client#readme",
|
|
9
9
|
"author": "Don McCurdy <donmccurdy@carto.com>",
|
|
10
10
|
"packageManager": "yarn@4.3.1",
|
|
11
|
-
"version": "0.5.
|
|
11
|
+
"version": "0.5.23-alpha.fill-data.0",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"publishConfig": {
|
|
14
14
|
"access": "public"
|
|
@@ -132,5 +132,6 @@
|
|
|
132
132
|
"resolutions": {
|
|
133
133
|
"@carto/api-client": "portal:./",
|
|
134
134
|
"rollup": "^4.20.0"
|
|
135
|
-
}
|
|
135
|
+
},
|
|
136
|
+
"stableVersion": "0.5.22"
|
|
136
137
|
}
|
|
@@ -95,7 +95,7 @@ async function _fetchTilestats(
|
|
|
95
95
|
return true;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
async function fillInMapDatasets(
|
|
98
|
+
export async function fillInMapDatasets(
|
|
99
99
|
{datasets, keplerMapConfig}: {datasets: Dataset[]; keplerMapConfig: any},
|
|
100
100
|
context: _FetchMapContext
|
|
101
101
|
) {
|
|
@@ -106,7 +106,7 @@ async function fillInMapDatasets(
|
|
|
106
106
|
return await Promise.all(promises);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
async function fillInTileStats(
|
|
109
|
+
export async function fillInTileStats(
|
|
110
110
|
{datasets, keplerMapConfig}: {datasets: Dataset[]; keplerMapConfig: any},
|
|
111
111
|
context: _FetchMapContext
|
|
112
112
|
) {
|
package/src/fetch-map/index.ts
CHANGED
|
@@ -3,7 +3,11 @@ export {
|
|
|
3
3
|
applyLayerGroupFilters as _applyLayerGroupFilters,
|
|
4
4
|
} from './basemap-styles.js';
|
|
5
5
|
export {getRasterTileLayerStyleProps as _getRasterTileLayerStyleProps} from './raster-layer.js';
|
|
6
|
-
export {
|
|
6
|
+
export {
|
|
7
|
+
fetchMap,
|
|
8
|
+
fillInMapDatasets as _fillInMapDatasets,
|
|
9
|
+
fillInTileStats as _fillInTileStats,
|
|
10
|
+
} from './fetch-map.js';
|
|
7
11
|
export type {FetchMapOptions, FetchMapResult} from './fetch-map.js';
|
|
8
12
|
export type {
|
|
9
13
|
Basemap,
|