@tuwaio/nova-connect 1.0.0-fix-styles-alpha.2.17cfa9b → 1.0.0-fix-packages-alpha.1.901cdf5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -32,6 +32,7 @@ Built on top of the Satellite Connect ecosystem, Nova Connect offers a unified i
32
32
  ## 💾 Installation
33
33
 
34
34
  ### Requirements
35
+
35
36
  - React 19+
36
37
  - Node.js 20+
37
38
  - TypeScript 5.9+
@@ -55,7 +56,7 @@ yarn add @tuwaio/nova-connect @tuwaio/satellite-core @tuwaio/orbit-core @tuwaio/
55
56
 
56
57
  ```tsx
57
58
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
58
- import { satelliteEVMAdapter, createDefaultTransports, initAllConnectors } from '@tuwaio/satellite-evm';
59
+ import { satelliteEVMAdapter, createDefaultTransports } from '@tuwaio/satellite-evm';
59
60
  import { NovaConnectProvider } from '@tuwaio/nova-connect';
60
61
  import { SatelliteConnectProvider } from '@tuwaio/nova-connect/satellite';
61
62
  import { EVMWalletsWatcher } from '@tuwaio/nova-connect/evm';
@@ -63,29 +64,18 @@ import { SolanaWalletsWatcher } from '@tuwaio/nova-connect/solana';
63
64
  import { satelliteSolanaAdapter } from '@tuwaio/satellite-solana';
64
65
  import { WagmiProvider } from 'wagmi';
65
66
  import { ReactNode } from 'react';
66
- import { createConfig, http } from '@wagmi/core';
67
+ import { createConfig } from '@wagmi/core';
68
+ import { injected } from '@wagmi/connectors';
67
69
  import { mainnet, sepolia } from 'viem/chains';
68
70
  import type { Chain } from 'viem/chains';
69
71
 
70
- export const appConfig = {
71
- appName: 'Satellite EVM Test App',
72
- // Ensure you have WalletConnect Project ID in your environment variables
73
- projectId: process.env.NEXT_PUBLIC_WALLET_PROJECT_ID ?? 'YOUR_OWN_PROJECT_ID',
74
- };
75
-
76
72
  export const appEVMChains = [
77
73
  mainnet,
78
74
  sepolia,
79
75
  ] as readonly [Chain, ...Chain[]];
80
76
 
81
77
  export const wagmiConfig = createConfig({
82
- connectors: initAllConnectors({
83
- ...appConfig,
84
- // Optional: Add app details for WalletConnect modal
85
- description: 'My awesome dApp',
86
- appUrl: '[https://my-dapp.com](https://my-dapp.com)',
87
- appIcons: ['[https://my-dapp.com/icon.png](https://my-dapp.com/icon.png)'],
88
- }),
78
+ connectors: [injected()],
89
79
  transports: createDefaultTransports(appEVMChains), // Automatically creates http transports
90
80
  chains: appEVMChains,
91
81
  ssr: true, // Enable SSR support if needed (e.g., in Next.js)