on master help sign in
fix: remove need.authMnemonic
commit21d372d90e40a0bc2fe2429b2278b27b62b40acf authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateWed 17 Jul 2019, 15:32 (7 years ago) parentcd9ff18
2 files changed−5
src/lib/error.js−1 src/lib/need.js−4
src/lib/error.js−1
@@ -7,7 +7,6 @@ const BRIDGE_ERROR = {
77 MISSING_MNEMONIC: 'no authentication mnemonic found',
88 MISSING_URBIT_WALLET: 'no urbit wallet found',
99 MISSING_POINT: 'no point found',
10− MISSING_AUTH_MNEMONIC: 'no mnemonic found',
1110 MISSING_POINT_DETAILS: 'no details of point found',
1211 INVALID_ROUTE: 'invalid route',
1312 INVALID_NETWORK_TYPE: 'invalid network type',
src/lib/need.js−4
@@ -21,10 +21,6 @@ export const details = needBuilder(() => {
2121 throw new Error(BRIDGE_ERROR.MISSING_POINT_DETAILS);
2222});
2323
24−export const authMnemonic = needBuilder(() => {
25− throw new Error(BRIDGE_ERROR.MISSING_AUTH_MNEMONIC);
26−});
27−
2824export const web3 = needBuilder(() => {
2925 throw new Error(BRIDGE_ERROR.MISSING_WEB3);
3026});