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:
parent
bc6f93bcf6
commit
012e5e6924
9
package-lock.json
generated
9
package-lock.json
generated
@ -1458,15 +1458,6 @@
|
|||||||
"@types/node": "*"
|
"@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": {
|
"@types/mocha": {
|
||||||
"version": "8.0.3",
|
"version": "8.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-8.0.3.tgz",
|
||||||
|
@ -57,7 +57,6 @@
|
|||||||
"@truffle/hdwallet-provider": "^1.0.37",
|
"@truffle/hdwallet-provider": "^1.0.37",
|
||||||
"@types/chai": "^4.2.11",
|
"@types/chai": "^4.2.11",
|
||||||
"@types/chai-spies": "^1.0.1",
|
"@types/chai-spies": "^1.0.1",
|
||||||
"@types/lzma-native": "^4.0.0",
|
|
||||||
"@types/mocha": "^8.0.3",
|
"@types/mocha": "^8.0.3",
|
||||||
"@types/node": "^14.6.4",
|
"@types/node": "^14.6.4",
|
||||||
"@types/node-fetch": "^2.5.5",
|
"@types/node-fetch": "^2.5.5",
|
||||||
|
@ -39,7 +39,7 @@ export class OnChainMetadataStore {
|
|||||||
*/
|
*/
|
||||||
public async LZMACompressDDO(ddo: DDO): Promise<string> {
|
public async LZMACompressDDO(ddo: DDO): Promise<string> {
|
||||||
const data = DDO.serialize(ddo)
|
const data = DDO.serialize(ddo)
|
||||||
const compressed = lzma.compress(data, 9)
|
const compressed = await lzma.compress(data, 9)
|
||||||
return this.getHex(compressed)
|
return this.getHex(compressed)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user