Files
pezkuwi-api/packages/bizinikiwi-bindings/dist/esm/codecs/scale/compact.mjs
T
pezkuwichain 31467f90d4 feat: add PAPI rebrand packages
- @pezkuwi/papi-utils (rebrand of @polkadot-api/utils)
- @pezkuwi/bizinikiwi-bindings (rebrand of @polkadot-api/substrate-bindings)
- @pezkuwi/metadata-builders (rebrand of @polkadot-api/metadata-builders)
- @pezkuwi/merkleize-metadata (rebrand of @polkadot-api/merkleize-metadata)

All @polkadot-api references replaced with @pezkuwi equivalents.
2026-01-22 15:40:12 +03:00

8 lines
248 B
JavaScript

import { enhanceCodec, compact } from 'scale-ts';
const compactNumber = enhanceCodec(compact, (v) => v, Number);
const compactBn = enhanceCodec(compact, (v) => v, BigInt);
export { compactBn, compactNumber };
//# sourceMappingURL=compact.mjs.map