@carto/api-client 0.5.6-alpha.1 → 0.5.6-alpha.bundle.3
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 -1
- package/build/api-client.cjs.map +1 -1
- package/build/api-client.js +4 -1
- package/build/api-client.js.map +1 -1
- package/build/worker.global.js +19721 -0
- package/build/worker.global.js.map +1 -0
- package/package.json +4 -1
- package/src/widget-sources/widget-tileset-source.ts +5 -1
package/build/api-client.cjs
CHANGED
|
@@ -7748,7 +7748,7 @@ var WidgetTilesetSource = class extends WidgetSource {
|
|
|
7748
7748
|
}
|
|
7749
7749
|
if (this.props.widgetWorkerUrl) {
|
|
7750
7750
|
this._workerImpl = new Worker(this.props.widgetWorkerUrl, {
|
|
7751
|
-
type:
|
|
7751
|
+
// type: 'module',
|
|
7752
7752
|
name: "cartowidgettileset"
|
|
7753
7753
|
});
|
|
7754
7754
|
} else {
|
|
@@ -7760,6 +7760,9 @@ var WidgetTilesetSource = class extends WidgetSource {
|
|
|
7760
7760
|
}
|
|
7761
7761
|
);
|
|
7762
7762
|
}
|
|
7763
|
+
this._workerImpl.addEventListener("error", (e) => {
|
|
7764
|
+
console.error("widget-tileset-source worker error", e);
|
|
7765
|
+
});
|
|
7763
7766
|
this._workerImpl.postMessage({
|
|
7764
7767
|
method: "init" /* INIT */,
|
|
7765
7768
|
params: [this.props]
|