diff options
Diffstat (limited to 'lib/wallet')
-rw-r--r-- | lib/wallet/cryptoApi.ts | 8 | ||||
-rw-r--r-- | lib/wallet/cryptoLib.ts | 2 | ||||
-rw-r--r-- | lib/wallet/helpers.ts | 2 | ||||
-rw-r--r-- | lib/wallet/http.ts | 2 | ||||
-rw-r--r-- | lib/wallet/types.ts | 2 | ||||
-rw-r--r-- | lib/wallet/wxApi.ts | 3 |
6 files changed, 15 insertions, 4 deletions
diff --git a/lib/wallet/cryptoApi.ts b/lib/wallet/cryptoApi.ts index 300b928db..3cbed89c3 100644 --- a/lib/wallet/cryptoApi.ts +++ b/lib/wallet/cryptoApi.ts @@ -15,6 +15,12 @@ */ +/** + * API to access the Taler crypto worker thread. + * @author Florian Dold + */ + + import {PreCoin} from "./types"; import {Reserve} from "./types"; import {Denomination} from "./types"; @@ -90,4 +96,4 @@ export class CryptoApi { rsaUnblind(sig: string, bk: string, pk: string): Promise<string> { return this.doRpc("rsaUnblind", sig, bk, pk); } -}
\ No newline at end of file +} diff --git a/lib/wallet/cryptoLib.ts b/lib/wallet/cryptoLib.ts index 5546dcebe..769cb3356 100644 --- a/lib/wallet/cryptoLib.ts +++ b/lib/wallet/cryptoLib.ts @@ -14,7 +14,6 @@ TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> */ -import {Denomination} from "./types"; /** * Web worker for crypto operations. * @author Florian Dold @@ -28,6 +27,7 @@ import create = chrome.alarms.create; import {Offer} from "./wallet"; import {CoinWithDenom} from "./wallet"; import {CoinPaySig} from "./types"; +import {Denomination} from "./types"; export function main(worker: Worker) { diff --git a/lib/wallet/helpers.ts b/lib/wallet/helpers.ts index a7d164102..477fce33f 100644 --- a/lib/wallet/helpers.ts +++ b/lib/wallet/helpers.ts @@ -18,6 +18,8 @@ /** * Smaller helper functions that do not depend * on the emscripten machinery. + * + * @author Florian Dold */ import {AmountJson} from "./types"; diff --git a/lib/wallet/http.ts b/lib/wallet/http.ts index 3f7244e40..3bc80f40a 100644 --- a/lib/wallet/http.ts +++ b/lib/wallet/http.ts @@ -81,4 +81,4 @@ export class RequestException { constructor(detail) { } -}
\ No newline at end of file +} diff --git a/lib/wallet/types.ts b/lib/wallet/types.ts index a0e22dbca..748df6f4c 100644 --- a/lib/wallet/types.ts +++ b/lib/wallet/types.ts @@ -21,6 +21,8 @@ * are defined in types.ts are intended to be used by components * that do not depend on the whole wallet implementation (which depends on * emscripten). + * + * @author Florian Dold */ import {Checkable} from "./checkable"; diff --git a/lib/wallet/wxApi.ts b/lib/wallet/wxApi.ts index 9871b6e7f..2b69ff82e 100644 --- a/lib/wallet/wxApi.ts +++ b/lib/wallet/wxApi.ts @@ -19,6 +19,7 @@ import {ReserveCreationInfo} from "./types"; /** * Interface to the wallet through WebExtension messaging. + * @author Florian Dold */ @@ -37,4 +38,4 @@ export function getReserveCreationInfo(baseUrl: string, resolve(resp); }); }); -}
\ No newline at end of file +} |