anchor-link
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -8,1 +8,2 @@ export * from './link'; | ||
export default Link; | ||
export { PlaceholderAuth, PlaceholderName, PlaceholderPermission } from 'eosio-signing-request'; |
@@ -258,3 +258,3 @@ 'use strict'; | ||
window.crypto.getRandomValues(data); | ||
return [2 /*return*/, ecc.PrivateKey.fromBuffer(Buffer.from(data))]; | ||
return [2 /*return*/, ecc.PrivateKey.fromBuffer(Buffer.from(data)).toString()]; | ||
case 1: return [4 /*yield*/, ecc.randomKey()]; | ||
@@ -903,2 +903,20 @@ case 2: return [2 /*return*/, _a.sent()]; | ||
Object.defineProperty(exports, 'PlaceholderAuth', { | ||
enumerable: true, | ||
get: function () { | ||
return esr.PlaceholderAuth; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'PlaceholderName', { | ||
enumerable: true, | ||
get: function () { | ||
return esr.PlaceholderName; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'PlaceholderPermission', { | ||
enumerable: true, | ||
get: function () { | ||
return esr.PlaceholderPermission; | ||
} | ||
}); | ||
exports.CancelError = CancelError; | ||
@@ -905,0 +923,0 @@ exports.IdentityError = IdentityError; |
@@ -7,2 +7,4 @@ export * from './link'; | ||
export default Link; | ||
// convenience re-exports from esr | ||
export { PlaceholderAuth, PlaceholderName, PlaceholderPermission } from 'eosio-signing-request'; | ||
//# sourceMappingURL=index.js.map |
@@ -79,3 +79,3 @@ import { Numeric, Serialize } from 'eosjs'; | ||
window.crypto.getRandomValues(data); | ||
return ecc.PrivateKey.fromBuffer(Buffer.from(data)); | ||
return ecc.PrivateKey.fromBuffer(Buffer.from(data)).toString(); | ||
} | ||
@@ -82,0 +82,0 @@ else { |
{ | ||
"name": "anchor-link", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Library for authenticating and signing transactions using the Anchor Link protocol", | ||
@@ -37,28 +37,28 @@ "license": "MIT", | ||
"pako": "^1.0.10", | ||
"uuid": "^7.0.3", | ||
"ws": "^7.2.3" | ||
"uuid": "^8.0.0", | ||
"ws": "^7.2.5" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-commonjs": "^11.0.2", | ||
"@rollup/plugin-json": "^4.0.2", | ||
"@rollup/plugin-node-resolve": "^7.1.1", | ||
"@rollup/plugin-typescript": "^4.0.0", | ||
"@types/node": "^13.9.8", | ||
"@rollup/plugin-commonjs": "^11.1.0", | ||
"@rollup/plugin-json": "^4.0.3", | ||
"@rollup/plugin-node-resolve": "^7.1.3", | ||
"@rollup/plugin-typescript": "^4.1.1", | ||
"@types/node": "^13.13.4", | ||
"@types/pako": "^1.0.1", | ||
"@types/uuid": "^7.0.2", | ||
"@types/ws": "^7.2.3", | ||
"@types/uuid": "^7.0.3", | ||
"@types/ws": "^7.2.4", | ||
"eosio-abi2ts": "^1.2.2", | ||
"gh-pages": "^2.2.0", | ||
"prettier": "^2.0.2", | ||
"rollup": "^2.3.2", | ||
"prettier": "^2.0.5", | ||
"rollup": "^2.7.5", | ||
"rollup-plugin-node-polyfills": "^0.2.1", | ||
"rollup-plugin-terser": "^5.3.0", | ||
"rollup-plugin-typescript2": "^0.27.0", | ||
"ts-node": "^8.8.1", | ||
"tslint": "^6.1.0", | ||
"ts-node": "^8.9.1", | ||
"tslint": "^6.1.2", | ||
"tslint-config-prettier": "^1.18.0", | ||
"tslint-plugin-prettier": "^2.3.0", | ||
"typedoc": "^0.17.4", | ||
"typedoc": "^0.17.6", | ||
"typescript": "^3.8.3" | ||
} | ||
} |
@@ -63,3 +63,3 @@ # Anchor Link [](https://www.npmjs.com/package/anchor-link)  | ||
const AnchorLink = require('anchor-link') | ||
const AnchorLinkConsoleTransport = require('anchor-link-browser-transport') | ||
const AnchorLinkConsoleTransport = require('anchor-link-console-transport') | ||
``` | ||
@@ -76,3 +76,3 @@ | ||
Now you're ready to create signing requests for EOS main-net (see [options](#options) for how to use it on other networks). | ||
Now you're ready to create signing requests for EOS main-net (see [options](https://greymass.github.io/anchor-link/interfaces/linkoptions.html) for how to use it on other networks). | ||
@@ -79,0 +79,0 @@ ```ts |
@@ -10,1 +10,4 @@ export * from './link' | ||
export default Link | ||
// convenience re-exports from esr | ||
export {PlaceholderAuth, PlaceholderName, PlaceholderPermission} from 'eosio-signing-request' |
@@ -87,3 +87,3 @@ import {Numeric, Serialize} from 'eosjs' | ||
window.crypto.getRandomValues(data) | ||
return ecc.PrivateKey.fromBuffer(Buffer.from(data)) | ||
return ecc.PrivateKey.fromBuffer(Buffer.from(data)).toString() | ||
} else { | ||
@@ -90,0 +90,0 @@ return await ecc.randomKey() |
Sorry, the diff of this file is too big to display
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
1862280
4457
+ Addeduuid@8.3.2(transitive)
- Removeduuid@7.0.3(transitive)
Updateduuid@^8.0.0
Updatedws@^7.2.5