This commit is contained in:
Luiz H. R. Silva 2024-06-22 22:18:53 -03:00
parent 2325b4a2a8
commit ee12b1a483
4 changed files with 4 additions and 1 deletions

View file

@ -11,6 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
import { respostaComuns } from "p-respostas"; import { respostaComuns } from "p-respostas";
// exibe o iframe em tela cheia // exibe o iframe em tela cheia
export const abrirNps = (emDesenvolvimento) => (parametros) => __awaiter(void 0, void 0, void 0, function* () { export const abrirNps = (emDesenvolvimento) => (parametros) => __awaiter(void 0, void 0, void 0, function* () {
debugger;
const base_site = emDesenvolvimento const base_site = emDesenvolvimento
? "http://localhost:5040/nps" ? "http://localhost:5040/nps"
: "https://carro-de-boi.idz.one/nps"; : "https://carro-de-boi.idz.one/nps";

View file

@ -74,6 +74,7 @@ var abrirNps = function (emDesenvolvimento) {
return __generator(this, function (_j) { return __generator(this, function (_j) {
switch (_j.label) { switch (_j.label) {
case 0: case 0:
debugger;
base_site = emDesenvolvimento base_site = emDesenvolvimento
? "http://localhost:5040/nps" ? "http://localhost:5040/nps"
: "https://carro-de-boi.idz.one/nps"; : "https://carro-de-boi.idz.one/nps";

View file

@ -1,6 +1,6 @@
{ {
"name": "p-drives", "name": "p-drives",
"version": "0.87.0", "version": "0.88.0",
"description": "", "description": "",
"main": "src/index.ts", "main": "src/index.ts",
"exports": { "exports": {

View file

@ -8,6 +8,7 @@ import type { tipo_proxima_avaliacao } from "./tipos_nps"
export const abrirNps = export const abrirNps =
(emDesenvolvimento: boolean) => (emDesenvolvimento: boolean) =>
async (parametros: tipo_proxima_avaliacao["parametros"]) => { async (parametros: tipo_proxima_avaliacao["parametros"]) => {
debugger
const base_site = emDesenvolvimento const base_site = emDesenvolvimento
? "http://localhost:5040/nps" ? "http://localhost:5040/nps"
: "https://carro-de-boi.idz.one/nps" : "https://carro-de-boi.idz.one/nps"