Skip to content

Commit

Permalink
build: updated version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tore Kasper Frederiksen committed Sep 30, 2022
1 parent 636303a commit 5e9ef6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You can always use this project in your own code through Maven central, by addin
<dependency>
<groupId>org.tokenscript</groupId>
<artifactId>attestation</artifactId>
<version>0.3.18</version>
<version>0.4</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ task testJavaScript(type: NodeTask) {

group = 'org.tokenscript'
archivesBaseName = 'attestation'
version = '0.3.18'
version = '0.4'

/** See https://docs.gradle.org/current/userguide/publishing_maven.html for details
* For actually updating the Maven repo update the version reference in README.md,
Expand Down
2 changes: 1 addition & 1 deletion src/main/javascript/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@tokenscript/attestation",
"version": "0.3.8",
"version": "0.4",
"description": "A library for integrating cryptographic attestations into applications",
"type": "commonjs",
"main": "dist/index.js",
Expand Down

2 comments on commit 5e9ef6c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for src/main/javascript/crypto/

❌ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/16.17.0/x64/bin/npm' failed with exit code 1
St.
Category Percentage Covered / Total
🟡 Statements 70.8% 1852/2616
🔴 Branches 45.32% 247/545
🟡 Functions 76.7% 339/442
🟡 Lines 70.94% 1814/2557

Test suite run failed

Failed tests: 1/38. Failed suites: 1/2.
  ● read attested object › validate attestation

    Could not validate object

      104 |         me.fromBytes(bytes);
      105 |         if (!me.checkValidity()) {
    > 106 |             throw new Error("Could not validate object");
          |                   ^
      107 |         }
      108 |         if (me.getVersion() == IdentifierAttestation.NFT_VERSION) {
      109 |             let x500Arr = Asn1Der.parseX500Names(me.getSubject());

      at Function.fromBytes (src/libs/IdentifierAttestation.ts:106:19)
      at Function.fromBytes [as fromASNType] (src/libs/SignedIdentifierAttestation.ts:33:40)
      at Function.fromASNType [as fromBytes] (src/libs/SignedIdentifierAttestation.ts:25:21)
      at Function.fromBytes (src/libs/AttestedObject.ts:144:46)
      at Object.<anonymous> (src/main.spec.ts:666:37)

Report generated by 🧪jest coverage report action from 5e9ef6c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for src/main/javascript/crypto/

❌ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/16.17.0/x64/bin/npm' failed with exit code 1
St.
Category Percentage Covered / Total
🟡 Statements 70.8% 1852/2616
🔴 Branches 45.32% 247/545
🟡 Functions 76.7% 339/442
🟡 Lines 70.94% 1814/2557

Test suite run failed

Failed tests: 1/38. Failed suites: 1/2.
  ● read attested object › validate attestation

    Could not validate object

      104 |         me.fromBytes(bytes);
      105 |         if (!me.checkValidity()) {
    > 106 |             throw new Error("Could not validate object");
          |                   ^
      107 |         }
      108 |         if (me.getVersion() == IdentifierAttestation.NFT_VERSION) {
      109 |             let x500Arr = Asn1Der.parseX500Names(me.getSubject());

      at Function.fromBytes (src/libs/IdentifierAttestation.ts:106:19)
      at Function.fromBytes [as fromASNType] (src/libs/SignedIdentifierAttestation.ts:33:40)
      at Function.fromASNType [as fromBytes] (src/libs/SignedIdentifierAttestation.ts:25:21)
      at Function.fromBytes (src/libs/AttestedObject.ts:144:46)
      at Object.<anonymous> (src/main.spec.ts:666:37)

Report generated by 🧪jest coverage report action from 5e9ef6c

Please sign in to comment.