hive-keychain-commons 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -30,7 +30,8 @@ export declare enum KeychainRequestTypes {
|
|
|
30
30
|
convert = "convert",
|
|
31
31
|
recurrentTransfer = "recurrentTransfer",
|
|
32
32
|
swap = "swap",
|
|
33
|
-
vscCallContract = "vscCallContract"
|
|
33
|
+
vscCallContract = "vscCallContract",
|
|
34
|
+
vscDeposit = "vscDeposit"
|
|
34
35
|
}
|
|
35
36
|
export declare enum KeychainKeyTypes {
|
|
36
37
|
posting = "Posting",
|
|
@@ -270,7 +271,14 @@ export type RequestVscCallContract = CommonRequestParams & {
|
|
|
270
271
|
payload: object;
|
|
271
272
|
method: KeychainKeyTypes.posting | KeychainKeyTypes.active;
|
|
272
273
|
};
|
|
273
|
-
export type
|
|
274
|
+
export type RequestVscCDeposit = CommonRequestParams & {
|
|
275
|
+
type: KeychainRequestTypes.vscDeposit;
|
|
276
|
+
username?: string;
|
|
277
|
+
address: string;
|
|
278
|
+
amount: string;
|
|
279
|
+
currency: string;
|
|
280
|
+
};
|
|
281
|
+
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 | RequestVscCDeposit) & {
|
|
274
282
|
redirect_uri?: string;
|
|
275
283
|
};
|
|
276
284
|
export type RequestId = {
|
|
@@ -33,6 +33,7 @@ var KeychainRequestTypes;
|
|
|
33
33
|
KeychainRequestTypes["recurrentTransfer"] = "recurrentTransfer";
|
|
34
34
|
KeychainRequestTypes["swap"] = "swap";
|
|
35
35
|
KeychainRequestTypes["vscCallContract"] = "vscCallContract";
|
|
36
|
+
KeychainRequestTypes["vscDeposit"] = "vscDeposit";
|
|
36
37
|
})(KeychainRequestTypes = exports.KeychainRequestTypes || (exports.KeychainRequestTypes = {}));
|
|
37
38
|
var KeychainKeyTypes;
|
|
38
39
|
(function (KeychainKeyTypes) {
|