Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cosmjs/stargate

Package Overview
Dependencies
Maintainers
2
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cosmjs/stargate - npm Package Compare versions

Comparing version 0.32.2 to 0.32.3

2

build/logs.d.ts

@@ -11,3 +11,3 @@ import { Attribute, Event } from "./events";

export declare function parseLogs(input: unknown): readonly Log[];
export declare function parseRawLog(input?: string): readonly Log[];
export declare function parseRawLog(input: string | undefined): readonly Log[];
/**

@@ -14,0 +14,0 @@ * Searches in logs for the first event of the given event type and in that event

@@ -59,3 +59,6 @@ "use strict";

exports.parseLogs = parseLogs;
function parseRawLog(input = "[]") {
function parseRawLog(input) {
// Cosmos SDK >= 0.50 gives us an empty string here. This should be handled like undefined.
if (!input)
return [];
const logsToParse = JSON.parse(input).map(({ events }, i) => ({

@@ -62,0 +65,0 @@ msg_index: i,

{
"name": "@cosmjs/stargate",
"version": "0.32.2",
"version": "0.32.3",
"description": "Utilities for Cosmos SDK 0.40",

@@ -42,9 +42,9 @@ "contributors": [

"@confio/ics23": "^0.6.8",
"@cosmjs/amino": "^0.32.2",
"@cosmjs/encoding": "^0.32.2",
"@cosmjs/math": "^0.32.2",
"@cosmjs/proto-signing": "^0.32.2",
"@cosmjs/stream": "^0.32.2",
"@cosmjs/tendermint-rpc": "^0.32.2",
"@cosmjs/utils": "^0.32.2",
"@cosmjs/amino": "^0.32.3",
"@cosmjs/encoding": "^0.32.3",
"@cosmjs/math": "^0.32.3",
"@cosmjs/proto-signing": "^0.32.3",
"@cosmjs/stream": "^0.32.3",
"@cosmjs/tendermint-rpc": "^0.32.3",
"@cosmjs/utils": "^0.32.3",
"cosmjs-types": "^0.9.0",

@@ -54,3 +54,3 @@ "xstream": "^11.14.0"

"devDependencies": {
"@cosmjs/crypto": "^0.32.2",
"@cosmjs/crypto": "^0.32.3",
"@istanbuljs/nyc-config-typescript": "^1.0.1",

@@ -57,0 +57,0 @@ "@types/eslint-plugin-prettier": "^3",

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