Releases: EdamAme-x/paypax
Releases · EdamAme-x/paypax
v1.1.0 fix types & add getUserInfo
deno e.g.
import { PayPay } from 'https://deno.land/x/paypayjs/mod.ts'
import { PayPayStatus } from 'https://deno.land/x/paypayjs/mod.ts'
const paypay = new PayPay('phone_number', 'password')
const result = await paypay.login()
console.log(result)
if (result.status === PayPayStatus.LoginNeedOTP) {
const otp = prompt('Enter OTP: ')
console.log(await paypay.otpLogin(otp ?? ''))
console.log(await paypay.getBalance())
console.log(await paypay.getUserInfo())
}
v1.0.3 it works!
deno e.g.
import { PayPay } from 'https://deno.land/x/paypayjs/mod.ts'
import { PayPayStatus } from 'https://deno.land/x/paypayjs/mod.ts'
const paypay = new PayPay('phone_number', 'password')
const result = await paypay.login()
console.log(result)
if (result.status === PayPayStatus.LoginNeedOTP) {
const otp = prompt('Enter OTP:')
console.log(await paypay.otpLogin(otp ?? ''))
console.log(await paypay.getBalance())
}
add PayPayError
wip
release test pass
Full Changelog: v0.2.0...v1.0.1
v0.2.0
Full Changelog: v0.1.5...v0.2.0
v0.1.5
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Full Changelog: v0.1.3...v0.1.4
v0.1.3
Full Changelog: v0.1.2...v0.1.3
v0.1.2
Full Changelog: v0.1.0...v0.1.2
v0.1.1
Full Changelog: v0.0.0...v0.1.1