@traceryn/tiktok-sdk 1.0.0 → 1.1.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/LICENSE +21 -21
- package/README.md +276 -276
- package/engineRequirements.js +7 -7
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +5 -7
- package/lib/client.js.map +1 -1
- package/lib/playwright.d.ts +24 -2
- package/lib/playwright.d.ts.map +1 -1
- package/lib/playwright.js +208 -83
- package/lib/playwright.js.map +1 -1
- package/lib/scrapers/CommentScraper.d.ts +3 -3
- package/lib/scrapers/CommentScraper.d.ts.map +1 -1
- package/lib/scrapers/CommentScraper.js +62 -37
- package/lib/scrapers/CommentScraper.js.map +1 -1
- package/lib/scrapers/ExtraScraper.d.ts.map +1 -1
- package/lib/scrapers/ExtraScraper.js +82 -62
- package/lib/scrapers/ExtraScraper.js.map +1 -1
- package/lib/scrapers/FormatExtractor.js.map +1 -1
- package/lib/scrapers/SearchScraper.d.ts +1 -1
- package/lib/scrapers/SearchScraper.d.ts.map +1 -1
- package/lib/scrapers/SearchScraper.js +42 -31
- package/lib/scrapers/SearchScraper.js.map +1 -1
- package/lib/scrapers/UserScraper.d.ts +2 -2
- package/lib/scrapers/UserScraper.d.ts.map +1 -1
- package/lib/scrapers/UserScraper.js +64 -12
- package/lib/scrapers/UserScraper.js.map +1 -1
- package/lib/scrapers/VideoScraper.d.ts.map +1 -1
- package/lib/scrapers/VideoScraper.js +5 -17
- package/lib/scrapers/VideoScraper.js.map +1 -1
- package/lib/types/playwright.d.ts +70 -0
- package/lib/types/playwright.d.ts.map +1 -0
- package/lib/types/playwright.js +2 -0
- package/lib/types/playwright.js.map +1 -0
- package/lib/types.d.ts +22 -0
- package/lib/types.d.ts.map +1 -1
- package/lib/utils/HttpClient.d.ts +6 -0
- package/lib/utils/HttpClient.d.ts.map +1 -1
- package/lib/utils/HttpClient.js +40 -28
- package/lib/utils/HttpClient.js.map +1 -1
- package/lib/utils/constants.d.ts +7 -0
- package/lib/utils/constants.d.ts.map +1 -1
- package/lib/utils/constants.js +7 -0
- package/lib/utils/constants.js.map +1 -1
- package/lib/utils/errors.d.ts.map +1 -1
- package/lib/utils/errors.js +2 -1
- package/lib/utils/errors.js.map +1 -1
- package/lib/utils/xbogus.cjs +565 -565
- package/package.json +88 -88
package/package.json
CHANGED
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@traceryn/tiktok-sdk",
|
|
3
|
-
"type": "module",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"description": "Structured TikTok data for modern applications.",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"author": "Corex Anthony",
|
|
8
|
-
"homepage": "https://github.com/traceryn/tiktok-sdk#readme",
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "https://github.com/traceryn/tiktok-sdk.git"
|
|
12
|
-
},
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/traceryn/tiktok-sdk/issues"
|
|
15
|
-
},
|
|
16
|
-
"keywords": [
|
|
17
|
-
"tiktok",
|
|
18
|
-
"api",
|
|
19
|
-
"unofficial",
|
|
20
|
-
"typescript"
|
|
21
|
-
],
|
|
22
|
-
"main": "lib/index.js",
|
|
23
|
-
"types": "lib/index.d.ts",
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"types": "./lib/index.d.ts",
|
|
27
|
-
"default": "./lib/index.js"
|
|
28
|
-
},
|
|
29
|
-
"./*": {
|
|
30
|
-
"types": "./lib/*.d.ts",
|
|
31
|
-
"default": "./lib/*.js"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"files": [
|
|
35
|
-
"lib/**/*",
|
|
36
|
-
"engineRequirements.js"
|
|
37
|
-
],
|
|
38
|
-
"sideEffects": false,
|
|
39
|
-
"engines": {
|
|
40
|
-
"node": ">=18"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "tsc -P tsconfig.build.json && tsc-esm-fix --tsconfig=tsconfig.build.json --ext=.js && node -e \"require('fs').cpSync('src/utils/xbogus.cjs', 'lib/utils/xbogus.cjs')\"",
|
|
44
|
-
"build:docs": "typedoc",
|
|
45
|
-
"build:all": "npm run build && npm run build:docs",
|
|
46
|
-
"test": "vitest run",
|
|
47
|
-
"test:watch": "vitest",
|
|
48
|
-
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
49
|
-
"lint": "tsc --noEmit && eslint src",
|
|
50
|
-
"lint:fix": "npm run format && npm run lint -- --fix",
|
|
51
|
-
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
|
|
52
|
-
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
53
|
-
"typecheck": "tsc --noEmit",
|
|
54
|
-
"prepublishOnly": "npm run build",
|
|
55
|
-
"prepare": "npm run build",
|
|
56
|
-
"preinstall": "node ./engineRequirements.js",
|
|
57
|
-
"docs": "typedoc",
|
|
58
|
-
"clean": "rimraf lib",
|
|
59
|
-
"example": "node docs/examples/index.cjs",
|
|
60
|
-
"script:proxies": "tsx scripts/refresh-proxies.ts",
|
|
61
|
-
"script:device": "tsx scripts/generate-device.ts",
|
|
62
|
-
"script:health": "tsx scripts/health-check.ts",
|
|
63
|
-
"script:xbogus": "tsx scripts/generate-xbogus.ts",
|
|
64
|
-
"script:bump": "tsx scripts/bump-version.ts"
|
|
65
|
-
},
|
|
66
|
-
"dependencies": {
|
|
67
|
-
"ofetch": "^1.5.1"
|
|
68
|
-
},
|
|
69
|
-
"optionalDependencies": {
|
|
70
|
-
"playwright": "^1.60.0"
|
|
71
|
-
},
|
|
72
|
-
"devDependencies": {
|
|
73
|
-
"@eslint/js": "^10.0.1",
|
|
74
|
-
"@types/node": "^25.9.2",
|
|
75
|
-
"eslint": "^10.4.1",
|
|
76
|
-
"eslint-config-prettier": "^10.1.8",
|
|
77
|
-
"eslint-plugin-prettier": "^5.5.6",
|
|
78
|
-
"prettier": "^3.8.3",
|
|
79
|
-
"rimraf": "^6.1.3",
|
|
80
|
-
"tsc-esm-fix": "^3.1.2",
|
|
81
|
-
"tsx": "^4.22.4",
|
|
82
|
-
"typedoc": "^0.28.19",
|
|
83
|
-
"typedoc-plugin-markdown": "^4.11.0",
|
|
84
|
-
"typescript": "^6.0.3",
|
|
85
|
-
"typescript-eslint": "^8.60.1",
|
|
86
|
-
"vitest": "^4.1.8"
|
|
87
|
-
}
|
|
88
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@traceryn/tiktok-sdk",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.1.0",
|
|
5
|
+
"description": "Structured TikTok data for modern applications.",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Corex Anthony",
|
|
8
|
+
"homepage": "https://github.com/traceryn/tiktok-sdk#readme",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/traceryn/tiktok-sdk.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/traceryn/tiktok-sdk/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"tiktok",
|
|
18
|
+
"api",
|
|
19
|
+
"unofficial",
|
|
20
|
+
"typescript"
|
|
21
|
+
],
|
|
22
|
+
"main": "lib/index.js",
|
|
23
|
+
"types": "lib/index.d.ts",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./lib/index.d.ts",
|
|
27
|
+
"default": "./lib/index.js"
|
|
28
|
+
},
|
|
29
|
+
"./*": {
|
|
30
|
+
"types": "./lib/*.d.ts",
|
|
31
|
+
"default": "./lib/*.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"files": [
|
|
35
|
+
"lib/**/*",
|
|
36
|
+
"engineRequirements.js"
|
|
37
|
+
],
|
|
38
|
+
"sideEffects": false,
|
|
39
|
+
"engines": {
|
|
40
|
+
"node": ">=18"
|
|
41
|
+
},
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsc -P tsconfig.build.json && tsc-esm-fix --tsconfig=tsconfig.build.json --ext=.js && node -e \"require('fs').cpSync('src/utils/xbogus.cjs', 'lib/utils/xbogus.cjs')\"",
|
|
44
|
+
"build:docs": "typedoc",
|
|
45
|
+
"build:all": "npm run build && npm run build:docs",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"test:e2e": "vitest run --config vitest.e2e.config.ts",
|
|
49
|
+
"lint": "tsc --noEmit && eslint src",
|
|
50
|
+
"lint:fix": "npm run format && npm run lint -- --fix",
|
|
51
|
+
"format": "prettier --write \"src/**/*.{ts,js,json,md}\"",
|
|
52
|
+
"format:check": "prettier --check \"src/**/*.ts\"",
|
|
53
|
+
"typecheck": "tsc --noEmit",
|
|
54
|
+
"prepublishOnly": "npm run build",
|
|
55
|
+
"prepare": "npm run build",
|
|
56
|
+
"preinstall": "node ./engineRequirements.js",
|
|
57
|
+
"docs": "typedoc",
|
|
58
|
+
"clean": "rimraf lib",
|
|
59
|
+
"example": "node docs/examples/index.cjs",
|
|
60
|
+
"script:proxies": "tsx scripts/refresh-proxies.ts",
|
|
61
|
+
"script:device": "tsx scripts/generate-device.ts",
|
|
62
|
+
"script:health": "tsx scripts/health-check.ts",
|
|
63
|
+
"script:xbogus": "tsx scripts/generate-xbogus.ts",
|
|
64
|
+
"script:bump": "tsx scripts/bump-version.ts"
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"ofetch": "^1.5.1"
|
|
68
|
+
},
|
|
69
|
+
"optionalDependencies": {
|
|
70
|
+
"playwright": "^1.60.0"
|
|
71
|
+
},
|
|
72
|
+
"devDependencies": {
|
|
73
|
+
"@eslint/js": "^10.0.1",
|
|
74
|
+
"@types/node": "^25.9.2",
|
|
75
|
+
"eslint": "^10.4.1",
|
|
76
|
+
"eslint-config-prettier": "^10.1.8",
|
|
77
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
78
|
+
"prettier": "^3.8.3",
|
|
79
|
+
"rimraf": "^6.1.3",
|
|
80
|
+
"tsc-esm-fix": "^3.1.2",
|
|
81
|
+
"tsx": "^4.22.4",
|
|
82
|
+
"typedoc": "^0.28.19",
|
|
83
|
+
"typedoc-plugin-markdown": "^4.11.0",
|
|
84
|
+
"typescript": "^6.0.3",
|
|
85
|
+
"typescript-eslint": "^8.60.1",
|
|
86
|
+
"vitest": "^4.1.8"
|
|
87
|
+
}
|
|
88
|
+
}
|