@getpara/react-sdk 2.0.0-alpha.34 → 2.0.0-alpha.36
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/dist/cosmos/actions/getCosmjsAminoSigner.d.ts +8 -0
- package/dist/cosmos/actions/getCosmjsAminoSigner.js +16 -0
- package/dist/cosmos/actions/getCosmjsProtoSigner.d.ts +8 -0
- package/dist/cosmos/actions/getCosmjsProtoSigner.js +16 -0
- package/dist/cosmos/actions/index.d.ts +2 -0
- package/dist/cosmos/actions/index.js +3 -0
- package/dist/cosmos/hooks/index.d.ts +2 -0
- package/dist/cosmos/hooks/index.js +3 -0
- package/dist/cosmos/hooks/useCosmjsAminoSigner.d.ts +11 -0
- package/dist/cosmos/hooks/useCosmjsAminoSigner.js +37 -0
- package/dist/cosmos/hooks/useCosmjsProtoSigner.d.ts +11 -0
- package/dist/cosmos/hooks/useCosmjsProtoSigner.js +37 -0
- package/dist/cosmos/index.d.ts +2 -0
- package/dist/cosmos/index.js +3 -0
- package/dist/evm/actions/getViemClient.d.ts +3 -3
- package/dist/evm/hooks/useViemClient.d.ts +3 -3
- package/dist/solana/actions/getSolanaSigner.d.ts +8 -0
- package/dist/solana/actions/getSolanaSigner.js +15 -0
- package/dist/solana/actions/index.d.ts +1 -0
- package/dist/solana/actions/index.js +2 -0
- package/dist/solana/hooks/index.d.ts +1 -0
- package/dist/solana/hooks/index.js +2 -0
- package/dist/solana/hooks/useSolanaSigner.d.ts +12 -0
- package/dist/solana/hooks/useSolanaSigner.js +32 -0
- package/dist/solana/index.d.ts +2 -0
- package/dist/solana/index.js +3 -0
- package/package.json +16 -8
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import ParaWeb from '@getpara/react-sdk-lite';
|
|
2
|
+
import { ParaAminoSigner } from '@getpara/cosmjs-v0-integration';
|
|
3
|
+
export declare const getCosmjsAminoSigner: ({ para, prefix, walletId, messageSigningTimeoutMs, }: {
|
|
4
|
+
para: ParaWeb;
|
|
5
|
+
prefix?: string;
|
|
6
|
+
walletId?: string;
|
|
7
|
+
messageSigningTimeoutMs?: number;
|
|
8
|
+
}) => Promise<ParaAminoSigner>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__async
|
|
4
|
+
} from "../../chunk-MMUBH76A.js";
|
|
5
|
+
import { ParaAminoSigner } from "@getpara/cosmjs-v0-integration";
|
|
6
|
+
const getCosmjsAminoSigner = (_0) => __async(void 0, [_0], function* ({
|
|
7
|
+
para,
|
|
8
|
+
prefix,
|
|
9
|
+
walletId,
|
|
10
|
+
messageSigningTimeoutMs
|
|
11
|
+
}) {
|
|
12
|
+
return new ParaAminoSigner(para, prefix, walletId, messageSigningTimeoutMs);
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
getCosmjsAminoSigner
|
|
16
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import ParaWeb from '@getpara/react-sdk-lite';
|
|
2
|
+
import { ParaProtoSigner } from '@getpara/cosmjs-v0-integration';
|
|
3
|
+
export declare const getCosmjsProtoSigner: ({ para, prefix, walletId, messageSigningTimeoutMs, }: {
|
|
4
|
+
para: ParaWeb;
|
|
5
|
+
prefix?: string;
|
|
6
|
+
walletId?: string;
|
|
7
|
+
messageSigningTimeoutMs?: number;
|
|
8
|
+
}) => Promise<ParaProtoSigner>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__async
|
|
4
|
+
} from "../../chunk-MMUBH76A.js";
|
|
5
|
+
import { ParaProtoSigner } from "@getpara/cosmjs-v0-integration";
|
|
6
|
+
const getCosmjsProtoSigner = (_0) => __async(void 0, [_0], function* ({
|
|
7
|
+
para,
|
|
8
|
+
prefix,
|
|
9
|
+
walletId,
|
|
10
|
+
messageSigningTimeoutMs
|
|
11
|
+
}) {
|
|
12
|
+
return new ParaProtoSigner(para, prefix, walletId, messageSigningTimeoutMs);
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
getCosmjsProtoSigner
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const COSMJS_AMINO_SIGNER_BASE_KEY = "PARA_COSMJS_AMINO_SIGNER";
|
|
2
|
+
type UseCosmjsAminoSignerParameters = {
|
|
3
|
+
prefix?: string;
|
|
4
|
+
walletId?: string;
|
|
5
|
+
messageSigningTimeoutMs?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const useCosmjsAminoSigner: ({ prefix, walletId, messageSigningTimeoutMs }?: UseCosmjsAminoSignerParameters) => {
|
|
8
|
+
aminoSigner: import("@getpara/cosmjs-v0-integration").ParaAminoSigner | null | undefined;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__async
|
|
4
|
+
} from "../../chunk-MMUBH76A.js";
|
|
5
|
+
import { useAccount, useClient, useWallet } from "@getpara/react-sdk-lite";
|
|
6
|
+
import { useQuery } from "@tanstack/react-query";
|
|
7
|
+
import { getCosmjsAminoSigner } from "../actions/index.js";
|
|
8
|
+
const COSMJS_AMINO_SIGNER_BASE_KEY = "PARA_COSMJS_AMINO_SIGNER";
|
|
9
|
+
const useCosmjsAminoSigner = ({ prefix, walletId, messageSigningTimeoutMs } = {}) => {
|
|
10
|
+
const para = useClient();
|
|
11
|
+
const {
|
|
12
|
+
isConnected,
|
|
13
|
+
embedded: { userId }
|
|
14
|
+
} = useAccount();
|
|
15
|
+
const { data: wallet } = useWallet();
|
|
16
|
+
const { data, isLoading } = useQuery({
|
|
17
|
+
queryKey: [
|
|
18
|
+
COSMJS_AMINO_SIGNER_BASE_KEY,
|
|
19
|
+
isConnected,
|
|
20
|
+
userId,
|
|
21
|
+
walletId != null ? walletId : (wallet == null ? void 0 : wallet.type) === "COSMOS" ? wallet == null ? void 0 : wallet.id : null
|
|
22
|
+
],
|
|
23
|
+
enabled: isConnected && !!para,
|
|
24
|
+
queryFn: () => __async(void 0, null, function* () {
|
|
25
|
+
if (!isConnected || !para) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const _id = walletId != null ? walletId : (wallet == null ? void 0 : wallet.type) === "COSMOS" ? wallet == null ? void 0 : wallet.id : void 0;
|
|
29
|
+
return yield getCosmjsAminoSigner({ para, walletId: _id, prefix, messageSigningTimeoutMs });
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
return { aminoSigner: data, isLoading };
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
COSMJS_AMINO_SIGNER_BASE_KEY,
|
|
36
|
+
useCosmjsAminoSigner
|
|
37
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const COSMJS_PROTO_SIGNER_BASE_KEY = "PARA_COSMJS_PROTO_SIGNER";
|
|
2
|
+
type UseCosmjsProtoSignerParameters = {
|
|
3
|
+
prefix?: string;
|
|
4
|
+
walletId?: string;
|
|
5
|
+
messageSigningTimeoutMs?: number;
|
|
6
|
+
};
|
|
7
|
+
export declare const useCosmjsProtoSigner: ({ prefix, walletId, messageSigningTimeoutMs }?: UseCosmjsProtoSignerParameters) => {
|
|
8
|
+
protoSigner: import("@getpara/cosmjs-v0-integration").ParaProtoSigner | null | undefined;
|
|
9
|
+
isLoading: boolean;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__async
|
|
4
|
+
} from "../../chunk-MMUBH76A.js";
|
|
5
|
+
import { useAccount, useClient, useWallet } from "@getpara/react-sdk-lite";
|
|
6
|
+
import { useQuery } from "@tanstack/react-query";
|
|
7
|
+
import { getCosmjsProtoSigner } from "../actions/index.js";
|
|
8
|
+
const COSMJS_PROTO_SIGNER_BASE_KEY = "PARA_COSMJS_PROTO_SIGNER";
|
|
9
|
+
const useCosmjsProtoSigner = ({ prefix, walletId, messageSigningTimeoutMs } = {}) => {
|
|
10
|
+
const para = useClient();
|
|
11
|
+
const {
|
|
12
|
+
isConnected,
|
|
13
|
+
embedded: { userId }
|
|
14
|
+
} = useAccount();
|
|
15
|
+
const { data: wallet } = useWallet();
|
|
16
|
+
const { data, isLoading } = useQuery({
|
|
17
|
+
queryKey: [
|
|
18
|
+
COSMJS_PROTO_SIGNER_BASE_KEY,
|
|
19
|
+
isConnected,
|
|
20
|
+
userId,
|
|
21
|
+
walletId != null ? walletId : (wallet == null ? void 0 : wallet.type) === "COSMOS" ? wallet == null ? void 0 : wallet.id : null
|
|
22
|
+
],
|
|
23
|
+
enabled: isConnected && !!para,
|
|
24
|
+
queryFn: () => __async(void 0, null, function* () {
|
|
25
|
+
if (!isConnected || !para) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
const _id = walletId != null ? walletId : (wallet == null ? void 0 : wallet.type) === "COSMOS" ? wallet == null ? void 0 : wallet.id : void 0;
|
|
29
|
+
return yield getCosmjsProtoSigner({ para, walletId: _id, prefix, messageSigningTimeoutMs });
|
|
30
|
+
})
|
|
31
|
+
});
|
|
32
|
+
return { protoSigner: data, isLoading };
|
|
33
|
+
};
|
|
34
|
+
export {
|
|
35
|
+
COSMJS_PROTO_SIGNER_BASE_KEY,
|
|
36
|
+
useCosmjsProtoSigner
|
|
37
|
+
};
|
|
@@ -7440,8 +7440,8 @@ export declare const getViemClient: ({ para, address, walletClientConfig, }: {
|
|
|
7440
7440
|
[x: `bytes2[${string}]`]: undefined;
|
|
7441
7441
|
[x: `bytes3[${string}]`]: undefined;
|
|
7442
7442
|
[x: `bytes8[${string}]`]: undefined;
|
|
7443
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
7444
7443
|
[x: `bytes1[${string}]`]: undefined;
|
|
7444
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
7445
7445
|
[x: `bytes4[${string}]`]: undefined;
|
|
7446
7446
|
[x: `bytes5[${string}]`]: undefined;
|
|
7447
7447
|
[x: `bytes6[${string}]`]: undefined;
|
|
@@ -7542,8 +7542,8 @@ export declare const getViemClient: ({ para, address, walletClientConfig, }: {
|
|
|
7542
7542
|
bytes2?: undefined;
|
|
7543
7543
|
bytes3?: undefined;
|
|
7544
7544
|
bytes8?: undefined;
|
|
7545
|
-
bytes23?: undefined;
|
|
7546
7545
|
bytes1?: undefined;
|
|
7546
|
+
bytes23?: undefined;
|
|
7547
7547
|
bytes4?: undefined;
|
|
7548
7548
|
bytes5?: undefined;
|
|
7549
7549
|
bytes6?: undefined;
|
|
@@ -7655,5 +7655,5 @@ export declare const getViemClient: ({ para, address, walletClientConfig, }: {
|
|
|
7655
7655
|
transport?: undefined;
|
|
7656
7656
|
type?: undefined;
|
|
7657
7657
|
uid?: undefined;
|
|
7658
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").Transport, import("viem").Chain, import("viem").Account>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "
|
|
7658
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").Transport, import("viem").Chain, import("viem").Account>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "getBlock" | "getTransaction" | "getTransactionCount" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain, import("viem").Account>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").Transport, import("viem").Chain, import("viem").Account, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem").Chain, import("viem").Account>>) => client) => import("viem").Client<import("viem").Transport, import("viem").Chain, import("viem").Account, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem").Chain, import("viem").Account>>;
|
|
7659
7659
|
} | null>;
|
|
@@ -7441,8 +7441,8 @@ export declare const useViemClient: ({ address, walletClientConfig }: UseViemCli
|
|
|
7441
7441
|
[x: `bytes2[${string}]`]: undefined;
|
|
7442
7442
|
[x: `bytes3[${string}]`]: undefined;
|
|
7443
7443
|
[x: `bytes8[${string}]`]: undefined;
|
|
7444
|
-
[x: `bytes23[${string}]`]: undefined;
|
|
7445
7444
|
[x: `bytes1[${string}]`]: undefined;
|
|
7445
|
+
[x: `bytes23[${string}]`]: undefined;
|
|
7446
7446
|
[x: `bytes4[${string}]`]: undefined;
|
|
7447
7447
|
[x: `bytes5[${string}]`]: undefined;
|
|
7448
7448
|
[x: `bytes6[${string}]`]: undefined;
|
|
@@ -7543,8 +7543,8 @@ export declare const useViemClient: ({ address, walletClientConfig }: UseViemCli
|
|
|
7543
7543
|
bytes2?: undefined;
|
|
7544
7544
|
bytes3?: undefined;
|
|
7545
7545
|
bytes8?: undefined;
|
|
7546
|
-
bytes23?: undefined;
|
|
7547
7546
|
bytes1?: undefined;
|
|
7547
|
+
bytes23?: undefined;
|
|
7548
7548
|
bytes4?: undefined;
|
|
7549
7549
|
bytes5?: undefined;
|
|
7550
7550
|
bytes6?: undefined;
|
|
@@ -7656,7 +7656,7 @@ export declare const useViemClient: ({ address, walletClientConfig }: UseViemCli
|
|
|
7656
7656
|
transport?: undefined;
|
|
7657
7657
|
type?: undefined;
|
|
7658
7658
|
uid?: undefined;
|
|
7659
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").Transport, import("viem").Chain, import("viem").Account>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "
|
|
7659
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("viem").Transport, import("viem").Chain, import("viem").Account>, "getChainId" | "prepareTransactionRequest" | "sendRawTransaction" | "getBlock" | "getTransaction" | "getTransactionCount" | "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlockNumber" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransactionReceipt" | "readContract" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain, import("viem").Account>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("viem").Transport, import("viem").Chain, import("viem").Account, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem").Chain, import("viem").Account>>) => client) => import("viem").Client<import("viem").Transport, import("viem").Chain, import("viem").Account, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem").Chain, import("viem").Account>>;
|
|
7660
7660
|
} | null | undefined;
|
|
7661
7661
|
isLoading: boolean;
|
|
7662
7662
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import ParaWeb from '@getpara/react-sdk-lite';
|
|
2
|
+
import { SolanaRpcApi } from '@solana/rpc-api';
|
|
3
|
+
import { Rpc } from '@solana/rpc-spec';
|
|
4
|
+
export declare const getSolanaSigner: ({ para, rpc, walletId, }: {
|
|
5
|
+
para: ParaWeb;
|
|
6
|
+
walletId?: string;
|
|
7
|
+
rpc: Rpc<SolanaRpcApi>;
|
|
8
|
+
}) => Promise<import("@getpara/solana-signers-v2-integration").ParaSolanaSigner>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__async
|
|
4
|
+
} from "../../chunk-MMUBH76A.js";
|
|
5
|
+
import { createParaSolanaSigner } from "@getpara/solana-signers-v2-integration";
|
|
6
|
+
const getSolanaSigner = (_0) => __async(void 0, [_0], function* ({
|
|
7
|
+
para,
|
|
8
|
+
rpc,
|
|
9
|
+
walletId
|
|
10
|
+
}) {
|
|
11
|
+
return createParaSolanaSigner({ para, rpc, walletId });
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
getSolanaSigner
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './getSolanaSigner.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useSolanaSigner.js';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SolanaRpcApi } from '@solana/rpc-api';
|
|
2
|
+
import { Rpc } from '@solana/rpc-spec';
|
|
3
|
+
export declare const SOLANA_SIGNER_BASE_KEY = "PARA_SOLANA_SIGNER";
|
|
4
|
+
type UseSolanaSignerParameters = {
|
|
5
|
+
walletId?: string;
|
|
6
|
+
rpc: Rpc<SolanaRpcApi>;
|
|
7
|
+
};
|
|
8
|
+
export declare const useSolanaSigner: ({ walletId, rpc }: UseSolanaSignerParameters) => {
|
|
9
|
+
solanaSigner: import("@getpara/solana-signers-v2-integration").ParaSolanaSigner | null | undefined;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
__async
|
|
4
|
+
} from "../../chunk-MMUBH76A.js";
|
|
5
|
+
import { useAccount, useClient, useWallet } from "@getpara/react-sdk-lite";
|
|
6
|
+
import { useQuery } from "@tanstack/react-query";
|
|
7
|
+
import { getSolanaSigner } from "../actions/index.js";
|
|
8
|
+
const SOLANA_SIGNER_BASE_KEY = "PARA_SOLANA_SIGNER";
|
|
9
|
+
const useSolanaSigner = ({ walletId, rpc }) => {
|
|
10
|
+
const para = useClient();
|
|
11
|
+
const {
|
|
12
|
+
isConnected,
|
|
13
|
+
embedded: { userId }
|
|
14
|
+
} = useAccount();
|
|
15
|
+
const { data: wallet } = useWallet();
|
|
16
|
+
const { data, isLoading } = useQuery({
|
|
17
|
+
queryKey: [SOLANA_SIGNER_BASE_KEY, isConnected, userId, walletId != null ? walletId : (wallet == null ? void 0 : wallet.type) === "SOLANA" ? wallet == null ? void 0 : wallet.id : null],
|
|
18
|
+
enabled: isConnected && !!para,
|
|
19
|
+
queryFn: () => __async(void 0, null, function* () {
|
|
20
|
+
if (!isConnected || !para) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
const _id = walletId != null ? walletId : (wallet == null ? void 0 : wallet.type) === "SOLANA" ? wallet == null ? void 0 : wallet.id : void 0;
|
|
24
|
+
return yield getSolanaSigner({ para, rpc, walletId: _id });
|
|
25
|
+
})
|
|
26
|
+
});
|
|
27
|
+
return { solanaSigner: data, isLoading };
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
SOLANA_SIGNER_BASE_KEY,
|
|
31
|
+
useSolanaSigner
|
|
32
|
+
};
|
package/package.json
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/react-sdk",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.36",
|
|
4
4
|
"bin": {
|
|
5
5
|
"setup-para": "dist/cli/cli.mjs"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@getpara/
|
|
9
|
-
"@getpara/
|
|
10
|
-
"@getpara/
|
|
11
|
-
"@getpara/
|
|
12
|
-
"@getpara/
|
|
8
|
+
"@getpara/cosmjs-v0-integration": "2.0.0-alpha.36",
|
|
9
|
+
"@getpara/cosmos-wallet-connectors": "2.0.0-alpha.36",
|
|
10
|
+
"@getpara/evm-wallet-connectors": "2.0.0-alpha.36",
|
|
11
|
+
"@getpara/react-sdk-lite": "2.0.0-alpha.36",
|
|
12
|
+
"@getpara/solana-signers-v2-integration": "2.0.0-alpha.36",
|
|
13
|
+
"@getpara/solana-wallet-connectors": "2.0.0-alpha.36",
|
|
14
|
+
"@getpara/viem-v2-integration": "2.0.0-alpha.36"
|
|
13
15
|
},
|
|
14
16
|
"devDependencies": {
|
|
15
17
|
"@types/react": "^18.0.31",
|
|
@@ -21,14 +23,20 @@
|
|
|
21
23
|
"./styles.css": "./dist/css/modal.css",
|
|
22
24
|
"./evm": "./dist/evm/index.js",
|
|
23
25
|
"./evm/hooks": "./dist/evm/hooks/index.js",
|
|
24
|
-
"./evm/actions": "./dist/evm/actions/index.js"
|
|
26
|
+
"./evm/actions": "./dist/evm/actions/index.js",
|
|
27
|
+
"./cosmos": "./dist/cosmos/index.js",
|
|
28
|
+
"./cosmos/hooks": "./dist/cosmos/hooks/index.js",
|
|
29
|
+
"./cosmos/actions": "./dist/cosmos/actions/index.js",
|
|
30
|
+
"./solana": "./dist/solana/index.js",
|
|
31
|
+
"./solana/hooks": "./dist/solana/hooks/index.js",
|
|
32
|
+
"./solana/actions": "./dist/solana/actions/index.js"
|
|
25
33
|
},
|
|
26
34
|
"files": [
|
|
27
35
|
"dist",
|
|
28
36
|
"package.json",
|
|
29
37
|
"styles.css"
|
|
30
38
|
],
|
|
31
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "2f05b64622b5813679e11282e5ed5c78c9a00e6c",
|
|
32
40
|
"main": "dist/index.js",
|
|
33
41
|
"peerDependencies": {
|
|
34
42
|
"@tanstack/react-query": ">=5.0.0",
|