- typo fix
This commit is contained in:
parent
1b91d87f4f
commit
ccd289904d
@ -96,7 +96,7 @@ export interface ChallengeFeedbackBankTransferRequired {
|
||||
state: ChallengeFeedbackStatus.IbanInstructions;
|
||||
|
||||
/**
|
||||
* Amount that should be transfered for a successful authentication.
|
||||
* Amount that should be transferred for a successful authentication.
|
||||
*/
|
||||
challenge_amount: AmountString;
|
||||
|
||||
|
@ -799,7 +799,7 @@ async function downloadPolicy(
|
||||
throw Error("invalid state");
|
||||
}
|
||||
let policyDownloadResult: PolicyDownloadResult | undefined = undefined;
|
||||
// FIXME: Do this concurrently/asynchronously so that one slow provider doens't block us.
|
||||
// FIXME: Do this concurrently/asynchronously so that one slow provider doesn't block us.
|
||||
for (const prov of state.selected_version.providers) {
|
||||
const res = await downloadPolicyFromProvider(state, prov.url, prov.version);
|
||||
if (res) {
|
||||
@ -1946,7 +1946,7 @@ export async function reduceAction(
|
||||
*
|
||||
* Returns an empty object if provider information is complete.
|
||||
*
|
||||
* FIXME: Also pass a cancelation token.
|
||||
* FIXME: Also pass a cancellation token.
|
||||
*/
|
||||
export async function completeProviderStatus(
|
||||
providerMap: AuthenticationProviderStatusMap,
|
||||
|
@ -52,7 +52,7 @@ bundle ui-dev
|
||||
if [ "WATCH" == "$1" ]; then
|
||||
|
||||
echo watch mode
|
||||
echo Writting any file in the src directory will trigger a browser reload.
|
||||
echo Writing any file in the src directory will trigger a browser reload.
|
||||
echo Be sure that the watcher server is running.
|
||||
echo ./watch/serve.sh
|
||||
inotifywait -e close_write -r src -q -m | while read line; do
|
||||
|
@ -57,7 +57,7 @@ export function AuthMethodTotpSetup({
|
||||
const errors = !name
|
||||
? "The TOTP name is missing"
|
||||
: !testCodeMatches
|
||||
? "The test code doesnt match"
|
||||
? "The test code doesn't match"
|
||||
: undefined;
|
||||
function goNextIfNoErrors(): void {
|
||||
if (!errors) addTotpAuth();
|
||||
|
@ -1294,7 +1294,7 @@ export default class BTree<K = any, V = any>
|
||||
/**
|
||||
* Scans and potentially modifies values for a subsequence of keys.
|
||||
* Note: the callback `onFound` should ideally be a pure function.
|
||||
* Specfically, it must not insert items, call clone(), or change
|
||||
* Specifically, it must not insert items, call clone(), or change
|
||||
* the collection except via return value; out-of-band editing may
|
||||
* cause an exception or may cause incorrect data to be sent to
|
||||
* the callback (duplicate or missed items). It must not cause a
|
||||
|
@ -260,7 +260,7 @@ namespace CancellationToken {
|
||||
cancel(reason?: any): void;
|
||||
|
||||
/**
|
||||
* Dipose of the token and this source and release memory.
|
||||
* Dispose of the token and this source and release memory.
|
||||
*/
|
||||
dispose(): void;
|
||||
}
|
||||
|
@ -560,7 +560,7 @@ export async function csUnblind(
|
||||
* @param hm message signed
|
||||
* @param csSig unblinded signature
|
||||
* @param csPub denomination publick key
|
||||
* @returns true if valid, false if unvalid
|
||||
* @returns true if valid, false if invalid
|
||||
*/
|
||||
export async function csVerify(
|
||||
hm: Uint8Array,
|
||||
@ -679,8 +679,7 @@ export function hashDenomPub(pub: DenominationPubKey): Uint8Array {
|
||||
return nacl.hash(uint8ArrayBuf);
|
||||
} else {
|
||||
throw Error(
|
||||
`unsupported cipher (${
|
||||
(pub as DenominationPubKey).cipher
|
||||
`unsupported cipher (${(pub as DenominationPubKey).cipher
|
||||
}), unable to hash`,
|
||||
);
|
||||
}
|
||||
|
@ -444,7 +444,7 @@ function setCoin(config: Configuration, c: CoinConfig) {
|
||||
}
|
||||
|
||||
/**
|
||||
* Send an HTTP request until it suceeds or the process dies.
|
||||
* Send an HTTP request until it succeeds or the process dies.
|
||||
*/
|
||||
export async function pingProc(
|
||||
proc: ProcessWrapper | undefined,
|
||||
@ -1917,10 +1917,8 @@ export class WalletCli {
|
||||
const resp = await sh(
|
||||
self.globalTestState,
|
||||
`wallet-${self.name}`,
|
||||
`taler-wallet-cli ${
|
||||
self.timetravelArg ?? ""
|
||||
} --no-throttle -LTRACE --wallet-db '${
|
||||
self.dbfile
|
||||
`taler-wallet-cli ${self.timetravelArg ?? ""
|
||||
} --no-throttle -LTRACE --wallet-db '${self.dbfile
|
||||
}' api '${op}' ${shellWrap(JSON.stringify(payload))}`,
|
||||
);
|
||||
console.log("--- wallet core response ---");
|
||||
|
@ -1227,7 +1227,7 @@ export interface PurchaseRecord {
|
||||
* Timestamp of the first time that sending a payment to the merchant
|
||||
* for this purchase was successful.
|
||||
*
|
||||
* FIXME: Does this need to be a timestamp, doensn't boolean suffice?
|
||||
* FIXME: Does this need to be a timestamp, doesn't boolean suffice?
|
||||
*/
|
||||
timestampFirstSuccessfulPay: TalerProtocolTimestamp | undefined;
|
||||
|
||||
|
@ -82,7 +82,7 @@ describe("Refund CTA states", () => {
|
||||
name: "the merchant name",
|
||||
},
|
||||
orderId: "orderId1",
|
||||
summary: "the sumary",
|
||||
summary: "the summary",
|
||||
},
|
||||
} as PrepareRefundResult as any),
|
||||
applyRefund: async () => ({}),
|
||||
@ -131,7 +131,7 @@ describe("Refund CTA states", () => {
|
||||
name: "the merchant name",
|
||||
},
|
||||
orderId: "orderId1",
|
||||
summary: "the sumary",
|
||||
summary: "the summary",
|
||||
},
|
||||
} as PrepareRefundResult as any),
|
||||
applyRefund: async () => ({}),
|
||||
@ -207,7 +207,7 @@ describe("Refund CTA states", () => {
|
||||
name: "the merchant name",
|
||||
},
|
||||
orderId: "orderId1",
|
||||
summary: "the sumary",
|
||||
summary: "the summary",
|
||||
},
|
||||
} as PrepareRefundResult as any),
|
||||
applyRefund: async () => ({}),
|
||||
|
@ -57,7 +57,7 @@ export interface WalletVersion {
|
||||
*/
|
||||
export interface PlatformAPI {
|
||||
/**
|
||||
* Garantee that the
|
||||
* Guarantee that the service workers don't die
|
||||
*/
|
||||
keepAlive(cb: VoidFunction): void;
|
||||
/**
|
||||
|
@ -70,8 +70,8 @@ import { platform, MessageFromBackend } from "./platform/api.js";
|
||||
|
||||
/**
|
||||
*
|
||||
* @autor Florian Dold
|
||||
* @autor sebasjm
|
||||
* @author Florian Dold
|
||||
* @author sebasjm
|
||||
*/
|
||||
|
||||
export interface ExtendedPermissionsResponse {
|
||||
|
Loading…
Reference in New Issue
Block a user