diff --git a/README.md b/README.md index 40cb16f..f40d99c 100644 --- a/README.md +++ b/README.md @@ -21,17 +21,17 @@ ## Installation Add to your `wally.toml`: ```toml -utf8_validate = "ophidiedev/utf8-validate@1.0.1" +utf8_validate = "ophidiedev/utf8-validate@2.0.0" ``` Add to your `pesde.toml`: ```toml -utf8_validate = { name = "ophidiedev/utf8_validate", version = "^1.0.1" } +utf8_validate = { name = "ophidiedev/utf8_validate", version = "^2.0.0" } ``` Add to your `package.json`: ```json -"@rbxts/utf8-validate": "^1.0.1" +"@rbxts/utf8-validate": "^2.0.0" ``` ## Read More diff --git a/package.json b/package.json index 8700aa0..daa0fe2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rbxts/utf8-validate", - "version": "1.0.1", + "version": "2.0.0", "description": "UTF8 validator", "main": "src/init.luau", "types": "src/index.d.ts", diff --git a/pesde.toml b/pesde.toml index 1204f76..e6e73dd 100644 --- a/pesde.toml +++ b/pesde.toml @@ -1,5 +1,5 @@ name = "ophidiedev/utf8_validate" -version = "1.0.1" +version = "2.0.0" authors = ["Ophidie (https://github.com/OphidieDev)"] description = "UTF8 validator" repository = "https://github.com/OphidieDev/utf8-validate" diff --git a/src/index.d.ts b/src/index.d.ts index 60c1ed8..6e4911c 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -4,4 +4,6 @@ * @param input The string to validate * @returns {boolean} Whether or not the string is valid utf8 */ -export function utf8_validate(input: string): boolean; \ No newline at end of file +declare function utf8_validate(input: string): boolean; + +export = utf8_validate \ No newline at end of file diff --git a/wally.toml b/wally.toml index 9027002..4266134 100644 --- a/wally.toml +++ b/wally.toml @@ -2,7 +2,7 @@ name = "ophidiedev/utf8-validate" description = "UTF8 Validator" authors = ["Ophidie <>"] -version = "1.0.1" +version = "2.0.0" license = "MIT" registry = "https://github.com/UpliftGames/wally-index" realm = "shared"