@@ -7,20 +7,20 @@ Alfresco JS API
77_ This project provides a JavaScript client API into the v1 Alfresco REST API_
88
99<a name =" 0.3.5 " ></a >
10- # [ 0.3.5] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.5 ) (2016-xx-xx )
10+ # [ 0.3.5] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.5 ) (2016-09-26 )
1111
1212## Fix
1313- [ Library no longer works with ECM] ( https://github.com/Alfresco/alfresco-js-api/issues/63 )
1414- [ Flag to enable/disable CSRF behaviour] ( https://github.com/Alfresco/alfresco-js-api/issues/62 )
1515
1616<a name =" 0.3.4 " ></a >
17- # [ 0.3.4] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.4 ) (2016-xx-xx )
17+ # [ 0.3.4] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.4 ) (2016-09-26 )
1818
1919## Fix
2020- [ csrf token for activiti doesn't work with Node.js] ( https://github.com/Alfresco/alfresco-js-api/issues/61 )
2121
2222<a name =" 0.3.3 " ></a >
23- # [ 0.3.3] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.3 ) (2016-xx-xx )
23+ # [ 0.3.3] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.3 ) (2016-09-26 )
2424
2525## Fix
2626- [ Add csrf token for activiti] ( https://github.com/Alfresco/alfresco-js-api/issues/59 )
@@ -30,7 +30,7 @@ _This project provides a JavaScript client API into the v1 Alfresco REST API_
3030- Various improvements for TypeScript declaration files
3131
3232<a name =" 0.3.2 " ></a >
33- # [ 0.3.2] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.2 ) (2016-xx-xx )
33+ # [ 0.3.2] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.2 ) (2016-09-21 )
3434
3535## Fix
3636- [ Null date fields parsed as invalid dates] ( https://github.com/Alfresco/alfresco-js-api/issues/50 )
@@ -42,7 +42,7 @@ _This project provides a JavaScript client API into the v1 Alfresco REST API_
4242- Various improvements for TypeScript declaration files
4343
4444<a name =" 0.3.1 " ></a >
45- # [ 0.3.1] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.1 ) (2016-xx-xx )
45+ # [ 0.3.1] ( https://github.com/Alfresco/alfresco-js-api/releases/tag/0.3.1 ) (2016-08-29 )
4646
4747## Fix
4848- [ Date parser error with Safari] ( https://github.com/Alfresco/alfresco-js-api/issues/43 )
@@ -123,6 +123,27 @@ After:
123123 var bpmTicket = this .alfrescoJsApi .getTicketBpm ();
124124```
125125
126+ - Login ticket using constructor
127+
128+ Before:
129+
130+ ``` javascript
131+ this .alfrescoJsApi = new AlfrescoApi ({ host : ' ' http: // 127.0.0.1:8080', ticket :'TICKET_4479f4d3bb155195879bfbb8d5206f433488a1b1'});
132+ ` ` `
133+
134+ After:
135+
136+ ` ` ` javascript
137+
138+ // Login ticket ECM
139+ this .alfrescoJsApi = new AlfrescoApi ({ ticketEcm: ' TICKET_4479f4d3bb155195879bfbb8d5206f433488a1b1' , hostEcm: ' http://127.0.0.1:8080' });
140+
141+ // Login ticket BPM
142+ this .alfrescoJsApi = new AlfrescoApi ({ ticketBpm: ' Basic YWRtaW46YWRtaW4=' , hostBpm: ' http://127.0.0.1:9999' });
143+
144+ // Login ticket ECM and BPM
145+ this .alfrescoJsApi = new AlfrescoApi ({ ticketEcm: ' TICKET_4479f4d3bb155195879bfbb8d5206f433488a1b1' , ticketBpm: ' Basic YWRtaW46YWRtaW4=' , hostEcm: ' http://127.0.0.1:8080' , hostBpm: ' http://127.0.0.1:9999' });
146+ ` ` `
126147
127148<a name="0.2.2"></a>
128149# [0.2.2](https://github.com/Alfresco/alfresco-js-api/releases/tag/0.2.2) (2016-07-21)
0 commit comments