@cosmjs/encoding
Advanced tools
Comparing version 0.32.2 to 0.32.3
@@ -5,5 +5,6 @@ export declare function toUtf8(str: string): Uint8Array; | ||
* | ||
* In lossy mode, the replacement character � is used to substitude invalid | ||
* encodings. By default lossy mode is off and invalid data will lead to exceptions. | ||
* In lossy mode, the [REPLACEMENT CHARACTER](https://en.wikipedia.org/wiki/Specials_(Unicode_block)) | ||
* is used to substitude invalid encodings. | ||
* By default lossy mode is off and invalid data will lead to exceptions. | ||
*/ | ||
export declare function fromUtf8(data: Uint8Array, lossy?: boolean): string; |
@@ -11,4 +11,5 @@ "use strict"; | ||
* | ||
* In lossy mode, the replacement character � is used to substitude invalid | ||
* encodings. By default lossy mode is off and invalid data will lead to exceptions. | ||
* In lossy mode, the [REPLACEMENT CHARACTER](https://en.wikipedia.org/wiki/Specials_(Unicode_block)) | ||
* is used to substitude invalid encodings. | ||
* By default lossy mode is off and invalid data will lead to exceptions. | ||
*/ | ||
@@ -15,0 +16,0 @@ function fromUtf8(data, lossy = false) { |
{ | ||
"name": "@cosmjs/encoding", | ||
"version": "0.32.2", | ||
"version": "0.32.3", | ||
"description": "Encoding helpers for blockchain projects", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22605
277