@aave/react 4.0.0-next.46 → 4.0.0-next.47
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/ethers.d.cts +1 -1
- package/dist/ethers.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +766 -739
- package/dist/index.d.ts +766 -739
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/{misc-COaS62_P.d.ts → misc-BqyLi2XD.d.ts} +1 -1
- package/dist/{misc-DBn3Mp67.d.cts → misc-rpxVotZV.d.cts} +1 -1
- package/dist/privy.d.cts +1 -1
- package/dist/privy.d.ts +1 -1
- package/dist/thirdweb.d.cts +1 -1
- package/dist/thirdweb.d.ts +1 -1
- package/dist/viem/index.d.cts +2 -2
- package/dist/viem/index.d.ts +2 -2
- package/dist/{writes-CcVGQGt5.d.cts → writes-sBt0thuG.d.cts} +5 -1
- package/dist/{writes-CcVGQGt5.d.ts → writes-sBt0thuG.d.ts} +5 -1
- package/package.json +5 -4
|
@@ -2,7 +2,7 @@ import { UnexpectedError, CurrencyQueryOptions } from '@aave/client';
|
|
|
2
2
|
import { UnexpectedError as UnexpectedError$1 } from '@aave/core';
|
|
3
3
|
import { ChainRequest, Chain, ChainsRequest, ExchangeRateRequest, ExchangeAmount, ActivityItem, PreviewAction, NativeAmount } from '@aave/graphql';
|
|
4
4
|
import { NullishDeep, Prettify } from '@aave/types';
|
|
5
|
-
import { a as UseAsyncTask } from './writes-
|
|
5
|
+
import { a as UseAsyncTask } from './writes-sBt0thuG.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A read hook result that supports pausing.
|
|
@@ -2,7 +2,7 @@ import { UnexpectedError, CurrencyQueryOptions } from '@aave/client';
|
|
|
2
2
|
import { UnexpectedError as UnexpectedError$1 } from '@aave/core';
|
|
3
3
|
import { ChainRequest, Chain, ChainsRequest, ExchangeRateRequest, ExchangeAmount, ActivityItem, PreviewAction, NativeAmount } from '@aave/graphql';
|
|
4
4
|
import { NullishDeep, Prettify } from '@aave/types';
|
|
5
|
-
import { a as UseAsyncTask } from './writes-
|
|
5
|
+
import { a as UseAsyncTask } from './writes-sBt0thuG.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* A read hook result that supports pausing.
|
package/dist/privy.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypedData, SignTypedDataError } from '@aave/client';
|
|
2
2
|
import { Signature } from '@aave/types';
|
|
3
|
-
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-
|
|
3
|
+
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-sBt0thuG.cjs';
|
|
4
4
|
import '@aave/core';
|
|
5
5
|
import '@aave/graphql';
|
|
6
6
|
|
package/dist/privy.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypedData, SignTypedDataError } from '@aave/client';
|
|
2
2
|
import { Signature } from '@aave/types';
|
|
3
|
-
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-
|
|
3
|
+
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-sBt0thuG.js';
|
|
4
4
|
import '@aave/core';
|
|
5
5
|
import '@aave/graphql';
|
|
6
6
|
|
package/dist/thirdweb.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypedData, SignTypedDataError } from '@aave/client';
|
|
2
2
|
import { Signature } from '@aave/types';
|
|
3
3
|
import { ThirdwebClient } from 'thirdweb';
|
|
4
|
-
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-
|
|
4
|
+
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-sBt0thuG.cjs';
|
|
5
5
|
import '@aave/core';
|
|
6
6
|
import '@aave/graphql';
|
|
7
7
|
|
package/dist/thirdweb.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypedData, SignTypedDataError } from '@aave/client';
|
|
2
2
|
import { Signature } from '@aave/types';
|
|
3
3
|
import { ThirdwebClient } from 'thirdweb';
|
|
4
|
-
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-
|
|
4
|
+
import { U as UseSendTransactionResult, a as UseAsyncTask } from './writes-sBt0thuG.js';
|
|
5
5
|
import '@aave/core';
|
|
6
6
|
import '@aave/graphql';
|
|
7
7
|
|
package/dist/viem/index.d.cts
CHANGED
|
@@ -2,8 +2,8 @@ export { viemChainsFrom } from '@aave/client/viem';
|
|
|
2
2
|
import { TypedData, SignTypedDataError } from '@aave/client';
|
|
3
3
|
import { Signature } from '@aave/types';
|
|
4
4
|
import { WalletClient } from 'viem';
|
|
5
|
-
import { U as UseSendTransactionResult, a as UseAsyncTask } from '../writes-
|
|
6
|
-
import { U as UseNetworkFee } from '../misc-
|
|
5
|
+
import { U as UseSendTransactionResult, a as UseAsyncTask } from '../writes-sBt0thuG.cjs';
|
|
6
|
+
import { U as UseNetworkFee } from '../misc-rpxVotZV.cjs';
|
|
7
7
|
import '@aave/core';
|
|
8
8
|
import '@aave/graphql';
|
|
9
9
|
|
package/dist/viem/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ export { viemChainsFrom } from '@aave/client/viem';
|
|
|
2
2
|
import { TypedData, SignTypedDataError } from '@aave/client';
|
|
3
3
|
import { Signature } from '@aave/types';
|
|
4
4
|
import { WalletClient } from 'viem';
|
|
5
|
-
import { U as UseSendTransactionResult, a as UseAsyncTask } from '../writes-
|
|
6
|
-
import { U as UseNetworkFee } from '../misc-
|
|
5
|
+
import { U as UseSendTransactionResult, a as UseAsyncTask } from '../writes-sBt0thuG.js';
|
|
6
|
+
import { U as UseNetworkFee } from '../misc-BqyLi2XD.js';
|
|
7
7
|
import '@aave/core';
|
|
8
8
|
import '@aave/graphql';
|
|
9
9
|
|
|
@@ -92,6 +92,10 @@ type UseAsyncTask<TInput, TValue, TError> = [
|
|
|
92
92
|
*/
|
|
93
93
|
type SendTransactionError = CancelError | SigningError | UnexpectedError;
|
|
94
94
|
type CancelOperation = (message: string) => ResultAsync<never, CancelError>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
declare const cancel: CancelOperation;
|
|
95
99
|
type TransactionHandlerOptions = {
|
|
96
100
|
cancel: CancelOperation;
|
|
97
101
|
};
|
|
@@ -127,4 +131,4 @@ type UseSendTransactionResult = UseAsyncTask<TransactionRequest, PendingTransact
|
|
|
127
131
|
*/
|
|
128
132
|
type ExecutionPlanHandler<T, R extends Signature | PendingTransaction> = (plan: T, options: TransactionHandlerOptions) => ResultAsync<R, SendTransactionError>;
|
|
129
133
|
|
|
130
|
-
export { type AsyncTaskError as A, type CancelOperation as C, type ExecutionPlanHandler as E, PendingTransaction as P, type SendTransactionError as S, type TransactionHandlerOptions as T, type UseSendTransactionResult as U, type UseAsyncTask as a, type PendingTransactionError as b, type AsyncTaskIdle as
|
|
134
|
+
export { type AsyncTaskError as A, type CancelOperation as C, type ExecutionPlanHandler as E, PendingTransaction as P, type SendTransactionError as S, type TransactionHandlerOptions as T, type UseSendTransactionResult as U, type UseAsyncTask as a, type PendingTransactionError as b, cancel as c, type AsyncTaskIdle as d, type AsyncTaskLoading as e, type AsyncTaskState as f, type AsyncTaskSuccess as g };
|
|
@@ -92,6 +92,10 @@ type UseAsyncTask<TInput, TValue, TError> = [
|
|
|
92
92
|
*/
|
|
93
93
|
type SendTransactionError = CancelError | SigningError | UnexpectedError;
|
|
94
94
|
type CancelOperation = (message: string) => ResultAsync<never, CancelError>;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
declare const cancel: CancelOperation;
|
|
95
99
|
type TransactionHandlerOptions = {
|
|
96
100
|
cancel: CancelOperation;
|
|
97
101
|
};
|
|
@@ -127,4 +131,4 @@ type UseSendTransactionResult = UseAsyncTask<TransactionRequest, PendingTransact
|
|
|
127
131
|
*/
|
|
128
132
|
type ExecutionPlanHandler<T, R extends Signature | PendingTransaction> = (plan: T, options: TransactionHandlerOptions) => ResultAsync<R, SendTransactionError>;
|
|
129
133
|
|
|
130
|
-
export { type AsyncTaskError as A, type CancelOperation as C, type ExecutionPlanHandler as E, PendingTransaction as P, type SendTransactionError as S, type TransactionHandlerOptions as T, type UseSendTransactionResult as U, type UseAsyncTask as a, type PendingTransactionError as b, type AsyncTaskIdle as
|
|
134
|
+
export { type AsyncTaskError as A, type CancelOperation as C, type ExecutionPlanHandler as E, PendingTransaction as P, type SendTransactionError as S, type TransactionHandlerOptions as T, type UseSendTransactionResult as U, type UseAsyncTask as a, type PendingTransactionError as b, cancel as c, type AsyncTaskIdle as d, type AsyncTaskLoading as e, type AsyncTaskState as f, type AsyncTaskSuccess as g };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aave/react",
|
|
3
|
-
"version": "4.0.0-next.
|
|
3
|
+
"version": "4.0.0-next.47",
|
|
4
4
|
"description": "The official React bindings for the Aave Protocol",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"aave",
|
|
@@ -72,9 +72,9 @@
|
|
|
72
72
|
"sideEffects": false,
|
|
73
73
|
"dependencies": {
|
|
74
74
|
"urql": "^5.0.1",
|
|
75
|
-
"@aave/
|
|
76
|
-
"@aave/
|
|
77
|
-
"@aave/graphql": "1.0.0-next.
|
|
75
|
+
"@aave/core": "1.0.0-next.18",
|
|
76
|
+
"@aave/client": "4.0.0-next.47",
|
|
77
|
+
"@aave/graphql": "1.0.0-next.33",
|
|
78
78
|
"@aave/types": "1.0.0-next.8"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|
|
@@ -90,6 +90,7 @@
|
|
|
90
90
|
"thirdweb": "^5.105.25",
|
|
91
91
|
"tsup": "^8.5.1",
|
|
92
92
|
"typescript": "^5.9.2",
|
|
93
|
+
"vitest": "^3.2.4",
|
|
93
94
|
"viem": "^2.37.5"
|
|
94
95
|
},
|
|
95
96
|
"peerDependencies": {
|