This commit is contained in:
Jaco Greeff
2020-09-21 09:16:45 +02:00
committed by GitHub
parent 3162f15a1d
commit 172143f2eb
14 changed files with 77 additions and 71 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "1.34.0-beta.14",
"version": "1.34.0",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [
@@ -27,7 +27,7 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.11.2",
"@polkadot/metadata": "1.34.0-beta.14",
"@polkadot/metadata": "1.34.0",
"@polkadot/util": "^3.4.1",
"@polkadot/util-crypto": "^3.4.1",
"@types/bn.js": "^4.11.6",
@@ -9,6 +9,8 @@ import { bnToBn } from '@polkadot/util';
import Bytes from '../primitive/Bytes';
import U32 from '../primitive/U32';
// there are all reversed since it is actually encoded as u32, LE,
// this means that FRNK has the bytes as KNRF
const CID_AURA = 0x61727561; // 'aura'
const CID_BABE = 0x45424142; // 'BABE'
const CID_GRPA = 0x4b4e5246; // 'FRNK' (don't ask, used to be afg1)