@oked/receipt-core 0.6.5 → 0.6.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types.d.ts +8 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -6,8 +6,14 @@ export type JsonValue = null | boolean | number | string | JsonValue[] | {
|
|
|
6
6
|
export type Digest = `sha256:${string}`;
|
|
7
7
|
export type ReceiptDecision = "approved" | "denied" | "timed_out";
|
|
8
8
|
export type DeciderKind = "human" | "rule" | "system";
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
/**
|
|
10
|
+
* How the human decider was verified. "channel": the linked account or signed-in
|
|
11
|
+
* session that decided. "device_verified": the OKed iPhone app checked Face ID
|
|
12
|
+
* or the device passcode right before the decision. "passkey": planned.
|
|
13
|
+
*/
|
|
14
|
+
export type Assurance = "none" | "channel" | "device_verified" | "passkey";
|
|
15
|
+
/** Where a human decided. "mobile" is the OKed iPhone app. */
|
|
16
|
+
export type DecisionChannel = "telegram" | "dashboard" | "mobile";
|
|
11
17
|
/** Why a system decider decided. Null for human and rule deciders. */
|
|
12
18
|
export type SystemReason = "timeout" | "classified_safe";
|
|
13
19
|
export type RiskTier = "safe" | "warning" | "review" | "high_stakes";
|