feat(rustdns-client): add Rust DNS client binary and TypeScript IPC bridge to enable UDP and DoH resolution, RDATA decoding, and DNSSEC AD/rcode support
This commit is contained in:
@@ -6,12 +6,20 @@ const dns: typeof dnsType = await smartenvInstance.getSafeNodeModule('dns');
|
||||
|
||||
export { dns };
|
||||
|
||||
// node native scope
|
||||
import * as path from 'path';
|
||||
import { EventEmitter } from 'events';
|
||||
|
||||
export { path };
|
||||
export const events = { EventEmitter };
|
||||
|
||||
// pushrocks scope
|
||||
import * as smartdelay from '@push.rocks/smartdelay';
|
||||
import * as smartpromise from '@push.rocks/smartpromise';
|
||||
import * as smartrequest from '@push.rocks/smartrequest';
|
||||
import * as smartrust from '@push.rocks/smartrust';
|
||||
|
||||
export { smartdelay, smartenv, smartpromise, smartrequest };
|
||||
export { smartdelay, smartenv, smartpromise, smartrequest, smartrust };
|
||||
|
||||
import * as tsclass from '@tsclass/tsclass';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user