-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from InjectiveLabs/feat/nuxt-3.13.2
Feat: nuxt 3.13.2
- Loading branch information
Showing
16 changed files
with
1,836 additions
and
1,578 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
import { EventBus } from './../../types' | ||
|
||
export default function onWalletConnected(callback: Function) { | ||
export const onWalletConnected = (callback: Function) => { | ||
onMounted(() => { | ||
callback() | ||
|
||
useEventBus(EventBus.WalletConnected).on(() => callback()) | ||
}) | ||
} | ||
|
||
export const onWalletInitialConnected = (callback: Function) => { | ||
useEventBus(EventBus.WalletConnected).on(() => callback()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<template> | ||
<svg | ||
width="18" | ||
height="18" | ||
viewBox="0 0 18 18" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M17.64 9.20419C17.64 8.56601 17.5827 7.95237 17.4764 7.36328H9V10.8446H13.8436C13.635 11.9696 13.0009 12.9228 12.0477 13.561V15.8192H14.9564C16.6582 14.2524 17.64 11.9451 17.64 9.20419Z" | ||
fill="#4285F4" | ||
/> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M9 18C11.43 18 13.4673 17.1941 14.9564 15.8195L12.0477 13.5613C11.2418 14.1013 10.2109 14.4204 9 14.4204C6.65591 14.4204 4.67182 12.8372 3.96409 10.71H0.957275V13.0418C2.43818 15.9831 5.48182 18 9 18Z" | ||
fill="#34A853" | ||
/> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M3.96409 10.7098C3.78409 10.1698 3.68182 9.59301 3.68182 8.99983C3.68182 8.40664 3.78409 7.82983 3.96409 7.28983V4.95801H0.957273C0.347727 6.17301 0 7.54755 0 8.99983C0 10.4521 0.347727 11.8266 0.957273 13.0416L3.96409 10.7098Z" | ||
fill="#FBBC05" | ||
/> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M9 3.57955C10.3214 3.57955 11.5077 4.03364 12.4405 4.92545L15.0218 2.34409C13.4632 0.891818 11.4259 0 9 0C5.48182 0 2.43818 2.01682 0.957275 4.95818L3.96409 7.29C4.67182 5.16273 6.65591 3.57955 9 3.57955Z" | ||
fill="#EA4335" | ||
/> | ||
</svg> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import type { | ||
ComponentCustomOptions as _ComponentCustomOptions, | ||
ComponentCustomProperties as _ComponentCustomProperties | ||
} from 'vue' | ||
|
||
declare module '@vue/runtime-core' { | ||
interface ComponentCustomProperties extends _ComponentCustomProperties { | ||
$t: (key: string, ...params: any[]) => string | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const shouldInstantiateBugsnag = !!( | ||
process.env.GIT_TAG && | ||
process.env.VITE_ENV && | ||
process.env.VITE_BASE_URL && | ||
process.env.VITE_BUGSNAG_KEY | ||
) | ||
|
||
const bugsnagConfig = { | ||
baseUrl: process.env.VITE_BASE_URL, | ||
config: { | ||
appVersion: process.env.GIT_TAG, | ||
releaseStage: process.env.VITE_ENV, | ||
apiKey: process.env.VITE_BUGSNAG_KEY, | ||
notifyReleaseStages: ['staging', 'mainnet'] | ||
} | ||
} | ||
|
||
console.log( | ||
`Instantiating bugsnag: ${shouldInstantiateBugsnag}`, | ||
'\n', | ||
bugsnagConfig | ||
) | ||
|
||
export default shouldInstantiateBugsnag ? bugsnagConfig : undefined |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
import hooks from './hooks' | ||
import vite from './vite' | ||
|
||
export { hooks, vite } | ||
export { vite } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
export * from './ci' | ||
export * from './async' | ||
export * from './formatter' | ||
export * from './ibc' | ||
export * from './input' | ||
export * from './logs' | ||
export * from './time' | ||
export * from './async' | ||
export * from './input' | ||
export * from './market' | ||
export * from './network' | ||
export * from './scripts' | ||
export * from './time' | ||
export * from './formatter' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.