Bump deps (#312)
This commit is contained in:
@@ -28,15 +28,16 @@
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.2.0",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@parity/schnorrkel-js": "^0.1.2",
|
||||
"@polkadot/util": "^0.34.12",
|
||||
"@types/bip39": "^2.4.1",
|
||||
"@types/bip39": "^2.4.2",
|
||||
"@types/webassembly-js-api": "^0.0.2",
|
||||
"@types/xxhashjs": "^0.2.0",
|
||||
"bip39": "^2.5.0",
|
||||
"blakejs": "^1.1.0",
|
||||
"js-sha3": "^0.8.0",
|
||||
"tweetnacl": "^1.0.0",
|
||||
"tweetnacl": "^1.0.1",
|
||||
"xxhashjs": "^0.2.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,9 +25,9 @@ export default function xxhash64AsValue (data: Buffer | Uint8Array | string, see
|
||||
return xxhashjs.h64(data, seed);
|
||||
}
|
||||
|
||||
// @ts-ignore conversion works, yields correct result
|
||||
return xxhashjs.h64(
|
||||
// @ts-ignore conversion works, yields correct result
|
||||
u8aToBuffer(data),
|
||||
seed
|
||||
);
|
||||
) as any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user