diff --git a/package.json b/package.json index 4baf606e..bb74c2ec 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@nimiq/oasis-api": "^1.1.1", "@nimiq/rpc": "^0.4.1", "@nimiq/style": "^0.8.2", - "@nimiq/utils": "^0.5.2", + "@nimiq/utils": "^0.11.1", "@nimiq/vue-components": "https://github.com/nimiq/vue-components#build/hub", "@opengsn/common": "^2.2.5", "@sentry/vue": "^6.0.0", diff --git a/src/components/CheckoutCard.vue b/src/components/CheckoutCard.vue index c199d8cc..5bb05c76 100644 --- a/src/components/CheckoutCard.vue +++ b/src/components/CheckoutCard.vue @@ -6,12 +6,14 @@ import { Static } from '../lib/StaticStore'; import StatusScreen from './StatusScreen.vue'; import CheckoutServerApi, { GetStateResponse } from '../lib/CheckoutServerApi'; import { PaymentInfoLine } from '@nimiq/vue-components'; -import { ERROR_REQUEST_TIMED_OUT, HISTORY_KEY_SELECTED_CURRENCY } from '../lib/Constants'; +import { ERROR_REQUEST_TIMED_OUT, HISTORY_KEY_SELECTED_CURRENCY, FIAT_API_PROVIDER } from '../lib/Constants'; import { PaymentState } from '../../client/PublicRequestTypes'; export default class CheckoutCard< Parsed extends AvailableParsedPaymentOptions, > extends Vue { + private static readonly FIAT_API_PROVIDER = FIAT_API_PROVIDER; // used in templates of child classes + protected optionTimeout: number = -1; @Prop(Object) protected paymentOptions!: Parsed; diff --git a/src/components/CheckoutCardEthereum.vue b/src/components/CheckoutCardEthereum.vue index 43d3b5d0..8e4b5e5b 100644 --- a/src/components/CheckoutCardEthereum.vue +++ b/src/components/CheckoutCardEthereum.vue @@ -1,5 +1,5 @@