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

edge-core-js

Package Overview
Dependencies
Maintainers
5
Versions
292
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

edge-core-js - npm Package Compare versions

Comparing version 0.9.12 to 0.9.13

4

CHANGELOG.md
# edge-core-js
## 0.9.13
* Pass options to `EdgeCurrencyPlugin.createPrivateKeys`.
## 0.9.12

@@ -4,0 +8,0 @@

2

package.json
{
"name": "edge-core-js",
"version": "0.9.12",
"version": "0.9.13",
"description": "Edge account & wallet management library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -354,4 +354,9 @@ // @flow

export type EdgeCreateCurrencyWalletOptions = {
fiatCurrencyCode?: string,
name?: string,
fiatCurrencyCode?: string,
// Used to tell the currency plugin what keys to create:
keyOptions?: EdgeCreatePrivateKeyOptions,
// Used to copy wallet keys between accounts:
keys?: {}

@@ -777,6 +782,17 @@ }

export type EdgeBitcoinPrivateKeyOptions = {
format?: string,
coinType?: number,
account?: number
}
export type EdgeCreatePrivateKeyOptions = {} | EdgeBitcoinPrivateKeyOptions
export type EdgeCurrencyPlugin = {
+pluginName: string,
+currencyInfo: EdgeCurrencyInfo,
createPrivateKey(walletType: string): Object,
createPrivateKey(
walletType: string,
opts?: EdgeCreatePrivateKeyOptions
): Object,
derivePublicKey(walletInfo: EdgeWalletInfo): Object,

@@ -783,0 +799,0 @@ makeEngine(

@@ -489,3 +489,3 @@ // @flow

const plugin = getCurrencyPlugin(ai.props.output.currency.plugins, type)
const keys = opts.keys || plugin.createPrivateKey(type)
const keys = opts.keys || plugin.createPrivateKey(type, opts.keyOptions)
const walletInfo = makeStorageKeyInfo(ai, type, keys)

@@ -492,0 +492,0 @@ const kit = makeKeysKit(ai, login, fixWalletInfo(walletInfo))

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 too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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