@getpara/react-sdk 2.15.0 → 2.17.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.
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-alchemy';
2
+ export { useAlchemySmartAccount, ALCHEMY_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-alchemy";
4
+ import { useAlchemySmartAccount, ALCHEMY_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ ALCHEMY_SMART_ACCOUNT_BASE_KEY,
7
+ useAlchemySmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-biconomy';
2
+ export { useBiconomySmartAccount, BICONOMY_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-biconomy";
4
+ import { useBiconomySmartAccount, BICONOMY_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ BICONOMY_SMART_ACCOUNT_BASE_KEY,
7
+ useBiconomySmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-cdp';
2
+ export { useCDPSmartAccount, CDP_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-cdp";
4
+ import { useCDPSmartAccount, CDP_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ CDP_SMART_ACCOUNT_BASE_KEY,
7
+ useCDPSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-gelato';
2
+ export { useGelatoSmartAccount, GELATO_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-gelato";
4
+ import { useGelatoSmartAccount, GELATO_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ GELATO_SMART_ACCOUNT_BASE_KEY,
7
+ useGelatoSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-pimlico';
2
+ export { usePimlicoSmartAccount, PIMLICO_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-pimlico";
4
+ import { usePimlicoSmartAccount, PIMLICO_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ PIMLICO_SMART_ACCOUNT_BASE_KEY,
7
+ usePimlicoSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-porto';
2
+ export { usePortoSmartAccount, PORTO_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-porto";
4
+ import { usePortoSmartAccount, PORTO_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ PORTO_ACCOUNT_BASE_KEY,
7
+ usePortoSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-rhinestone';
2
+ export { useRhinestoneSmartAccount, RHINESTONE_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-rhinestone";
4
+ import { useRhinestoneSmartAccount, RHINESTONE_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ RHINESTONE_SMART_ACCOUNT_BASE_KEY,
7
+ useRhinestoneSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-safe';
2
+ export { useSafeSmartAccount, SAFE_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-safe";
4
+ import { useSafeSmartAccount, SAFE_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ SAFE_SMART_ACCOUNT_BASE_KEY,
7
+ useSafeSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-thirdweb';
2
+ export { useThirdwebSmartAccount, THIRDWEB_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-thirdweb";
4
+ import { useThirdwebSmartAccount, THIRDWEB_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ THIRDWEB_SMART_ACCOUNT_BASE_KEY,
7
+ useThirdwebSmartAccount
8
+ };
@@ -0,0 +1,2 @@
1
+ export * from '@getpara/aa-zerodev';
2
+ export { useZeroDevSmartAccount, ZERODEV_SMART_ACCOUNT_BASE_KEY } from '@getpara/react-sdk-lite';
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import "../../chunk-MMUBH76A.js";
3
+ export * from "@getpara/aa-zerodev";
4
+ import { useZeroDevSmartAccount, ZERODEV_SMART_ACCOUNT_BASE_KEY } from "@getpara/react-sdk-lite";
5
+ export {
6
+ ZERODEV_SMART_ACCOUNT_BASE_KEY,
7
+ useZeroDevSmartAccount
8
+ };
package/dist/index.d.ts CHANGED
@@ -2,3 +2,14 @@ export * from '@getpara/react-sdk-lite';
2
2
  import ParaWeb from '@getpara/react-sdk-lite';
3
3
  export default ParaWeb;
4
4
  export { ParaProvider } from './provider/ParaProvider.js';
5
+ export * from '@getpara/viem-v2-integration/aa';
6
+ export type { CreateAlchemySmartAccountParams, AlchemySmartAccountConfig, UseAlchemySmartAccountParams, AlchemyTransactionOptions, } from '@getpara/aa-alchemy';
7
+ export type { CreateZeroDevSmartAccountParams, ZeroDevSmartAccountConfig, UseZeroDevSmartAccountParams, ZeroDevTransactionOptions, } from '@getpara/aa-zerodev';
8
+ export type { CreateBiconomySmartAccountParams, BiconomySmartAccountConfig, UseBiconomySmartAccountParams, } from '@getpara/aa-biconomy';
9
+ export type { CreateGelatoSmartAccountParams, GelatoSmartAccountConfig, UseGelatoSmartAccountParams, } from '@getpara/aa-gelato';
10
+ export type { CreatePimlicoSmartAccountParams, PimlicoSmartAccountConfig, UsePimlicoSmartAccountParams, } from '@getpara/aa-pimlico';
11
+ export type { CreateSafeSmartAccountParams, SafeSmartAccountConfig, UseSafeSmartAccountParams, SafeTransactionOptions, } from '@getpara/aa-safe';
12
+ export type { CreateThirdwebSmartAccountParams, ThirdwebSmartAccountConfig, UseThirdwebSmartAccountParams, } from '@getpara/aa-thirdweb';
13
+ export type { CreateRhinestoneSmartAccountParams, RhinestoneSmartAccountConfig, UseRhinestoneSmartAccountParams, } from '@getpara/aa-rhinestone';
14
+ export type { CreatePortoSmartAccountParams, PortoAccountConfig, UsePortoSmartAccountParams } from '@getpara/aa-porto';
15
+ export type { CreateCDPSmartAccountParams, CDPSmartAccountConfig, UseCDPSmartAccountParams } from '@getpara/aa-cdp';
package/dist/index.js CHANGED
@@ -4,6 +4,7 @@ export * from "@getpara/react-sdk-lite";
4
4
  import ParaWeb from "@getpara/react-sdk-lite";
5
5
  var src_default = ParaWeb;
6
6
  import { ParaProvider } from "./provider/ParaProvider.js";
7
+ export * from "@getpara/viem-v2-integration/aa";
7
8
  export {
8
9
  ParaProvider,
9
10
  src_default as default
@@ -1,8 +1,7 @@
1
1
  import ParaWeb from '@getpara/react-sdk-lite';
2
- import { SolanaRpcApi } from '@solana/rpc-api';
3
- import { Rpc } from '@solana/rpc-spec';
2
+ import { type ParaSignerParams } from '@getpara/solana-signers-v2-integration';
4
3
  export declare const getSolanaSigner: ({ para, rpc, walletId, }: {
5
4
  para: ParaWeb;
6
5
  walletId?: string;
7
- rpc: Rpc<SolanaRpcApi>;
6
+ rpc: ParaSignerParams["rpc"];
8
7
  }) => Promise<import("@getpara/solana-signers-v2-integration").ParaSolanaSigner>;
@@ -1,9 +1,8 @@
1
- import { SolanaRpcApi } from '@solana/rpc-api';
2
- import { Rpc } from '@solana/rpc-spec';
1
+ import type { ParaSignerParams } from '@getpara/solana-signers-v2-integration';
3
2
  export declare const SOLANA_SIGNER_BASE_KEY = "PARA_SOLANA_SIGNER";
4
3
  type UseSolanaSignerParameters = {
5
4
  walletId?: string;
6
- rpc: Rpc<SolanaRpcApi>;
5
+ rpc: ParaSignerParams['rpc'];
7
6
  };
8
7
  export declare const useSolanaSigner: ({ walletId, rpc }: UseSolanaSignerParameters) => {
9
8
  solanaSigner: import("@getpara/solana-signers-v2-integration").ParaSolanaSigner | null | undefined;
package/package.json CHANGED
@@ -1,18 +1,29 @@
1
1
  {
2
2
  "name": "@getpara/react-sdk",
3
- "version": "2.15.0",
3
+ "version": "2.17.0",
4
4
  "dependencies": {
5
- "@getpara/cosmjs-v0-integration": "2.15.0",
6
- "@getpara/cosmos-wallet-connectors": "2.15.0",
7
- "@getpara/evm-wallet-connectors": "2.15.0",
8
- "@getpara/react-sdk-lite": "2.15.0",
9
- "@getpara/solana-signers-v2-integration": "2.15.0",
10
- "@getpara/solana-wallet-connectors": "2.15.0",
11
- "@getpara/viem-v2-integration": "2.15.0"
5
+ "@getpara/aa-alchemy": "2.17.0",
6
+ "@getpara/aa-biconomy": "2.17.0",
7
+ "@getpara/aa-cdp": "2.17.0",
8
+ "@getpara/aa-gelato": "2.17.0",
9
+ "@getpara/aa-pimlico": "2.17.0",
10
+ "@getpara/aa-porto": "2.17.0",
11
+ "@getpara/aa-rhinestone": "2.17.0",
12
+ "@getpara/aa-safe": "2.17.0",
13
+ "@getpara/aa-thirdweb": "2.17.0",
14
+ "@getpara/aa-zerodev": "2.17.0",
15
+ "@getpara/cosmjs-v0-integration": "2.17.0",
16
+ "@getpara/cosmos-wallet-connectors": "2.17.0",
17
+ "@getpara/evm-wallet-connectors": "2.17.0",
18
+ "@getpara/react-sdk-lite": "2.17.0",
19
+ "@getpara/solana-signers-v2-integration": "2.17.0",
20
+ "@getpara/solana-wallet-connectors": "2.17.0",
21
+ "@getpara/viem-v2-integration": "2.17.0"
12
22
  },
13
23
  "devDependencies": {
14
- "@types/react": "^18.0.31",
15
- "@types/react-dom": "^18.2.7",
24
+ "@metamask/delegation-toolkit": "^0.11.0",
25
+ "@types/react": "^18.3.3",
26
+ "@types/react-dom": "^18.3.0",
16
27
  "typescript": "^5.8.3"
17
28
  },
18
29
  "exports": {
@@ -26,19 +37,30 @@
26
37
  "./cosmos/actions": "./dist/cosmos/actions/index.js",
27
38
  "./solana": "./dist/solana/index.js",
28
39
  "./solana/hooks": "./dist/solana/hooks/index.js",
29
- "./solana/actions": "./dist/solana/actions/index.js"
40
+ "./solana/actions": "./dist/solana/actions/index.js",
41
+ "./aa/alchemy": "./dist/aa/alchemy/index.js",
42
+ "./aa/biconomy": "./dist/aa/biconomy/index.js",
43
+ "./aa/cdp": "./dist/aa/cdp/index.js",
44
+ "./aa/gelato": "./dist/aa/gelato/index.js",
45
+ "./aa/pimlico": "./dist/aa/pimlico/index.js",
46
+ "./aa/porto": "./dist/aa/porto/index.js",
47
+ "./aa/rhinestone": "./dist/aa/rhinestone/index.js",
48
+ "./aa/safe": "./dist/aa/safe/index.js",
49
+ "./aa/thirdweb": "./dist/aa/thirdweb/index.js",
50
+ "./aa/zerodev": "./dist/aa/zerodev/index.js"
30
51
  },
31
52
  "files": [
32
53
  "dist",
33
54
  "package.json",
34
55
  "styles.css"
35
56
  ],
36
- "gitHead": "9cecc178e975a44d8ed4b03f46aeb57ddcb7a152",
57
+ "gitHead": "3ed1f835b97ae720f1ac747611296e3b86f61138",
37
58
  "main": "dist/index.js",
38
59
  "peerDependencies": {
39
60
  "@tanstack/react-query": ">=5.0.0",
40
61
  "react": "*",
41
- "react-dom": "*"
62
+ "react-dom": "*",
63
+ "viem": ">=2.0.0"
42
64
  },
43
65
  "scripts": {
44
66
  "build": "rm -rf dist && yarn typegen && node ./scripts/build.mjs && yarn post-build",