fix: update index.js

This commit is contained in:
naskya 2023-08-20 16:20:59 +09:00
parent 6a68709fb5
commit 1d29ca3609
Signed by: naskya
GPG key ID: 164DFF24E2D40139

View file

@ -252,11 +252,12 @@ if (!nativeBinding) {
throw new Error(`Failed to load native binding`)
}
const { nativeRandomStr, IdConvertType, convertId, nativeCreateId, nativeInitIdGenerator, nativePackAntennaById, NativeAntennaSrc, nativeInitDatabase } = nativeBinding
const { nativeRandomStr, IdConvertType, convertId, nativeGetTimestamp, nativeCreateId, nativeInitIdGenerator, nativePackAntennaById, NativeAntennaSrc, nativeInitDatabase } = nativeBinding
module.exports.nativeRandomStr = nativeRandomStr
module.exports.IdConvertType = IdConvertType
module.exports.convertId = convertId
module.exports.nativeGetTimestamp = nativeGetTimestamp
module.exports.nativeCreateId = nativeCreateId
module.exports.nativeInitIdGenerator = nativeInitIdGenerator
module.exports.nativePackAntennaById = nativePackAntennaById