mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-23 17:03:19 +03:00
12 lines
416 B
JavaScript
12 lines
416 B
JavaScript
import { createRequire } from 'node:module';
|
|
|
|
const require = createRequire(import.meta.url);
|
|
|
|
/** @type {import('.')} */
|
|
const binding = require('./storage.node');
|
|
|
|
export const Storage = binding.Storage;
|
|
export const mergeUpdatesInApplyWay = binding.mergeUpdatesInApplyWay;
|
|
export const verifyChallengeResponse = binding.verifyChallengeResponse;
|
|
export const mintChallengeResponse = binding.mintChallengeResponse;
|