@ikenxuan/amagi 5.8.1 → 5.9.0
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/dist/{chunk-CUT6urMc.cjs → chunk-CbDLau6x.cjs} +10 -6
- package/dist/default/index.cjs +8 -1
- package/dist/default/index.d.cts +2 -0
- package/dist/default/index.d.ts +2 -0
- package/dist/default/index.js +7 -0
- package/dist/exports/axios.cjs +1 -1
- package/dist/exports/express.cjs +1 -1
- package/dist/exports/log4js.cjs +1 -1
- package/package.json +1 -1
|
@@ -6,12 +6,16 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
8
|
var __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
11
|
+
key = keys[i];
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except) {
|
|
13
|
+
__defProp(to, key, {
|
|
14
|
+
get: ((k) => from[k]).bind(null, key),
|
|
15
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
}
|
|
15
19
|
}
|
|
16
20
|
return to;
|
|
17
21
|
};
|
package/dist/default/index.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2
|
-
const require_chunk = require('../chunk-
|
|
2
|
+
const require_chunk = require('../chunk-CbDLau6x.cjs');
|
|
3
3
|
let node_fs = require("node:fs");
|
|
4
4
|
node_fs = require_chunk.__toESM(node_fs);
|
|
5
5
|
let node_path = require("node:path");
|
|
@@ -4771,6 +4771,7 @@ let DynamicType = /* @__PURE__ */ function(DynamicType$1) {
|
|
|
4771
4771
|
|
|
4772
4772
|
//#endregion
|
|
4773
4773
|
//#region src/index.ts
|
|
4774
|
+
const VERSION = "5.9.0";
|
|
4774
4775
|
/**
|
|
4775
4776
|
* @deprecated 请使用 createAmagiClient 替代
|
|
4776
4777
|
*/
|
|
@@ -4785,6 +4786,12 @@ function CreateAmagiApp(options = {}) {
|
|
|
4785
4786
|
if (!(this instanceof CreateAmagiApp)) return createAmagiClient(options);
|
|
4786
4787
|
return createAmagiClient(options);
|
|
4787
4788
|
}
|
|
4789
|
+
Object.defineProperty(CreateAmagiApp, "version", {
|
|
4790
|
+
value: VERSION,
|
|
4791
|
+
writable: false,
|
|
4792
|
+
enumerable: true,
|
|
4793
|
+
configurable: false
|
|
4794
|
+
});
|
|
4788
4795
|
CreateAmagiApp.douyin = douyinUtils;
|
|
4789
4796
|
CreateAmagiApp.bilibili = bilibiliUtils;
|
|
4790
4797
|
CreateAmagiApp.kuaishou = kuaishouUtils;
|
package/dist/default/index.d.cts
CHANGED
|
@@ -22411,6 +22411,8 @@ declare const amagiClient: typeof createAmagiClient;
|
|
|
22411
22411
|
type AmagiConstructor = {
|
|
22412
22412
|
new (options?: Options): ReturnType<typeof createAmagiClient>;
|
|
22413
22413
|
(options?: Options): ReturnType<typeof createAmagiClient>;
|
|
22414
|
+
/** 当前版本号 */
|
|
22415
|
+
readonly version: string;
|
|
22414
22416
|
/** 抖音相关功能模块 (工具集) */
|
|
22415
22417
|
douyin: typeof douyinUtils;
|
|
22416
22418
|
/** B站相关功能模块 (工具集) */
|
package/dist/default/index.d.ts
CHANGED
|
@@ -22411,6 +22411,8 @@ declare const amagiClient: typeof createAmagiClient;
|
|
|
22411
22411
|
type AmagiConstructor = {
|
|
22412
22412
|
new (options?: Options): ReturnType<typeof createAmagiClient>;
|
|
22413
22413
|
(options?: Options): ReturnType<typeof createAmagiClient>;
|
|
22414
|
+
/** 当前版本号 */
|
|
22415
|
+
readonly version: string;
|
|
22414
22416
|
/** 抖音相关功能模块 (工具集) */
|
|
22415
22417
|
douyin: typeof douyinUtils;
|
|
22416
22418
|
/** B站相关功能模块 (工具集) */
|
package/dist/default/index.js
CHANGED
|
@@ -4761,6 +4761,7 @@ let DynamicType = /* @__PURE__ */ function(DynamicType$1) {
|
|
|
4761
4761
|
|
|
4762
4762
|
//#endregion
|
|
4763
4763
|
//#region src/index.ts
|
|
4764
|
+
const VERSION = "5.9.0";
|
|
4764
4765
|
/**
|
|
4765
4766
|
* @deprecated 请使用 createAmagiClient 替代
|
|
4766
4767
|
*/
|
|
@@ -4775,6 +4776,12 @@ function CreateAmagiApp(options = {}) {
|
|
|
4775
4776
|
if (!(this instanceof CreateAmagiApp)) return createAmagiClient(options);
|
|
4776
4777
|
return createAmagiClient(options);
|
|
4777
4778
|
}
|
|
4779
|
+
Object.defineProperty(CreateAmagiApp, "version", {
|
|
4780
|
+
value: VERSION,
|
|
4781
|
+
writable: false,
|
|
4782
|
+
enumerable: true,
|
|
4783
|
+
configurable: false
|
|
4784
|
+
});
|
|
4778
4785
|
CreateAmagiApp.douyin = douyinUtils;
|
|
4779
4786
|
CreateAmagiApp.bilibili = bilibiliUtils;
|
|
4780
4787
|
CreateAmagiApp.kuaishou = kuaishouUtils;
|
package/dist/exports/axios.cjs
CHANGED
package/dist/exports/express.cjs
CHANGED
package/dist/exports/log4js.cjs
CHANGED