From cbd7cd8c4ce0971cf8554037a1c1fb073cd6db13 Mon Sep 17 00:00:00 2001 From: xLuxy <67131061+xLuxy@users.noreply.github.com> Date: Sat, 15 Jun 2024 07:54:28 +0200 Subject: [PATCH] chore(client, typings): Deprecate watermark stuff --- types/client/index.d.ts | 1 + types/client/package.json | 2 +- types/shared/index.d.ts | 1 + types/shared/package.json | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/types/client/index.d.ts b/types/client/index.d.ts index bba941062..f386508ab 100644 --- a/types/client/index.d.ts +++ b/types/client/index.d.ts @@ -44,6 +44,7 @@ declare module "@altv/client" { export function setDlcClothes(scriptId: number, component: number, drawable: number, texture: number, palette?: number, dlc?: number): void; export function setDlcProps(scriptId: number, component: number, drawable: number, texture: number, dlc?: number): void; export function clearProps(scriptId: number, component: number): void; + /** @deprecated This method will be removed in the next major release. (v17) */ export function setWatermarkPosition(position: altShared.Enums.WatermarkPosition): void; export function copyToClipboard(str: string): void; export function toggleRmlDebugger(state: boolean): void; diff --git a/types/client/package.json b/types/client/package.json index d7fcfdd1a..a3acbbb92 100644 --- a/types/client/package.json +++ b/types/client/package.json @@ -1,6 +1,6 @@ { "name": "@altv/client", - "version": "0.0.37", + "version": "0.0.38", "description": "This package contains the type definitions for the alt:V JS module v2 client types", "types": "index.d.ts", "files": [ diff --git a/types/shared/index.d.ts b/types/shared/index.d.ts index 1eca17521..00de773b1 100644 --- a/types/shared/index.d.ts +++ b/types/shared/index.d.ts @@ -2118,6 +2118,7 @@ declare module "@altv/shared" { } // When changing, update shared/js/enums/watermarkPosition.js aswell + /** @deprecated This method will be removed in the next major release. (v17) */ export enum WatermarkPosition { BOTTOM_RIGHT = 0, TOP_RIGHT = 1, diff --git a/types/shared/package.json b/types/shared/package.json index 14285dd6a..49c0a2f3a 100644 --- a/types/shared/package.json +++ b/types/shared/package.json @@ -1,6 +1,6 @@ { "name": "@altv/shared", - "version": "0.0.17", + "version": "0.0.18", "description": "This package contains the type definitions for the alt:V JS module v2 shared types", "types": "index.d.ts", "files": [