Skip to content

Commit

Permalink
Merge pull request #79 from dajiaji/bump-to-v0_11_5
Browse files Browse the repository at this point in the history
Bump up version to v0.11.5.
  • Loading branch information
dajiaji authored Jun 18, 2022
2 parents 03b9849 + 919b039 commit 160e7ea
Show file tree
Hide file tree
Showing 10 changed files with 89 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_browser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: denoland/setup-deno@004814556e37c54a2f6e31384c9e18e983317366
with:
deno-version: v1.x
- run: deno run -A dnt.ts 0.11.4
- run: deno task dnt
- run: mkdir test/browser/src
- run: cp npm/esm/*.js test/browser/src/
- run: cp -rf npm/esm/src test/browser/src/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
with:
deno-version: v1.x
- name: Run dnt
run: deno run -A dnt.ts 0.11.4
run: deno task dnt
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno run -A dnt.ts 0.11.4
- run: deno task dnt
- working-directory: ./npm
run: npm publish
env:
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

## Version 0.11.5

Released 2022-06-18

- [(#76) Add DHKEM(P-256, HKDF-SHA256) to Deno supported KEMs.](https://github.com/dajiaji/hpke-js/pull/78)

## Version 0.11.4

Released 2022-06-11
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ Using esm.sh:
```html
<!-- use a specific version -->
<script type="module">
import * as hpke from "https://esm.sh/hpke-js@0.11.4";
import * as hpke from "https://esm.sh/hpke-js@0.11.5";
// ...
</script>

Expand All @@ -123,7 +123,7 @@ Using unpkg:
```html
<!-- use a specific version -->
<script type="module">
import * as hpke from "https://unpkg.com/hpke-js@0.11.4/esm/mod.js";
import * as hpke from "https://unpkg.com/hpke-js@0.11.5/esm/mod.js";
// ...
</script>
```
Expand All @@ -148,7 +148,7 @@ Using deno.land:

```js
// use a specific version
import * as hpke from "https://deno.land/x/hpke@v0.11.4/mod.ts";
import * as hpke from "https://deno.land/x/hpke@v0.11.5/mod.ts";

// use the latest stable version
import * as hpke from "https://deno.land/x/hpke/mod.ts";
Expand All @@ -167,8 +167,8 @@ Browsers:
<head></head>
<body>
<script type="module">
// import * as hpke from "https://esm.sh/hpke-js@0.11.4";
import { Kem, Kdf, Aead, CipherSuite } from "https://esm.sh/hpke-js@0.11.4";
// import * as hpke from "https://esm.sh/hpke-js@0.11.5";
import { Kem, Kdf, Aead, CipherSuite } from "https://esm.sh/hpke-js@0.11.5";
globalThis.doHpke = async () => {
Expand Down Expand Up @@ -253,7 +253,7 @@ doHpke();
Deno:

```js
import { Kem, Kdf, Aead, CipherSuite } from "https://deno.land/x/hpke@v0.11.4/mod.ts";
import { Kem, Kdf, Aead, CipherSuite } from "https://deno.land/x/hpke@v0.11.5/mod.ts";

async function doHpke() {
// setup
Expand Down
3 changes: 2 additions & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
}
},
"tasks": {
"test": "deno test test -A --fail-fast --doc --coverage=coverage --jobs --allow-read"
"test": "deno test test -A --fail-fast --doc --coverage=coverage --jobs --allow-read",
"dnt": "deno run -A dnt.ts 0.11.5"
}
}
2 changes: 1 addition & 1 deletion samples/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"author": "Ajitomi Daisuke <ajitomi@gmail.com> (https://github.com/dajiaji)",
"license": "MIT",
"dependencies": {
"hpke-js": "^0.11.4"
"hpke-js": "^0.11.5"
}
}
2 changes: 1 addition & 1 deletion samples/ts-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "Ajitomi Daisuke <ajitomi@gmail.com> (https://github.com/dajiaji)",
"license": "MIT",
"dependencies": {
"hpke-js": "^0.11.4",
"hpke-js": "^0.11.5",
"ts-node": "^10.7.0"
}
}
1 change: 0 additions & 1 deletion src/kemPrimitives/ec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ export class Ec implements KemPrimitives {
consts.KEM_USAGES,
);
} catch (_e: unknown) {
console.log(_e);
throw new Error("Invalid key for the ciphersuite");
}
}
Expand Down
70 changes: 70 additions & 0 deletions test/playwright/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 160e7ea

Please sign in to comment.