* Look for the asset in the injected SEA blob using the key. If * no matching asset is found an error is thrown. The data is returned * in a Blob. If no matching asset is found an error is thrown. * @param {string} key * @param {ConstructorParameters [1]} [options] * @returns {Blob}
(key, options)
| 64 | * @returns {Blob} |
| 65 | */ |
| 66 | function getAssetAsBlob(key, options) { |
| 67 | const asset = getRawAsset(key); |
| 68 | return new Blob([asset], options); |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Returns an array of all the keys of assets embedded into the |
searching dependent graphs…