File tree 3 files changed +8
-6
lines changed
3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
2
- module . exports = require ( './lib/banking' )
2
+ module . exports = require ( './lib/banking' )
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ OFX.createRequest = function(opts) {
68
68
'</INVACCTFROM>' +
69
69
'<INCTRAN>' +
70
70
'<DTSTART>' + opts . start +
71
+ ( typeof opts . end !== 'undefined' ? '<DTEND>' + opts . end : '' ) +
71
72
'<INCLUDE>Y</INCTRAN>' +
72
73
'<INCOO>Y' +
73
74
'<INCPOS>' +
@@ -116,6 +117,7 @@ OFX.createRequest = function(opts) {
116
117
'</CCACCTFROM>' +
117
118
'<INCTRAN>' +
118
119
'<DTSTART>' + opts . start +
120
+ ( typeof opts . end !== 'undefined' ? '<DTEND>' + opts . end : '' ) +
119
121
'<INCLUDE>Y</INCTRAN>' +
120
122
'</CCSTMTRQ>' +
121
123
'</CCSTMTTRNRQ>' +
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " banking" ,
3
3
"description" : " The missing Bank API for getting you statement data" ,
4
- "version" : " 1.0.0 " ,
4
+ "version" : " 1.0.1 " ,
5
5
"author" :
" Christian Sullivan <[email protected] >" ,
6
6
"keywords" : [
7
7
" banking" ,
14
14
"homepage" : " http://euforic.github.com/banking.js" ,
15
15
"dependencies" : {
16
16
"debug" : " ^2.2.0" ,
17
- "superagent" : " ^1.4 .0" ,
18
- "xml2js" : " ^0.4.12 "
17
+ "superagent" : " ^2.2 .0" ,
18
+ "xml2js" : " ^0.4.17 "
19
19
},
20
20
"devDependencies" : {
21
- "mocha" : " ^2.3.3 " ,
22
- "should" : " ^7 .1.0"
21
+ "mocha" : " ^3.0.2 " ,
22
+ "should" : " ^11 .1.0"
23
23
},
24
24
"repository" : {
25
25
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments