Socket
Socket
Sign inDemoInstall

@cosmjs/encoding

Package Overview
Dependencies
Maintainers
2
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmjs/encoding - npm Package Compare versions

Comparing version 0.32.2 to 0.32.3

5

build/utf8.d.ts

@@ -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) {

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc