@dfinity/agent
Version:
JavaScript and TypeScript library to interact with the Internet Computer
18 lines • 973 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IC_REQUEST_AUTH_DELEGATION_DOMAIN_SEPARATOR = exports.IC_RESPONSE_DOMAIN_SEPARATOR = exports.IC_REQUEST_DOMAIN_SEPARATOR = exports.DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS = void 0;
// Default delta for ingress expiry is 5 minutes.
exports.DEFAULT_INGRESS_EXPIRY_DELTA_IN_MSECS = 5 * 60 * 1000;
/**
* The `\x0Aic-request` domain separator used in the signature of IC requests.
*/
exports.IC_REQUEST_DOMAIN_SEPARATOR = new TextEncoder().encode('\x0Aic-request');
/**
* The `\x0Bic-response` domain separator used in the signature of IC responses.
*/
exports.IC_RESPONSE_DOMAIN_SEPARATOR = new TextEncoder().encode('\x0Bic-response');
/**
* The `\x1Aic-request-auth-delegation` domain separator used in the signature of delegations.
*/
exports.IC_REQUEST_AUTH_DELEGATION_DOMAIN_SEPARATOR = new TextEncoder().encode('\x1Aic-request-auth-delegation');
//# sourceMappingURL=constants.js.map