@revibase/core 0.0.45 → 0.0.47

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": "@revibase/core",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -37,10 +37,11 @@
37
37
  "@simplewebauthn/browser": "13.2.2",
38
38
  "bn.js": "^5.2.2",
39
39
  "gill": "^0.14.0",
40
+ "json-canonicalize": "^2.0.0",
40
41
  "zod": "^4.3.5"
41
42
  },
42
43
  "peerDependencies": {
43
- "@lightprotocol/stateless.js": "0.22.1-alpha.8",
44
+ "@lightprotocol/stateless.js": "0.23.0-beta.3",
44
45
  "@solana/web3.js": "^1.98.4"
45
46
  },
46
47
  "devDependencies": {
package/README.md DELETED
@@ -1,61 +0,0 @@
1
- ## Installation
2
-
3
- ```bash
4
- npm install @revibase/wallet
5
- ```
6
-
7
- ## Quick Start
8
-
9
- This SDK requires a Helius RPC endpoint to connect to the Solana network.
10
- You can get one from Helius or any other Solana RPC provider that supports Helius features. (DAS API & Photon RPC)
11
-
12
- ## Initialize the SDK
13
-
14
- ```bash
15
- import { initializeMultiWallet } from "@revibase/wallet";
16
-
17
- initializeMultiWallet({
18
- rpcEndpoint: INSERT_YOUR_HELIUS_RPC_ENDPOINT_HERE
19
- });
20
- ```
21
-
22
- ## Use with Solana Wallet Adapter
23
-
24
- Once initialized, it is now compatible with the Solana Wallet Adapter.
25
- Simply integrate it into your existing Solana wallet flow.
26
-
27
- ## Example
28
-
29
- ```bash
30
-
31
- import { useEffect } from "react";
32
- import { initializeMultiWallet } from "@revibase/wallet";
33
- import { ConnectionProvider, WalletProvider } from "@solana/wallet-adapter-react";
34
- import { WalletModalProvider, WalletMultiButton } from "@solana/wallet-adapter-react-ui";
35
-
36
-
37
- export default function App() {
38
-
39
- useEffect(() => {
40
- initializeMultiWallet({
41
- rpcEndpoint: INSERT_YOUR_HELIUS_RPC_ENDPOINT_HERE
42
- });
43
- }, []);
44
-
45
-
46
- return (
47
- <ConnectionProvider endpoint={INSERT_YOUR_HELIUS_RPC_ENDPOINT_HERE}>
48
- <WalletProvider wallets={[]} autoConnect>
49
- <WalletModalProvider>
50
- <div>
51
- <WalletMultiButton />
52
- {...}
53
- </div>
54
- </WalletModalProvider>
55
- </WalletProvider>
56
- </ConnectionProvider>
57
- );
58
- }
59
-
60
-
61
- ```