@carto/api-client 0.2.2 → 0.3.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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "repository": "github:CartoDB/carto-api-client",
5
5
  "author": "Don McCurdy <donmccurdy@carto.com>",
6
6
  "packageManager": "yarn@4.3.1",
7
- "version": "0.2.2",
7
+ "version": "0.3.0",
8
8
  "license": "MIT",
9
9
  "publishConfig": {
10
10
  "access": "public",
@@ -51,9 +51,17 @@
51
51
  "README.md",
52
52
  "LICENSE.md"
53
53
  ],
54
+ "dependencies": {
55
+ "@deck.gl/carto": "^9.0.30",
56
+ "@turf/bbox-clip": "^7.1.0",
57
+ "@turf/bbox-polygon": "^7.1.0",
58
+ "@turf/helpers": "^7.1.0",
59
+ "@turf/invariant": "^7.1.0",
60
+ "@turf/union": "^7.1.0",
61
+ "@types/geojson": "^7946.0.14"
62
+ },
54
63
  "devDependencies": {
55
64
  "@deck.gl/aggregation-layers": "^9.0.30",
56
- "@deck.gl/carto": "^9.0.30",
57
65
  "@deck.gl/core": "^9.0.30",
58
66
  "@deck.gl/extensions": "^9.0.30",
59
67
  "@deck.gl/geo-layers": "^9.0.30",
@@ -90,13 +98,5 @@
90
98
  "vite": "^5.2.10",
91
99
  "vitest": "1.6.0",
92
100
  "vue": "^3.4.27"
93
- },
94
- "dependencies": {
95
- "@turf/bbox-clip": "^7.1.0",
96
- "@turf/bbox-polygon": "^7.1.0",
97
- "@turf/helpers": "^7.1.0",
98
- "@turf/invariant": "^7.1.0",
99
- "@turf/union": "^7.1.0",
100
- "@types/geojson": "^7946.0.14"
101
101
  }
102
102
  }
package/src/global.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  /**
2
- * Injected by microbundle. The `@deck.gl/core` checkVersion()
3
- * function will detect globally-defined 'VERSION' variables, and is inlined
4
- * in the client bundle, so the 'VERSION' name should be avoided.
2
+ * Injected by microbundle, with:
3
+ * ```
4
+ * --define __CARTO_API_CLIENT_VERSION=$npm_package_version
5
+ * ```
5
6
  */
6
7
  declare const __CARTO_API_CLIENT_VERSION: string;