@vettly/react 0.1.12 → 0.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
- # @nextauralabs/vettly-react
1
+ # @vettly/react
2
2
 
3
3
  React components for content moderation. Real-time feedback as users type.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install @nextauralabs/vettly-react
8
+ npm install @vettly/react
9
9
  ```
10
10
 
11
11
  ## Quick Start
12
12
 
13
13
  ```tsx
14
- import { ModeratedTextarea } from '@nextauralabs/vettly-react'
15
- import '@nextauralabs/vettly-react/styles.css'
14
+ import { ModeratedTextarea } from '@vettly/react'
15
+ import '@vettly/react/styles.css'
16
16
 
17
17
  function CommentForm() {
18
18
  return (
@@ -61,7 +61,7 @@ function CommentForm() {
61
61
  ### useModeration Hook
62
62
 
63
63
  ```tsx
64
- import { useModeration } from '@nextauralabs/vettly-react'
64
+ import { useModeration } from '@vettly/react'
65
65
 
66
66
  function CustomInput() {
67
67
  const { check, result, isLoading } = useModeration({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vettly/react",
3
- "version": "0.1.12",
3
+ "version": "0.1.13",
4
4
  "description": "Protect your users from harmful content. React components with real-time feedback.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -45,8 +45,7 @@
45
45
  },
46
46
  "homepage": "https://vettly.dev",
47
47
  "publishConfig": {
48
- "access": "public",
49
- "name": "@nextauralabs/vettly-react"
48
+ "access": "public"
50
49
  },
51
50
  "bugs": {
52
51
  "url": "https://github.com/brian-nextaura/vettly-docs/issues"