mmn-client-js 1.0.14 → 1.0.15
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.
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8095,6 +8095,9 @@ class MmnClient {
|
|
|
8095
8095
|
const address = this.getAddressFromUserId(userId);
|
|
8096
8096
|
return this.makeRequest('account.getcurrentnonce', { address, tag });
|
|
8097
8097
|
}
|
|
8098
|
+
async getCurrentNonceByAddress(address, tag = 'latest') {
|
|
8099
|
+
return this.makeRequest('account.getcurrentnonce', { address, tag });
|
|
8100
|
+
}
|
|
8098
8101
|
async getAccountByUserId(userId) {
|
|
8099
8102
|
const address = this.getAddressFromUserId(userId);
|
|
8100
8103
|
return this.makeRequest('account.getaccount', {
|