@carto/api-client 0.5.6-alpha.bundle.3 → 0.5.6-alpha.bundle.4

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.
@@ -0,0 +1,2 @@
1
+
2
+ export { }
@@ -19718,4 +19718,4 @@
19718
19718
  });
19719
19719
  });
19720
19720
  })();
19721
- //# sourceMappingURL=worker.global.js.map
19721
+ //# sourceMappingURL=worker-compat.js.map
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.6-alpha.bundle.3",
11
+ "version": "0.5.6-alpha.bundle.4",
12
12
  "license": "MIT",
13
13
  "publishConfig": {
14
14
  "access": "public"
@@ -31,8 +31,8 @@
31
31
  "types": "./build/worker.d.ts",
32
32
  "default": "./build/worker.js"
33
33
  },
34
- "./worker.global": {
35
- "default": "./build/worker.global.js"
34
+ "./worker-compat": {
35
+ "default": "./build/worker-compat.js"
36
36
  }
37
37
  },
38
38
  "browserslist": [
@@ -99,14 +99,13 @@ export class WidgetTilesetSource<
99
99
  return this._workerImpl;
100
100
  }
101
101
 
102
- // For Vite (and perhaps other bundlers) to parse WorkerOptions, it
103
- // must be a static, inline object – duplicated below.
104
102
  if (this.props.widgetWorkerUrl) {
105
103
  this._workerImpl = new Worker(this.props.widgetWorkerUrl, {
106
- // type: 'module',
107
104
  name: 'cartowidgettileset',
108
105
  });
109
106
  } else {
107
+ // For Vite (and perhaps other bundlers) to parse WorkerOptions, it
108
+ // must be a static, inline object – duplicated below.
110
109
  this._workerImpl = new Worker(
111
110
  new URL('@carto/api-client/worker', import.meta.url),
112
111
  {