1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

ignore outdated typings

This commit is contained in:
Matthias Kretschmann 2020-09-24 15:28:25 +02:00
parent bc6f93bcf6
commit 012e5e6924
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 1 additions and 11 deletions

9
package-lock.json generated
View File

@ -1458,15 +1458,6 @@
"@types/node": "*"
}
},
"@types/lzma-native": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/lzma-native/-/lzma-native-4.0.0.tgz",
"integrity": "sha512-9mBLyFWJe8/whIRjGwca5pbXv7ANzPj7KNgsgCU/l5z8xcyIe6LNae+iKdT5rjnXcXGOwyW/PKYt0N6+7N5QlA==",
"dev": true,
"requires": {
"@types/node": "*"
}
},
"@types/mocha": {
"version": "8.0.3",
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.0.3.tgz",

View File

@ -57,7 +57,6 @@
"@truffle/hdwallet-provider": "^1.0.37",
"@types/chai": "^4.2.11",
"@types/chai-spies": "^1.0.1",
"@types/lzma-native": "^4.0.0",
"@types/mocha": "^8.0.3",
"@types/node": "^14.6.4",
"@types/node-fetch": "^2.5.5",

View File

@ -39,7 +39,7 @@ export class OnChainMetadataStore {
*/
public async LZMACompressDDO(ddo: DDO): Promise<string> {
const data = DDO.serialize(ddo)
const compressed = lzma.compress(data, 9)
const compressed = await lzma.compress(data, 9)
return this.getHex(compressed)
}