diff --git a/.coderabbit.yaml b/.coderabbit.yaml new file mode 100644 index 00000000..568245b6 --- /dev/null +++ b/.coderabbit.yaml @@ -0,0 +1,62 @@ +# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json +language: 'en-US' +early_access: false +reviews: + profile: 'chill' + request_changes_workflow: false + high_level_summary: true + poem: false + review_status: false + collapse_walkthrough: true + changed_files_summary: false + sequence_diagrams: false + estimate_code_review_effort: false + assess_linked_issues: false + related_issues: false + related_prs: false + suggested_labels: false + suggested_reviewers: false + path_filters: + - '!pnpm-lock.yaml' + - '!**/*.lock' + - '!**/dist/**' + - '!**/.nuxt/**' + - '!**/.output/**' + - '!**/node_modules/**' + - '!**/*.generated.*' + - '!**/*.tsbuildinfo' + - '!stats.html' + auto_review: + enabled: true + auto_incremental_review: true + auto_pause_after_reviewed_commits: 0 + drafts: true + base_branches: + - '.*' + ignore_title_keywords: + - 'WIP' + - 'DO NOT REVIEW' + - '[skip-coderabbit]' + - '[skip ci]' + tools: + eslint: + enabled: false + biome: + enabled: false + gitleaks: + enabled: true + yamllint: + enabled: false + shellcheck: + enabled: true + github-checks: + enabled: false + timeout_ms: 90000 + languagetool: + enabled: false + actionlint: + enabled: false + markdownlint: + enabled: false +chat: + auto_reply: true diff --git a/app/classes/TokenFactoryStatic.ts b/app/classes/TokenFactoryStatic.ts index 1eeddc6c..e8b0215a 100644 --- a/app/classes/TokenFactoryStatic.ts +++ b/app/classes/TokenFactoryStatic.ts @@ -1,5 +1,5 @@ -import { isCw20ContractAddress } from '@injectivelabs/sdk-ts/utils' -import { TokenType, TokenVerification } from '@injectivelabs/sdk-ts/types' +import { isCw20ContractAddress } from '@injectivelabs/sdk-ts/utils/address' +import { TokenType, TokenVerification } from '@injectivelabs/sdk-ts/types/light' import type { TokenSource, TokenStatic } from '@injectivelabs/sdk-ts' export class TokenStaticFactory { diff --git a/app/classes/Tokens.ts b/app/classes/Tokens.ts index eba1089b..7bcbe4cb 100644 --- a/app/classes/Tokens.ts +++ b/app/classes/Tokens.ts @@ -1,11 +1,12 @@ import { unknownToken } from '../data/token' -import { TokenVerification } from '@injectivelabs/sdk-ts/types' +import { tokenCacheApi } from '../service/cache' +import { sharedTokenClient } from '../service/token' /** * @deprecated Use subpath imports from '@injectivelabs/sdk-ts/service' instead. * TokenFactoryStatic is temporarily imported from the barrel until all apps migrate. */ import { TokenFactoryStatic } from '@injectivelabs/sdk-ts/service' -import { tokenCacheApi, sharedTokenClient } from '../service' +import { TokenVerification } from '@injectivelabs/sdk-ts/types/light' import type { Coin, TokenStatic } from '@injectivelabs/sdk-ts' import type { SharedBalanceWithToken } from '../types' diff --git a/app/components/Amount/Base.vue b/app/components/Amount/Base.vue index 7e7f1a71..ec4b0192 100644 --- a/app/components/Amount/Base.vue +++ b/app/components/Amount/Base.vue @@ -1,6 +1,6 @@