Skip to content
Snippets Groups Projects
Commit c04e6940 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Update NDF, make it accessible via a function

parent 4679cf75
No related merge requests found
......@@ -4,4 +4,5 @@
export * from './types';
export * from './paths';
export { InitXXDK } from './xxdk';
export { GetDefaultNDF } from './ndf';
export { InitXXDK } from './xxdk';
\ No newline at end of file
import DefaultNdf from './ndf.json'
export function GetDefaultNDF(): String {
return JSON.stringify(DefaultNdf);
};
\ No newline at end of file
import type { XXDKUtils } from './types';
import { logFileWorkerPath } from './paths';
import DefaultNdf from './ndf.json'
const xxdkWasm: URL = require('../assets/wasm/xxdk.wasm');
type Logger = {
StopLogging: () => void,
GetFile: () => Promise<string>,
......@@ -137,7 +134,3 @@ export const InitXXDK = () => new Promise<XXDKUtils>(async (xxdkUtils) => {
RPCSend
});
});
export const GetDefaultNDF = (): String => {
return JSON.stringify(DefaultNdf);
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment