@forgeroute/ui 0.5.8 → 0.5.9

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.
@@ -3012,7 +3012,13 @@ var PaymentSquareBodyComponent = class PaymentSquareBodyComponent {
3012
3012
  readinessCheck: configured((c) => c.readinessCheck()),
3013
3013
  readinessTimeoutMs: configured((c) => c.readinessTimeoutMs()),
3014
3014
  readinessEveryMs: configured((c) => c.readinessEveryMs()),
3015
- offlineOverride: configured((c) => c.offlineOverride())
3015
+ offlineOverride: computed(() => {
3016
+ try {
3017
+ return this.config().offlineOverride();
3018
+ } catch {
3019
+ return false;
3020
+ }
3021
+ })
3016
3022
  };
3017
3023
  const protection = createPaymentProtection(inputs, {
3018
3024
  amount: () => this.ctx().amount,