This change brings the supertest-session API closer in-line with the
supertest API it wraps. Dependents adopting the new API should create
sessions using the exported factory function:
var request = require('supertest-session');
request(myApp, myOpts)
.get('/hello')
...
The API remains back-compatible for the time being, though legacy usage
should be considered deprecated and will be removed in the future.
This change brings the supertest-session API closer in-line with the
supertest
API it wraps. Dependents adopting the new API should create sessions using the exported factory function:The API remains back-compatible for the time being, though legacy usage should be considered deprecated and will be removed in the future.