@burstjs/crypto
Advanced tools
Comparing version 0.0.11 to 0.0.12
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
145
0
370043
7
3302
+ Added@burstjs/util@^0.0.12
+ Added@burstjs/util@0.0.12(transitive)