hive-keychain-commons
Advanced tools
Comparing version 1.2.6 to 1.3.0
@@ -32,3 +32,4 @@ import { Operation, Transaction } from '@hiveio/dhive'; | ||
recurrentTransfer = "recurrentTransfer", | ||
swap = "swap" | ||
swap = "swap", | ||
vscCallContract = "vscCallContract" | ||
} | ||
@@ -265,3 +266,10 @@ export declare enum KeychainKeyTypes { | ||
}; | ||
export type KeychainRequestData = (RequestDecode | RequestEncodeWithKeys | 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 | RequestSwap) & { | ||
export type RequestVscCallContract = CommonRequestParams & { | ||
type: KeychainRequestTypes.vscCallContract; | ||
username?: string; | ||
contractId: string; | ||
action: string; | ||
payload: object; | ||
}; | ||
export type KeychainRequestData = (RequestDecode | RequestEncodeWithKeys | 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 | RequestSwap | RequestVscCallContract) & { | ||
redirect_uri?: string; | ||
@@ -268,0 +276,0 @@ }; |
@@ -35,2 +35,3 @@ "use strict"; | ||
KeychainRequestTypes["swap"] = "swap"; | ||
KeychainRequestTypes["vscCallContract"] = "vscCallContract"; | ||
})(KeychainRequestTypes = exports.KeychainRequestTypes || (exports.KeychainRequestTypes = {})); | ||
@@ -37,0 +38,0 @@ var KeychainKeyTypes; |
{ | ||
"name": "hive-keychain-commons", | ||
"version": "1.2.6", | ||
"version": "1.3.0", | ||
"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
30779
873