Skip to content

Commit

Permalink
vendor @hpke/core v1.2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkmin committed Aug 29, 2024
1 parent d298782 commit dd80545
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 28 deletions.
3 changes: 3 additions & 0 deletions auth/hpke-core.js

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions auth/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions export/hpke-core.js

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions export/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
3 changes: 3 additions & 0 deletions import/hpke-core.js

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions import/index.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 2 additions & 7 deletions import/standalone.template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit dd80545

Please sign in to comment.