Skip to content

Commit 1f2026a

Browse files
committed
update Byte version
1 parent 5c27c43 commit 1f2026a

16 files changed

+22
-28
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,11 @@ jobs:
1212

1313
runs-on: ubuntu-latest
1414
permissions:
15-
contents: write
15+
contents: read
1616
id-token: write # The OIDC ID token is used for authentication with JSR.
1717
steps:
1818
- name: Checkout code
1919
uses: actions/checkout@v4
2020

21-
- name: Setup Deno
22-
uses: denoland/setup-deno@v2
23-
# uses: denoland/setup-deno@61fe2df320078202e33d7d5ad347e7dcfa0e8f31 # v1.1.2
24-
with:
25-
deno-version: v2.x
26-
2721
- name: Publish to JSR
2822
run: npx jsr publish --allow-dirty --allow-slow-types

deno.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tls/enum",
3-
"version": "0.9.7",
3+
"version": "0.9.8",
44
"exports": "./src/mod.ts",
55
"publish": {
66
"exclude": [
@@ -27,11 +27,11 @@
2727
}
2828
},
2929
"imports": {
30-
"@aicone/byte": "jsr:@aicone/byte@^0.8.6",
31-
"@noble/curves": "npm:@noble/curves@^1.8.2",
32-
"@noble/hashes": "jsr:@noble/hashes@^1.7.2",
30+
"@aicone/byte": "jsr:@aicone/byte@^0.8.7",
31+
"@noble/curves": "npm:@noble/curves@^1.9.0",
32+
"@noble/hashes": "jsr:@noble/hashes@^1.8.0",
3333
"@peculiar/x509": "npm:@peculiar/x509@^1.12.3",
34-
"@std/assert": "jsr:@std/assert@^1.0.12",
34+
"@std/assert": "jsr:@std/assert@^1.0.13",
3535
"ec-key": "npm:ec-key@^0.0.6",
3636
"elliptic": "npm:elliptic@^6.6.1"
3737
}

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# JavaScript Enum Implementation
22

3-
A robust enumeration implementation for JavaScript/TypeScript that provides Java-style enums with additional features for TLS 1.3 protocol definitions. @version 0.9.7
3+
A robust enumeration implementation for JavaScript/TypeScript that provides Java-style enums with additional features for TLS 1.3 protocol definitions. @version 0.9.8
44

55
## Features
66

type/alert.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* Represents alert levels in the protocol
33
* @see https://datatracker.ietf.org/doc/html/rfc8446#section-6
4-
* @version 0.9.7
4+
* @version 0.9.8
55
*/
66
export class AlertLevel extends Enum {
77
/** @type {AlertLevel} warning level (1) */
@@ -23,7 +23,7 @@ export class AlertLevel extends Enum {
2323
/**
2424
* Enum class representing various TLS alert descriptions based on RFC 8446.
2525
* @see https://datatracker.ietf.org/doc/html/rfc8446#section-6
26-
* @version 0.9.7
26+
* @version 0.9.8
2727
*/
2828
export class AlertDescription extends Enum {
2929
/**
@@ -158,7 +158,7 @@ export class AlertDescription extends Enum {
158158
get byte(): Uint8;
159159
}
160160
/**
161-
* @version 0.9.7
161+
* @version 0.9.8
162162
*/
163163
export declare class Alert extends Uint8Array {
164164
/**

type/bimap.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Represents a bidirectional map where keys and values can be interchanged.
3-
* @version 0.9.7
3+
* @version 0.9.8
44
*/
55
export declare class BiMap {
66
constructor();

type/certificatetype.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Uint8 } from "../src/dep.ts";
55
* Represents TLS Certificate Types.
66
* @see https://datatracker.ietf.org/doc/html/rfc8446#section-4.2.7
77
* @extends {Enum}
8-
* @version 0.9.7
8+
* @version 0.9.8
99
*/
1010
export class CertificateType extends Enum {
1111
/** Certificate type X.509 */

type/cipher.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Enum } from "../src/enum.js";
44
/**
55
* Represents a cipher suite used in TLS 1.3.
66
* The cipher suite includes the encryption algorithm, mode, and hash function.
7-
* @version 0.9.7
7+
* @version 0.9.8
88
*/
99
export class Cipher extends Enum {
1010
/**

type/contentype.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Enum } from "../src/enum.js";
55
* Represents the higher-level protocol used to process the enclosed fragment.
66
* Defined in RFC 8446 Section 5.1.
77
* @see https://datatracker.ietf.org/doc/html/rfc8446#section-5.1
8-
* @version 0.9.7
8+
* @version 0.9.8
99
*/
1010
export class ContentType extends Enum {
1111
/** Represents an invalid ContentType (value 0). */

type/enum.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* }
1414
* }
1515
* ```
16-
* @version 0.9.7
16+
* @version 0.9.8
1717
*/
1818
export class Enum {
1919
/**

type/extensiontype.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Enum } from "../src/enum.js";
44
/**
55
* Represents different TLS extension types.
66
* Each extension type is associated with a 16-bit value.
7-
* @version 0.9.7
7+
* @version 0.9.8
88
*/
99
export class ExtensionType extends Enum {
1010
/** Server Name Indication (SNI) - 0 */

0 commit comments

Comments
 (0)