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

@rosen-chains/cardano

Package Overview
Dependencies
Maintainers
0
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rosen-chains/cardano - npm Package Compare versions

Comparing version 9.0.1 to 9.0.2-ece87587

16

CHANGELOG.md
# @rosen-chains/cardano
## 0.0.0-ece87587
### Patch Changes
- Updated dependencies
- @rosen-chains/abstract-chain@0.0.0-ece87587
## 9.0.2
### Patch Changes
- improve logs
- update rosen-extractor version
- Updated dependencies
- @rosen-chains/abstract-chain@9.0.2
## 9.0.1

@@ -4,0 +20,0 @@

17

lib/CardanoChain.ts

@@ -498,2 +498,5 @@ import * as CardanoWasm from '@emurgo/cardano-serialization-lib-nodejs';

if (ttl && ttl < (await this.network.currentSlot())) {
this.logger.info(
`Tx [${transaction.txId}] is invalid: ttl [${ttl}] is expired`
);
return {

@@ -512,3 +515,3 @@ isValid: false,

if (!(await this.network.isBoxUnspentAndValid(boxId))) {
this.logger.debug(
this.logger.info(
`Tx [${transaction.txId}] is invalid due to spending invalid input box [${boxId}] at index [${i}]`

@@ -568,4 +571,4 @@ );

) {
this.logger.debug(
`Tx [${transaction.txId}] invalid: Transaction fee [${tx
this.logger.warn(
`Tx [${transaction.txId}] is not verified: Transaction fee [${tx
.body()

@@ -592,3 +595,5 @@ .fee()

if (tx.auxiliary_data()) {
this.logger.debug(`Tx [${transaction.txId}] invalid: Contains metadata`);
this.logger.warn(
`Tx [${transaction.txId}] is not verified: Contains metadata`
);
return false;

@@ -601,4 +606,4 @@ }

if (changeBox.address().to_bech32() !== this.configs.addresses.lock) {
this.logger.debug(
`Tx [${transaction.txId}] invalid: Change box address is wrong`
this.logger.warn(
`Tx [${transaction.txId}] is not verified: Change box address is wrong`
);

@@ -605,0 +610,0 @@ return false;

{
"name": "@rosen-chains/cardano",
"version": "9.0.1",
"version": "9.0.2-ece87587",
"description": "this project contains cardano chain for Rosen-bridge",

@@ -25,6 +25,6 @@ "main": "dist/lib/index.js",

"@rosen-bridge/abstract-logger": "^1.0.0",
"@rosen-bridge/rosen-extractor": "^6.1.1",
"@rosen-bridge/rosen-extractor": "^6.2.0",
"@rosen-bridge/json-bigint": "^0.1.0",
"@rosen-bridge/tokens": "^1.2.1",
"@rosen-chains/abstract-chain": "^9.0.1",
"@rosen-chains/abstract-chain": "9.0.2-ece87587",
"bech32": "^2.0.0"

@@ -31,0 +31,0 @@ },

@@ -131,2 +131,3 @@ import { randomBytes } from 'crypto';

export const manualTxConfirmation = 11;
export const arbitraryTxConfirmation = 12;
export const rwtId =

@@ -151,2 +152,3 @@ '9410db5b39388c6b515160e7248346d7ec63d5457292326da12a26cc02efb526';

manual: manualTxConfirmation,
arbitrary: arbitraryTxConfirmation,
},

@@ -153,0 +155,0 @@ aggregatedPublicKey:

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

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