angular4-paystack
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -5,3 +5,22 @@ # Changelog | ||
## 2017-09-20 | ||
- Initial release | ||
## 1.0.0 - 2017-09-20 | ||
- Initial release | ||
## 1.1.0 - 2017-09-21 | ||
### Changed | ||
- Updated ReadMe and | ||
### Removed | ||
- removed unecessary packaged file | ||
### Fixed | ||
- Some minor bugs | ||
## 1.2.0 - 2017-09-22 | ||
### Changed | ||
- text input `(text)` is now deprecated | ||
- added example section | ||
- updated readme | ||
## 1.2.1 - 2017-10-04 | ||
### Changed | ||
- updated readme to show that a callback is compulsory | ||
- corrected `@angular/core` version in peerDependency |
{ | ||
"name": "angular4-paystack", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "an angular 4 module for paystack transactions", | ||
@@ -9,3 +9,3 @@ "main": "index.ts", | ||
"try": "node try-example", | ||
"publish-patch": "npm run tsc && node process && cd lib && npm version minor && npm publish", | ||
"publish-patch": "npm run tsc && node process && cd lib && npm version patch && npm publish", | ||
"publish-minor": "npm run tsc && node process && cd lib && npm version minor && npm publish" | ||
@@ -31,3 +31,3 @@ }, | ||
"peerDependencies": { | ||
"@angular/core": "^4.4.2", | ||
"@angular/core": "^4.2.2", | ||
"@angular/common": "^4.2.4", | ||
@@ -34,0 +34,0 @@ "rxjs": "^5.4.3" |
@@ -41,3 +41,3 @@ # ANGULAR4-PAYSTACK | ||
[key]="'pk_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxx'" | ||
[email]="'ashinzekene@gmail.com'" | ||
[email]="'mailexample@mail.com'" | ||
[amount]="5000000" | ||
@@ -59,2 +59,3 @@ [ref]="'2637458697'" | ||
| `ref` | `string` | true | undefined | Unique reference | ||
| `callback` | `function` | true | undefined | A function called when transaction is successful. Returns a parameter containing unique reference | ||
| `transaction_charge` | `number` | false | 0 | A flat fee to charge the subaccount for this transaction, in kobo. | ||
@@ -70,3 +71,2 @@ | `metadata` | `object` | false | {} | custom details | ||
| `bearer` | `string` | false | "" | Who bears Paystack charges? account or subaccount | ||
| `callback` | `function` | false | undefined | A function called when transaction is successful. Returns a parameter containing unique reference | ||
| `onClose` | `function` | false | undefined | A function called when transaction is cancelled | ||
@@ -73,0 +73,0 @@ |
20314