UNPKG

@hpke/core

Version:

A Hybrid Public Key Encryption (HPKE) core module for various JavaScript runtimes

7 lines (6 loc) 200 B
import { NotSupportedError } from "@hpke/common"; export function emitNotSupported() { return new Promise((_resolve, reject) => { reject(new NotSupportedError("Not supported")); }); }