@vechain/vechain-kit 1.2.1 → 1.2.2

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
@@ -3,6 +3,7 @@
3
3
  <p>
4
4
  <strong>An all-in-one library for building VeChain applications</strong>
5
5
  </p>
6
+ <img src="https://i.ibb.co/k539SN7/kit-banner.png" alt="VeChain Kit Banner">
6
7
  </div>
7
8
 
8
9
  # Features
@@ -15,11 +16,11 @@
15
16
 
16
17
  > **Note**: Currently supports React and Next.js only
17
18
 
18
- 📚 For detailed documentation, visit our [VeChain Kit Docs](https://vechain-foundation-san-marino.gitbook.io/social-login-dappkit-privy/~/changes/3deX4SvayBeNDBaxivMg)
19
+ 📚 For detailed documentation, visit our [VeChain Kit Docs](https://vechain-foundation-san-marino.gitbook.io/vechain-kit)
19
20
 
20
- Try out the [demo app](https://vechain.github.io/vechain-kit/) to see how it works.
21
+ Try out the [demo app](https://sample-vechain-app-demo.vechain.org/) to see how it works.
21
22
 
22
- Also check out the [sample app](https://github.com/vechain/vechain-kit/tree/main/examples/sample-next-vechain-app) to see how to integrate the library with Next.js.
23
+ Also check out the [sample app](https://github.com/vechain/vechain-kit/tree/main/examples/tutorial-next) to see how to integrate the library with Next.js.
23
24
 
24
25
  # Installation
25
26
 
@@ -39,12 +40,13 @@ import { VechainKitProvider } from '@vechain/vechain-kit';
39
40
  export default function App({ Component, pageProps }: AppProps) {
40
41
  return (
41
42
  <VechainKitProvider
43
+ // Mandatory
42
44
  feeDelegation={{
43
45
  delegatorUrl: process.env.NEXT_PUBLIC_DELEGATOR_URL!,
44
- delegateAllTransactions: true,
45
46
  }}
46
47
  dappKit={{
47
48
  allowedWallets: ['veworld', 'wallet-connect', 'sync2'],
49
+ // If you want to use WalletConnect
48
50
  walletConnectOptions: {
49
51
  projectId:
50
52
  process.env.NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID!,
@@ -63,12 +65,7 @@ export default function App({ Component, pageProps }: AppProps) {
63
65
  },
64
66
  },
65
67
  }}
66
- loginModalUI={{
67
- logo: 'https://i.ibb.co/ZHGmq3y/image-21.png',
68
- description:
69
- 'Choose between social login through VeChain or by connecting your wallet.',
70
- }}
71
- darkMode={isDarkMode}
68
+ darkMode={true}
72
69
  language="en"
73
70
  network={{
74
71
  type: 'main',
package/dist/index.cjs CHANGED
@@ -4568,7 +4568,7 @@ var AddressDisplay = ({ wallet, label, size = "lg" }) => {
4568
4568
  // package.json
4569
4569
  var package_default = {
4570
4570
  name: "@vechain/vechain-kit",
4571
- version: "1.2.1",
4571
+ version: "1.2.2",
4572
4572
  private: false,
4573
4573
  homepage: "https://github.com/vechain/vechain-kit",
4574
4574
  repository: "github:vechain/vechain-kit",
@@ -9923,7 +9923,7 @@ var FAQContent = ({ onGoBack }) => {
9923
9923
  react.Button,
9924
9924
  {
9925
9925
  as: react.Link,
9926
- href: "https://vechain-foundation-san-marino.gitbook.io/social-login-dappkit-privy/~/changes/3deX4SvayBeNDBaxivMg",
9926
+ href: "https://vechain-foundation-san-marino.gitbook.io/vechain-kit",
9927
9927
  isExternal: true,
9928
9928
  variant: "outline",
9929
9929
  rightIcon: /* @__PURE__ */ jsxRuntime.jsx(react.Icon, { as: fa.FaExternalLinkAlt }),