Integrate new keyring (#693)

* Integrate new keyring

* Bump

* Bump version

* ed25519 dusl-support
This commit is contained in:
Jaco Greeff
2019-02-14 23:17:02 +01:00
committed by GitHub
parent e75040daac
commit ead67ec9d6
22 changed files with 150 additions and 66 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/types",
"version": "0.42.19",
"version": "0.43.0",
"description": "Implementation of the Parity codec",
"main": "index.js",
"keywords": [
@@ -30,8 +30,8 @@
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/types#readme",
"dependencies": {
"@babel/runtime": "^7.2.0",
"@polkadot/keyring": "^0.33.36",
"@polkadot/util": "^0.33.36",
"@polkadot/keyring": "^0.34.6",
"@polkadot/util": "^0.34.6",
"core-js": "^2.6.2"
}
}
+16
View File
@@ -12,3 +12,19 @@ import H512 from './H512';
*/
export default class Signature extends H512 {
}
/**
* @name Ed25519Signature
* @description
* The default Ed25519 that is used accross the system. It is currectly defined
* as a 512-bit value, represented by a [[H512]].
*/
export class Ed25519Signature extends Signature {}
/**
* @name Sr25519Signature
* @description
* The default Sr25519 signature that is used accross the system. It is currectly defined
* as a 512-bit value, represented by a [[H512]].
*/
export class Sr25519Signature extends Signature {}
+1 -1
View File
@@ -73,7 +73,7 @@ export { default as RuntimeVersion } from './RuntimeVersion';
export { default as Schedule } from './Schedule';
export { default as SeedOf } from './SeedOf';
export { default as SessionKey } from './SessionKey';
export { default as Signature } from './Signature';
export { default as Signature, Ed25519Signature, Sr25519Signature } from './Signature';
export { default as SignedBlock } from './SignedBlock';
export { default as StorageChangeSet } from './StorageChangeSet';
export { default as StorageData } from './StorageData';