@dfinity/nns 0.8.1 → 0.9.0-next-2022-09-28

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
@@ -211,9 +211,9 @@ Represents an amount of tokens.
211
211
 
212
212
  Initialize from a bigint. Bigint are considered e8s.
213
213
 
214
- | Method | Type |
215
- | --------- | ------------------------------------------------------------------------- |
216
- | `fromE8s` | `({ amount, token, }: { amount: bigint; token?: Token; }) => TokenAmount` |
214
+ | Method | Type |
215
+ | --------- | ------------------------------------------------------------------------ |
216
+ | `fromE8s` | `({ amount, token, }: { amount: bigint; token: Token; }) => TokenAmount` |
217
217
 
218
218
  Parameters:
219
219
 
@@ -228,9 +228,9 @@ Initialize from a string. Accepted formats:
228
228
  1'234'567.8901
229
229
  1,234,567.8901
230
230
 
231
- | Method | Type |
232
- | ------------ | --------------------------------------------------------------------------------------------------- |
233
- | `fromString` | `({ amount, token, }: { amount: string; token?: Token; }) => FromStringToTokenError or TokenAmount` |
231
+ | Method | Type |
232
+ | ------------ | -------------------------------------------------------------------------------------------------- |
233
+ | `fromString` | `({ amount, token, }: { amount: string; token: Token; }) => FromStringToTokenError or TokenAmount` |
234
234
 
235
235
  Parameters:
236
236
 
@@ -243,9 +243,9 @@ Initialize from a number.
243
243
 
244
244
  1 integer is considered E8S_PER_TOKEN
245
245
 
246
- | Method | Type |
247
- | ------------ | --------------------------------------------------------------------------------------------------- |
248
- | `fromNumber` | `({ amount, token, }: { amount: number; token?: Token; }) => FromStringToTokenError or TokenAmount` |
246
+ | Method | Type |
247
+ | ------------ | ------------------------------------------------------------------------ |
248
+ | `fromNumber` | `({ amount, token, }: { amount: number; token: Token; }) => TokenAmount` |
249
249
 
250
250
  Parameters:
251
251