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

🐛 Typescript fixes #113

Merged

Conversation

dmihalcik-virtru
Copy link
Member

@dmihalcik-virtru dmihalcik-virtru commented Nov 28, 2022

  • Disables @ts-ignore on tdf.js
  • Enable strict mode in lint again
  • Fixes a bunch of errors that fall out of that:
    • jose import of x509 had incorrect call
    • upsert response not being set

danielRicaud
danielRicaud previously approved these changes Nov 28, 2022
- Disables @ts-ignore on tdf.js
- Fixes a bunch of errors that fall out of that:
  - jose import of x509 had incorrect call
  - upsert response not being set
parseInt(
this.manifest.encryptionInformation.integrityInformation.encryptedSegmentSizeDefault
) || DEFAULT_SEGMENT_SIZE;
const defaultSegmentSize =
Copy link
Contributor

@sujankota sujankota Nov 29, 2022

Choose a reason for hiding this comment

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

I think we want DEFAULT_SEGMENT_SIZE not 0

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@dmihalcik-virtru dmihalcik-virtru merged commit 616a2c3 into opentdf:main Nov 29, 2022
@dmihalcik-virtru dmihalcik-virtru deleted the feature/tdf3-typscript-fixes branch November 29, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants