@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/errors/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicClient, Address, TransactionReceipt } from 'viem';
|
|
2
|
-
import { I as IBeraErrorArgs, B as BeraError } from '../BeraError-
|
|
3
|
-
export { R as RequestError } from '../RequestError-
|
|
2
|
+
import { I as IBeraErrorArgs, B as BeraError } from '../BeraError-D1HS_rbb.cjs';
|
|
3
|
+
export { R as RequestError } from '../RequestError-D8AE6xnI.cjs';
|
|
4
4
|
import { Hex } from '@berachain-foundation/berancer-sdk';
|
|
5
5
|
import '@sentry/nextjs';
|
|
6
6
|
import '@apollo/client';
|
package/dist/errors/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicClient, Address, TransactionReceipt } from 'viem';
|
|
2
|
-
import { I as IBeraErrorArgs, B as BeraError } from '../BeraError-
|
|
3
|
-
export { R as RequestError } from '../RequestError-
|
|
2
|
+
import { I as IBeraErrorArgs, B as BeraError } from '../BeraError-D1HS_rbb.js';
|
|
3
|
+
export { R as RequestError } from '../RequestError-m4jxyM7D.js';
|
|
4
4
|
import { Hex } from '@berachain-foundation/berancer-sdk';
|
|
5
5
|
import '@sentry/nextjs';
|
|
6
6
|
import '@apollo/client';
|
package/dist/errors/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as f,c as g,d as h,e as i,f as j,g as k}from"../chunk-
|
|
1
|
+
import{a as e,b as f,c as g,d as h,e as i,f as j,g as k}from"../chunk-2422CKAT.mjs";import{a as d}from"../chunk-VA37UBED.mjs";import{b as a,f as b,g as c}from"../chunk-ASRHUDAH.mjs";export{b as BeraError,c as InvalidArgumentError,j as NotFoundError,d as RequestError,k as TransactionFailedError,h as assertAddress,i as assertAmount,f as assertDefined,g as assertPublicClient,a as getErrorMessage,e as initBeraError};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, PublicClient, Hex } from 'viem';
|
|
2
2
|
import { GqlPoolType, GlobalDataQuery, ApiVaultFragment, GetVaultsQueryVariables, GqlChain, GqlVaultSnapshotDataRange, GetSWberaVaultSnapshotsQuery, GetVaultHistoryQueryVariables, GetVaultHistoryQuery, ApiValidatorFragment } from '@berachain/graphql/pol/api';
|
|
3
|
-
import { h as TokenBalance, a as Token, P as PythLatestUpdates } from './dex-
|
|
4
|
-
import { P as ProtocolMetadata } from './staking-
|
|
3
|
+
import { h as TokenBalance, a as Token, P as PythLatestUpdates } from './dex-CxzGqVLe.js';
|
|
4
|
+
import { P as ProtocolMetadata } from './staking-Bw46L2PT.js';
|
|
5
5
|
import { GetPublicClientReturnType } from '@wagmi/core';
|
|
6
6
|
|
|
7
7
|
interface GetConvertToAssetsProps {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Address, PublicClient, Hex } from 'viem';
|
|
2
2
|
import { GqlPoolType, GlobalDataQuery, ApiVaultFragment, GetVaultsQueryVariables, GqlChain, GqlVaultSnapshotDataRange, GetSWberaVaultSnapshotsQuery, GetVaultHistoryQueryVariables, GetVaultHistoryQuery, ApiValidatorFragment } from '@berachain/graphql/pol/api';
|
|
3
|
-
import { h as TokenBalance, a as Token, P as PythLatestUpdates } from './dex-
|
|
4
|
-
import { P as ProtocolMetadata } from './staking-
|
|
3
|
+
import { h as TokenBalance, a as Token, P as PythLatestUpdates } from './dex-jD95agMv.cjs';
|
|
4
|
+
import { P as ProtocolMetadata } from './staking-BxYDlMtj.cjs';
|
|
5
5
|
import { GetPublicClientReturnType } from '@wagmi/core';
|
|
6
6
|
|
|
7
7
|
interface GetConvertToAssetsProps {
|