You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
592 B

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.sendAsync = sendAsync;
function _internal() {
const data = require("./internal");
_internal = function () {
return data;
};
return data;
}
async function sendAsync(recipient, url_, allowUnauthed = true) {
const user = await _internal().UserManager.ensureLoggedInAsync();
const api = _internal().ApiV2.clientForUser(user);
return await api.postAsync('send-project', {
emailOrPhone: recipient,
url: url_,
includeExpoLinks: allowUnauthed
});
}
//# sourceMappingURL=Exp.js.map