@waku/rln
Version:
RLN (Rate Limiting Nullifier) implementation for Waku
31 lines (28 loc) • 693 B
JavaScript
import './utils/float.js';
import './utils/longbits.js';
export { createWriter as writer } from './utils/writer.js';
import './codec.js';
/**
* @packageDocumentation
*
* This module contains serialization/deserialization code used when encoding/decoding protobufs.
*
* It should be declared as a dependency of your project:
*
* ```console
* npm i protons-runtime
* ```
*/
/**
* Thrown when a repeated field has too many elements
*/
class MaxLengthError extends Error {
/**
* This will be removed in a future release
*
* @deprecated use the `.name` property instead
*/
code = 'ERR_MAX_LENGTH';
name = 'MaxLengthError';
}
export { MaxLengthError };