@cofhe/react 0.0.0-beta-20260415045854 → 0.0.0-beta-20260417095940

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @cofhe/react
2
2
 
3
- React component and hook for the CoFHE SDK - featuring the advanced FnxEncryptInput component.
3
+ React component and hook for the CoFHE SDK - featuring the advanced CofheEncryptInput component.
4
4
 
5
5
  ## Installation
6
6
 
@@ -30,14 +30,14 @@ function App() {
30
30
  }
31
31
  ```
32
32
 
33
- ### 2. Use the FnxEncryptInput component
33
+ ### 2. Use the CofheEncryptInput component
34
34
 
35
35
  ```tsx
36
- import { FnxEncryptInput, FheTypesList } from '@cofhe/react';
36
+ import { CofheEncryptInput, FheTypesList } from '@cofhe/react';
37
37
 
38
38
  function MyComponent() {
39
39
  return (
40
- <FnxEncryptInput
40
+ <CofheEncryptInput
41
41
  placeholder="Enter value to encrypt..."
42
42
  options={FheTypesList} // Pre-defined FHE types
43
43
  showProgressBar={true}
@@ -75,7 +75,7 @@ function CustomComponent() {
75
75
  }
76
76
  ```
77
77
 
78
- ## FnxEncryptInput Component
78
+ ## CofheEncryptInput Component
79
79
 
80
80
  Advanced input component with integrated features:
81
81
 
@@ -93,7 +93,7 @@ Advanced input component with integrated features:
93
93
  ### Props
94
94
 
95
95
  ```tsx
96
- interface FnxEncryptInputProps {
96
+ interface CofheEncryptInputProps {
97
97
  placeholder?: string;
98
98
  initialValue?: string;
99
99
  options?: FheTypeOption[]; // Use FheTypesList or custom options