Skip to content

Commit 4574f15

Browse files
committed
Merge branch 'development'
2 parents d2e41dd + 07a66c1 commit 4574f15

5 files changed

Lines changed: 25 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# WProofreader SDK JavaScript Changelog
22

3+
## 1.1.0 – 2024-05-03
4+
5+
* Added basic TypeScript support.
6+
37
## 1.0.2 – 2023-09-29
48

59
* Added examples of WProofreader SDK integration with rich text editors such as CKEditor 4, TinyMCE, Froala, and Quill in Vue.js, React and Angular frameworks.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ npm install @webspellchecker/wproofreader-sdk-js
6262

6363
#### Option С: Using `init` method
6464

65-
Use `init` method to inialize WProofreader in a container. You can specify the other configuration options for the local initialization if needed. Or skip using `configure` method all together and set all the options directly in the `init` method.
65+
Use `init` method to initialize WProofreader in a container. You can specify the other configuration options for the local initialization if needed. Or skip using `configure` method all together and set all the options directly in the `init` method.
6666

6767
```js
6868
WProofreaderSDK.init({
@@ -104,7 +104,7 @@ npm install @webspellchecker/wproofreader-sdk-js
104104
## Features
105105
* AI-powered sentence checker for multilingual spelling, grammar, and style check with enhanced accuracy in 20+ languages, including English, German, and Spanish.
106106
* Flags non-inclusive or profane English terms, suggesting unbiased alternatives.
107-
* Combines spelling autocorrector and autocomplete suggestions for quicker and error-free writing, primarily in English dialects.
107+
* Combines spelling autocorrect and autocomplete suggestions for quicker and error-free writing, primarily in English dialects.
108108
* Ensures data security with on-premise deployment options and allows user-centric customization including theme and language settings.
109109
* Enables the creation of custom dictionaries and industry-specific vocabularies, providing users with more accurate results.
110110
* Complies with WCAG 2.1 and Section 508 standards, featuring an accessible interface with real-time proofreading and keyboard navigation options.

index.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
declare module '@webspellchecker/wproofreader-sdk-js'
2+
3+
declare interface WProofreaderSDK {
4+
init(options: object): Promise<unknown>;
5+
configure(options: object): Promise<void>;
6+
}
7+
8+
declare namespace WEBSPELLCHECKER {
9+
function destroyAll(): void;
10+
function getInstances(): Array<unknown>;
11+
function init(options: object, callbackSuccess: (instance: unknown) => void, callbackError: (error: string) => void): unknown;
12+
function startAutoSearch(): void;
13+
function stopAutoSearch(): void;
14+
}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@webspellchecker/wproofreader-sdk-js",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"description": "WProofreader SDK package to simplify the integration into modern JavaScript applications.",
55
"repository": {
66
"type": "git",
@@ -19,8 +19,10 @@
1919
"license": "Apache-2.0",
2020
"main": "src/wproofreadersdk.js",
2121
"files": [
22-
"src"
22+
"src",
23+
"index.d.ts"
2324
],
25+
"types": "index.d.ts",
2426
"keywords": [
2527
"WProofreader",
2628
"WebSpellChecker",

0 commit comments

Comments
 (0)