Socket
Socket
Sign inDemoInstall

@terra-money/terra.js

Package Overview
Dependencies
117
Maintainers
10
Versions
230
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.5 to 3.1.6

8

dist/bundle.js.LICENSE.txt
/*!
* decimal.js v10.4.0
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence
*/
/*!
* The buffer module from node.js, for the browser.

@@ -3,0 +11,0 @@ *

@@ -0,1 +1,23 @@

/*!
* decimal.js v10.4.0
* An arbitrary-precision Decimal type for JavaScript.
* https://github.com/MikeMcl/decimal.js
* Copyright (c) 2022 Michael Mclaughlin <M8ch88l@gmail.com>
* MIT Licence
*/
/*!
* mime-db
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015-2022 Douglas Christopher Wilson
* MIT Licensed
*/
/*!
* mime-types
* Copyright(c) 2014 Jonathan Ong
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */

2

dist/client/lcd/api/TxAPI.js

@@ -292,3 +292,3 @@ "use strict";

TxAPI.prototype.decode = function (encodedTx) {
return core_1.Tx.fromBuffer(Buffer.from(encodedTx, 'base64'));
return core_1.Tx.fromBuffer(Buffer.from(encodedTx, 'base64'), this.lcd.config.isClassic);
};

@@ -295,0 +295,0 @@ /**

/// <reference types="node" />
import { CreateTxOptions } from '../client';
export interface ExtensionOptions extends CreateTxOptions {
waitForConfirmation?: boolean;
purgeQueue?: boolean;
sequence?: number;
accountNumber?: number;
isClassic?: boolean;
}
interface ResponseData {

@@ -11,9 +18,2 @@ name: string;

}
interface Option extends CreateTxOptions {
waitForConfirmation?: boolean;
purgeQueue?: boolean;
sequence?: number;
accountNumber?: number;
isClassic?: boolean;
}
interface SignBytesOption {

@@ -104,3 +104,3 @@ bytes: Buffer;

*/
sign(options: Option): number;
sign(options: ExtensionOptions): number;
/**

@@ -134,4 +134,4 @@ * Request for signing bytes

*/
post(options: Option): number;
post(options: ExtensionOptions): number;
}
export {};

@@ -34,3 +34,2 @@ "use strict";

}
console.log(txResult.logs[msgIndex].eventsByType['wasm']);
var contractAddress = txResult.logs[msgIndex].eventsByType[eventName][attributeKey][0];

@@ -37,0 +36,0 @@ return contractAddress;

{
"name": "@terra-money/terra.js",
"version": "3.1.5",
"version": "3.1.6",
"description": "The JavaScript SDK for Terra",

@@ -88,3 +88,3 @@ "license": "MIT",

"@terra-money/terra.proto": "^2.1.0",
"axios": "^0.26.1",
"axios": "^0.27.2",
"bech32": "^2.0.0",

@@ -100,4 +100,4 @@ "bip32": "^2.0.6",

"utf-8-validate": "^5.0.5",
"ws": "^7.5.5"
"ws": "^7.5.9"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc