@ikenxuan/amagi 4.4.2 → 4.4.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/dist/exports/axios.cjs +22 -0
- package/dist/exports/axios.d.ts +2 -0
- package/dist/exports/axios.js +2 -0
- package/dist/exports/fastify.cjs +11 -0
- package/dist/exports/fastify.d.ts +1 -0
- package/dist/exports/fastify.js +1 -0
- package/package.json +15 -10
- /package/dist/{cjs → default/cjs}/index.cjs +0 -0
- /package/dist/{esm → default/esm}/index.mjs +0 -0
- /package/dist/{index.d.ts → default/index.d.ts} +0 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var axios = require('axios');
|
|
6
|
+
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
8
|
+
|
|
9
|
+
var axios__default = /*#__PURE__*/_interopDefault(axios);
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
Object.defineProperty(exports, "default", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return axios__default.default; }
|
|
16
|
+
});
|
|
17
|
+
Object.keys(axios).forEach(function (k) {
|
|
18
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return axios[k]; }
|
|
21
|
+
});
|
|
22
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'fastify';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from 'fastify';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ikenxuan/amagi",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.3",
|
|
4
4
|
"description": "抖音、B站的 web 端相关数据接口基于 Node.js 的实现",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"douyin",
|
|
@@ -19,14 +19,19 @@
|
|
|
19
19
|
"type": "module",
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
22
|
+
"types": "./dist/default/index.d.ts",
|
|
23
|
+
"import": "./dist/default/esm/index.mjs",
|
|
24
|
+
"require": "./dist/default/cjs/index.cjs"
|
|
25
|
+
},
|
|
26
|
+
"./fastify": {
|
|
27
|
+
"types": "./dist/exports/fastify.d.ts",
|
|
28
|
+
"import": "./dist/exports/fastify.js",
|
|
29
|
+
"require": "./dist/exports/fastify.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./axios": {
|
|
32
|
+
"types": "./dist/exports/axios.d.ts",
|
|
33
|
+
"import": "./dist/exports/axios.js",
|
|
34
|
+
"require": "./dist/exports/axios.cjs"
|
|
30
35
|
}
|
|
31
36
|
},
|
|
32
37
|
"main": "dist/cjs/index.cjs",
|
|
@@ -39,7 +44,7 @@
|
|
|
39
44
|
"README.md"
|
|
40
45
|
],
|
|
41
46
|
"scripts": {
|
|
42
|
-
"build": "tsup",
|
|
47
|
+
"build": "tsup && tsup --tsconfig tsconfig.module.json --config tsup.modules.ts && node ci/module.js",
|
|
43
48
|
"clean": "npm ci/pr.js clean",
|
|
44
49
|
"dev": "tsx watch src/dev.ts",
|
|
45
50
|
"dev:js": "node src/dev.js",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|