@dogeos/dogeos-sdk 3.0.7-beta.2 → 3.0.7-beta.3
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 +5 -7
- package/dist/dogeos-sdk.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1025 -988
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -45,7 +45,6 @@ Wrap your app with `WalletConnectProvider` at the root component.
|
|
|
45
45
|
// App.tsx
|
|
46
46
|
import React from "react";
|
|
47
47
|
import { WalletConnectProvider } from "@dogeos/dogeos-sdk";
|
|
48
|
-
import "@dogeos/dogeos-sdk/style.css";
|
|
49
48
|
import type { WalletConfig, WalletConnectKitConfig, WalletConnectProtocolConfig, clientId } from "@dogeos/dogeos-sdk"
|
|
50
49
|
|
|
51
50
|
const config = {
|
|
@@ -192,7 +191,6 @@ import {
|
|
|
192
191
|
useWalletConnect,
|
|
193
192
|
useAccount,
|
|
194
193
|
} from "@dogeos/dogeos-sdk";
|
|
195
|
-
import "@dogeos/dogeos-sdk/style.css";
|
|
196
194
|
|
|
197
195
|
// Connect Button Component
|
|
198
196
|
function ConnectButton() {
|
|
@@ -248,13 +246,13 @@ For more help or if you encounter issues, please visit:
|
|
|
248
246
|
1. How to use with Next.js?
|
|
249
247
|
|
|
250
248
|
```js
|
|
251
|
-
|
|
252
|
-
transpilePackages: ["@tomo-inc/tomo-ui", "@tomo-inc/social-account-sdk"],
|
|
253
|
-
};
|
|
254
|
-
|
|
255
|
-
module.exports = nextConfig;
|
|
249
|
+
"use client"; // add "use client" at your index router page
|
|
256
250
|
```
|
|
257
251
|
|
|
252
|
+
2. Supported Next.js version
|
|
253
|
+
|
|
254
|
+
- Next.js 14/15 version had supported
|
|
255
|
+
|
|
258
256
|
---
|
|
259
257
|
|
|
260
258
|
## License
|