@cofhe/react 0.0.0-beta-20251127110733 → 0.0.0-beta-20260209105203

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
@@ -80,6 +80,7 @@ function CustomComponent() {
80
80
  Advanced input component with integrated features:
81
81
 
82
82
  ### Features
83
+
83
84
  - ✅ **Type Selection Dropdown** - Choose from uint8, uint16, uint32, uint64, uint128, bool, address
84
85
  - ✅ **Real-time Input Validation** - Validates input against selected FHE type
85
86
  - ✅ **Progress Tracking** - Shows encryption steps with progress bar
@@ -119,12 +120,12 @@ Hook for custom encryption workflows with progress tracking:
119
120
 
120
121
  ```tsx
121
122
  const {
122
- onEncryptInput, // (type, value) => Promise<encrypted>
123
- isEncryptingInput, // boolean - encryption in progress
124
- encryptionStep, // Current step: 'fetchKeys' | 'pack' | 'prove' | 'verify' | 'done'
125
- encryptionProgress, // Progress percentage (0-100)
126
- encryptionProgressLabel, // Human-readable progress label
127
- inputEncryptionDisabled, // boolean - whether encryption is disabled
123
+ onEncryptInput, // (type, value) => Promise<encrypted>
124
+ isEncryptingInput, // boolean - encryption in progress
125
+ encryptionStep, // Current step: 'fetchKeys' | 'pack' | 'prove' | 'verify' | 'done'
126
+ encryptionProgress, // Progress percentage (0-100)
127
+ encryptionProgressLabel, // Human-readable progress label
128
+ inputEncryptionDisabled, // boolean - whether encryption is disabled
128
129
  } = useEncryptInput();
129
130
  ```
130
131
 
@@ -141,16 +142,18 @@ If you're using Tailwind CSS in your project, the component classes will work au
141
142
  ## Dependencies
142
143
 
143
144
  ### Required Peer Dependencies
145
+
144
146
  - `@mui/icons-material` ^5.0.0
145
- - `@mui/material` ^5.0.0
147
+ - `@mui/material` ^5.0.0
146
148
  - `react` ^16.8.0 || ^17.0.0 || ^18.0.0
147
149
  - `react-dom` ^16.8.0 || ^17.0.0 || ^18.0.0
148
150
 
149
151
  ### CoFHE SDK Dependencies
152
+
150
153
  - `@cofhe/sdk/web` - Web-specific CoFHE SDK
151
154
  - `@cofhe/sdk/adapters` - Provider adapters
152
155
  - `@cofhe/sdk/chains` - Chain configurations
153
156
 
154
157
  ## Example
155
158
 
156
- See the complete example application in the `/example` directory of this repository for interactive demonstrations of all features.
159
+ See the complete example application in the `/example` directory of this repository for interactive demonstrations of all features.