Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vendor @hpke/core v1.2.7 #52

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions .prettierignore
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
4 changes: 4 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
4 changes: 4 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
4 changes: 4 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
Loading