Skip to content

Commit

Permalink
release(v0.2.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
isocroft committed Oct 13, 2019
1 parent a219c94 commit 3619a66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const environment = process.env.NODE_ENV

const paystack = new PayStack(APIKEY, environment)

const feesCalculator = new PayStack.Fees();
const feeCharge = feesCalculator.calculateFor(250000) // 2,500 Naira

/*
NOTE: All fields/params that require dates should be set to
instances of the `Date()` constructor as they will
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const PayStack = require('./src/PayStack/index.js')

PayStack.prototype.version = '0.1.0'
PayStack.prototype.version = '0.2.1'

const Fees = function (cap, additionalCharge, percentage, threshold) {
this.additionalCharge = additionalCharge || Fees.INIT_ADDITIONAL_CHARGE
Expand Down

0 comments on commit 3619a66

Please sign in to comment.