Skip to content

Releases: EdamAme-x/paypax

v1.1.0 fix types & add getUserInfo

18 Jan 14:49
Compare
Choose a tag to compare

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!

18 Jan 13:29
Compare
Choose a tag to compare

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

18 Jan 09:58
Compare
Choose a tag to compare

release test pass

18 Jan 09:27
Compare
Choose a tag to compare

v0.2.0

18 Jan 09:16
Compare
Choose a tag to compare

Full Changelog: v0.1.5...v0.2.0

v0.1.5

18 Jan 09:12
Compare
Choose a tag to compare

Full Changelog: v0.1.4...v0.1.5

v0.1.4

18 Jan 09:11
Compare
Choose a tag to compare

Full Changelog: v0.1.3...v0.1.4

v0.1.3

18 Jan 09:10
Compare
Choose a tag to compare

Full Changelog: v0.1.2...v0.1.3

v0.1.2

18 Jan 09:07
Compare
Choose a tag to compare

Full Changelog: v0.1.0...v0.1.2

v0.1.1

18 Jan 09:05
Compare
Choose a tag to compare

Full Changelog: v0.0.0...v0.1.1