Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate import assertions to with #2895

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/appkit/exports/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { AppKit } from '../src/client.js'
import type { AppKitOptions } from '../src/utils/TypesUtil.js'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }
import { CoreHelperUtil } from '@reown/appkit-core'

// -- Views ------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion packages/appkit/exports/react.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AppKit } from '../src/client.js'
import type { AppKitOptions } from '../src/utils/TypesUtil.js'
import { getAppKit } from '../src/library/react/index.js'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }
import { CoreHelperUtil } from '@reown/appkit-core'

// -- Views ------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion packages/appkit/exports/vue.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AppKit } from '../src/client.js'
import type { AppKitOptions } from '../src/utils/TypesUtil.js'
import { getAppKit } from '../src/library/vue/index.js'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }
import { CoreHelperUtil } from '@reown/appkit-core'

// -- Views ------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/exports/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AppKit } from '@reown/appkit'
import type { AppKitOptions } from '@reown/appkit'
import { EthersAdapter, type AdapterOptions } from '@reown/appkit-adapter-ethers'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------
export type { AdapterOptions } from '@reown/appkit-adapter-ethers'
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/exports/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { EthersAdapter, type AdapterOptions } from '@reown/appkit-adapter-ethers
import { getAppKit } from '@reown/appkit/library/react'
import { useSnapshot } from 'valtio'
import type { CaipNetwork } from '@reown/appkit-common'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------
export type { AdapterOptions } from '@reown/appkit-adapter-ethers'
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers/exports/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AppKit } from '@reown/appkit'
import type { AppKitOptions } from '@reown/appkit'
import { EthersAdapter, type AdapterOptions } from '@reown/appkit-adapter-ethers'
import { getAppKit } from '@reown/appkit/library/vue'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------
export type { AdapterOptions } from '@reown/appkit-adapter-ethers'
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers5/exports/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AppKit } from '@reown/appkit'
import type { AppKitOptions } from '@reown/appkit'
import { Ethers5Adapter, type AdapterOptions } from '@reown/appkit-adapter-ethers5'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------
export type { AdapterOptions } from '@reown/appkit-adapter-ethers5'
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers5/exports/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Ethers5Adapter, type AdapterOptions } from '@reown/appkit-adapter-ether
import { getAppKit } from '@reown/appkit/library/react'
import { useSnapshot } from 'valtio'
import { ethers } from 'ethers'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Setup -------------------------------------------------------------------
let appkit: AppKit | undefined = undefined
Expand Down
2 changes: 1 addition & 1 deletion packages/ethers5/exports/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { AppKitOptions } from '@reown/appkit'
import { Ethers5Adapter, type AdapterOptions } from '@reown/appkit-adapter-ethers5'

import { getAppKit } from '@reown/appkit/library/vue'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Setup -------------------------------------------------------------------
let appkit: AppKit | undefined = undefined
Expand Down
2 changes: 1 addition & 1 deletion packages/solana/exports/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AppKit } from '@reown/appkit'
import { SolanaAdapter } from '@reown/appkit-adapter-solana'
import type { SolanaAppKitOptions } from './options'
import type { Provider } from '@reown/appkit-adapter-solana'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------
export type { SolanaAppKitOptions, Provider }
Expand Down
2 changes: 1 addition & 1 deletion packages/solana/exports/react.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
} from '@reown/appkit-adapter-solana/react'
import { getAppKit } from '@reown/appkit/library/react'
import type { SolanaAppKitOptions } from './options.js'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------------
export type { SolanaAppKitOptions, Provider }
Expand Down
2 changes: 1 addition & 1 deletion packages/solana/exports/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { SolanaAdapter, useAppKitConnection } from '@reown/appkit-adapter-solana
import type { Provider } from '@reown/appkit-adapter-solana/vue'
import type { CaipNetwork } from '@reown/appkit-common'
import type { SolanaAppKitOptions } from './options'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------------
export type { SolanaAppKitOptions, Provider }
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi/exports/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { AppKit } from '@reown/appkit'
import type { AppKitOptions } from '@reown/appkit'
import { WagmiAdapter, type AdapterOptions } from '@reown/appkit-adapter-wagmi'
import type { Config } from 'wagmi'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Types -------------------------------------------------------------
export type { AdapterOptions } from '@reown/appkit-adapter-wagmi'
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi/exports/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { AppKitOptions } from '@reown/appkit'
import { WagmiAdapter, type AdapterOptions } from '@reown/appkit-adapter-wagmi'
import { getAppKit } from '@reown/appkit/library/react'
import { type Config, type CreateConfigParameters } from 'wagmi'
import packageJson from '../../package.json' assert { type: 'json' }
import packageJson from '../../package.json' with { type: 'json' }

// -- Setup -------------------------------------------------------------------
let appkit: AppKit | undefined = undefined
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi/exports/vue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { AppKitOptions } from '@reown/appkit'
import { WagmiAdapter, type AdapterOptions } from '@reown/appkit-adapter-wagmi'
import { getAppKit } from '@reown/appkit/library/vue'
import type { Config } from '@wagmi/core'
import packageJson from '../package.json' assert { type: 'json' }
import packageJson from '../package.json' with { type: 'json' }

// -- Setup -------------------------------------------------------------------
let appkit: AppKit | undefined = undefined
Expand Down