@maptiler/sdk 5.0.0-rc.2 → 5.0.0-rc.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.
@@ -1 +1,2 @@
1
1
  export declare function orderObjectKeys<T extends Record<string, unknown>>(obj?: T): T;
2
+ export declare function omit<T extends object, K extends keyof T>(obj: T, keys: readonly K[]): Omit<T, K>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maptiler/sdk",
3
- "version": "5.0.0-rc.2",
3
+ "version": "5.0.0-rc.4",
4
4
  "description": "The Javascript & TypeScript map SDK tailored for MapTiler Cloud",
5
5
  "author": "MapTiler",
6
6
  "module": "dist/maptiler-sdk.mjs",
@@ -61,6 +61,7 @@
61
61
  },
62
62
  "scripts": {
63
63
  "prepare": "husky",
64
+ "prepack": "npm run build",
64
65
  "doc": "rm -rf docs/* && typedoc --out docs && cp -r images docs/",
65
66
  "ncu": "npx npm-check-updates",
66
67
  "lint": "tsc --noEmit && eslint src",
@@ -97,29 +98,29 @@
97
98
  "@types/stats.js": "^0.17.4",
98
99
  "@types/uuid": "^10.0.0",
99
100
  "@types/xmldom": "^0.1.31",
100
- "@vitest/web-worker": "^3.0.9",
101
+ "@vitest/web-worker": "^5.0.4",
101
102
  "@xmldom/xmldom": "^0.8.10",
102
103
  "concurrently": "^9.1.2",
103
104
  "eslint": "^9.21.0",
104
105
  "eslint-config-prettier": "^10.0.2",
106
+ "eslint-plugin-compat": "^6.1.0",
105
107
  "eslint-plugin-prettier": "^5.2.3",
106
108
  "happy-dom": "^20.8.9",
107
109
  "husky": "^8.0.0",
108
110
  "jiti": "^2.4.2",
109
- "lint-staged": "^15.4.3",
111
+ "lint-staged": "^17.6.0",
110
112
  "prettier": "3.5.2",
111
113
  "stats.js": "^0.17.0",
112
114
  "typedoc": "^0.27.6",
113
115
  "typescript": "^5.7.3",
114
116
  "typescript-eslint": "^8.25.0",
115
117
  "vite": "^6.0.7",
116
- "vite-plugin-dts": "^4.5.0",
117
- "vitest": "^3.0.9"
118
+ "vite-plugin-dts": "^5.1.2",
119
+ "vitest": "^5.0.4"
118
120
  },
119
121
  "dependencies": {
120
122
  "@maplibre/maplibre-gl-style-spec": "^26.4.4",
121
123
  "@maptiler/client": "^3.1.0",
122
- "eslint-plugin-compat": "^6.1.0",
123
124
  "events": "^3.3.0",
124
125
  "gl-matrix": "^3.4.4",
125
126
  "js-base64": "^3.7.7",