From 1bbf6511e44c611ec89d64ebf1f6bd506930fa95 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 12 Apr 2021 17:01:25 +0200 Subject: [PATCH] Add ProxyPolicy enum --- src/enums.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/enums.js b/src/enums.js index f844f31..a53a86f 100644 --- a/src/enums.js +++ b/src/enums.js @@ -13,6 +13,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +const ProxyPolicy = { + ADAPTIVE: 'adaptive', + ALWAYS: 'always', + NEVER: 'nver', +} +Object.freeze(ProxyPolicy) + const Fetcher = { HTTP: 'http', DNS: 'dns', @@ -52,6 +59,7 @@ const ClaimRelation = { } Object.freeze(ClaimRelation) +exports.ProxyPolicy = ProxyPolicy exports.Fetcher = Fetcher exports.ProofAccess = ProofAccess exports.ProofFormat = ProofFormat