add account_set sdk call #146
4 changed files with 30 additions and 0 deletions
1
dist/bundle.es.js
vendored
1
dist/bundle.es.js
vendored
|
@ -643,6 +643,7 @@ const Lbry = {
|
||||||
account_unlock: (params = {}) => daemonCallWithResult('account_unlock', params),
|
account_unlock: (params = {}) => daemonCallWithResult('account_unlock', params),
|
||||||
account_list: (params = {}) => daemonCallWithResult('account_list', params),
|
account_list: (params = {}) => daemonCallWithResult('account_list', params),
|
||||||
account_send: (params = {}) => daemonCallWithResult('account_send', params),
|
account_send: (params = {}) => daemonCallWithResult('account_send', params),
|
||||||
|
account_set: (params = {}) => daemonCallWithResult('account_set', params),
|
||||||
address_is_mine: (params = {}) => daemonCallWithResult('address_is_mine', params),
|
address_is_mine: (params = {}) => daemonCallWithResult('address_is_mine', params),
|
||||||
address_unused: (params = {}) => daemonCallWithResult('address_unused', params),
|
address_unused: (params = {}) => daemonCallWithResult('address_unused', params),
|
||||||
transaction_list: (params = {}) => daemonCallWithResult('transaction_list', params),
|
transaction_list: (params = {}) => daemonCallWithResult('transaction_list', params),
|
||||||
|
|
14
dist/flow-typed/Lbry.js
vendored
14
dist/flow-typed/Lbry.js
vendored
|
@ -130,6 +130,19 @@ declare type SyncApplyResponse = {
|
||||||
data: string,
|
data: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type AccountSetResponse = Array<{
|
||||||
|
id: string,
|
||||||
|
is_default: string,
|
||||||
|
ledger: string,
|
||||||
|
name: string,
|
||||||
|
seed: string,
|
||||||
|
encrypted: string,
|
||||||
|
private_key: string,
|
||||||
|
public_key: string,
|
||||||
|
address_generator: string,
|
||||||
|
modified_on: string,
|
||||||
|
}>;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Types used in the generic Lbry object that is exported
|
// Types used in the generic Lbry object that is exported
|
||||||
//
|
//
|
||||||
|
@ -172,6 +185,7 @@ declare type LbryTypes = {
|
||||||
account_unlock: (params: {}) => Promise<boolean>,
|
account_unlock: (params: {}) => Promise<boolean>,
|
||||||
account_list: (params: {}) => Promise<AccountListResponse>,
|
account_list: (params: {}) => Promise<AccountListResponse>,
|
||||||
account_send: (params: {}) => Promise<GenericTxResponse>,
|
account_send: (params: {}) => Promise<GenericTxResponse>,
|
||||||
|
account_set: (params: {}) => Promise<AccountSetResponse>,
|
||||||
address_is_mine: (params: {}) => Promise<boolean>,
|
address_is_mine: (params: {}) => Promise<boolean>,
|
||||||
address_unused: (params: {}) => Promise<string>, // New address
|
address_unused: (params: {}) => Promise<string>, // New address
|
||||||
transaction_list: (params: {}) => Promise<TxListResponse>,
|
transaction_list: (params: {}) => Promise<TxListResponse>,
|
||||||
|
|
14
flow-typed/Lbry.js
vendored
14
flow-typed/Lbry.js
vendored
|
@ -130,6 +130,19 @@ declare type SyncApplyResponse = {
|
||||||
data: string,
|
data: string,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare type AccountSetResponse = Array<{
|
||||||
|
id: string,
|
||||||
|
is_default: string,
|
||||||
|
ledger: string,
|
||||||
|
name: string,
|
||||||
|
seed: string,
|
||||||
|
encrypted: string,
|
||||||
|
private_key: string,
|
||||||
|
public_key: string,
|
||||||
|
address_generator: string,
|
||||||
|
modified_on: string,
|
||||||
|
}>;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Types used in the generic Lbry object that is exported
|
// Types used in the generic Lbry object that is exported
|
||||||
//
|
//
|
||||||
|
@ -172,6 +185,7 @@ declare type LbryTypes = {
|
||||||
account_unlock: (params: {}) => Promise<boolean>,
|
account_unlock: (params: {}) => Promise<boolean>,
|
||||||
account_list: (params: {}) => Promise<AccountListResponse>,
|
account_list: (params: {}) => Promise<AccountListResponse>,
|
||||||
account_send: (params: {}) => Promise<GenericTxResponse>,
|
account_send: (params: {}) => Promise<GenericTxResponse>,
|
||||||
|
account_set: (params: {}) => Promise<AccountSetResponse>,
|
||||||
address_is_mine: (params: {}) => Promise<boolean>,
|
address_is_mine: (params: {}) => Promise<boolean>,
|
||||||
address_unused: (params: {}) => Promise<string>, // New address
|
address_unused: (params: {}) => Promise<string>, // New address
|
||||||
transaction_list: (params: {}) => Promise<TxListResponse>,
|
transaction_list: (params: {}) => Promise<TxListResponse>,
|
||||||
|
|
|
@ -82,6 +82,7 @@ const Lbry: LbryTypes = {
|
||||||
account_unlock: (params = {}) => daemonCallWithResult('account_unlock', params),
|
account_unlock: (params = {}) => daemonCallWithResult('account_unlock', params),
|
||||||
account_list: (params = {}) => daemonCallWithResult('account_list', params),
|
account_list: (params = {}) => daemonCallWithResult('account_list', params),
|
||||||
account_send: (params = {}) => daemonCallWithResult('account_send', params),
|
account_send: (params = {}) => daemonCallWithResult('account_send', params),
|
||||||
|
account_set: (params = {}) => daemonCallWithResult('account_set', params),
|
||||||
address_is_mine: (params = {}) => daemonCallWithResult('address_is_mine', params),
|
address_is_mine: (params = {}) => daemonCallWithResult('address_is_mine', params),
|
||||||
address_unused: (params = {}) => daemonCallWithResult('address_unused', params),
|
address_unused: (params = {}) => daemonCallWithResult('address_unused', params),
|
||||||
transaction_list: (params = {}) => daemonCallWithResult('transaction_list', params),
|
transaction_list: (params = {}) => daemonCallWithResult('transaction_list', params),
|
||||||
|
|
Loading…
Reference in a new issue