@berachain/berajs 0.1.0-alpha.0 → 0.1.0-alpha.2
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/BeraError-CfcNTfpH.d.cts +69 -0
- package/dist/BexStatusProvider-nS3NcdxI.d.cts +70 -0
- package/dist/RequestError-BPxCeq0x.d.cts +57 -0
- package/dist/abi/index.cjs +1 -0
- package/dist/abi/index.d.cts +26765 -0
- package/dist/actions/index.cjs +1 -0
- package/dist/actions/index.d.cts +1649 -0
- package/dist/actions/index.d.ts +7 -7
- package/dist/aggregatorsRouter-Cny4B_MB.d.cts +593 -0
- package/dist/chunk-33CW5NUN.cjs +1 -0
- package/dist/chunk-6PL44I45.cjs +1 -0
- package/dist/chunk-IKAE7CQU.cjs +1 -0
- package/dist/chunk-ILYYJYGV.cjs +3 -0
- package/dist/chunk-KIA6GUIN.cjs +1 -0
- package/dist/chunk-LHFVY26H.cjs +2 -0
- package/dist/chunk-LX5CM4Y6.cjs +1 -0
- package/dist/chunk-MDA4YT6J.cjs +1 -0
- package/dist/chunk-NOV7UCGA.cjs +1 -0
- package/dist/chunk-SW47CI6T.cjs +1 -0
- package/dist/chunk-YKKMWJX5.cjs +1 -0
- package/dist/contexts/index.cjs +1 -0
- package/dist/contexts/index.d.cts +81 -0
- package/dist/contexts/index.d.ts +3 -3
- package/dist/defaultFlags-V-tJs2K8.d.cts +10 -0
- package/dist/{dex-DreiokgL.d.ts → dex-D9U93Ib-.d.cts} +3 -3
- package/dist/enum/index.cjs +1 -0
- package/dist/enum/index.d.cts +31 -0
- package/dist/enum/index.d.ts +1 -1
- package/dist/errors/index.cjs +1 -0
- package/dist/errors/index.d.cts +204 -0
- package/dist/errors/index.d.ts +1 -1
- package/dist/{getValidatorQueuedOperatorAddress-DK2Xv19c.d.ts → getValidatorQueuedOperatorAddress-BbyH7asf.d.cts} +2 -2
- package/dist/hooks/index.cjs +3 -0
- package/dist/hooks/index.d.cts +1703 -0
- package/dist/hooks/index.d.ts +7 -7
- package/dist/polling-BKnyavLI.d.cts +8 -0
- package/dist/pythWrapper-CBjsmmsK.d.cts +1958 -0
- package/dist/{staking-Cggi38So.d.ts → staking-DHCsSRru.d.cts} +1 -1
- package/dist/{txnEnum-BQKDfaeH.d.ts → txnEnum-Diichv9Z.d.cts} +0 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/index.d.cts +56 -0
- package/dist/types/index.d.ts +3 -3
- package/dist/{useHoneySwapState-Ci8_c2bT.d.ts → useHoneySwapState-A9cyIoOS.d.cts} +1 -1
- package/dist/utils/index.cjs +1 -0
- package/dist/utils/index.d.cts +349 -0
- package/dist/utils/index.d.ts +3 -3
- package/package.json +10 -4
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { SWRResponse } from 'swr';
|
|
3
|
-
import { G as GetConvertToAssetsProps, O as OnChainPool, c as GetHoneyVaultsBalanceResponse, e as IsBadCollateralResponse, f as GetBgtAprSimulationArgs, h as GetBgtAprSimulationResult, k as GlobalData, m as GetMarkets, S as StakedBeraWithdrawal, R as RewardVaultIncentive, q as GetRewardVaultRewardsReturn, s as GetGaugeData, u as GetStakedBeraSnapshotsArgs, x as GetUserVaultsResponse, z as GetVaultHistoryArgs, V as ValidatorRewardAllocation, B as ValidatorWithUserBoost, D as UserBoostsOnValidator, F as UserStakingPoolPosition, J as ValidatorQueuedCommission, L as ValidatorQueuedOperatorAddress } from '../getValidatorQueuedOperatorAddress
|
|
4
|
-
import { D as DefaultHookOptions, S as SwapReferrer, d as HoneyConfigContextReturn, I as IRawAggregatorQuote, A as Aggregators, a as Token, x as TokenInput, y as PoolCreationStep, k as TokenCurrentPriceMap, z as TokenWithAmount, E as DefaultHookReturnType, F as IUserPosition, l as AllowanceToken, G as BalanceTokenWithMetadata, B as BalanceToken, j as PythPriceFeedMap, P as PythLatestUpdates, b as TokenWithMetadata, J as TokenPriceInfo, K as IUseContractWriteArgs, U as UseContractWriteApi } from '../dex-
|
|
5
|
-
export { L as TxnEventKeys } from '../dex-
|
|
3
|
+
import { G as GetConvertToAssetsProps, O as OnChainPool, c as GetHoneyVaultsBalanceResponse, e as IsBadCollateralResponse, f as GetBgtAprSimulationArgs, h as GetBgtAprSimulationResult, k as GlobalData, m as GetMarkets, S as StakedBeraWithdrawal, R as RewardVaultIncentive, q as GetRewardVaultRewardsReturn, s as GetGaugeData, u as GetStakedBeraSnapshotsArgs, x as GetUserVaultsResponse, z as GetVaultHistoryArgs, V as ValidatorRewardAllocation, B as ValidatorWithUserBoost, D as UserBoostsOnValidator, F as UserStakingPoolPosition, J as ValidatorQueuedCommission, L as ValidatorQueuedOperatorAddress } from '../getValidatorQueuedOperatorAddress--AXNo9IY.js';
|
|
4
|
+
import { D as DefaultHookOptions, S as SwapReferrer, d as HoneyConfigContextReturn, I as IRawAggregatorQuote, A as Aggregators, a as Token, x as TokenInput, y as PoolCreationStep, k as TokenCurrentPriceMap, z as TokenWithAmount, E as DefaultHookReturnType, F as IUserPosition, l as AllowanceToken, G as BalanceTokenWithMetadata, B as BalanceToken, j as PythPriceFeedMap, P as PythLatestUpdates, b as TokenWithMetadata, J as TokenPriceInfo, K as IUseContractWriteArgs, U as UseContractWriteApi } from '../dex-BD7Bq3pJ.js';
|
|
5
|
+
export { L as TxnEventKeys } from '../dex-BD7Bq3pJ.js';
|
|
6
6
|
import { Address, Hex } from 'viem';
|
|
7
7
|
import * as _berachain_graphql_dex_api from '@berachain/graphql/dex/api';
|
|
8
8
|
import { GetPoolsQueryVariables, MinimalPoolFragment, GqlPoolEventType, PoolHistoricalDataFragment, GqlRewardVaultDynamicData, GqlValidatorDynamicData } from '@berachain/graphql/dex/api';
|
|
@@ -16,20 +16,20 @@ import * as _ensofinance_sdk from '@ensofinance/sdk';
|
|
|
16
16
|
export { BundleData } from '@ensofinance/sdk';
|
|
17
17
|
import * as react from 'react';
|
|
18
18
|
import react__default from 'react';
|
|
19
|
-
import { G as GovernanceTopic, c as CustomProposalErrors, C as CustomProposal, U as UserVaultInfo, B as BribeBoostRewardProof } from '../staking-
|
|
19
|
+
import { G as GovernanceTopic, c as CustomProposalErrors, C as CustomProposal, U as UserVaultInfo, B as BribeBoostRewardProof } from '../staking-DYbVFigB.js';
|
|
20
20
|
import * as swr_infinite from 'swr/infinite';
|
|
21
21
|
import { SWRInfiniteResponse, SWRInfiniteKeyLoader } from 'swr/infinite';
|
|
22
22
|
import * as _berachain_graphql_governance from '@berachain/graphql/governance';
|
|
23
23
|
import { Proposal_Filter, Proposal_OrderBy, OrderDirection, ProposalStatus, ProposalSelectionFragment, ProposalWithVotesFragment, GetProposalVotesQueryVariables } from '@berachain/graphql/governance';
|
|
24
|
-
import { I as IHoneySwapState } from '../useHoneySwapState-
|
|
25
|
-
export { r as reducer, u as useHoneySwapState } from '../useHoneySwapState-
|
|
24
|
+
import { I as IHoneySwapState } from '../useHoneySwapState-CW49RVci.js';
|
|
25
|
+
export { r as reducer, u as useHoneySwapState } from '../useHoneySwapState-CW49RVci.js';
|
|
26
26
|
import * as _berachain_graphql_honey from '@berachain/graphql/honey';
|
|
27
27
|
import BigNumber from 'bignumber.js';
|
|
28
28
|
import * as _berachain_graphql_pol_api from '@berachain/graphql/pol/api';
|
|
29
29
|
import { GqlRewardVaultFilter, ApiVaultFragment, GetVaultsQueryVariables, GetSWberaVaultSnapshotsQuery, GetVaultHistoryQuery, ApiValidatorFragment, GetValidatorsQueryVariables, GqlChain, GetValidatorsQuery, GetValidatorQuery, ApiValidatorMinimalFragment } from '@berachain/graphql/pol/api';
|
|
30
30
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
31
31
|
import { Config } from '@wagmi/core';
|
|
32
|
-
import { T as TransactionActionType } from '../txnEnum-
|
|
32
|
+
import { T as TransactionActionType } from '../txnEnum-Diichv9Z.js';
|
|
33
33
|
import * as _berachain_graphql_pol_subgraph from '@berachain/graphql/pol/subgraph';
|
|
34
34
|
import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery } from '@berachain/graphql/pol/subgraph';
|
|
35
35
|
import '../aggregatorsRouter-Cny4B_MB.js';
|