mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-03-12 00:45:14 +00:00
Remove the Public API URL
The Public API was proposed for the next version (0.2.7.54), but due to the increased security risks of providing an unauthenticated Public API, the Public API URL is being discontinued. This service will be available in the future through marketplaces offered by cloud platforms. Additionally, as the server-side script is open-source, you can set it up yourself. https://github.com/gnh1201/caterpillar
This commit is contained in:
parent
116bd84394
commit
9038829f24
|
@ -1,15 +1,15 @@
|
|||
// punycode.js
|
||||
// Namhyeon Go <abuse@catswords.net>
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
//
|
||||
// ***SECURITY NOTICE***
|
||||
// The Punycode (IDN) library requires an active internet connection. Data may be transmitted externally, and users must adhere to the terms of use.
|
||||
// - Privacy Policy: https://policy.catswords.social/site_terms.html
|
||||
// - Terms of Service: https://policy.catswords.social/site_extended_description.html
|
||||
// Due to potential security issues, the Public API URL is not provided. If you need to request access, please refer to the project's contact information.
|
||||
// You can download the server-side script that implements this functionality from the link below:
|
||||
// https://github.com/gnh1201/caterpillar
|
||||
//
|
||||
var JsonRpc2 = require("lib/jsonrpc2");
|
||||
|
||||
var API_URL = "https://public-api.catswords.net";
|
||||
var API_URL = "http://localhost:8080";
|
||||
|
||||
function encode(s) {
|
||||
var rpc = JsonRpc2.create(API_URL);
|
||||
|
@ -34,6 +34,6 @@ function decode(s) {
|
|||
exports.encode = encode;
|
||||
exports.decode = decode;
|
||||
|
||||
exports.VERSIONINFO = "Punycode Public API client (punycode.js) version 0.2";
|
||||
exports.VERSIONINFO = "Punycode Public API client (punycode.js) version 0.2.1";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
10
lib/totp.js
10
lib/totp.js
|
@ -4,13 +4,13 @@
|
|||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
// ***SECURITY NOTICE***
|
||||
// The TOTP library requires an internet connection, and data may be transmitted externally. Users must adhere to the terms of use and privacy policy.
|
||||
// - Privacy Policy: https://policy.catswords.social/site_terms.html
|
||||
// - Terms of Service: https://policy.catswords.social/site_extended_description.html
|
||||
// Due to potential security issues, the Public API URL is not provided. If you need to request access, please refer to the project's contact information.
|
||||
// You can download the server-side script that implements this functionality from the link below:
|
||||
// https://github.com/gnh1201/caterpillar
|
||||
//
|
||||
var JsonRpc2 = require("lib/jsonrpc2");
|
||||
|
||||
var API_URL = "https://public-api.catswords.net";
|
||||
var API_URL = "http://localhost:8080";
|
||||
|
||||
function getPubKey() {
|
||||
var rpc = JsonRpc2.create(API_URL);
|
||||
|
@ -45,7 +45,7 @@ function getOtp(pubkey) {
|
|||
exports.getPubKey = getPubKey;
|
||||
exports.getOtp = getOtp;
|
||||
|
||||
exports.VERSIONINFO = "TOTP library (totp.js) version 0.1.3";
|
||||
exports.VERSIONINFO = "TOTP library (totp.js) version 0.1.4";
|
||||
exports.AUTHOR = "abuse@catswords.net";
|
||||
exports.global = global;
|
||||
exports.require = global.require;
|
||||
|
|
Loading…
Reference in New Issue
Block a user