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