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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
c04e6940
Commit
c04e6940
authored
10 months ago
by
Richard T. Carback III
Browse files
Options
Downloads
Patches
Plain Diff
Update NDF, make it accessible via a function
parent
4679cf75
Branches
Branches containing commit
Tags
v0.3.21
Tags containing commit
No related merge requests found
Changes
3
Show 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 @@
...
@@ -4,4 +4,5 @@
export
*
from
'
./types
'
;
export
*
from
'
./types
'
;
export
*
from
'
./paths
'
;
export
*
from
'
./paths
'
;
export
{
GetDefaultNDF
}
from
'
./ndf
'
;
export
{
InitXXDK
}
from
'
./xxdk
'
;
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
type
{
XXDKUtils
}
from
'
./types
'
;
import
{
logFileWorkerPath
}
from
'
./paths
'
;
import
{
logFileWorkerPath
}
from
'
./paths
'
;
import
DefaultNdf
from
'
./ndf.json
'
const
xxdkWasm
:
URL
=
require
(
'
../assets/wasm/xxdk.wasm
'
);
const
xxdkWasm
:
URL
=
require
(
'
../assets/wasm/xxdk.wasm
'
);
type
Logger
=
{
type
Logger
=
{
StopLogging
:
()
=>
void
,
StopLogging
:
()
=>
void
,
GetFile
:
()
=>
Promise
<
string
>
,
GetFile
:
()
=>
Promise
<
string
>
,
...
@@ -137,7 +134,3 @@ export const InitXXDK = () => new Promise<XXDKUtils>(async (xxdkUtils) => {
...
@@ -137,7 +134,3 @@ export const InitXXDK = () => new Promise<XXDKUtils>(async (xxdkUtils) => {
RPCSend
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