@fileverse-dev/ddoc 1.8.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -46,6 +46,8 @@ The `DdocProps` interface is a TypeScript interface that defines the properties
46
46
  | `onChange` (optional) | `(changes: JSONContent) => void` | Optional function that gets triggered with the latest content of the editor on every change in the editor |
47
47
  | `onCollaboratorChange` (optional) | `(collaborators?: IDocCollabUsers[] ) => void` | Optional function that gets triggered when a user join or leave the doc during collaboration |
48
48
  | `onError` (optional) | `(errorString: string) => void` | Function to call on error |
49
+ | `setCharacterCount` (optional) | `React.Dispatch<SetStateAction<number>>` | Optional. React Set State function to update Character Count |
50
+ | `setWordCount` (optional) | `React.Dispatch<SetStateAction<number>>` | Optional. React Set State function to update Word Count |
49
51
 
50
52
  ## Data Interface
51
53
 
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "1.8.0",
5
+ "version": "1.8.1",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {