2023-06-29 04:45:45 +03:00
|
|
|
import { createRequire } from 'node:module';
|
|
|
|
|
|
|
|
const require = createRequire(import.meta.url);
|
|
|
|
|
|
|
|
/** @type {import('.')} */
|
2024-04-29 07:46:26 +03:00
|
|
|
const binding = require('./server-native.node');
|
2023-06-29 04:45:45 +03:00
|
|
|
|
2023-08-29 13:07:05 +03:00
|
|
|
export const mergeUpdatesInApplyWay = binding.mergeUpdatesInApplyWay;
|
2023-10-18 11:06:07 +03:00
|
|
|
export const verifyChallengeResponse = binding.verifyChallengeResponse;
|
|
|
|
export const mintChallengeResponse = binding.mintChallengeResponse;
|
2024-04-29 07:46:26 +03:00
|
|
|
export const getMime = binding.getMime;
|
2024-05-16 10:55:10 +03:00
|
|
|
export const Tokenizer = binding.Tokenizer;
|
|
|
|
export const fromModelName = binding.fromModelName;
|
2024-09-10 07:03:58 +03:00
|
|
|
export const htmlSanitize = binding.htmlSanitize;
|