@forgeroute/ui 0.5.4 → 0.5.6

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.
@@ -3011,7 +3011,13 @@ var PaymentSquareBodyComponent = class PaymentSquareBodyComponent {
3011
3011
  readinessCheck: configured((c) => c.readinessCheck()),
3012
3012
  readinessTimeoutMs: configured((c) => c.readinessTimeoutMs()),
3013
3013
  readinessEveryMs: configured((c) => c.readinessEveryMs()),
3014
- offlineOverride: configured((c) => c.offlineOverride())
3014
+ offlineOverride: computed(() => {
3015
+ try {
3016
+ return this.config().offlineOverride();
3017
+ } catch {
3018
+ return false;
3019
+ }
3020
+ })
3015
3021
  };
3016
3022
  const protection = createPaymentProtection(inputs, {
3017
3023
  amount: () => this.ctx().amount,
@@ -3348,7 +3354,6 @@ var PaymentSquareBodyComponent = class PaymentSquareBodyComponent {
3348
3354
  this.doneAmount = paid.amount;
3349
3355
  this.doneMethod = paid.paymentMethod;
3350
3356
  ctx.report("paid", { result: paid });
3351
- ctx.announce(this.labels.t("paymentAttempt.succeededAfterCheck"));
3352
3357
  this.done.set(true);
3353
3358
  ctx.setBusy(false);
3354
3359
  ctx.complete(paid);