A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.

This commit is contained in:
Norm Rasmussen
2024-02-28 17:13:10 -05:00
parent dbcdfc8472
commit 1184fe0cd1
1107 changed files with 76526 additions and 8934 deletions

View File

@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ip_1 = __importDefault(require("ip"));
const ip_1 = require("./ip");
const net_1 = __importDefault(require("net"));
/**
* Returns the IP address of the host that the Navigator is running on, as
@ -27,7 +27,7 @@ async function myIpAddress() {
const onError = () => {
// if we fail to access Google DNS (as in firewall blocks access),
// fallback to querying IP locally
resolve(ip_1.default.address());
resolve(ip_1.ip.address());
};
socket.once('error', onError);
socket.once('connect', () => {