@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.
Files changed (52) hide show
  1. package/README.md +8 -0
  2. package/dist/{BeraError-CfcNTfpH.d.cts → BeraError-D1HS_rbb.d.cts} +3 -3
  3. package/dist/{BeraError-CfcNTfpH.d.ts → BeraError-D1HS_rbb.d.ts} +3 -3
  4. package/dist/{RequestError-BPxCeq0x.d.cts → RequestError-D8AE6xnI.d.cts} +1 -1
  5. package/dist/{RequestError-CtJLUaAc.d.ts → RequestError-m4jxyM7D.d.ts} +1 -1
  6. package/dist/actions/index.cjs +1 -1
  7. package/dist/actions/index.d.cts +9 -8
  8. package/dist/actions/index.d.ts +9 -8
  9. package/dist/actions/index.mjs +1 -1
  10. package/dist/{chunk-YKNKCICU.mjs → chunk-2422CKAT.mjs} +1 -1
  11. package/dist/{chunk-JQDPAEK2.mjs → chunk-3V2MGZRD.mjs} +1 -1
  12. package/dist/{chunk-SW47CI6T.cjs → chunk-4E5JGLUM.cjs} +1 -1
  13. package/dist/{chunk-33CW5NUN.cjs → chunk-4GY57XKG.cjs} +1 -1
  14. package/dist/{chunk-5GPS724E.mjs → chunk-ASRHUDAH.mjs} +1 -1
  15. package/dist/{chunk-MDA4YT6J.cjs → chunk-B47PDJZM.cjs} +1 -1
  16. package/dist/{chunk-SMZ3PG6A.mjs → chunk-ELUMRVNE.mjs} +1 -1
  17. package/dist/{chunk-XX77QPIR.mjs → chunk-JHCSZSJS.mjs} +1 -1
  18. package/dist/{chunk-6PL44I45.cjs → chunk-K2FCHQHA.cjs} +1 -1
  19. package/dist/chunk-LZPBQLKP.mjs +3 -0
  20. package/dist/{chunk-YKKMWJX5.cjs → chunk-M5BKM52U.cjs} +1 -1
  21. package/dist/{chunk-5UFI7X4U.mjs → chunk-VA37UBED.mjs} +1 -1
  22. package/dist/{chunk-LHFVY26H.cjs → chunk-WDFIETJS.cjs} +2 -2
  23. package/dist/chunk-WZLPSG5R.cjs +3 -0
  24. package/dist/contexts/index.cjs +1 -1
  25. package/dist/contexts/index.d.cts +3 -3
  26. package/dist/contexts/index.d.ts +3 -3
  27. package/dist/contexts/index.mjs +1 -1
  28. package/dist/{dex-BD7Bq3pJ.d.ts → dex-CxzGqVLe.d.ts} +1 -1
  29. package/dist/{dex-D9U93Ib-.d.cts → dex-jD95agMv.d.cts} +1 -1
  30. package/dist/errors/index.cjs +1 -1
  31. package/dist/errors/index.d.cts +2 -2
  32. package/dist/errors/index.d.ts +2 -2
  33. package/dist/errors/index.mjs +1 -1
  34. package/dist/{getValidatorQueuedOperatorAddress--AXNo9IY.d.ts → getValidatorQueuedOperatorAddress-9jSXlAse.d.ts} +2 -2
  35. package/dist/{getValidatorQueuedOperatorAddress-BbyH7asf.d.cts → getValidatorQueuedOperatorAddress-BCYlvah3.d.cts} +2 -2
  36. package/dist/hooks/index.cjs +2 -2
  37. package/dist/hooks/index.d.cts +7 -7
  38. package/dist/hooks/index.d.ts +7 -7
  39. package/dist/hooks/index.mjs +2 -2
  40. package/dist/{staking-DYbVFigB.d.ts → staking-Bw46L2PT.d.ts} +1 -1
  41. package/dist/{staking-DHCsSRru.d.cts → staking-BxYDlMtj.d.cts} +1 -1
  42. package/dist/types/index.d.cts +3 -3
  43. package/dist/types/index.d.ts +3 -3
  44. package/dist/{useHoneySwapState-CW49RVci.d.ts → useHoneySwapState-CD8v6y1k.d.ts} +1 -1
  45. package/dist/{useHoneySwapState-A9cyIoOS.d.cts → useHoneySwapState-YfMSTWY3.d.cts} +1 -1
  46. package/dist/utils/index.cjs +1 -1
  47. package/dist/utils/index.d.cts +4 -4
  48. package/dist/utils/index.d.ts +4 -4
  49. package/dist/utils/index.mjs +1 -1
  50. package/package.json +20 -7
  51. package/dist/chunk-ILYYJYGV.cjs +0 -3
  52. package/dist/chunk-RNESAHY2.mjs +0 -3
@@ -1,6 +1,6 @@
1
1
  import { PublicClient, Address, TransactionReceipt } from 'viem';
2
- import { I as IBeraErrorArgs, B as BeraError } from '../BeraError-CfcNTfpH.cjs';
3
- export { R as RequestError } from '../RequestError-BPxCeq0x.cjs';
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';
@@ -1,6 +1,6 @@
1
1
  import { PublicClient, Address, TransactionReceipt } from 'viem';
2
- import { I as IBeraErrorArgs, B as BeraError } from '../BeraError-CfcNTfpH.js';
3
- export { R as RequestError } from '../RequestError-CtJLUaAc.js';
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';
@@ -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-YKNKCICU.mjs";import{a as d}from"../chunk-5UFI7X4U.mjs";import{b as a,f as b,g as c}from"../chunk-5GPS724E.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
+ 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-BD7Bq3pJ.js';
4
- import { P as ProtocolMetadata } from './staking-DYbVFigB.js';
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-D9U93Ib-.cjs';
4
- import { P as ProtocolMetadata } from './staking-DHCsSRru.cjs';
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 {