@berachain/berajs 0.1.0-alpha.1 → 0.1.0-alpha.10
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/README.md +8 -0
- package/dist/{BeraError-CfcNTfpH.d.cts → BeraError-D1HS_rbb.d.cts} +3 -3
- package/dist/{BeraError-CfcNTfpH.d.ts → BeraError-D1HS_rbb.d.ts} +3 -3
- package/dist/{RequestError-BPxCeq0x.d.cts → RequestError-D8AE6xnI.d.cts} +1 -1
- package/dist/{RequestError-CtJLUaAc.d.ts → RequestError-m4jxyM7D.d.ts} +1 -1
- package/dist/actions/index.cjs +1 -1
- package/dist/actions/index.d.cts +9 -8
- package/dist/actions/index.d.ts +9 -8
- package/dist/actions/index.mjs +1 -1
- package/dist/{chunk-YKNKCICU.mjs → chunk-2422CKAT.mjs} +1 -1
- package/dist/{chunk-JQDPAEK2.mjs → chunk-3V2MGZRD.mjs} +1 -1
- package/dist/{chunk-SW47CI6T.cjs → chunk-4E5JGLUM.cjs} +1 -1
- package/dist/{chunk-33CW5NUN.cjs → chunk-4GY57XKG.cjs} +1 -1
- package/dist/{chunk-5GPS724E.mjs → chunk-ASRHUDAH.mjs} +1 -1
- package/dist/{chunk-MDA4YT6J.cjs → chunk-B47PDJZM.cjs} +1 -1
- package/dist/{chunk-SMZ3PG6A.mjs → chunk-ELUMRVNE.mjs} +1 -1
- package/dist/{chunk-XX77QPIR.mjs → chunk-JHCSZSJS.mjs} +1 -1
- package/dist/{chunk-6PL44I45.cjs → chunk-K2FCHQHA.cjs} +1 -1
- package/dist/chunk-LZPBQLKP.mjs +3 -0
- package/dist/{chunk-YKKMWJX5.cjs → chunk-M5BKM52U.cjs} +1 -1
- package/dist/{chunk-5UFI7X4U.mjs → chunk-VA37UBED.mjs} +1 -1
- package/dist/{chunk-LHFVY26H.cjs → chunk-WDFIETJS.cjs} +2 -2
- package/dist/chunk-WZLPSG5R.cjs +3 -0
- package/dist/contexts/index.cjs +1 -1
- package/dist/contexts/index.d.cts +3 -3
- package/dist/contexts/index.d.ts +3 -3
- package/dist/contexts/index.mjs +1 -1
- package/dist/{dex-BD7Bq3pJ.d.ts → dex-CxzGqVLe.d.ts} +1 -1
- package/dist/{dex-D9U93Ib-.d.cts → dex-jD95agMv.d.cts} +1 -1
- package/dist/errors/index.cjs +1 -1
- package/dist/errors/index.d.cts +2 -2
- package/dist/errors/index.d.ts +2 -2
- package/dist/errors/index.mjs +1 -1
- package/dist/{getValidatorQueuedOperatorAddress--AXNo9IY.d.ts → getValidatorQueuedOperatorAddress-9jSXlAse.d.ts} +2 -2
- package/dist/{getValidatorQueuedOperatorAddress-BbyH7asf.d.cts → getValidatorQueuedOperatorAddress-BCYlvah3.d.cts} +2 -2
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.d.cts +7 -7
- package/dist/hooks/index.d.ts +7 -7
- package/dist/hooks/index.mjs +2 -2
- package/dist/{staking-DYbVFigB.d.ts → staking-Bw46L2PT.d.ts} +1 -1
- package/dist/{staking-DHCsSRru.d.cts → staking-BxYDlMtj.d.cts} +1 -1
- package/dist/types/index.d.cts +3 -3
- package/dist/types/index.d.ts +3 -3
- package/dist/{useHoneySwapState-CW49RVci.d.ts → useHoneySwapState-CD8v6y1k.d.ts} +1 -1
- package/dist/{useHoneySwapState-A9cyIoOS.d.cts → useHoneySwapState-YfMSTWY3.d.cts} +1 -1
- package/dist/utils/index.cjs +1 -1
- package/dist/utils/index.d.cts +4 -4
- package/dist/utils/index.d.ts +4 -4
- package/dist/utils/index.mjs +1 -1
- package/package.json +20 -7
- package/dist/chunk-ILYYJYGV.cjs +0 -3
- package/dist/chunk-RNESAHY2.mjs +0 -3
package/dist/hooks/index.d.cts
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-BCYlvah3.cjs';
|
|
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-jD95agMv.cjs';
|
|
5
|
+
export { L as TxnEventKeys } from '../dex-jD95agMv.cjs';
|
|
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,13 +16,13 @@ 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-BxYDlMtj.cjs';
|
|
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-YfMSTWY3.cjs';
|
|
25
|
+
export { r as reducer, u as useHoneySwapState } from '../useHoneySwapState-YfMSTWY3.cjs';
|
|
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';
|
|
@@ -34,7 +34,7 @@ import * as _berachain_graphql_pol_subgraph from '@berachain/graphql/pol/subgrap
|
|
|
34
34
|
import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery } from '@berachain/graphql/pol/subgraph';
|
|
35
35
|
import '../aggregatorsRouter-Cny4B_MB.cjs';
|
|
36
36
|
import '@berachain/config';
|
|
37
|
-
import '../BeraError-
|
|
37
|
+
import '../BeraError-D1HS_rbb.cjs';
|
|
38
38
|
import '@sentry/nextjs';
|
|
39
39
|
import '@berachain/config/internal/edge-config';
|
|
40
40
|
|
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-9jSXlAse.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-CxzGqVLe.js';
|
|
5
|
+
export { L as TxnEventKeys } from '../dex-CxzGqVLe.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,13 +16,13 @@ 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-Bw46L2PT.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-CD8v6y1k.js';
|
|
25
|
+
export { r as reducer, u as useHoneySwapState } from '../useHoneySwapState-CD8v6y1k.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';
|
|
@@ -34,7 +34,7 @@ import * as _berachain_graphql_pol_subgraph from '@berachain/graphql/pol/subgrap
|
|
|
34
34
|
import { GetValidatorBlockStatsQuery, GetValidatorAnalyticsQuery } from '@berachain/graphql/pol/subgraph';
|
|
35
35
|
import '../aggregatorsRouter-Cny4B_MB.js';
|
|
36
36
|
import '@berachain/config';
|
|
37
|
-
import '../BeraError-
|
|
37
|
+
import '../BeraError-D1HS_rbb.js';
|
|
38
38
|
import '@sentry/nextjs';
|
|
39
39
|
import '@berachain/config/internal/edge-config';
|
|
40
40
|
|