Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
196 commits
Select commit Hold shift + click to select a range
eb86a43
Bump version to 0.0.7
benStre Aug 7, 2025
660d7c0
add dif execution methods
benStre Aug 11, 2025
f4e73d9
deno lint and fmt
benStre Aug 11, 2025
4d3fba5
add basic dif value resolution
benStre Aug 13, 2025
881ddf8
deno fmt + lint
benStre Aug 13, 2025
3ab34f6
rename methods
benStre Aug 13, 2025
f5880ab
handle difValue undefined
benStre Aug 13, 2025
f980de5
add test for difValue undefined
benStre Aug 13, 2025
fd3271e
work on DIF mapping
benStre Aug 13, 2025
4a92389
deno fmt + lint
benStre Aug 13, 2025
50756cb
pass values from JS to DATEX execution
benStre Aug 13, 2025
7eb92f3
add test suite for value parity
benStre Aug 13, 2025
8911ce7
refactor decompile, add tests
benStre Aug 13, 2025
832a8b4
deno fmt
benStre Aug 13, 2025
68c3cb6
cargo upgrade
jonasstrehle Aug 19, 2025
c6cecfd
add new sub variant naming
jonasstrehle Aug 20, 2025
0cca0c3
update
jonasstrehle Aug 20, 2025
e9b071b
add serde feature to datex-core dependencies
jonasstrehle Sep 5, 2025
cd834ca
fix to new api
jonasstrehle Sep 5, 2025
848d43f
minor test changes
jonasstrehle Sep 5, 2025
c7a3d95
refactor: update WebRTC imports to use common module
jonasstrehle Sep 5, 2025
543a31a
refactor: update return types to Result for error handling in JSRunti…
jonasstrehle Sep 5, 2025
9637f35
enhance error handling by using js_error function in JSRuntime methods
jonasstrehle Sep 5, 2025
e3b05d7
refactor: improve code formatting and organization in com_hub.rs
jonasstrehle Sep 5, 2025
9a58e8e
chore: update dependencies in Cargo.toml and Cargo.lock for specta an…
jonasstrehle Sep 5, 2025
5523f8a
refactor: remove unused TypeScript definitions and clean up method fo…
jonasstrehle Sep 5, 2025
1bcd573
refactor: reorganize imports and clean up TypeScript definitions in w…
jonasstrehle Sep 5, 2025
9475499
feat: implement WebRTC interface with methods for ICE candidate handl…
jonasstrehle Sep 6, 2025
78753bf
feat: add sendBlock method to ComHub for sending blocks to the server
jonasstrehle Sep 6, 2025
b2aa954
refactor: comment out example execution block in mod.ts as it takes a…
jonasstrehle Sep 6, 2025
fddc48b
feat: enhance WebRTCJSInterface with error handling and factory metho…
jonasstrehle Sep 6, 2025
295136c
feat: register WebRTC interface factory in JSComHub if wasm_webrtc fe…
jonasstrehle Sep 6, 2025
09f691b
feat: update WebRTC interface implementation in browser test
jonasstrehle Sep 6, 2025
df1091f
feat: update serial tes
jonasstrehle Sep 6, 2025
6767a4c
feat: add MediaStream feature to WebRTC dependencies
jonasstrehle Sep 6, 2025
64ff690
feat: add local and remote media tracks to WebRTCJSInterface and impl…
jonasstrehle Sep 6, 2025
13a37a9
refactor
jonasstrehle Sep 6, 2025
3458408
fmt
jonasstrehle Sep 6, 2025
2b5a6fe
add test
jonasstrehle Sep 13, 2025
529763a
add dif execution methods
benStre Aug 11, 2025
119f70f
deno lint and fmt
benStre Aug 11, 2025
a5db881
add basic dif value resolution
benStre Aug 13, 2025
4d5a376
deno fmt + lint
benStre Aug 13, 2025
37cc330
rename methods
benStre Aug 13, 2025
7e9777c
handle difValue undefined
benStre Aug 13, 2025
f34b00f
add test for difValue undefined
benStre Aug 13, 2025
e6ac07b
work on DIF mapping
benStre Aug 13, 2025
83929dc
deno fmt + lint
benStre Aug 13, 2025
23a5bcf
pass values from JS to DATEX execution
benStre Aug 13, 2025
c7eabd9
add test suite for value parity
benStre Aug 13, 2025
39b3755
refactor decompile, add tests
benStre Aug 13, 2025
742d53b
deno fmt
benStre Aug 13, 2025
f133e2b
cargo upgrade
jonasstrehle Aug 19, 2025
2875dc7
add new sub variant naming
jonasstrehle Aug 20, 2025
b31b2a0
update
jonasstrehle Aug 20, 2025
ec6c6e4
add serde feature to datex-core dependencies
jonasstrehle Sep 5, 2025
0be9c67
fix to new api
jonasstrehle Sep 5, 2025
6fe4e46
minor test changes
jonasstrehle Sep 5, 2025
e733c08
refactor: update WebRTC imports to use common module
jonasstrehle Sep 5, 2025
bbf2719
refactor: update return types to Result for error handling in JSRunti…
jonasstrehle Sep 5, 2025
de04e75
enhance error handling by using js_error function in JSRuntime methods
jonasstrehle Sep 5, 2025
777e265
refactor: improve code formatting and organization in com_hub.rs
jonasstrehle Sep 5, 2025
0ae38dd
chore: update dependencies in Cargo.toml and Cargo.lock for specta an…
jonasstrehle Sep 5, 2025
c392d3e
refactor: remove unused TypeScript definitions and clean up method fo…
jonasstrehle Sep 5, 2025
4627594
refactor: reorganize imports and clean up TypeScript definitions in w…
jonasstrehle Sep 5, 2025
d0f043e
feat: implement WebRTC interface with methods for ICE candidate handl…
jonasstrehle Sep 6, 2025
76b449b
feat: add sendBlock method to ComHub for sending blocks to the server
jonasstrehle Sep 6, 2025
ec8496c
refactor: comment out example execution block in mod.ts as it takes a…
jonasstrehle Sep 6, 2025
9a9f589
feat: enhance WebRTCJSInterface with error handling and factory metho…
jonasstrehle Sep 6, 2025
119d051
feat: register WebRTC interface factory in JSComHub if wasm_webrtc fe…
jonasstrehle Sep 6, 2025
0720e4f
feat: update WebRTC interface implementation in browser test
jonasstrehle Sep 6, 2025
b58b023
feat: update serial tes
jonasstrehle Sep 6, 2025
8aa11e8
feat: add MediaStream feature to WebRTC dependencies
jonasstrehle Sep 6, 2025
1ca5d2c
feat: add local and remote media tracks to WebRTCJSInterface and impl…
jonasstrehle Sep 6, 2025
bfbc629
refactor
jonasstrehle Sep 6, 2025
d8a6768
fmt
jonasstrehle Sep 6, 2025
9b23450
add test
jonasstrehle Sep 13, 2025
7556ff6
fix cargo dependencies
Sep 24, 2025
acfa81a
update deploy-beta.yml
Sep 24, 2025
16396ae
store commit hash in beta deploy
Sep 24, 2025
6736c6f
update commit-hash in deploy-beta
Sep 24, 2025
a0dc31a
Merge branch 'feat/dif' of github.com:unyt-org/datex-core-js into fea…
benStre Sep 24, 2025
a94e7e9
:construction: work on dif
benStre Sep 24, 2025
34acd75
:construction: update references mod
benStre Sep 25, 2025
6a5f416
:construction: work on dif
benStre Sep 25, 2025
2a1b16c
fix self
jonasstrehle Sep 27, 2025
094a780
work on diff
jonasstrehle Sep 27, 2025
8bbb2d0
work on dif (WIP)
jonasstrehle Sep 27, 2025
9995575
add diff
jonasstrehle Sep 27, 2025
e5e66bb
add tests
jonasstrehle Sep 27, 2025
f0b0e79
fix
jonasstrehle Sep 27, 2025
59400e6
fix test
jonasstrehle Sep 27, 2025
2913387
work on dif
jonasstrehle Sep 27, 2025
1dbfb79
work on dif
jonasstrehle Sep 27, 2025
838a86b
:construction: work on dif
benStre Sep 27, 2025
9530c62
:construction: remove deprecated JSMemory
benStre Sep 27, 2025
674f13d
add pointer cache setup, doc comments
benStre Sep 27, 2025
6dd11af
:construction: deprecate create_pointer_sync
benStre Sep 27, 2025
e33f21b
:construction: test reference updates
benStre Sep 28, 2025
afe7f99
:construction: deno fmt, ref and ts-types
benStre Sep 28, 2025
e797d99
add local observers
benStre Sep 28, 2025
530e0b2
fixes, update comment explanation
benStre Sep 28, 2025
e7c2ae6
:wastebasket: cleanup
benStre Sep 28, 2025
12d8871
WIP handler fix dif
jonasstrehle Sep 28, 2025
1600c6a
fix dif handle
jonasstrehle Sep 28, 2025
c4e4bc7
fmt
jonasstrehle Sep 28, 2025
f531ad0
remove debug logs
jonasstrehle Sep 28, 2025
422bb49
remove debug logs
jonasstrehle Sep 28, 2025
6aa8178
add revert for setter
jonasstrehle Sep 28, 2025
8c111cb
fix update
jonasstrehle Sep 28, 2025
df63fd0
small rename
jonasstrehle Sep 28, 2025
9d53493
:wastebasket: fixes
benStre Sep 28, 2025
0a4337b
type infer (WIP)
jonasstrehle Sep 29, 2025
032545d
type changes
jonasstrehle Sep 30, 2025
c0b3f2b
add map set and some type improvements
jonasstrehle Sep 30, 2025
3ba6077
add map set and some type improvements
jonasstrehle Sep 30, 2025
f33ec6f
fix dif
jonasstrehle Oct 1, 2025
56a3df7
fix log
jonasstrehle Oct 1, 2025
f393ba1
fix global context changes
jonasstrehle Oct 5, 2025
548f7dd
fmt
jonasstrehle Oct 5, 2025
ef7c038
:white_check_mark: fix tests
benStre Oct 5, 2025
5364b93
fix tests
benStre Oct 6, 2025
3f557cb
fix tests
benStre Oct 6, 2025
ba5a36a
move serde
jonasstrehle Oct 7, 2025
b908e56
bump up cargo wasm build
jonasstrehle Oct 7, 2025
2db0699
add nightly cargo toolchain
jonasstrehle Oct 7, 2025
1cadad0
remove patch
jonasstrehle Oct 7, 2025
fa3bc1f
remove config toml
jonasstrehle Oct 7, 2025
850fe21
remove cargo install
jonasstrehle Oct 7, 2025
587ff7f
remove rustflag dep
jonasstrehle Oct 7, 2025
6346b1f
fix deps
jonasstrehle Oct 7, 2025
f031e9c
bump up macros
jonasstrehle Oct 7, 2025
c30a0f7
bump up macros lock
jonasstrehle Oct 7, 2025
2e1201e
fix lint issues
jonasstrehle Oct 7, 2025
333e68c
add missing uuid dep
jonasstrehle Oct 7, 2025
10b9637
handle transceiver source ids and local updates
benStre Oct 8, 2025
c91b1d7
deno lint
benStre Oct 8, 2025
d957eb8
fmt
jonasstrehle Oct 9, 2025
7a5a094
remove TODO
jonasstrehle Oct 9, 2025
9a534a5
update DEVELOP.md and README.md
jonasstrehle Oct 13, 2025
f9353bc
minor finding fixes
jonasstrehle Oct 13, 2025
dff7b02
fmt
jonasstrehle Oct 13, 2025
4473e3a
fix bigint test
jonasstrehle Oct 13, 2025
e6c65d7
fix bigint test
jonasstrehle Oct 13, 2025
5c7e866
remove array core type, update core type mapping
jonasstrehle Oct 13, 2025
777621b
add core type test
jonasstrehle Oct 13, 2025
445de1f
update cargo lock
jonasstrehle Oct 13, 2025
0851547
add info
jonasstrehle Oct 13, 2025
79c9fc2
remove outdated test
jonasstrehle Oct 13, 2025
b8e83b7
remove console hook
jonasstrehle Oct 13, 2025
988bff0
remove console hook
jonasstrehle Oct 13, 2025
a3676ad
fix FIXME
jonasstrehle Oct 13, 2025
e9f7579
add TODO
jonasstrehle Oct 13, 2025
06e7f04
add TODO
jonasstrehle Oct 13, 2025
eba24c2
remove legacy code
jonasstrehle Oct 13, 2025
0157e18
add try catch to observers
jonasstrehle Oct 13, 2025
c915f0e
add FIXME
jonasstrehle Oct 13, 2025
519bb72
Merge branch 'release/0.0.7' into feat/dif
jonasstrehle Oct 13, 2025
4fd83c5
Merge pull request #25 from unyt-org/feat/dif
jonasstrehle Oct 13, 2025
872998b
add hkdf
Aug 24, 2025
d04db0c
add aes gcm
Aug 25, 2025
47655d5
fixed symmetry for aes
Aug 25, 2025
27a90c8
add aad and tag length to aes
Aug 26, 2025
430787d
add typecast to factor of tag len
Aug 26, 2025
a5007a5
add AesGcmParams object
Aug 26, 2025
0e08a1f
add naive ed25519 and x25519 keygen
Aug 27, 2025
1646293
edit format ed25519 keys
Aug 27, 2025
2a0029c
edit order of testcase
Aug 27, 2025
726d42a
removed useless line
Aug 27, 2025
fdd30ff
add signing via ed25519
Aug 27, 2025
7fd3933
add verification on ed25519
Aug 27, 2025
17143ac
add key derivation on x25519
Aug 27, 2025
cf6150d
edit errors
Aug 31, 2025
0c7ec7d
add aes ctr
Sep 1, 2025
d38acf6
edit lifetimes
Sep 1, 2025
b2c76f8
add test for signature length
Sep 1, 2025
537fe4b
added aes kw
Sep 5, 2025
57e3a64
edit kem
Sep 5, 2025
714c3db
renamed kem functions
Sep 5, 2025
80fbfce
edit test
Sep 5, 2025
2d28bf7
renamed kem functions
Sep 5, 2025
e103166
slight changes for readability
janiejestemja Sep 10, 2025
611c60c
removed variable for key length
janiejestemja Sep 15, 2025
a2b6049
move signature into crypto trait
janiejestemja Sep 17, 2025
88a7392
removed rsa signatures
janiejestemja Sep 18, 2025
e9e8b4c
move aes ctr into crypto trait
janiejestemja Sep 18, 2025
ad626b8
removed rsa
janiejestemja Sep 18, 2025
b4e8dcb
move aes kw into crypto trait
janiejestemja Sep 18, 2025
c676ac4
move key derivation into crypto trait
janiejestemja Sep 18, 2025
0a0aefb
edit testcases, removal of hkdf, aes gcm
janiejestemja Sep 18, 2025
9e2b7d4
edit testcases
janiejestemja Sep 18, 2025
8f88511
minor edits
janiejestemja Sep 19, 2025
76abaa3
add aes ctr decrypt method
janiejestemja Sep 25, 2025
4e8cd8d
fix imports
janiejestemja Oct 10, 2025
ca0545e
pointing to feat/crypto instead feat/diff in cargo
janiejestemja Oct 13, 2025
bf31c63
minor fixes for crypto
jonasstrehle Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .cargo/config.template.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[build]
rustflags = ["--cfg=web_sys_unstable_apis"]

[alias]
test-debug = "test --features debug"
clippy-debug = "clippy --fix --features debug --target wasm32-unknown-unknown"

[patch."https://github.com/unyt-org/datex-core"]
datex-core = { path = "../datex-core", default-features = false, features = [
"std",
"serde",
"wasm_logger",
"wasm_runtime",
"wasm_webrtc",
] }
6 changes: 0 additions & 6 deletions .cargo/config.toml

This file was deleted.

15 changes: 10 additions & 5 deletions .github/workflows/deploy-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:

- name: Generate datex.js bundle for pages (without inline WASM)
run: |
deno task build-bundle
deno task build-bundle

- name: Set up GitHub Pages directory with datex.js and WASM
run: |
mkdir -p ./pages
cp ./datex.js ./pages/datex.js
cp ./src/datex-core/datex_core_js.wasm ./pages/datex_core_js.wasm
mkdir -p ./pages
cp ./datex.js ./pages/datex.js
cp ./src/datex-core/datex_core_js.wasm ./pages/datex_core_js.wasm

- name: Generate datex.js bundle for release artifact (with inline WASM)
run: |
Expand All @@ -57,13 +57,18 @@ jobs:
- name: Create Draft Release
uses: softprops/action-gh-release@v2
with:
draft: true
prerelease: true
make_latest: false
tag_name: "beta"
files: ./datex.js
generate_release_notes: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Store commit-hash in pages directory
run: |
echo "$(git rev-parse HEAD)" > ./pages/commit-hash.txt

- name: Upload build artifacts
uses: actions/upload-pages-artifact@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:

- name: Generate datex.js bundle for pages (without inline WASM)
run: |
deno task build-bundle
deno task build-bundle

- name: Set up GitHub Pages directory with datex.js and WASM
run: |
mkdir -p ./pages
cp ./datex.js ./pages/datex.js
cp ./src/datex-core/datex_core_js.wasm ./pages/datex_core_js.wasm
mkdir -p ./pages
cp ./datex.js ./pages/datex.js
cp ./src/datex-core/datex_core_js.wasm ./pages/datex_core_js.wasm

- name: Generate datex.js bundle for release artifact (with inline WASM)
run: |
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ npm
src/datex-core/datex_core_js.wasm
src/datex-core/datex_core_js.internal.js
rustc-ice*.txt
/datex.js
/datex.js
.cargo/config.toml
Loading
Loading