@waves/waves-transactions
Advanced tools
Comparing version 3.4.2 to 3.4.3
@@ -17,2 +17,2 @@ import { DataEntry, TTx } from './transactions'; | ||
export declare function accountData(address: string, apiBase: string): Promise<Record<string, DataEntry>>; | ||
export declare function accountDataByKey(address: string, key: string, apiBase: string): Promise<any>; | ||
export declare function accountDataByKey(key: string, address: string, apiBase: string): Promise<any>; |
@@ -126,3 +126,3 @@ "use strict"; | ||
exports.accountData = accountData; | ||
function accountDataByKey(address, key, apiBase) { | ||
function accountDataByKey(key, address, apiBase) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
@@ -129,0 +129,0 @@ return axios_1.default.get(`addresses/data/${address}/${key}`, { baseURL: apiBase, validateStatus: (status) => status === 404 || status >= 200 && status < 300 }) |
{ | ||
"name": "@waves/waves-transactions", | ||
"version": "3.4.2", | ||
"version": "3.4.3", | ||
"description": "Build and sign(multi-sign) transactions for Waves blockchain.", | ||
@@ -22,2 +22,6 @@ "keywords": [ | ||
}, | ||
"files": [ | ||
"/dist", | ||
"/src" | ||
], | ||
"author": { | ||
@@ -24,0 +28,0 @@ "name": "Yuriy Naydenov", |
@@ -128,3 +128,3 @@ import { DataEntry, TTx } from './transactions' | ||
export async function accountDataByKey(address: string, key: string, apiBase: string): Promise<any> { | ||
export async function accountDataByKey(key: string, address: string, apiBase: string): Promise<any> { | ||
return axios.get(`addresses/data/${address}/${key}`, | ||
@@ -131,0 +131,0 @@ { baseURL: apiBase, validateStatus: (status) => status === 404 || status >= 200 && status < 300 }) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
1020581
169
14632