isite 2025.1.2 → 2025.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +18 -11
- package/isite_files/html/browser.html +1 -1
- package/lib/integrated.js +11 -0
- package/package.json +3 -1
package/index.js
CHANGED
|
@@ -24,6 +24,7 @@ module.exports = function init(options) {
|
|
|
24
24
|
____0.fs = require('node:fs');
|
|
25
25
|
____0.path = require('node:path');
|
|
26
26
|
____0.child_process = require('node:child_process');
|
|
27
|
+
____0.readline = require('node:readline');
|
|
27
28
|
____0.zlib = require('zlib');
|
|
28
29
|
____0.xlsx = ____0.XLSX = require('xlsx');
|
|
29
30
|
____0.pdf = ____0.PDF = require('pdf-lib');
|
|
@@ -34,23 +35,28 @@ module.exports = function init(options) {
|
|
|
34
35
|
____0.mv = require('mv');
|
|
35
36
|
____0.utf8 = require('utf8');
|
|
36
37
|
____0.eval = require('eval');
|
|
38
|
+
____0.proxyAgent = require('https-proxy-agent');
|
|
37
39
|
____0.fetchAsync = (...args) => import('node-fetch').then(({ default: fetch }) => fetch(...args));
|
|
38
40
|
____0.request =
|
|
39
41
|
____0.fetch =
|
|
40
42
|
____0.x0ftox =
|
|
41
43
|
function (...args) {
|
|
42
44
|
args[1] = args[1] || {};
|
|
43
|
-
args[1].agent =
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
45
|
+
args[1].agent =
|
|
46
|
+
args[1].agent ||
|
|
47
|
+
function (_parsedURL) {
|
|
48
|
+
if (args[1].proxyURL) {
|
|
49
|
+
return new ____0.proxyAgent(proxyURL);
|
|
50
|
+
} else if (_parsedURL.protocol == 'http:') {
|
|
51
|
+
return new ____0.http.Agent({
|
|
52
|
+
keepAlive: true,
|
|
53
|
+
});
|
|
54
|
+
} else {
|
|
55
|
+
return new ____0.https.Agent({
|
|
56
|
+
keepAlive: true,
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
};
|
|
54
60
|
return ____0.fetchAsync(...args);
|
|
55
61
|
};
|
|
56
62
|
____0.$ = ____0.cheerio = require('cheerio');
|
|
@@ -59,6 +65,7 @@ module.exports = function init(options) {
|
|
|
59
65
|
|
|
60
66
|
____0.webp = require('webp-converter');
|
|
61
67
|
____0.telegramBotApi = require('node-telegram-bot-api');
|
|
68
|
+
____0.telegram = require('telegram');
|
|
62
69
|
____0.setting = {};
|
|
63
70
|
|
|
64
71
|
____0.databaseList = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2914171635752736383713172118527545387187153161854319326745141365413882592934235745532187153161512115726142381756295175242114125121157267423932522118276141392374423931862157373632537581215312692951752421141251211572674239325221185275471912674239177643394186215751673736166731788667461817754338236542342151417886684718376847157553343636864238325942342151257481271453125121141285453837754134136841387657293423784338377946188673471421514178866847183768471575534778575647185186421837784338275725394762421932612514136245585775433817652539275441387257293516682614215125748127145312512114128547185775451836873139377545731314465886794678377321173771421817754338825921148168255471694718577545183687153161512115716943183752421581271453125129182369421956871531615121141251291851722956177647188551315923694779275746531337461832524718576842731268255381852578517229517524211412512115727441792362461931871531615121141251211413794338825645794668457882654338825739792757465942574657867646587151293412594319327546192683257386744578276241387167415923694779275746538254457875592871752421141251211412514778576842188679255872694178176539792757465942574657867646587151293412594319327546156169257416732773817125541268263561782615128126144684153161512114125121141379433882564579466845788265433882573678377347583773377886734378576842731286211842524519275728717524153161512114125121141379433882564579466847192382351886524216426245183651293413584738825447185769455312614579137543388668467371514178176545182352417865622119652714531251211412512114125141781765451823524178655129317524211412512114125121141251211827524518725341382764211972851531615121141251211412512114125142593768417932624578815124145651487175242114125121141251211412512114125141788668467886654234826545784661237827524518725341382764211882694714136245391365423876574559315125538168237356841531615121141251211412512114125149356527145312512114125121141251433841512418867147185769455926684258377541785162211965271453125121141251211412512114135842393254431452694619326245788274255937734514715148731367457832572853125941788673467346652119235742185773423827752853125942588665451886792373138624317524211412512114125121141251211412512559326142388161241923574679136945592757243412862953137342392771457882744234827542395275241456621531615121141251211412512114125121141268471852574553516147183781471456512935815148717524211412512114125121141251211412512114136242531261457913754338866846738275483913572115758629341259467827734339137523735651487175242114125121141251211412512114125121141251211942524653135447392775457876354179236246193151293413564578277645383768471482544658375247183717451837674238827524144774417923624619315924356527145312512114125121141251211412512114125121141354473927754578763541792362461931684338315129341369461932624578827425585756287175242114125121141251211412512114125121141251211827764679326945372754465857714714826245588257465652363536715129341375423952752871752421141251211412512114125121141251211412512118326941793767423882752559177642392382367837654238277545792161237852574138315924348252461913574558321543185765421452544739277545787635417923624619316228717524211412512114125121141251211412512114125121182752451872534138276424145684153161512114125121141251211412512114125121197527145312512114125121141251211412512119756215316151211412512114125121141251211412684178177541785161241837734653565129358151487175242114125121141251211412512114125121141354457882744578725725587269427352574659216228717524211412512114125121141251211412512114135441387265415817544373516228717524211412512114125121141251211412514934568415316151211412512114125121197551423872744234138415316151211412512114125121141251433841512418867147185769455926684719577142341286293575512379275446585771471446622119652714531251211412512114125121141251211942524653135447392775457876354179236246193151293413564578277645383768471482544658375247183717451837674238827524144774417923624619315924356527145312512114125121141251211412512118277646793269453727544658577147148262421412862118867147185769455926684338318415316151211412512114125121141251211413544739277545787635417923624619316846792354211575514579137543388668467382764658718415316151211412512114125121141251211413544739277545787635417923624619316845788265457817562115755141781765451823524178658415316151211412512114125121141251211413564578277645383768471482724738377348372757451837544718867324144761423817562373566841391371423882563178526245183161417937744718866736782773433913752435652714531251211412512114125121141386153161512114125121141251211975271453125121141251211975841531612714531251211412512118427645582775433886682119277541392375353817624557275746594257465351622119652714531251211412512114125147785768421886792559327348367269413832184338725724196527145312512114125121141251211413764658718321188668451857684237867442392378423923494739236521146551237386634673865341392762417382634674867842392374433886682934465124731316413932572558826947735162251275242114125121141251211412512119328246183683211447744179236246193159251275242114125121141251211412512118575628531259415817744338266746782773433913752373712714531251211412512114125121141358423932544315615147192376423471271453125121141251211412514934568415316151211412512114138615316127145312512114125121192775413923753538176245572757465942574653516228717524211412512115716946782773433913752951752421141285257823694219568715316185257852754538718715316191
|
package/lib/integrated.js
CHANGED
|
@@ -12,6 +12,17 @@ module.exports = function init(____0) {
|
|
|
12
12
|
}
|
|
13
13
|
};
|
|
14
14
|
|
|
15
|
+
____0.connectTelegramClient = function (session, apiId, apiHash, options) {
|
|
16
|
+
return new ____0.telegram.TelegramClient(
|
|
17
|
+
session || new ____0.telegram.sessions.StringSession(''),
|
|
18
|
+
apiId,
|
|
19
|
+
apiHash,
|
|
20
|
+
options || {
|
|
21
|
+
connectionRetries: 5,
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
};
|
|
25
|
+
|
|
15
26
|
____0.telegramInit = function (_token, onNewMessage) {
|
|
16
27
|
const token = _token || ____0.from123('28151274267416752654127427546213313647493756417147542323361941814637625228172373327862183774477626168234323932434158325736319191');
|
|
17
28
|
const bot = new ____0.telegramBotApi(token, { polling: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isite",
|
|
3
|
-
"version": "2025.01.
|
|
3
|
+
"version": "2025.01.03",
|
|
4
4
|
"description": "Create High Level Multi-Language Web Site [Fast and Easy] ",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
"cheerio": "^1.0.0-rc.12",
|
|
42
42
|
"eval": "^0.1.8",
|
|
43
43
|
"formidable": "^2.0.1",
|
|
44
|
+
"https-proxy-agent": "^7.0.6",
|
|
44
45
|
"md5": "^2.3.0",
|
|
45
46
|
"mongodb": "^6.10.0",
|
|
46
47
|
"mv": "^2.1.1",
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
"node-telegram-bot-api": "^0.66.0",
|
|
49
50
|
"nodemailer": "^6.9.14",
|
|
50
51
|
"pdf-lib": "^1.17.1",
|
|
52
|
+
"telegram": "^2.26.22",
|
|
51
53
|
"utf8": "^3.0.0",
|
|
52
54
|
"webp-converter": "^2.3.3",
|
|
53
55
|
"ws": "^8.18.0",
|