@maxmind/geoip2-node
Version:
Node.js API for GeoIP2 webservice client and database reader
16 lines (15 loc) • 646 B
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const AnonymousIP_1 = __importDefault(require("./AnonymousIP"));
class AnonymousPlus extends AnonymousIP_1.default {
constructor(response, ipAddress, network) {
super(response, ipAddress, network);
this.anonymizerConfidence = response.anonymizer_confidence;
this.networkLastSeen = response.network_last_seen;
this.providerName = response.provider_name;
}
}
exports.default = AnonymousPlus;