Add ProxyPolicy enum

This commit is contained in:
Yarmo Mackenbach 2021-04-12 17:01:25 +02:00
parent e52c63e4e0
commit 1bbf6511e4
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -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