Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 576 Bytes

updateManifestIntegrity-js-ts.md

File metadata and controls

25 lines (17 loc) · 576 Bytes

API Examples

.updateManifestIntegrity (ECMAScript 6+, TypeScript)

Update the integrity object on the manifest file

ES6+

// Assuming you have previously created an integrity object

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

TypeScript

// Assuming you have previously created an integrity object

// Persist it on the manifest file
await Integrity.updateManifestIntegrity(intObj);
console.log('Integrity hash created -> Manifest updated');