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

@iota/converter

Package Overview
Dependencies
Maintainers
5
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@iota/converter - npm Package Compare versions

Comparing version 1.0.0-beta.96000eb5 to 1.0.0-beta.a1883550

2

out/src/trits.js

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

function trytes(trits) {
if (!(trits instanceof Int8Array)) {
if (!(trits instanceof Int8Array) && !Array.isArray(trits)) {
throw new Error(errors.INVALID_TRITS);

@@ -95,0 +95,0 @@ }

{
"name": "@iota/converter",
"version": "1.0.0-beta.96000eb5",
"version": "1.0.0-beta.a1883550",
"description": "Convert values & trytes to trits and back",

@@ -5,0 +5,0 @@ "main": "./out/src/index.js",

@@ -96,3 +96,3 @@ import * as errors from './errors'

export function trytes(trits: Int8Array): string {
if (!(trits instanceof Int8Array)) {
if (!(trits instanceof Int8Array) && !Array.isArray(trits)) {
throw new Error(errors.INVALID_TRITS)

@@ -99,0 +99,0 @@ }

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