From 11c939c504771bad175e0c309c92d1761c786260 Mon Sep 17 00:00:00 2001 From: nicholasmueller Date: Wed, 28 Oct 2020 17:42:38 +0700 Subject: [PATCH] bump package and docs --- docs/index.html | 139 +++++++++++++++++++++++++++++++++++++++++++++- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 138 insertions(+), 5 deletions(-) diff --git a/docs/index.html b/docs/index.html index 8fc830ea..ef9c1027 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,7 +2,7 @@ - omg-js 4.0.1-1.0.0 | Documentation + omg-js 4.1.0-1.0.4 | Documentation @@ -15,7 +15,7 @@

omg-js

-
4.0.1-1.0.0
+
4.1.0-1.0.4
omg-js + +
  • + getDeposits + + + +
  • +
    @@ -2328,7 +2338,7 @@

    config.watcherUrl string - the url of the watcher server (running in security-critical and informational mode) + the url of the watcher-info server (running in both security-critical and informational mode) @@ -2344,6 +2354,16 @@

    + + config.watcherSecurityUrl string + + optional + the url of the watcher security server. If this is set, all security related endpoints would be using from this url instead. + + + + + config.plasmaContractAddress string @@ -8243,6 +8263,119 @@

    + + + + + +
    + + +
    + +

    + getDeposits +

    + + +
    + + +

    Get deposits

    + +
    getDeposits(filters: Object): Promise<DepositInfo>
    + + + + + + + + + + + +
    Parameters
    +
    + +
    +
    + filters (Object) + filter object + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameDescription
    filters.address string? + address to filter by +
    filters.limit number? + max number of transactions to return +
    filters.page number? + page of paginated request +
    + +
    + +
    + + + + + + +
    Returns
    + Promise<DepositInfo>: + promise that resolves with an array of confirmed deposits + + + + + + + + + + + + + + + +
    diff --git a/package-lock.json b/package-lock.json index 7968cc63..e6b50d22 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14822,7 +14822,7 @@ }, "wrap-ansi": { "version": "2.1.0", - "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", "dev": true, "requires": { diff --git a/package.json b/package.json index 39fa037e..d2c5a723 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "omg-js", - "version": "4.0.1-1.0.0", + "version": "4.1.0-1.0.4", "private": true, "description": "JavaScript Library to interact with OMG Network", "scripts": {