Bump deps (#312)

This commit is contained in:
Jaco Greeff
2019-02-15 14:35:43 +01:00
committed by GitHub
parent 5321d25882
commit 2efc5f7ca1
14 changed files with 1566 additions and 1478 deletions
+4 -3
View File
@@ -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;
}