New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@harmony-js/crypto

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@harmony-js/crypto - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

0

dist/address.d.ts

@@ -0,0 +0,0 @@ export declare class HarmonyAddress {

4

dist/bech32.d.ts

@@ -7,4 +7,4 @@ /// <reference types="node" />

} | null;
export declare const HRP = "hmy";
export declare const tHRP = "thmy";
export declare const HRP = "one";
export declare const tHRP = "tone";
/**

@@ -11,0 +11,0 @@ * convertBits

@@ -117,4 +117,4 @@ "use strict";

// HRP is the human-readable part of zilliqa bech32 addresses
exports.HRP = 'hmy';
exports.tHRP = 'thmy';
exports.HRP = 'one';
exports.tHRP = 'tone';
/**

@@ -121,0 +121,0 @@ * convertBits

@@ -0,0 +0,0 @@ export declare type Arrayish = string | ArrayLike<number>;

@@ -0,0 +0,0 @@ export declare const UNKNOWN_ERROR = "UNKNOWN_ERROR";

@@ -0,0 +0,0 @@ import hdkey from 'hdkey';

import { Arrayish } from './bytes';
export declare function keccak256(data: Arrayish): string;
//# sourceMappingURL=keccak256.d.ts.map

@@ -0,0 +0,0 @@ import { EncryptOptions, Keystore } from './types';

@@ -0,0 +0,0 @@ import * as bytes from './bytes';

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

@@ -0,0 +0,0 @@ import { Arrayish } from './bytes';

@@ -0,0 +0,0 @@ export declare type KDF = 'pbkdf2' | 'scrypt';

{
"name": "@harmony-js/crypto",
"version": "0.0.23",
"version": "0.0.24",
"description": "crypto libraries for harmony",

@@ -21,3 +21,3 @@ "main": "dist/index.js",

"dependencies": {
"@harmony-js/utils": "0.0.23",
"@harmony-js/utils": "0.0.24",
"aes-js": "^3.1.2",

@@ -34,3 +34,3 @@ "bip39": "^2.5.0",

},
"gitHead": "2b54d4deba2169372508da8f0a1816575e25a47c"
"gitHead": "8e2ed1afe6538258197cc3a69c299020cfcfb679"
}

@@ -124,5 +124,5 @@ import { isAddress } from '@harmony-js/utils';

// HRP is the human-readable part of zilliqa bech32 addresses
export const HRP = 'hmy';
export const tHRP = 'thmy';
// HRP is the human-readable part of Harmony bech32 addresses
export const HRP = 'one';
export const tHRP = 'tone';

@@ -182,10 +182,10 @@ /**

*
* bech32Encodes a canonical 20-byte Ethereum-style address as a bech32 zilliqa
* bech32Encodes a canonical 20-byte Ethereum-style address as a bech32 Harmony
* address.
*
* The expected format is zil1<address><checksum> where address and checksum
* The expected format is one1<address><checksum> where address and checksum
* are the result of bech32 encoding a Buffer containing the address bytes.
*
* @param {string} 20 byte canonical address
* @returns {string} 38 char bech32 bech32Encoded zilliqa address
* @returns {string} 38 char bech32 bech32Encoded Harmony address
*/

@@ -213,3 +213,3 @@ export const toBech32 = (address: string, useHRP: string = HRP): string => {

*
* @param {string} address - a valid Zilliqa bech32 address
* @param {string} address - a valid Harmony bech32 address
* @returns {string} a canonical 20-byte Ethereum-style address

@@ -216,0 +216,0 @@ */

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

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc