Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added dist to .gitignore

Blue Mousea83eadd122d7
diff --git a/.gitignore b/.gitignore
index 84eba26f5..8b77da101 100644
--- a/.gitignore
+++ b/.gitignore
@@ -106,3 +106,4 @@ package-lock.json
.DS_Store
pnpm-lock.yaml
+dist
diff --git a/dist/captcha-validator.cjs.js b/dist/captcha-validator.cjs.js
deleted file mode 100644
index d6e42a127..000000000
--- a/dist/captcha-validator.cjs.js
+++ /dev/null
@@ -1,181 +0,0 @@
-'use strict';
-
-Object.defineProperty(exports, '__esModule', { value: true });
-
-var https = require('https');
-var http = require('http');
-
-function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
-
-var https__default = /*#__PURE__*/_interopDefaultLegacy(https);
-var http__default = /*#__PURE__*/_interopDefaultLegacy(http);
-
-/******************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */
-
-function __awaiter(thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-}
-
-function __generator(thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
- }
-}
-
-var DEFAULT_API_HOST = 'https://api.swetrix.com/v1/captcha';
-var ENDPOINTS = {
- VALIDATE: '/validate',
-};
-var makeAPIRequest = function (path, method, body, apiURL) { return __awaiter(void 0, void 0, void 0, function () {
- var url, isHTTPSUrl, options;
- return __generator(this, function (_a) {
- url = "".concat(apiURL || DEFAULT_API_HOST).concat(path);
- isHTTPSUrl = url.startsWith('https://');
- options = {
- method: method,
- headers: {
- 'Content-Type': 'application/json',
- },
- };
- if (body) {
- // @ts-ignore
- options.body = JSON.stringify(body);
- }
- return [2 /*return*/, new Promise(function (resolve, reject) {
- var req;
- if (isHTTPSUrl) {
- req = https__default["default"].request(url, options, function (res) {
- var data = '';
- res.on('data', function (chunk) {
- data += chunk;
- });
- res.on('end', function () {
- if (res.statusCode >= 400) {
- reject("Request failed with status code ".concat(res.statusCode, ": ").concat(data));
- }
- else {
- try {
- resolve(JSON.parse(data));
- }
- catch (e) {
- reject("Unable to parse JSON response: ".concat(data));
- }
- }
- });
- });
- }
- else {
- req = http__default["default"].request(url, options, function (res) {
- var data = '';
- res.on('data', function (chunk) {
- data += chunk;
- });
- res.on('end', function () {
- if (res.statusCode >= 400) {
- reject("Request failed with status code ".concat(res.statusCode, ": ").concat(data));
- }
- else {
- try {
- resolve(JSON.parse(data));
- }
- catch (e) {
- reject("Unable to parse JSON response: ".concat(data));
- }
- }
- });
- });
- }
- req.on('error', function (e) {
- reject("Unable to make API request, error: ".concat(e));
- });
- if (body) {
- // @ts-ignore
- req.write(options.body);
- }
- req.end();
- })];
- });
-}); };
-
-/**
- * Function to validate the CAPTCHA token.
- *
- * @param {string} token The CAPTCHA token.
- * @param {string} secret The secret API key.
- * @param {number} timestamp The timestamp of the CAPTCHA pass.
- * @param {string | null} hash The hash of the CAPTCHA pass.
- * @param {string | null} apiURL The API URL to use (default: https://api.swetrix.com/captcha).
- * @returns {Promise<[boolean, object | null]>} The result of the validation.
- */
-function validateToken(token, secret, timestamp, hash, apiURL) {
- return __awaiter(this, void 0, void 0, function () {
- var res, e_1, success, data;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0:
- _a.trys.push([0, 2, , 3]);
- return [4 /*yield*/, makeAPIRequest(ENDPOINTS.VALIDATE, 'POST', {
- token: token,
- secret: secret,
- timestamp: timestamp,
- hash: hash,
- }, apiURL)];
- case 1:
- res = _a.sent();
- return [3 /*break*/, 3];
- case 2:
- e_1 = _a.sent();
- return [2 /*return*/, [false, e_1]];
- case 3:
- success = res.success, data = res.data;
- if (!success) {
- return [2 /*return*/, [false, 'CAPTCHA validation failed']];
- }
- return [2 /*return*/, [true, data]];
- }
- });
- });
-}
-
-exports.validateToken = validateToken;
diff --git a/dist/captcha-validator.es5.js b/dist/captcha-validator.es5.js
deleted file mode 100644
index cbe720384..000000000
--- a/dist/captcha-validator.es5.js
+++ /dev/null
@@ -1,172 +0,0 @@
-import https from 'https';
-import http from 'http';
-
-/******************************************************************************
-Copyright (c) Microsoft Corporation.
-
-Permission to use, copy, modify, and/or distribute this software for any
-purpose with or without fee is hereby granted.
-
-THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
-REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
-AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
-INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
-LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
-OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
-PERFORMANCE OF THIS SOFTWARE.
-***************************************************************************** */
-
-function __awaiter(thisArg, _arguments, P, generator) {
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
- return new (P || (P = Promise))(function (resolve, reject) {
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
- step((generator = generator.apply(thisArg, _arguments || [])).next());
- });
-}
-
-function __generator(thisArg, body) {
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
- function verb(n) { return function (v) { return step([n, v]); }; }
- function step(op) {
- if (f) throw new TypeError("Generator is already executing.");
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
- if (y = 0, t) op = [op[0] & 2, t.value];
- switch (op[0]) {
- case 0: case 1: t = op; break;
- case 4: _.label++; return { value: op[1], done: false };
- case 5: _.label++; y = op[1]; op = [0]; continue;
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
- default:
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
- if (t[2]) _.ops.pop();
- _.trys.pop(); continue;
- }
- op = body.call(thisArg, _);
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
- }
-}
-
-var DEFAULT_API_HOST = 'https://api.swetrix.com/v1/captcha';
-var ENDPOINTS = {
- VALIDATE: '/validate',
-};
-var makeAPIRequest = function (path, method, body, apiURL) { return __awaiter(void 0, void 0, void 0, function () {
- var url, isHTTPSUrl, options;
- return __generator(this, function (_a) {
- url = "".concat(apiURL || DEFAULT_API_HOST).concat(path);
- isHTTPSUrl = url.startsWith('https://');
- options = {
- method: method,
- headers: {
- 'Content-Type': 'application/json',
- },
- };
- if (body) {
- // @ts-ignore
- options.body = JSON.stringify(body);
- }
- return [2 /*return*/, new Promise(function (resolve, reject) {
- var req;
- if (isHTTPSUrl) {
- req = https.request(url, options, function (res) {
- var data = '';
- res.on('data', function (chunk) {
- data += chunk;
- });
- res.on('end', function () {
- if (res.statusCode >= 400) {
- reject("Request failed with status code ".concat(res.statusCode, ": ").concat(data));
- }
- else {
- try {
- resolve(JSON.parse(data));
- }
- catch (e) {
- reject("Unable to parse JSON response: ".concat(data));
- }
- }
- });
- });
- }
- else {
- req = http.request(url, options, function (res) {
- var data = '';
- res.on('data', function (chunk) {
- data += chunk;
- });
- res.on('end', function () {
- if (res.statusCode >= 400) {
- reject("Request failed with status code ".concat(res.statusCode, ": ").concat(data));
- }
- else {
- try {
- resolve(JSON.parse(data));
- }
- catch (e) {
- reject("Unable to parse JSON response: ".concat(data));
- }
- }
- });
- });
- }
- req.on('error', function (e) {
- reject("Unable to make API request, error: ".concat(e));
- });
- if (body) {
- // @ts-ignore
- req.write(options.body);
- }
- req.end();
- })];
- });
-}); };
-
-/**
- * Function to validate the CAPTCHA token.
- *
- * @param {string} token The CAPTCHA token.
- * @param {string} secret The secret API key.
- * @param {number} timestamp The timestamp of the CAPTCHA pass.
- * @param {string | null} hash The hash of the CAPTCHA pass.
- * @param {string | null} apiURL The API URL to use (default: https://api.swetrix.com/captcha).
- * @returns {Promise<[boolean, object | null]>} The result of the validation.
- */
-function validateToken(token, secret, timestamp, hash, apiURL) {
- return __awaiter(this, void 0, void 0, function () {
- var res, e_1, success, data;
- return __generator(this, function (_a) {
- switch (_a.label) {
- case 0:
- _a.trys.push([0, 2, , 3]);
- return [4 /*yield*/, makeAPIRequest(ENDPOINTS.VALIDATE, 'POST', {
- token: token,
- secret: secret,
- timestamp: timestamp,
- hash: hash,
- }, apiURL)];
- case 1:
- res = _a.sent();
- return [3 /*break*/, 3];
- case 2:
- e_1 = _a.sent();
- return [2 /*return*/, [false, e_1]];
- case 3:
- success = res.success, data = res.data;
- if (!success) {
- return [2 /*return*/, [false, 'CAPTCHA validation failed']];
- }
- return [2 /*return*/, [true, data]];
- }
- });
- });
-}
-
-export { validateToken };
diff --git a/dist/esnext/index.d.ts b/dist/esnext/index.d.ts
deleted file mode 100644
index 79ecc7515..000000000
--- a/dist/esnext/index.d.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-/**
- * Function to validate the CAPTCHA token.
- *
- * @param {string} token The CAPTCHA token.
- * @param {string} secret The secret API key.
- * @param {number} timestamp The timestamp of the CAPTCHA pass.
- * @param {string | null} hash The hash of the CAPTCHA pass.
- * @param {string | null} apiURL The API URL to use (default: https://api.swetrix.com/captcha).
- * @returns {Promise<[boolean, object | null]>} The result of the validation.
- */
-export declare function validateToken(token: string, secret: string, timestamp: number, hash?: string, apiURL?: string): Promise<[boolean, object | string]>;
diff --git a/dist/esnext/index.js b/dist/esnext/index.js
deleted file mode 100644
index 42faa390b..000000000
--- a/dist/esnext/index.js
+++ /dev/null
@@ -1,31 +0,0 @@
-import { makeAPIRequest, ENDPOINTS } from './utils';
-/**
- * Function to validate the CAPTCHA token.
- *
- * @param {string} token The CAPTCHA token.
- * @param {string} secret The secret API key.
- * @param {number} timestamp The timestamp of the CAPTCHA pass.
- * @param {string | null} hash The hash of the CAPTCHA pass.
- * @param {string | null} apiURL The API URL to use (default: https://api.swetrix.com/captcha).
- * @returns {Promise<[boolean, object | null]>} The result of the validation.
- */
-export async function validateToken(token, secret, timestamp, hash, apiURL) {
- let res;
- try {
- res = await makeAPIRequest(ENDPOINTS.VALIDATE, 'POST', {
- token,
- secret,
- timestamp,
- hash,
- }, apiURL);
- }
- catch (e) {
- return [false, e];
- }
- const { success, data } = res;
- if (!success) {
- return [false, 'CAPTCHA validation failed'];
- }
- return [true, data];
-}
-//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/dist/esnext/index.js.map b/dist/esnext/index.js.map
deleted file mode 100644
index 3c329d731..000000000
--- a/dist/esnext/index.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEnD;;;;;;;;;GASG;AACH,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,KAAa,EAAE,MAAc,EAAE,SAAiB,EAAE,IAAa,EAAE,MAAe;IAClH,IAAI,GAAG,CAAA;IAEP,IAAI;QACF,GAAG,GAAG,MAAM,cAAc,CAAC,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE;YACrD,KAAK;YACL,MAAM;YACN,SAAS;YACT,IAAI;SACL,EAAE,MAAM,CAAC,CAAA;KACX;IAAC,OAAO,CAAM,EAAE;QACf,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAA;KAClB;IAED,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,GAAG,CAAA;IAE7B,IAAI,CAAC,OAAO,EAAE;QACZ,OAAO,CAAC,KAAK,EAAE,2BAA2B,CAAC,CAAA;KAC5C;IAED,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAA;AACrB,CAAC"}
\ No newline at end of file
diff --git a/dist/esnext/utils.d.ts b/dist/esnext/utils.d.ts
deleted file mode 100644
index 904abfe5d..000000000
--- a/dist/esnext/utils.d.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export declare const ENDPOINTS: {
- VALIDATE: string;
-};
-export declare const makeAPIRequest: (path: string, method: string, body: object, apiURL?: string) => Promise<any>;
diff --git a/dist/esnext/utils.js b/dist/esnext/utils.js
deleted file mode 100644
index cdd7b8385..000000000
--- a/dist/esnext/utils.js
+++ /dev/null
@@ -1,74 +0,0 @@
-import https from 'https';
-import http from 'http';
-const DEFAULT_API_HOST = 'https://api.swetrix.com/v1/captcha';
-export const ENDPOINTS = {
- VALIDATE: '/validate',
-};
-export const makeAPIRequest = async (path, method, body, apiURL) => {
- const url = `${apiURL || DEFAULT_API_HOST}${path}`;
- const isHTTPSUrl = url.startsWith('https://');
- const options = {
- method,
- headers: {
- 'Content-Type': 'application/json',
- },
- };
- if (body) {
- // @ts-ignore
- options.body = JSON.stringify(body);
- }
- return new Promise((resolve, reject) => {
- let req;
- if (isHTTPSUrl) {
- req = https.request(url, options, (res) => {
- let data = '';
- res.on('data', (chunk) => {
- data += chunk;
- });
- res.on('end', () => {
- if (res.statusCode >= 400) {
- reject(`Request failed with status code ${res.statusCode}: ${data}`);
- }
- else {
- try {
- resolve(JSON.parse(data));
- }
- catch (e) {
- reject(`Unable to parse JSON response: ${data}`);
- }
- }
- });
- });
- }
- else {
- req = http.request(url, options, (res) => {
- let data = '';
- res.on('data', (chunk) => {
- data += chunk;
- });
- res.on('end', () => {
- if (res.statusCode >= 400) {
- reject(`Request failed with status code ${res.statusCode}: ${data}`);
- }
- else {
- try {
- resolve(JSON.parse(data));
- }
- catch (e) {
- reject(`Unable to parse JSON response: ${data}`);
- }
- }
- });
- });
- }
- req.on('error', (e) => {
- reject(`Unable to make API request, error: ${e}`);
- });
- if (body) {
- // @ts-ignore
- req.write(options.body);
- }
- req.end();
- });
-};
-//# sourceMappingURL=utils.js.map
\ No newline at end of file
diff --git a/dist/esnext/utils.js.map b/dist/esnext/utils.js.map
deleted file mode 100644
index 73fe8c4a1..000000000
--- a/dist/esnext/utils.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,IAAI,MAAM,MAAM,CAAA;AAEvB,MAAM,gBAAgB,GAAG,oCAAoC,CAAA;AAE7D,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,QAAQ,EAAE,WAAW;CACtB,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,KAAK,EAAE,IAAY,EAAE,MAAc,EAAE,IAAY,EAAE,MAAe,EAAgB,EAAE;IAChH,MAAM,GAAG,GAAG,GAAG,MAAM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