one-ewallet-otc-ui 0.0.7 → 0.0.8

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
@@ -99,6 +99,7 @@ function MyComponent() {
99
99
  | `authToken` | `string` | ✅ | - | User authentication token |
100
100
  | `userAddress` | `string` | ✅ | - | User Sui wallet address |
101
101
  | `lang` | `'ZH' \| 'EN'` | ❌ | `'EN'` | Interface language |
102
+ | `channel` | `string` | ❌ | `'RWA'` |Interface channel |
102
103
 
103
104
  ### 4. Using Withdraw Component
104
105
 
@@ -149,6 +150,8 @@ function MyComponent() {
149
150
  | `USDH_DECIMALS` | `number` | ✅ | - | USDH token decimal places |
150
151
  | `onSubmit` | `(withdrawData: any, callback: () => void) => void` | ✅ | - | Withdrawal submit callback function |
151
152
  | `lang` | `'ZH' \| 'EN'` | ❌ | `'EN'` | Interface language |
153
+ | `channel` | `string` | ❌ | `'RWA'` |Interface channel |
154
+
152
155
 
153
156
  ## 📝 Complete Example
154
157
 
@@ -189,6 +192,7 @@ const AppContent = () => {
189
192
  authToken="your-auth-token"
190
193
  userAddress="0x..."
191
194
  lang="EN"
195
+ channel="RWA"
192
196
  >
193
197
  <button>OTC Trading</button>
194
198
  </OtcModal>
@@ -202,6 +206,7 @@ const AppContent = () => {
202
206
  USDH_DECIMALS={9}
203
207
  onSubmit={handleWithdraw}
204
208
  lang="EN"
209
+ channel="RWA"
205
210
  >
206
211
  <button>Withdraw</button>
207
212
  </Withdraw>