@getpara/react-core 2.31.0 → 2.32.1

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.
@@ -21,15 +21,10 @@ export declare const logout: (para?: ParaCore, args?: LogoutParams) => Promise<v
21
21
  export declare const resendVerificationCode: (para?: ParaCore, args?: ResendVerificationCodeParams) => Promise<void>;
22
22
  export declare const createWallet: (para?: ParaCore, args?: CreateWalletParams) => Promise<CreateWalletResponse>;
23
23
  export declare const createWalletPerType: (para?: ParaCore, args?: CreateWalletPerTypeParams) => Promise<CreateWalletPerTypeResponse>;
24
- /** @deprecated Use the REST API (`POST /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen */
25
24
  export declare const createPregenWallet: (para?: ParaCore, args?: CreatePregenWalletParams) => Promise<CreatePregenWalletResponse>;
26
- /** @deprecated Use the REST API (`POST /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen */
27
25
  export declare const createPregenWalletPerType: (para?: ParaCore, args?: CreatePregenWalletPerTypeParams) => Promise<CreatePregenWalletPerTypeResponse>;
28
- /** @deprecated Use the REST API (`POST /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen */
29
26
  export declare const claimPregenWallets: (para?: ParaCore, args?: ClaimPregenWalletsParams) => Promise<ClaimPregenWalletsResponse>;
30
- /** @deprecated Use the REST API (`GET /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen */
31
27
  export declare const hasPregenWallet: (para?: ParaCore, args?: HasPregenWalletParams) => Promise<boolean>;
32
- /** @deprecated Use the REST API (`PATCH /v1/wallets/:id`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen */
33
28
  export declare const updatePregenWalletIdentifier: (para?: ParaCore, args?: UpdatePregenWalletIdentifierParams) => Promise<void>;
34
29
  export declare const createGuestWallets: (para?: ParaCore) => Promise<CreateGuestWalletsResponse>;
35
30
  export declare const signMessage: (para?: ParaCore, args?: SignMessageParams) => Promise<FullSignatureRes>;
@@ -1,8 +1,6 @@
1
1
  import type { ClaimPregenWalletsParams } from '@getpara/core-sdk';
2
2
  export declare const CLAIM_PREGEN_WALLETS_KEY = "CLAIM_PREGEN_WALLETS";
3
3
  /**
4
- * @deprecated Use the REST API (`POST /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen
5
- *
6
4
  * React hook for the `claimPregenWallets` mutation.
7
5
  *
8
6
  * Returns a mutation result object with all standard fields from `useMutation`, except:
@@ -1,8 +1,6 @@
1
1
  import type { CreatePregenWalletParams } from '@getpara/core-sdk';
2
2
  export declare const CREATE_PREGEN_WALLET_KEY = "CREATE_PREGEN_WALLET";
3
3
  /**
4
- * @deprecated Use the REST API (`POST /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen
5
- *
6
4
  * React hook for the `createPregenWallet` mutation.
7
5
  *
8
6
  * Returns a mutation result object with all standard fields from `useMutation`, except:
@@ -1,8 +1,6 @@
1
1
  import type { CreatePregenWalletPerTypeParams, CreatePregenWalletPerTypeResponse } from '@getpara/core-sdk';
2
2
  export declare const CREATE_PREGEN_WALLET_PER_TYPE_KEY = "CREATE_PREGEN_WALLET_PER_TYPE";
3
3
  /**
4
- * @deprecated Use the REST API (`POST /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen
5
- *
6
4
  * React hook for the `createPregenWalletPerType` mutation.
7
5
  *
8
6
  * Returns a mutation result object with all standard fields from `useMutation`, except:
@@ -1,8 +1,6 @@
1
1
  import type { HasPregenWalletParams } from '@getpara/core-sdk';
2
2
  export declare const HAS_PREGEN_WALLET_KEY = "HAS_PREGEN_WALLET";
3
3
  /**
4
- * @deprecated Use the REST API (`GET /v1/wallets`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen
5
- *
6
4
  * React hook for the `hasPregenWallet` mutation.
7
5
  *
8
6
  * Returns a mutation result object with all standard fields from `useMutation`, except:
@@ -1,8 +1,6 @@
1
1
  import type { UpdatePregenWalletIdentifierParams } from '@getpara/core-sdk';
2
2
  export declare const UPDATE_PREGEN_WALLET_IDENTIFIER_KEY = "UPDATE_PREGEN_WALLET_IDENTIFIER";
3
3
  /**
4
- * @deprecated Use the REST API (`PATCH /v1/wallets/:id`) instead. See https://docs.getpara.com/v2/rest/migrate-from-sdk-pregen
5
- *
6
4
  * React hook for the `updatePregenWalletIdentifier` mutation.
7
5
  *
8
6
  * Returns a mutation result object with all standard fields from `useMutation`, except:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getpara/react-core",
3
- "version": "2.31.0",
3
+ "version": "2.32.1",
4
4
  "description": "Platform-agnostic ParaProvider, hooks, and store for Para SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -82,17 +82,17 @@
82
82
  "test": "vitest run"
83
83
  },
84
84
  "dependencies": {
85
- "@getpara/core-sdk": "2.31.0",
85
+ "@getpara/core-sdk": "2.32.1",
86
86
  "zustand": "^5.0.0"
87
87
  },
88
88
  "devDependencies": {
89
89
  "@cosmjs/amino": "^0.32.0",
90
90
  "@cosmjs/proto-signing": "^0.32.0",
91
- "@getpara/cosmjs-v0-integration": "2.31.0",
92
- "@getpara/ethers-v6-integration": "2.31.0",
93
- "@getpara/solana-signers-v2-integration": "2.31.0",
94
- "@getpara/stellar-sdk-v14-integration": "2.31.0",
95
- "@getpara/viem-v2-integration": "2.31.0",
91
+ "@getpara/cosmjs-v0-integration": "2.32.1",
92
+ "@getpara/ethers-v6-integration": "2.32.1",
93
+ "@getpara/solana-signers-v2-integration": "2.32.1",
94
+ "@getpara/stellar-sdk-v14-integration": "2.32.1",
95
+ "@getpara/viem-v2-integration": "2.32.1",
96
96
  "@solana/signers": "^2.0.0",
97
97
  "@tanstack/react-query": "^5.74.0",
98
98
  "@testing-library/dom": "^10.4.0",
@@ -134,5 +134,5 @@
134
134
  "optional": true
135
135
  }
136
136
  },
137
- "gitHead": "174819efc3091ef104a4b54c887066587b07e4b8"
137
+ "gitHead": "8a8d69e6514eaf2c173fea0c9ebab8df0529e5c3"
138
138
  }