@insure-os/client 0.0.86 → 0.0.88
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/bundle-sizes.json +11 -11
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +11 -0
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -140,6 +140,7 @@ declare class EnhancedHttpClient {
|
|
|
140
140
|
valid: boolean;
|
|
141
141
|
quote_page_url?: string | null;
|
|
142
142
|
message?: string;
|
|
143
|
+
requires_recalculation?: boolean;
|
|
143
144
|
}>;
|
|
144
145
|
/**
|
|
145
146
|
* Resolve a pending payment transaction. Called by the widget's
|
|
@@ -1119,6 +1120,16 @@ declare class FormStateManager {
|
|
|
1119
1120
|
hasCalculationResponse(): boolean;
|
|
1120
1121
|
getCalculationResult(): CalculationResponse | undefined;
|
|
1121
1122
|
getConsecutiveFailures(): number;
|
|
1123
|
+
/**
|
|
1124
|
+
* Resolve which excess tier to pre-select on checkout. Prefer the
|
|
1125
|
+
* engine's default_excess_id, but only when it actually exists among the
|
|
1126
|
+
* returned calculations — on consolidated/old quotes the persisted
|
|
1127
|
+
* default can reference an excess option that no longer exists, which
|
|
1128
|
+
* would leave the checkout with nothing selected and no payment options
|
|
1129
|
+
* visible. Fall back to the first calculation so an excess is always
|
|
1130
|
+
* pre-selected when calculation data is present.
|
|
1131
|
+
*/
|
|
1132
|
+
private resolveDefaultExcessId;
|
|
1122
1133
|
getSelectedExcessId(): string | null;
|
|
1123
1134
|
setSelectedExcessId(excessId: string | null): void;
|
|
1124
1135
|
getSelectedPaymentOption(): PaymentOption | null;
|