@shelby-protocol/solana-kit 0.2.4 → 0.2.5
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 +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ import { Shelby, Network } from "@shelby-protocol/solana-kit/node";
|
|
|
32
32
|
import { Connection, Keypair } from "@solana/web3.js";
|
|
33
33
|
|
|
34
34
|
const shelbyClient = new Shelby({
|
|
35
|
-
network: Network.
|
|
35
|
+
network: Network.TESTNET,
|
|
36
36
|
connection: new Connection("https://api.devnet.solana.com"),
|
|
37
37
|
apiKey: "AG-***",
|
|
38
38
|
});
|
|
@@ -54,7 +54,7 @@ import { useWalletConnection } from "@solana/react-hooks";
|
|
|
54
54
|
|
|
55
55
|
function MyComponent() {
|
|
56
56
|
const { wallet } = useWalletConnection();
|
|
57
|
-
const shelbyClient = new ShelbyClient({ network: Network.
|
|
57
|
+
const shelbyClient = new ShelbyClient({ network: Network.TESTNET, apiKey: "AG-***" });
|
|
58
58
|
|
|
59
59
|
const { storageAccountAddress, signAndSubmitTransaction } = useStorageAccount({
|
|
60
60
|
client: shelbyClient,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shelby-protocol/solana-kit",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@aptos-labs/wallet-standard": "^0.5.2",
|
|
53
53
|
"@solana/wallet-standard-features": "^1.3.0",
|
|
54
54
|
"@solana/web3.js": "^1.95.8",
|
|
55
|
-
"@shelby-protocol/sdk": "0.2.
|
|
55
|
+
"@shelby-protocol/sdk": "0.2.3"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"lint": "biome check .",
|