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

@burstjs/crypto

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@burstjs/crypto - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

README.md.hbs

4

out/src/getAccountIdFromBurstAddress.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const burstUtil_1 = require("./burstUtil");
const util_1 = require("@burstjs/util");
exports.getAccountIdFromBurstAddress = (address) => {
return burstUtil_1.BurstUtil.decode(address);
return util_1.decode(address);
};
//# sourceMappingURL=getAccountIdFromBurstAddress.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const burstUtil_1 = require("./burstUtil");
const util_1 = require("@burstjs/util");
exports.getBurstAddressFromAccountId = (id) => {
return burstUtil_1.BurstUtil.encode(id);
return util_1.encode(id);
};
//# sourceMappingURL=getBurstAddressFromAccountId.js.map

@@ -15,3 +15,2 @@ export * from './crypto';

export * from './passPhraseGenerator';
export * from './burstUtil';
export * from './verifySignature';

@@ -18,0 +17,0 @@ export * from './generateSignedTransactionBytes';

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

__export(require("./passPhraseGenerator"));
__export(require("./burstUtil"));
__export(require("./verifySignature"));

@@ -23,0 +22,0 @@ __export(require("./generateSignedTransactionBytes"));

{
"name": "@burstjs/crypto",
"version": "0.0.11",
"version": "0.0.12",
"description": "Cryptographic functions for building Burstcoin apps.",

@@ -39,5 +39,7 @@ "contributors": [

"tsc": "tsc",
"doc": "./node_modules/.bin/esdoc"
"doc": "./node_modules/.bin/esdoc",
"readme": "jsdoc2md --files ./src/*.ts --template ./README.md.hbs --configure ../../jsdoc2md.json > ./README.md"
},
"dependencies": {
"@burstjs/util": "^0.0.12",
"@types/crypto-js": "^3.1.43",

@@ -55,3 +57,3 @@ "@types/node": "^10.12.18",

},
"gitHead": "a48cabadd1f8d1edbc631ea9e78c072a4ff2af0f",
"gitHead": "129b74183755608a5b47cd39f021adbe4ab2029f",
"publishConfig": {

@@ -58,0 +60,0 @@ "access": "public"

@@ -1,2 +0,2 @@

import { BurstUtil } from "./burstUtil"
import { decode } from "@burstjs/util"

@@ -7,3 +7,3 @@ /*

export const getAccountIdFromBurstAddress = (address: string): string => {
return BurstUtil.decode(address);
return decode(address);
}

@@ -1,2 +0,2 @@

import { BurstUtil } from "./burstUtil";
import { encode } from "@burstjs/util";

@@ -7,3 +7,3 @@ /*

export const getBurstAddressFromAccountId = (id: string): string => {
return BurstUtil.encode(id);
return encode(id);
};

@@ -16,3 +16,2 @@ /** @module crypto */

export * from './passPhraseGenerator';
export * from './burstUtil';
export * from './verifySignature';

@@ -19,0 +18,0 @@ export * from './generateSignedTransactionBytes';

@@ -15,5 +15,6 @@ {

"include": [
"./src"
"./src",
"README.md"
],
"extends": "../../tsconfig.json"
}

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