mte-relay-browser-public-client
v4.5.1
Published
MTE Relay Browser is the Javascript client library for MTE Relay Server. See more at https://public-docs.eclypses.com/docs/mte-relay-server.
Downloads
119
Readme
MTE Relay Browser Public Client
This project creates the JS files needed to support the MTE Relay Server cloud products (Aws, Azure, Oracle, and Google).
Please visit https://public-docs.eclypses.com/docs/mte-relay-server for more information.
About
mteFetch() is a wrapper around native fetch() that handles MTE encryption and decryption of all network requests. Simply swap one for the other, point your request to an MTE Relay Server, and you're done!
Example usage
import { mteFetch } from "mte-relay-browser-public-client";
mteFetch("/api/login", {
method: "POST",
body: JSON.stringify({
email: "[email protected]",
password: "P@ssw0rd!",
}),
});