@maptiler/sdk 5.0.0-rc.2 → 5.0.0-rc.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.
@@ -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.3",
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,7 +98,7 @@
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",
@@ -106,15 +107,15 @@
106
107
  "happy-dom": "^20.8.9",
107
108
  "husky": "^8.0.0",
108
109
  "jiti": "^2.4.2",
109
- "lint-staged": "^15.4.3",
110
+ "lint-staged": "^17.6.0",
110
111
  "prettier": "3.5.2",
111
112
  "stats.js": "^0.17.0",
112
113
  "typedoc": "^0.27.6",
113
114
  "typescript": "^5.7.3",
114
115
  "typescript-eslint": "^8.25.0",
115
116
  "vite": "^6.0.7",
116
- "vite-plugin-dts": "^4.5.0",
117
- "vitest": "^3.0.9"
117
+ "vite-plugin-dts": "^5.1.2",
118
+ "vitest": "^5.0.4"
118
119
  },
119
120
  "dependencies": {
120
121
  "@maplibre/maplibre-gl-style-spec": "^26.4.4",