Compare commits
3 Commits
ab8bdbbe33
...
master
Author | SHA1 | Date | |
---|---|---|---|
de61055967 | |||
881c82bd12 | |||
0d98890463 |
5
package-lock.json
generated
5
package-lock.json
generated
@ -1,12 +1,13 @@
|
|||||||
{
|
{
|
||||||
"name": "sati",
|
"name": "sati",
|
||||||
"version": "1.0.0",
|
"version": "0.3.2",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "sati",
|
"name": "sati",
|
||||||
"version": "1.0.0",
|
"version": "0.3.2",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/node": "^20.1.1",
|
"@types/node": "^20.1.1",
|
||||||
"@types/ws": "^8.5.4",
|
"@types/ws": "^8.5.4",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "sati",
|
"name": "sati",
|
||||||
"version": "0.3.1",
|
"version": "0.3.3",
|
||||||
"description": "next generation anti-captcha",
|
"description": "next generation anti-captcha",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
@ -37,7 +37,7 @@
|
|||||||
"types": "./dist/src/index.d.ts",
|
"types": "./dist/src/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"import": "./dist/sati.node.esm.js",
|
"import": "./dist/sati.node.esm.mjs",
|
||||||
"require": "./dist/sati.node.cjs.js",
|
"require": "./dist/sati.node.cjs.js",
|
||||||
"types": "./dist/src/index.d.ts"
|
"types": "./dist/src/index.d.ts"
|
||||||
},
|
},
|
||||||
|
11
src/types.ts
11
src/types.ts
@ -25,7 +25,7 @@ export type tasks = {
|
|||||||
params: {
|
params: {
|
||||||
siteKey: string,
|
siteKey: string,
|
||||||
pageUrl: string,
|
pageUrl: string,
|
||||||
data: Record<string, string>
|
data?: Record<string, string>
|
||||||
serviceUrl?: string,
|
serviceUrl?: string,
|
||||||
proxy?: string
|
proxy?: string
|
||||||
},
|
},
|
||||||
@ -46,6 +46,15 @@ export type tasks = {
|
|||||||
validate: string,
|
validate: string,
|
||||||
seccode: string
|
seccode: string
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
ImageToText: {
|
||||||
|
params: {
|
||||||
|
image: string,
|
||||||
|
type?: string,
|
||||||
|
},
|
||||||
|
result: {
|
||||||
|
result: string
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user