diff --git a/package-lock.json b/package-lock.json index da3b437..124d1ad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "rawjsonbuilder", - "version": "1.1.7", + "version": "1.1.8", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "rawjsonbuilder", - "version": "1.1.7", + "version": "1.1.8", "license": "MIT", "dependencies": { "minecraft-protocol-chat-parser": "^3.0.2" diff --git a/package.json b/package.json index 1c49153..ac183cf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rawjsonbuilder", - "version": "1.1.7", + "version": "1.1.8", "description": "Minecraft Raw JSON text builder", "main": "./lib/RawJSONBuilder.js", "types": "./lib/interfaces.d.ts", diff --git a/src/interfaces/clickEvent.ts b/src/interfaces/clickEvent.ts index a79dfee..87265cf 100644 --- a/src/interfaces/clickEvent.ts +++ b/src/interfaces/clickEvent.ts @@ -1,7 +1,7 @@ import { IFormatting } from "./formatting"; export interface IClickEvent extends IFormatting { - insertion?: boolean; + insertion?: string; clickEvent?: { action: "open_url" | "open_file" | "run_command" | "suggest_command" | "change_page" | "copy_to_clipboard"; value: string;