hive-keychain-commons
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -5,2 +5,3 @@ import { Operation, Transaction } from '@hiveio/dhive'; | ||
encode = "encode", | ||
encodeMultisig = "encodeMultisig", | ||
signBuffer = "signBuffer", | ||
@@ -60,2 +61,9 @@ broadcast = "broadcast", | ||
}; | ||
export declare type RequestEncodeMultisig = CommonRequestParams & { | ||
type: KeychainRequestTypes.encodeMultisig; | ||
username: string; | ||
publicKeys: string[]; | ||
message: string; | ||
method: KeychainKeyTypes; | ||
}; | ||
export declare type ExcludeCommonParams<T> = Omit<T, 'rpc' | 'type' | 'key' | 'domain'>; | ||
@@ -245,3 +253,3 @@ export declare type RequestSignBuffer = CommonRequestParams & { | ||
}; | ||
export declare type KeychainRequestData = (RequestDecode | RequestEncode | RequestSignBuffer | RequestBroadcast | RequestAddAccountAuthority | RequestRemoveAccountAuthority | RequestAddKeyAuthority | RequestRemoveKeyAuthority | RequestSignTx | RequestPost | RequestVote | RequestCustomJSON | RequestSignedCall | RequestTransfer | RequestSendToken | RequestDelegation | RequestWitnessVote | RequestProxy | RequestPowerUp | RequestPowerDown | RequestCreateClaimedAccount | RequestUpdateProposalVote | RequestCreateProposal | RequestRemoveProposal | RequestAddAccount | RequestConvert | RequestRecurrentTransfer) & { | ||
export declare type KeychainRequestData = (RequestDecode | RequestEncodeMultisig | RequestEncode | RequestSignBuffer | RequestBroadcast | RequestAddAccountAuthority | RequestRemoveAccountAuthority | RequestAddKeyAuthority | RequestRemoveKeyAuthority | RequestSignTx | RequestPost | RequestVote | RequestCustomJSON | RequestSignedCall | RequestTransfer | RequestSendToken | RequestDelegation | RequestWitnessVote | RequestProxy | RequestPowerUp | RequestPowerDown | RequestCreateClaimedAccount | RequestUpdateProposalVote | RequestCreateProposal | RequestRemoveProposal | RequestAddAccount | RequestConvert | RequestRecurrentTransfer) & { | ||
redirect_uri?: string; | ||
@@ -248,0 +256,0 @@ }; |
@@ -8,2 +8,3 @@ "use strict"; | ||
KeychainRequestTypes["encode"] = "encode"; | ||
KeychainRequestTypes["encodeMultisig"] = "encodeMultisig"; | ||
KeychainRequestTypes["signBuffer"] = "signBuffer"; | ||
@@ -10,0 +11,0 @@ KeychainRequestTypes["broadcast"] = "broadcast"; |
{ | ||
"name": "hive-keychain-commons", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Platform agnostic functions used in Hive Keychain mobile and extensions", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30193
845