diff --git a/Dockerfile b/Dockerfile index dc78982748..ea41a1aac6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ FROM node:alpine as builder COPY package.json . RUN set -eux \ - && yarn --ignore-engines install + && yarn COPY . . RUN set -eux \ - && yarn --ignore-engines build + && yarn build FROM nginx:alpine as app COPY --from=builder /app/dist/ /usr/share/nginx/html/ diff --git a/src/components/dynamic/TextElement.vue b/src/components/dynamic/TextElement.vue index 61ee2b47a8..867c498523 100644 --- a/src/components/dynamic/TextElement.vue +++ b/src/components/dynamic/TextElement.vue @@ -3,7 +3,7 @@ import { isBech32Address } from '@/libs/utils'; import { useBlockchain, useFormatter } from '@/stores'; import MdEditor from 'md-editor-v3'; import { computed, onMounted, ref } from 'vue'; -import nameMatcha from '@leapwallet/name-matcha' +import { registry } from '@leapwallet/name-matcha'; import { fromBase64, toHex } from '@cosmjs/encoding'; const chainStore = useBlockchain() @@ -43,7 +43,7 @@ const text = computed(() => { const names = ref([] as {name?: string | null, provider?: string}[]) onMounted(() => { - if(isAddress()) nameMatcha.lookupAll(props.value).then(re => { + if(isAddress()) registry.lookupAll(props.value).then(re => { names.value = Object.keys(re).map(key => ({name: re[key], provider: key})).filter( x => x.name) }) }) diff --git a/src/modules/wallet/suggest.vue b/src/modules/wallet/suggest.vue index 818262d546..2f52a644b4 100644 --- a/src/modules/wallet/suggest.vue +++ b/src/modules/wallet/suggest.vue @@ -1,6 +1,5 @@