-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
21 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# Vendored files | ||
noble-hashes.js | ||
noble-ed25519.js | ||
hpke-core.js |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -999,14 +999,9 @@ <h2>Message log</h2> | |
})(); | ||
</script> | ||
|
||
<!-- | ||
Script importing HPKE lib until we can replace it | ||
Because this is loaded as a module JSDOM can't load it properly | ||
Code in here isn't tested, so let's keep this to a minimum! | ||
--> | ||
<script type="module"> | ||
// TODO: this should be bundled at build time or replaced with code written by Turnkey entirely. | ||
import * as hpke from "https://esm.sh/@hpke/core@1.2.7"; | ||
// Vendor @hpke/core from https://esm.sh/@hpke/[email protected] | ||
import * as hpke from "./hpke-core.js"; | ||
|
||
// In memory spot for the credential to live. We do NOT persist it to localStorage. | ||
var CREDENTIAL_BYTES = null; | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -827,14 +827,9 @@ <h2>Message log</h2> | |
})(); | ||
</script> | ||
|
||
<!-- | ||
Script importing HPKE lib until we can replace it | ||
Because this is loaded as a module JSDOM can't load it properly | ||
Code in here isn't tested, so let's keep this to a minimum! | ||
--> | ||
<script type="module"> | ||
// TODO: this should be bundled at build time or replaced with code written by Turnkey entirely. | ||
import * as hpke from "https://esm.sh/@hpke/core@1.2.7"; | ||
// Vendor @hpke/core from https://esm.sh/@hpke/[email protected] | ||
import * as hpke from "./hpke-core.js"; | ||
|
||
document.addEventListener( | ||
"DOMContentLoaded", | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -525,14 +525,9 @@ | |
})(); | ||
</script> | ||
|
||
<!-- | ||
Script importing HPKE lib until we can replace it | ||
Because this is loaded as a module JSDOM can't load it properly | ||
Code in here isn't tested, so let's keep this to a minimum! | ||
--> | ||
<script type="module"> | ||
// TODO: this should be bundled at build time or replaced with code written by Turnkey entirely. | ||
import * as hpke from "https://esm.sh/@hpke/core@1.2.7"; | ||
// Vendor @hpke/core from https://esm.sh/@hpke/[email protected] | ||
import * as hpke from "./hpke-core.js"; | ||
|
||
document.addEventListener( | ||
"DOMContentLoaded", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -491,14 +491,9 @@ <h2>Message log</h2> | |
})(); | ||
</script> | ||
|
||
<!-- | ||
Script importing HPKE lib until we can replace it | ||
Because this is loaded as a module JSDOM can't load it properly | ||
Code in here isn't tested, so let's keep this to a minimum! | ||
--> | ||
<script type="module"> | ||
// TODO: this should be bundled at build time or replaced with code written by Turnkey entirely. | ||
import * as hpke from "https://esm.sh/@hpke/core@1.2.7"; | ||
// Vendor @hpke/core from https://esm.sh/@hpke/[email protected] | ||
import * as hpke from "./hpke-core.js"; | ||
|
||
document.addEventListener( | ||
"DOMContentLoaded", | ||
|