Skip to content

Commit eca3bf8

Browse files
author
Christian Sullivan
committed
Release 1.0.1
- Add missing DTEND - Update deps - Bump version
1 parent 10b2aa4 commit eca3bf8

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
module.exports = require('./lib/banking')
2+
module.exports = require('./lib/banking')

lib/ofx.js

+2
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ OFX.createRequest = function(opts) {
6868
'</INVACCTFROM>' +
6969
'<INCTRAN>' +
7070
'<DTSTART>' + opts.start +
71+
(typeof opts.end !== 'undefined' ? '<DTEND>' + opts.end : '') +
7172
'<INCLUDE>Y</INCTRAN>' +
7273
'<INCOO>Y' +
7374
'<INCPOS>' +
@@ -116,6 +117,7 @@ OFX.createRequest = function(opts) {
116117
'</CCACCTFROM>' +
117118
'<INCTRAN>' +
118119
'<DTSTART>' + opts.start +
120+
(typeof opts.end !== 'undefined' ? '<DTEND>' + opts.end : '') +
119121
'<INCLUDE>Y</INCTRAN>' +
120122
'</CCSTMTRQ>' +
121123
'</CCSTMTTRNRQ>' +

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "banking",
33
"description": "The missing Bank API for getting you statement data",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"author": "Christian Sullivan <[email protected]>",
66
"keywords": [
77
"banking",
@@ -14,12 +14,12 @@
1414
"homepage": "http://euforic.github.com/banking.js",
1515
"dependencies": {
1616
"debug": "^2.2.0",
17-
"superagent": "^1.4.0",
18-
"xml2js": "^0.4.12"
17+
"superagent": "^2.2.0",
18+
"xml2js": "^0.4.17"
1919
},
2020
"devDependencies": {
21-
"mocha": "^2.3.3",
22-
"should": "^7.1.0"
21+
"mocha": "^3.0.2",
22+
"should": "^11.1.0"
2323
},
2424
"repository": {
2525
"type": "git",

0 commit comments

Comments
 (0)