create-awarizon-app 1.0.3 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-awarizon-app",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Scaffold a new project with the Awarizon Web3 SDK",
5
5
  "keywords": [
6
6
  "awarizon",
@@ -2,3 +2,5 @@
2
2
 
3
3
  AWARIZON_API_KEY={{API_KEY}}
4
4
  NEXT_PUBLIC_AWARIZON_API_KEY={{API_KEY}}
5
+ # Optional: add your WalletConnect project ID (cloud.walletconnect.com) to enable ConnectButton
6
+ NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
@@ -52,7 +52,7 @@ export default function Home() {
52
52
  <Badge variant={synced ? 'success' : 'loading'}>
53
53
  {synced ? '● Live' : '○ Loading'}
54
54
  </Badge>
55
- <ConnectButton />
55
+ {process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID && <ConnectButton />}
56
56
  </div>
57
57
  </div>
58
58
  </header>
@@ -2,3 +2,5 @@
2
2
 
3
3
  AWARIZON_API_KEY={{API_KEY}}
4
4
  NEXT_PUBLIC_AWARIZON_API_KEY={{API_KEY}}
5
+ # Optional: add your WalletConnect project ID (cloud.walletconnect.com) to enable ConnectButton
6
+ NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=
@@ -52,7 +52,7 @@ export default function Home() {
52
52
  <Badge variant={synced ? 'success' : 'loading'}>
53
53
  {synced ? '● Live' : '○ Loading'}
54
54
  </Badge>
55
- <ConnectButton />
55
+ {process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID && <ConnectButton />}
56
56
  </div>
57
57
  </div>
58
58
  </header>
@@ -1 +1,3 @@
1
1
  VITE_AWARIZON_API_KEY={{API_KEY}}
2
+ # Optional: add your WalletConnect project ID (cloud.walletconnect.com) to enable ConnectButton
3
+ VITE_WALLETCONNECT_PROJECT_ID=
@@ -50,7 +50,7 @@ export default function App() {
50
50
  <Badge variant={synced ? 'success' : 'loading'}>
51
51
  {synced ? '● Live' : '○ Loading'}
52
52
  </Badge>
53
- <ConnectButton />
53
+ {import.meta.env.VITE_WALLETCONNECT_PROJECT_ID && <ConnectButton />}
54
54
  </div>
55
55
  </div>
56
56
  </header>
@@ -1 +1,3 @@
1
1
  VITE_AWARIZON_API_KEY={{API_KEY}}
2
+ # Optional: add your WalletConnect project ID (cloud.walletconnect.com) to enable ConnectButton
3
+ VITE_WALLETCONNECT_PROJECT_ID=
@@ -50,7 +50,7 @@ export default function App() {
50
50
  <Badge variant={synced ? 'success' : 'loading'}>
51
51
  {synced ? '● Live' : '○ Loading'}
52
52
  </Badge>
53
- <ConnectButton />
53
+ {import.meta.env.VITE_WALLETCONNECT_PROJECT_ID && <ConnectButton />}
54
54
  </div>
55
55
  </div>
56
56
  </header>