_assert.ts 669 B

12345678910111213141516171819202122
  1. /**
  2. * Internal assertion helpers.
  3. * @module
  4. * @deprecated
  5. */
  6. import {
  7. abytes as ab,
  8. aexists as ae,
  9. anumber as an,
  10. aoutput as ao,
  11. type IHash as H,
  12. } from './utils.ts';
  13. /** @deprecated Use import from `noble/hashes/utils` module */
  14. export const abytes: typeof ab = ab;
  15. /** @deprecated Use import from `noble/hashes/utils` module */
  16. export const aexists: typeof ae = ae;
  17. /** @deprecated Use import from `noble/hashes/utils` module */
  18. export const anumber: typeof an = an;
  19. /** @deprecated Use import from `noble/hashes/utils` module */
  20. export const aoutput: typeof ao = ao;
  21. /** @deprecated Use import from `noble/hashes/utils` module */
  22. export type Hash = H;