@aave/react 4.0.0-next.32 → 4.0.0-next.33
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/chunk-3TDVAQWZ.js +1664 -0
- package/dist/chunk-3TDVAQWZ.js.map +1 -0
- package/dist/chunk-6A77Z4MD.js +2 -0
- package/dist/chunk-6A77Z4MD.js.map +1 -0
- package/dist/chunk-PYBBLRVB.js +2 -0
- package/dist/chunk-PYBBLRVB.js.map +1 -0
- package/dist/chunk-Q5WBQO2R.js +2 -0
- package/dist/chunk-Q5WBQO2R.js.map +1 -0
- package/dist/chunk-SXNP4MR6.js +2 -0
- package/dist/chunk-SXNP4MR6.js.map +1 -0
- package/dist/ethers.cjs +1637 -1
- package/dist/ethers.cjs.map +1 -1
- package/dist/ethers.d.cts +2 -5
- package/dist/ethers.d.ts +2 -5
- package/dist/ethers.js +1 -1
- package/dist/ethers.js.map +1 -1
- package/dist/index.cjs +1663 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -20
- package/dist/index.d.ts +17 -20
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{misc-Bb3e3jZd.d.ts → misc-B5-hfFfF.d.ts} +4 -7
- package/dist/{misc-B2Lsewb5.d.cts → misc-B_3Pj33R.d.cts} +4 -7
- package/dist/privy.cjs +1637 -1
- package/dist/privy.cjs.map +1 -1
- package/dist/privy.d.cts +2 -5
- package/dist/privy.d.ts +2 -5
- package/dist/privy.js +1 -1
- package/dist/privy.js.map +1 -1
- package/dist/thirdweb.cjs +1637 -1
- package/dist/thirdweb.cjs.map +1 -1
- package/dist/thirdweb.d.cts +2 -5
- package/dist/thirdweb.d.ts +2 -5
- package/dist/thirdweb.js +1 -1
- package/dist/thirdweb.js.map +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.cjs.map +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/dist/viem/index.cjs +1637 -1
- package/dist/viem/index.cjs.map +1 -1
- package/dist/viem/index.d.cts +3 -6
- package/dist/viem/index.d.ts +3 -6
- package/dist/viem/index.js +1 -1
- package/dist/viem/index.js.map +1 -1
- package/dist/{writes-CcVGQGt5.d.cts → writes-d5YEXauI.d.cts} +1 -4
- package/dist/{writes-CcVGQGt5.d.ts → writes-d5YEXauI.d.ts} +1 -4
- package/package.json +2 -5
- package/dist/chunk-4GURAVFN.js +0 -2
- package/dist/chunk-4GURAVFN.js.map +0 -1
- package/dist/chunk-4NA4FB6K.js +0 -2
- package/dist/chunk-4NA4FB6K.js.map +0 -1
- package/dist/chunk-6REYOFJ4.js +0 -2
- package/dist/chunk-6REYOFJ4.js.map +0 -1
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { UnexpectedError, CurrencyQueryOptions } from '@aave/client';
|
|
2
|
-
import {
|
|
3
|
-
import { ChainRequest, Chain, ChainsRequest, ExchangeRateRequest, ExchangeAmount, ActivityItem, PreviewAction, NativeAmount } from '@aave/graphql';
|
|
4
|
-
import { NullishDeep, Prettify } from '@aave/types';
|
|
5
|
-
import { a as UseAsyncTask } from './writes-CcVGQGt5.js';
|
|
1
|
+
import { UnexpectedError, NullishDeep, Prettify, ChainRequest, Chain, ChainsRequest, ExchangeRateRequest, ExchangeAmount, ActivityItem, PreviewAction, CurrencyQueryOptions, NativeAmount } from '@aave/client';
|
|
2
|
+
import { a as UseAsyncTask } from './writes-d5YEXauI.js';
|
|
6
3
|
|
|
7
4
|
/**
|
|
8
5
|
* A read hook result that supports pausing.
|
|
@@ -170,7 +167,7 @@ declare function useChain(args: Pausable<UseChainArgs>): PausableReadResult<Chai
|
|
|
170
167
|
* }
|
|
171
168
|
* ```
|
|
172
169
|
*/
|
|
173
|
-
declare function useChainAction(): UseAsyncTask<ChainRequest, Chain | null, UnexpectedError
|
|
170
|
+
declare function useChainAction(): UseAsyncTask<ChainRequest, Chain | null, UnexpectedError>;
|
|
174
171
|
type UseChainsArgs = ChainsRequest;
|
|
175
172
|
/**
|
|
176
173
|
* Fetches the list of supported chains.
|
|
@@ -246,7 +243,7 @@ declare function useChains(args?: Pausable<UseChainsArgs>): PausableReadResult<C
|
|
|
246
243
|
* console.log('Exchange rate:', result.value);
|
|
247
244
|
* ```
|
|
248
245
|
*/
|
|
249
|
-
declare function useExchangeRateAction(): UseAsyncTask<ExchangeRateRequest, ExchangeAmount, UnexpectedError
|
|
246
|
+
declare function useExchangeRateAction(): UseAsyncTask<ExchangeRateRequest, ExchangeAmount, UnexpectedError>;
|
|
250
247
|
type UseExchangeRateArgs = ExchangeRateRequest;
|
|
251
248
|
/**
|
|
252
249
|
* Fetches exchange rates between tokens and fiat currencies with automatic polling.
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { UnexpectedError, CurrencyQueryOptions } from '@aave/client';
|
|
2
|
-
import {
|
|
3
|
-
import { ChainRequest, Chain, ChainsRequest, ExchangeRateRequest, ExchangeAmount, ActivityItem, PreviewAction, NativeAmount } from '@aave/graphql';
|
|
4
|
-
import { NullishDeep, Prettify } from '@aave/types';
|
|
5
|
-
import { a as UseAsyncTask } from './writes-CcVGQGt5.cjs';
|
|
1
|
+
import { UnexpectedError, NullishDeep, Prettify, ChainRequest, Chain, ChainsRequest, ExchangeRateRequest, ExchangeAmount, ActivityItem, PreviewAction, CurrencyQueryOptions, NativeAmount } from '@aave/client';
|
|
2
|
+
import { a as UseAsyncTask } from './writes-d5YEXauI.cjs';
|
|
6
3
|
|
|
7
4
|
/**
|
|
8
5
|
* A read hook result that supports pausing.
|
|
@@ -170,7 +167,7 @@ declare function useChain(args: Pausable<UseChainArgs>): PausableReadResult<Chai
|
|
|
170
167
|
* }
|
|
171
168
|
* ```
|
|
172
169
|
*/
|
|
173
|
-
declare function useChainAction(): UseAsyncTask<ChainRequest, Chain | null, UnexpectedError
|
|
170
|
+
declare function useChainAction(): UseAsyncTask<ChainRequest, Chain | null, UnexpectedError>;
|
|
174
171
|
type UseChainsArgs = ChainsRequest;
|
|
175
172
|
/**
|
|
176
173
|
* Fetches the list of supported chains.
|
|
@@ -246,7 +243,7 @@ declare function useChains(args?: Pausable<UseChainsArgs>): PausableReadResult<C
|
|
|
246
243
|
* console.log('Exchange rate:', result.value);
|
|
247
244
|
* ```
|
|
248
245
|
*/
|
|
249
|
-
declare function useExchangeRateAction(): UseAsyncTask<ExchangeRateRequest, ExchangeAmount, UnexpectedError
|
|
246
|
+
declare function useExchangeRateAction(): UseAsyncTask<ExchangeRateRequest, ExchangeAmount, UnexpectedError>;
|
|
250
247
|
type UseExchangeRateArgs = ExchangeRateRequest;
|
|
251
248
|
/**
|
|
252
249
|
* Fetches exchange rates between tokens and fiat currencies with automatic polling.
|