Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 792 Bytes

File metadata and controls

20 lines (15 loc) · 792 Bytes

Dependency update

Updating TFHE-RS

Steps:

  1. Modify package.json.
  2. Optional update tkms packages
  3. Regen lock file package-lock.json, by running npm install
  4. Update the code if needed
  5. Update the keys if needed (e.g. for crypto-parameters changes, serialization changes), by running ./generateKeys.js
  6. Either push a PR to verify everything is green or test locally a. npm test b. npm run build

Updating exported types (ESM + CommonJS)

  1. Update named re-export src/web.ts (using wildcard synthax does not work in all situations when dealing with ESM)
  2. Update named re-export bundle.d.ts (using wildcard synthax does not work in all situations when dealing with ESM)
  3. No need to update src/node.ts (CommonJS is resolved without named re-export)