Skip to content

Commit

Permalink
chore(client, typings): Deprecate watermark stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Jun 15, 2024
1 parent 028d7e1 commit cbd7cd8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions types/client/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion types/client/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down
1 change: 1 addition & 0 deletions types/shared/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion types/shared/package.json
Original file line number Diff line number Diff line change
@@ -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": [
Expand Down

0 comments on commit cbd7cd8

Please sign in to comment.