@silentswap/react 0.0.78 → 0.0.80
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/contexts/OrdersContext.d.ts +12 -0
- package/dist/contexts/OrdersContext.js +63 -0
- package/dist/contexts/SwapFormEstimatesContext.d.ts +16 -0
- package/dist/contexts/SwapFormEstimatesContext.js +445 -0
- package/dist/contexts/orderTrackingConnection.d.ts +19 -0
- package/dist/contexts/orderTrackingConnection.js +327 -0
- package/dist/contexts/orderTrackingTypes.d.ts +149 -0
- package/dist/contexts/orderTrackingTypes.js +151 -0
- package/dist/hooks/silent/useBridgeExecution.d.ts +1 -1
- package/dist/hooks/silent/useBridgeExecution.js +47 -41
- package/dist/hooks/silent/useOrderTracking.d.ts +9 -143
- package/dist/hooks/silent/useOrderTracking.js +38 -514
- package/dist/hooks/silent/useSilentQuote.js +5 -3
- package/dist/hooks/usePlatformHealth.js +4 -3
- package/dist/index.d.ts +6 -3
- package/dist/index.js +2 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { useSilentClient } from './hooks/silent/useSilentClient.js';
|
|
2
2
|
export { PricesProvider, usePricesContext } from './contexts/PricesContext.js';
|
|
3
|
+
export { SwapFormEstimatesProvider, useSwapFormEstimatesContext, } from './contexts/SwapFormEstimatesContext.js';
|
|
3
4
|
export { AssetsProvider, useAssetsContext } from './contexts/AssetsContext.js';
|
|
4
5
|
export { BalancesProvider, useBalancesContext } from './contexts/BalancesContext.js';
|
|
5
6
|
export { OrdersProvider, useOrdersContext, useWalletFacilitatorGroups } from './contexts/OrdersContext.js';
|
|
@@ -8,7 +9,7 @@ export { useSilentOrders } from './hooks/silent/useSilentOrders.js';
|
|
|
8
9
|
export { useAuth } from './hooks/silent/useAuth.js';
|
|
9
10
|
export { useWallet } from './hooks/silent/useWallet.js';
|
|
10
11
|
export { useSilentQuote } from './hooks/silent/useSilentQuote.js';
|
|
11
|
-
export { useOrderTracking, OutputStage, getStatusTextFromStage, getProgressFromStage, } from './hooks/silent/useOrderTracking.js';
|
|
12
|
+
export { useOrderTracking, OutputStage, getStatusTextFromStage, getProgressFromStage, getOrderTrackingCacheKey, } from './hooks/silent/useOrderTracking.js';
|
|
12
13
|
export { useRefund } from './hooks/silent/useRefund.js';
|
|
13
14
|
export { useTransaction } from './hooks/useTransaction.js';
|
|
14
15
|
export { useQuote } from './hooks/useQuote.js';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@silentswap/react",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.80",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@bigmi/core": "^0.6.5",
|
|
26
26
|
"@ensdomains/ensjs": "^4.2.0",
|
|
27
|
-
"@silentswap/sdk": "0.0.
|
|
28
|
-
"@silentswap/ui-kit": "0.0.
|
|
27
|
+
"@silentswap/sdk": "0.0.80",
|
|
28
|
+
"@silentswap/ui-kit": "0.0.80",
|
|
29
29
|
"@solana/codecs-strings": "^5.1.0",
|
|
30
30
|
"@solana/kit": "^5.1.0",
|
|
31
31
|
"@solana/rpc": "^5.1.0",
|