Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
c04e6940
Commit
c04e6940
authored
6 months ago
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Update NDF, make it accessible via a function
parent
4679cf75
No related branches found
Tags
812b395df518ce096d01d5292596ca26f8fe92d9c4487ddfa515e190a51aa1a1
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/index.ts
+2
-1
2 additions, 1 deletion
src/index.ts
src/ndf.ts
+5
-0
5 additions, 0 deletions
src/ndf.ts
src/xxdk.ts
+0
-7
0 additions, 7 deletions
src/xxdk.ts
with
7 additions
and
8 deletions
src/index.ts
+
2
−
1
View file @
c04e6940
...
...
@@ -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
This diff is collapsed.
Click to expand it.
src/ndf.ts
0 → 100644
+
5
−
0
View file @
c04e6940
import
DefaultNdf
from
'
./ndf.json
'
export
function
GetDefaultNDF
():
String
{
return
JSON
.
stringify
(
DefaultNdf
);
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
src/xxdk.ts
+
0
−
7
View file @
c04e6940
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment