Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 375 Bytes

updateManifestIntegrity-es5-js.md

File metadata and controls

14 lines (10 loc) · 375 Bytes

API Examples

.updateManifestIntegrity (ECMAScript 5)

Update the integrity object on the manifest file

// Assuming you have previously created an integrity object

// Persist it on the manifest file
Integrity.updateManifestIntegrity(intObj)
  .then(() => console.log('Integrity hash created -> Manifest updated'))
  .catch(error => console.error(error))