@mapcreator/sdk 1.5.2 → 1.5.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.
@@ -22,6 +22,7 @@ export declare function unitConvert(from: Unit, to: Unit, value: number): number
22
22
  export declare function lerp(value1: number, value2: number, ratio: number): number;
23
23
  export declare function unlerp(min: number, max: number, value: number): number;
24
24
  export declare function clamp(value: number, min: number, max: number): number;
25
+ export declare function unique<T>(input: T[]): Array<T>;
25
26
  export declare function stripQuotes(s: string): string;
26
27
  /**
27
28
  * Fast hash function for non-cryptographic use
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapcreator/sdk",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "engines": {
5
5
  "node": "^24.0.0",
6
6
  "npm": "^11.0.0"