wenay-common 1.0.41 → 1.0.42
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/lib/src/Common/funcTimeWait.d.ts +22 -0
- package/lib/src/Common/funcTimeWait.js +51 -0
- package/lib/src/Common/funcTimeWait.js.map +1 -0
- package/lib/src/Common/waitRun.d.ts +4 -0
- package/lib/src/Common/waitRun.js +39 -0
- package/lib/src/Common/waitRun.js.map +1 -0
- package/lib/src/Exchange/ConnectData/Binance/use.js +1 -1
- package/lib/src/Exchange/ConnectData/Binance/use.js.map +1 -1
- package/lib/src/index.d.ts +7 -0
- package/lib/src/index.js +7 -0
- package/lib/src/index.js.map +1 -1
- package/lib/src/server.d.ts +3 -1
- package/lib/src/server.js +3 -8
- package/lib/src/server.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export type tApiKey = string;
|
|
2
|
+
type tType = 'UID' | 'IP' | tApiKey;
|
|
3
|
+
type tFunc = {
|
|
4
|
+
timeStamp?: number;
|
|
5
|
+
type: tType;
|
|
6
|
+
weight: number;
|
|
7
|
+
};
|
|
8
|
+
export declare function funcTimeW(): {
|
|
9
|
+
data: any[];
|
|
10
|
+
add(data: tFunc): void;
|
|
11
|
+
cleanByTime(type: tType, ms?: number): void;
|
|
12
|
+
weight(type: tType, ms?: number): number;
|
|
13
|
+
byWeight(type: tType, weight?: number): number;
|
|
14
|
+
};
|
|
15
|
+
export declare const FuncTimeWait: {
|
|
16
|
+
data: any[];
|
|
17
|
+
add(data: tFunc): void;
|
|
18
|
+
cleanByTime(type: tType, ms?: number): void;
|
|
19
|
+
weight(type: tType, ms?: number): number;
|
|
20
|
+
byWeight(type: tType, weight?: number): number;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FuncTimeWait = exports.funcTimeW = void 0;
|
|
4
|
+
function funcTimeW() {
|
|
5
|
+
const d = {};
|
|
6
|
+
const data = [];
|
|
7
|
+
return {
|
|
8
|
+
data: data,
|
|
9
|
+
add(data) {
|
|
10
|
+
if (!d[data.type])
|
|
11
|
+
d[data.type] = [];
|
|
12
|
+
if (d[data.type])
|
|
13
|
+
d[data.type]?.push([data.timeStamp ?? Date.now(), data.weight]);
|
|
14
|
+
},
|
|
15
|
+
cleanByTime(type, ms = 60 * 1000) {
|
|
16
|
+
const [arr, timeStamp] = [d[type], Date.now()];
|
|
17
|
+
if (arr[0][0] > timeStamp - ms) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
weight(type, ms = 60 * 1000) {
|
|
22
|
+
if (!d[type])
|
|
23
|
+
return 0;
|
|
24
|
+
const [arr, timeStamp] = [d[type], Date.now()];
|
|
25
|
+
let [sum, i] = [0, arr.length - 1];
|
|
26
|
+
for (; i >= 0; i--) {
|
|
27
|
+
const [_time, _weight] = arr[i];
|
|
28
|
+
if (_time < timeStamp - ms)
|
|
29
|
+
break;
|
|
30
|
+
sum += _weight;
|
|
31
|
+
}
|
|
32
|
+
arr.splice(0, i);
|
|
33
|
+
return sum;
|
|
34
|
+
},
|
|
35
|
+
byWeight(type, weight = 50000) {
|
|
36
|
+
if (!d[type])
|
|
37
|
+
return 0;
|
|
38
|
+
const [arr, timeStamp] = [d[type], Date.now()];
|
|
39
|
+
let [sum, i] = [0, arr.length - 1];
|
|
40
|
+
for (; i >= 0; i--) {
|
|
41
|
+
sum += arr[i][1];
|
|
42
|
+
if (sum > weight)
|
|
43
|
+
return arr[i + 1][0] ?? 0;
|
|
44
|
+
}
|
|
45
|
+
return 0;
|
|
46
|
+
},
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.funcTimeW = funcTimeW;
|
|
50
|
+
exports.FuncTimeWait = funcTimeW();
|
|
51
|
+
//# sourceMappingURL=funcTimeWait.js.map
|
|
@@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CAAC,CAAC;YACnC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;gBAChB,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,GAAQ,GAAG,CAAC,CAAC,CAAC,CAAA;gBACpC,IAAI,KAAK,GAAG,SAAS,GAAG,EAAE;oBAAE,MAAK;gBACjC,GAAG,IAAI,OAAO,CAAA;aACjB;YACD,GAAG,CAAC,MAAM,CAAC,CAAC,EAAC,CAAC,CAAC,CAAA;YACf,OAAO,GAAG,CAAA;QACd,CAAC;QAED,QAAQ,CAAC,IAAW,EAAE,MAAM,GAAG,KAAK;YAChC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;gBAAE,OAAO,CAAC,CAAA;YACtB,MAAM,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,CAAC,CAAA;YAC9C,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;YACnC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;gBAChB,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;gBAChB,IAAI,GAAG,GAAG,MAAM;oBAAE,OAAO,GAAG,CAAC,CAAC,GAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAA;aAC5C;YACD,OAAO,CAAC,CAAA;QACZ,CAAC;KACJ,CAAA;AACL,CAAC;AAjDD,8BAiDC;AAIY,QAAA,YAAY,GAAG,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.waitRun = void 0;
|
|
4
|
+
const Common_1 = require("./Common");
|
|
5
|
+
function waitRun() {
|
|
6
|
+
let lastTime = Date.now();
|
|
7
|
+
let funcAsync = Promise.resolve();
|
|
8
|
+
let busy = false;
|
|
9
|
+
let lastFunc1;
|
|
10
|
+
return {
|
|
11
|
+
refreshAsync: (ms, func) => {
|
|
12
|
+
if (lastTime + ms < Date.now() && !busy) {
|
|
13
|
+
busy = true;
|
|
14
|
+
funcAsync = funcAsync.then(() => {
|
|
15
|
+
func();
|
|
16
|
+
busy = false;
|
|
17
|
+
lastTime = Date.now();
|
|
18
|
+
return;
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
refreshAsync2: (ms, func) => {
|
|
23
|
+
if (!func)
|
|
24
|
+
return;
|
|
25
|
+
lastFunc1 = func;
|
|
26
|
+
if (!busy) {
|
|
27
|
+
busy = true;
|
|
28
|
+
funcAsync = funcAsync.then(async () => {
|
|
29
|
+
await (0, Common_1.sleepAsync)(ms);
|
|
30
|
+
lastFunc1?.();
|
|
31
|
+
busy = false;
|
|
32
|
+
return;
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.waitRun = waitRun;
|
|
39
|
+
//# sourceMappingURL=waitRun.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"waitRun.js","sourceRoot":"","sources":["../../../src/Common/waitRun.ts"],"names":[],"mappings":";;;AAAA,qCAAoC;AAEpC,SAAgB,OAAO;IACnB,IAAI,QAAQ,GAAW,IAAI,CAAC,GAAG,EAAE,CAAA;IACjC,IAAI,SAAS,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAClC,IAAI,IAAI,GAAY,KAAK,CAAA;IACzB,IAAI,SAAqB,CAAA;IACzB,OAAO;QAEH,YAAY,EAAE,CAAC,EAAU,EAAE,IAAgC,EAAE,EAAE;YAC3D,IAAI,QAAQ,GAAG,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,IAAI,EAAE;gBACrC,IAAI,GAAG,IAAI,CAAC;gBACZ,SAAS,GAAG,SAAS,CAAC,IAAI,CAAO,GAAG,EAAE;oBAClC,IAAI,EAAE,CAAC;oBACP,IAAI,GAAG,KAAK,CAAC;oBACb,QAAQ,GAAG,IAAI,CAAC,GAAG,EAAE,CAAA;oBACrB,OAAO;gBACX,CAAC,CAAC,CAAA;aACL;QACL,CAAC;QAED,aAAa,EAAE,CAAC,EAAU,EAAE,IAAiC,EAAE,EAAE;YAC7D,IAAI,CAAC,IAAI;gBAAE,OAAO;YAClB,SAAS,GAAG,IAAI,CAAC;YACjB,IAAI,CAAC,IAAI,EAAE;gBACP,IAAI,GAAG,IAAI,CAAC;gBACZ,SAAS,GAAG,SAAS,CAAC,IAAI,CAAO,KAAK,IAAI,EAAE;oBACxC,MAAM,IAAA,mBAAU,EAAC,EAAE,CAAC,CAAA;oBACpB,SAAS,EAAE,EAAE,CAAC;oBACd,IAAI,GAAG,KAAK,CAAC;oBACb,OAAO;gBACX,CAAC,CAAC,CAAA;aACL;QACL,CAAC;KACJ,CAAA;AACL,CAAC;AAjCD,0BAiCC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BinanceAcc2F = void 0;
|
|
4
4
|
const order_1 = require("./order");
|
|
5
|
-
const funcTimeWait_1 = require("
|
|
5
|
+
const funcTimeWait_1 = require("../../../Common/funcTimeWait");
|
|
6
6
|
const spot_1 = require("./BinanceLib/spot");
|
|
7
7
|
const binanceFunc = order_1.spaceBinance.binanceFunc;
|
|
8
8
|
const helper4 = (obj, k) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../../src/Exchange/ConnectData/Binance/use.ts"],"names":[],"mappings":";;;AACA,mCAAqC;AACrC
|
|
1
|
+
{"version":3,"file":"use.js","sourceRoot":"","sources":["../../../../../src/Exchange/ConnectData/Binance/use.ts"],"names":[],"mappings":";;;AACA,mCAAqC;AACrC,+DA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,IAAI,CAAC,CAAA;IAEnD,MAAM,EAAE,GAAG,IAAI,kBAAW,CAAC,eAAe,CAAA;IAG1C,MAAM,MAAM,GAAG,mBAAmB,CAAC,EAAE,EAAE,IAAI,CAAC,CAAA;IAG5C,OAAO;QACH,GAAG,EAAE,KAAK;QACV,QAAQ,EAAE;YACN,cAAc,EAAkB,KAAK,CAAC,uBAAuB;YAC7D,cAAc,EAAkB,KAAK,CAAC,iBAAiB;YACvD,uBAAuB,EAAS,KAAK,CAAC,wBAAwB;YAC9D,oBAAoB,EAAY,KAAK,CAAC,qBAAqB;SAE9D;QACD,IAAI,EAAE;YACF,kBAAkB,EAAc,WAAW,CAAC,mBAAmB;SAElE;QACD,GAAG,EAAE;YACD,sBAAsB,EAAU,KAAK,CAAC,wBAAwB;YAC9D,qBAAqB,EAAW,KAAK,CAAC,sBAAsB;YAC5D,kBAAkB,EAAc,KAAK,CAAC,mBAAmB;YACzD,iBAAiB,EAAe,KAAK,CAAC,kBAAkB;YACxD,wBAAwB,EAAQ,KAAK,CAAC,yBAAyB;YAC/D,mBAAmB,EAAa,KAAK,CAAC,oBAAoB;YAC1D,2BAA2B,EAAK,KAAK,CAAC,4BAA4B;SAErE;QACD,OAAO,EAAE,EAER;KACJ,CAAA;AACL,CAAC;AAjDD,oCAiDC"}
|
package/lib/src/index.d.ts
CHANGED
|
@@ -3,6 +3,13 @@ export * from "./Common/Common";
|
|
|
3
3
|
export * from "./Common/Color";
|
|
4
4
|
export * from "./Common/ListNodeAnd";
|
|
5
5
|
export * from "./Common/Math";
|
|
6
|
+
export * from "./Common/waitRun";
|
|
7
|
+
export * from "./Common/funcTimeWait";
|
|
8
|
+
export * from "./Common/waitRun";
|
|
9
|
+
export * from "./Common/waitRun";
|
|
10
|
+
export * from "./Common/waitRun";
|
|
11
|
+
export * from "./Common/waitRun";
|
|
12
|
+
export * from "./Common/waitRun";
|
|
6
13
|
export * as BaseTypes from "./Common/BaseTypes";
|
|
7
14
|
export * as Common from "./Common/Common";
|
|
8
15
|
export * as Time from "./Common/Time";
|
package/lib/src/index.js
CHANGED
|
@@ -20,6 +20,13 @@ __exportStar(require("./Common/Common"), exports);
|
|
|
20
20
|
__exportStar(require("./Common/Color"), exports);
|
|
21
21
|
__exportStar(require("./Common/ListNodeAnd"), exports);
|
|
22
22
|
__exportStar(require("./Common/Math"), exports);
|
|
23
|
+
__exportStar(require("./Common/waitRun"), exports);
|
|
24
|
+
__exportStar(require("./Common/funcTimeWait"), exports);
|
|
25
|
+
__exportStar(require("./Common/waitRun"), exports);
|
|
26
|
+
__exportStar(require("./Common/waitRun"), exports);
|
|
27
|
+
__exportStar(require("./Common/waitRun"), exports);
|
|
28
|
+
__exportStar(require("./Common/waitRun"), exports);
|
|
29
|
+
__exportStar(require("./Common/waitRun"), exports);
|
|
23
30
|
exports.BaseTypes = require("./Common/BaseTypes");
|
|
24
31
|
exports.Common = require("./Common/Common");
|
|
25
32
|
exports.Time = require("./Common/Time");
|
package/lib/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAeA,gDAA8B;AAC9B,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,gDAA8B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAeA,gDAA8B;AAC9B,kDAAgC;AAChC,iDAA+B;AAC/B,uDAAqC;AACrC,gDAA8B;AAC9B,mDAAiC;AACjC,wDAAsC;AACtC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AACjC,mDAAiC;AAEjC,kDAAgD;AAChD,4CAA0C;AAC1C,wCAAsC;AACtC,0CAAwC;AACxC,sDAAoD;AACpD,wCAAsC;AACtC,wCAAsC;AACtC,gEAA8D;AAE9D,sDAAkD;AAElD,SAAgB,IAAI;IAChB,MAAM,EAAE,GAAG,IAAI,0BAAY,EAAE,CAAA;IAC7B,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACpB,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAA;AAC1B,CAAC;AAJD,oBAIC"}
|
package/lib/src/server.d.ts
CHANGED
package/lib/src/server.js
CHANGED
|
@@ -14,13 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports
|
|
17
|
+
__exportStar(require("./index"), exports);
|
|
18
18
|
__exportStar(require("./Exchange/ConnectData/Binance"), exports);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
const tt = new ListNodeAnd_1.CListNodeAnd();
|
|
22
|
-
console.log("test");
|
|
23
|
-
console.log("lalalal server");
|
|
24
|
-
}
|
|
25
|
-
exports.test = test;
|
|
19
|
+
__exportStar(require("./Exchange/ConnectData/Binance/use"), exports);
|
|
20
|
+
__exportStar(require("./Exchange/ConnectData/Binance/BinanceLib/spot"), exports);
|
|
26
21
|
//# sourceMappingURL=server.js.map
|
package/lib/src/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../src/server.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,0CAAwB;AACxB,iEAA+C;AAC/C,qEAAmD;AACnD,iFAA+D"}
|