0.3.3 • Published 8 months ago

sati v0.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

sati-js - javascript client for sati.ac

NPM version Downloads

usage example

const { Sati } = require('sati')

const sati = new Sati({
	token: 'your token here'
})
await sati.init() // you must call the init method after construction

const balance = await sati.getBalance()
console.log(balance)

// first argument - task type, second - task parameters
// supported tasks: https://sati.ac/docs/tasks
const task = await sati.solve('Turnstile', {
	siteKey: '0x4AAAAAAAHMEd1rGJs9qy-0',
	pageUrl: 'https://polygon.sati.ac/Turnstile'
})

console.log(task, task.result.token)

sati.close() // you must call close method after you've done 
0.3.3

8 months ago

0.3.2

9 months ago

0.3.1

9 months ago

0.3.0

9 months ago

0.2.4

9 months ago

0.2.3

9 months ago

0.2.2

9 months ago

0.2.1

9 months ago

0.2.0

9 months ago

0.1.1

10 months ago

0.1.0

10 months ago

1.0.0

2 years ago