"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getDidConnectQueryParams = getDidConnectQueryParams;
function getDidConnectQueryParams(params) {
  const didConnectQueryParams = {
    switchBehavior: "auto",
    showClose: false,
    ...params
  };
  return {
    "__did-connect__": Buffer.from(JSON.stringify(didConnectQueryParams), "utf8").toString("base64")
  };
}