From 930f1c5734f2ff9c5282b704ad4cb956843050c3 Mon Sep 17 00:00:00 2001 From: Oliver Gugger Date: Sat, 27 Apr 2019 22:53:41 +0200 Subject: [PATCH] Fix husky hooks --- libs/templates.js | 178 ++++++++++++++++++++++++++++++++++++++-------- package.json | 2 +- 2 files changed, 148 insertions(+), 32 deletions(-) diff --git a/libs/templates.js b/libs/templates.js index 771b8a0..04d043b 100644 --- a/libs/templates.js +++ b/libs/templates.js @@ -35,6 +35,9 @@ angular.module('app').run(['$templateCache', function($templateCache) { "
  • \n" + " Transaction Creator\n" + "
  • \n" + + "
  • \n" + + " Wallet Import helper\n" + + "
  • \n" + " \n" + " \n" + "
  • \n" + @@ -146,7 +149,7 @@ angular.module('app').run(['$templateCache', function($templateCache) { " \n" + " \n" + " \n" + - " \n" + + " \n" + "\n" + " Cryptography Toolkit\n" + "\n" + @@ -3011,36 +3014,34 @@ angular.module('app').run(['$templateCache', function($templateCache) { " \n" + "
    \n" + " \n" + - "
    \n" + - "
    \n" + - "
    Coin type
    \n" + - " \n" + - "
    Account
    \n" + - " \n" + - "
    Change
    \n" + - " \n" + - "
    Index
    \n" + - " \n" + - "
    \n" + - "
    \n" + - "
    Path
    \n" + - " \n" + - "
    \n" + + "
    \n" + + "
    Coin type
    \n" + + " \n" + + "
    Account
    \n" + + " \n" + + "
    Change
    \n" + + " \n" + + "
    Index
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "
    Path
    \n" + + " \n" + "
    \n" + "
    \n" + "\n" + @@ -3208,6 +3209,7 @@ angular.module('app').run(['$templateCache', function($templateCache) { "
  • Transaction Creator page
  • \n" + "
  • aezeed Cipher Seed Scheme page
  • \n" + "
  • Macaroons page
  • \n" + + "
  • Wallet Import helper page
  • \n" + "\n" + "\n" + "

    \n" + @@ -4040,4 +4042,118 @@ angular.module('app').run(['$templateCache', function($templateCache) { "\n" ); + + $templateCache.put('pages/wallet-import/wallet-import.html', + "

    Import HD wallet into Bitcoin Core

    \n" + + "\n" + + "
    \n" + + "
    \n" + + "

    \n" + + " Explanation\n" + + "

    \n" + + "
    \n" + + "
    \n" + + "
    \n" + + " Currently, there is no easy way to import addresses from a HD seed that has been created by another software into Bitcoin Core.
    \n" + + " This tool helps you do that.\n" + + "
    \n" + + "
    \n" + + "
    \n" + + "\n" + + "

    Import HD wallet

    \n" + + "
    \n" + + "
    \n" + + "\n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + " \n" + + " <-- paste here to import.\n" + + "
    \n" + + "
    \n" + + "\n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + " \n" + + " \n" + + " \n" + + " \n" + + "
    Method
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "\n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "\n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "\n" + + " \n" + + "
    \n" + + " \n" + + "
    \n" + + "
    Import type
    \n" + + " \n" + + "
    Start Path
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "
    Change (_chg_): Start value
    \n" + + " \n" + + "
    End value
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "
    Index (_idx_): Start value
    \n" + + " \n" + + "
    End value
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "\n" + + "
    \n" + + "
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "\n" + + " \n" + + "
    \n" + + "
    \n" + + " \n" + + "
    \n" + + "
    \n" + + "
    \n" + + "
    \n" + + "\n" + ); + }]); diff --git a/package.json b/package.json index 83e5933..52114da 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "release": "rm -rf release && mkdir release && yarn maketargz && cd release && sha256sum -b * > cryptography-toolkit.offline.sum", "sign": "gpg --clearsign release/cryptography-toolkit.offline.sum" }, - "hsuky": { + "husky": { "hooks": { "pre-commit": "yarn browserify && yarn templates" }