@0xsquid/react-hooks 8.8.1-beta-wallet-verification-signature.0 → 8.9.0

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.
Files changed (34) hide show
  1. package/dist/core/types/index.d.ts +1 -2
  2. package/dist/core/types/solana.d.ts +1 -11
  3. package/dist/core/types/sui.d.ts +1 -2
  4. package/dist/hooks/index.d.ts +0 -1
  5. package/dist/hooks/wallet/useMultiChainWallet.d.ts +3 -3
  6. package/dist/hooks/wallet/useSigner.d.ts +1 -1
  7. package/dist/hooks/wallet/useWallet.d.ts +3 -3
  8. package/dist/{index-HRIG7Ouo.js → index-BL_AUWQg.js} +93 -452
  9. package/dist/index-BL_AUWQg.js.map +1 -0
  10. package/dist/{index-CY1VgunM.js → index-DcBFug8t.js} +90 -463
  11. package/dist/index-DcBFug8t.js.map +1 -0
  12. package/dist/{index.es-CeCvMdCi.js → index.es-1XEAWjab.js} +2 -2
  13. package/dist/{index.es-CeCvMdCi.js.map → index.es-1XEAWjab.js.map} +1 -1
  14. package/dist/{index.es-DQjOxV6y.js → index.es-DSQHpime.js} +2 -2
  15. package/dist/{index.es-DQjOxV6y.js.map → index.es-DSQHpime.js.map} +1 -1
  16. package/dist/index.esm.js +1 -1
  17. package/dist/index.js +1 -19
  18. package/dist/index.js.map +1 -1
  19. package/dist/{secretService-VXdThOXU.js → secretService-B1SDXLS1.js} +2 -2
  20. package/dist/{secretService-VXdThOXU.js.map → secretService-B1SDXLS1.js.map} +1 -1
  21. package/dist/{secretService-BsWNEVyP.js → secretService-DxQ78j5I.js} +2 -2
  22. package/dist/{secretService-BsWNEVyP.js.map → secretService-DxQ78j5I.js.map} +1 -1
  23. package/dist/services/internal/solanaTokenProgramService.d.ts +9 -0
  24. package/dist/{stellarService.client-Dq9-MqMK.js → stellarService.client-C4TLBEpm.js} +2 -2
  25. package/dist/{stellarService.client-Dq9-MqMK.js.map → stellarService.client-C4TLBEpm.js.map} +1 -1
  26. package/dist/{stellarService.client-B-YOj7uL.js → stellarService.client-CkP5ng2n.js} +2 -2
  27. package/dist/{stellarService.client-B-YOj7uL.js.map → stellarService.client-CkP5ng2n.js.map} +1 -1
  28. package/dist/tests/solanaTokenProgramService.test.d.ts +1 -0
  29. package/package.json +1 -1
  30. package/dist/core/types/walletVerificationSignature.d.ts +0 -138
  31. package/dist/hooks/wallet/useWalletVerificationSignature.d.ts +0 -25
  32. package/dist/index-CY1VgunM.js.map +0 -1
  33. package/dist/index-HRIG7Ouo.js.map +0 -1
  34. /package/dist/{hooks/wallet/useWalletVerificationSignature.test.d.ts → tests/rpcServiceSolana.test.d.ts} +0 -0
@@ -6,6 +6,5 @@ export type * from "./onramps/";
6
6
  export type { SwapParams } from "./swap";
7
7
  export type { Chain, Token, TrustLineAsset } from "./tokens";
8
8
  export { AxelarStatusResponseType, SendTransactionStatus, TransactionStatus, type PatchedRouteActionResponse, type TransactionParams, } from "./transaction";
9
- export type { AddressWithEns, BitcoinWallet, ConnectorID, CosmosWallet, EnsData, EnsSearchResult, FullAddressData, NetworkConfig, SolanaWallet, SupportedChain, SuiWallet, Wallet, } from "./wallet";
10
- export * from "./walletVerificationSignature";
9
+ export type { AddressWithEns, BitcoinWallet, ConnectorID, CosmosWallet, EnsData, EnsSearchResult, FullAddressData, NetworkConfig, SolanaWallet, SupportedChain, Wallet, } from "./wallet";
11
10
  export { XamanXrplNetwork } from "./xrpl";
@@ -1,12 +1,2 @@
1
- import type { SolanaSignMessageMethod } from "@solana/wallet-standard-features";
2
1
  import type { StandardWalletAdapter } from "@solana/wallet-standard-wallet-adapter-base";
3
- import type { Wallet as StandardWallet } from "@wallet-standard/core";
4
- export type SolanaConnector = StandardWalletAdapter & {
5
- wallet: StandardWallet & {
6
- features: StandardWallet["features"] & {
7
- "solana:signMessage"?: {
8
- signMessage: SolanaSignMessageMethod;
9
- };
10
- };
11
- };
12
- };
2
+ export type SolanaConnector = StandardWalletAdapter;
@@ -1,4 +1,4 @@
1
- import type { StandardConnectInput, StandardEventsOnMethod, SuiSignPersonalMessageMethod, SuiSignTransactionMethod, WalletAccount as SuiWalletAccount } from "@mysten/wallet-standard";
1
+ import type { StandardConnectInput, StandardEventsOnMethod, SuiSignTransactionMethod, WalletAccount as SuiWalletAccount } from "@mysten/wallet-standard";
2
2
  export interface SuiAccount {
3
3
  account: SuiWalletAccount;
4
4
  }
@@ -6,7 +6,6 @@ export type SuiConnector = {
6
6
  connect: (params?: StandardConnectInput) => Promise<SuiAccount>;
7
7
  on: StandardEventsOnMethod;
8
8
  disconnect: () => Promise<void>;
9
- signPersonalMessage?: SuiSignPersonalMessageMethod;
10
9
  signTransaction: SuiSignTransactionMethod;
11
10
  };
12
11
  export interface SuiCoinBalance {
@@ -55,6 +55,5 @@ export { useIntegratorContext } from "./wallet/useIntegratorContext";
55
55
  export { useMultiChainWallet } from "./wallet/useMultiChainWallet";
56
56
  export { useSigner } from "./wallet/useSigner";
57
57
  export { useWallet } from "./wallet/useWallet";
58
- export { EVM_WALLET_VERIFICATION_SIGNATURE_TYPE, SOLANA_WALLET_VERIFICATION_SIGNATURE_TYPE, SUPPORTED_WALLET_VERIFICATION_CHAIN_TYPES, SUI_WALLET_VERIFICATION_SIGNATURE_TYPE, WalletVerificationSignatureError, WalletVerificationSignatureErrorCode, buildSolanaWalletVerificationSignatureResult, buildSuiWalletVerificationSignatureResult, buildWalletVerificationSignatureResult, getWalletVerificationSignatureCapability, useWalletVerificationSignature, type WalletVerificationSignatureCapability, type WalletVerificationSignatureMetadata, type WalletVerificationSignatureRequest, type WalletVerificationSignatureResult, type WalletVerificationSignatureType, } from "./wallet/useWalletVerificationSignature";
59
58
  export { useWallets } from "./wallet/useWallets";
60
59
  export { useXrplTrustLine } from "./xrpl/useXrplTrustLine";
@@ -115,7 +115,7 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
115
115
  supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
116
116
  } & {
117
117
  type: ChainType.SOLANA;
118
- connector: import("../../core/types/solana").SolanaConnector;
118
+ connector: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter;
119
119
  }) | ({
120
120
  name: string;
121
121
  connectorId: import("../../core/types/wallet").ConnectorID;
@@ -132,10 +132,10 @@ export declare const useMultiChainWallet: (chain: ChainData | undefined) => {
132
132
  isMultiChain?: false | undefined;
133
133
  } & {
134
134
  type: ChainType.SOLANA;
135
- connector: import("../../core/types/solana").SolanaConnector;
135
+ connector: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter;
136
136
  } & {
137
137
  type: ChainType.SOLANA;
138
- connector: import("../../core/types/solana").SolanaConnector;
138
+ connector: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter;
139
139
  }) | ({
140
140
  name: string;
141
141
  connectorId: import("../../core/types/wallet").ConnectorID;
@@ -7,7 +7,7 @@ export declare const useSigner: ({ chain }: {
7
7
  evmSigner: JsonRpcSigner | undefined;
8
8
  cosmosSigner: import("@cosmjs/proto-signing").OfflineSigner | undefined;
9
9
  bitcoinSigner: import("../../core/types/bitcoin").BitcoinConnector | undefined;
10
- solanaSigner: import("../../core/types/solana").SolanaConnector | undefined;
10
+ solanaSigner: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter | undefined;
11
11
  suiSigner: import("../../core/types/sui").SuiConnector | undefined;
12
12
  xrplSigner: import("../../core/types/xrpl").XrplConnector | undefined;
13
13
  stellarSigner: import("../../core/types/stellar").StellarConnector | undefined;
@@ -119,7 +119,7 @@ export declare const useWallet: () => {
119
119
  supportedNetworks: import("../../core/types/wallet").NetworkConfig[];
120
120
  } & {
121
121
  type: ChainType.SOLANA;
122
- connector: import("../../core/types/solana").SolanaConnector;
122
+ connector: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter;
123
123
  }) | ({
124
124
  name: string;
125
125
  connectorId: import("../../core/types/wallet").ConnectorID;
@@ -136,10 +136,10 @@ export declare const useWallet: () => {
136
136
  isMultiChain?: false | undefined;
137
137
  } & {
138
138
  type: ChainType.SOLANA;
139
- connector: import("../../core/types/solana").SolanaConnector;
139
+ connector: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter;
140
140
  } & {
141
141
  type: ChainType.SOLANA;
142
- connector: import("../../core/types/solana").SolanaConnector;
142
+ connector: import("@solana/wallet-standard-wallet-adapter-base").StandardWalletAdapter;
143
143
  });
144
144
  address: string;
145
145
  }>;