CLIENT_TRACKINGINFO.js 446 B

123456789101112131415
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.transformReply = exports.transformArguments = void 0;
  4. function transformArguments() {
  5. return ['CLIENT', 'TRACKINGINFO'];
  6. }
  7. exports.transformArguments = transformArguments;
  8. function transformReply(reply) {
  9. return {
  10. flags: new Set(reply[1]),
  11. redirect: reply[3],
  12. prefixes: reply[5]
  13. };
  14. }
  15. exports.transformReply = transformReply;