Skip to content

Commit

Permalink
BUILDSYS-389 The extension needs to be optinoal (by design)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanFellner committed Jan 5, 2024
1 parent e7800ec commit 5b3c155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@estos/asn1ts",
"version": "3.2.0",
"version": "3.2.1",
"license": "BSD-3-Clause",
"author": {
"name": "estos GmbH",
Expand Down
2 changes: 1 addition & 1 deletion src/Extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export class Extension extends BaseBlock<ValueBlock, ValueBlockJson> {
public static override defaultIDs = {tagClass: ETagClass.UNIVERSAL, tagNumber: EUniversalTagNumber.Extension};

constructor() {
super({idBlock: Extension.defaultIDs}, ValueBlock);
super({idBlock: Extension.defaultIDs, optional: true}, ValueBlock);

}

Expand Down

0 comments on commit 5b3c155

Please sign in to comment.