You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,20 @@
2
2
3
3
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
4
4
5
+
## [v4.1.0] - eSignature API v18.3.00 - 9/13/2018
6
+
### Changed
7
+
- The `getOAuthBasePath()` method is now an accessor function for the new `oAuthBasePath` property, rather than being derived from `basePath`.
8
+
- Updated the swagger spec to version 18.3.00.00
9
+
### Added
10
+
- Created a new `ApiClient` property, `oAuthBasePath`. This property is retrieved using `getOAuthBasePath()` and set by **setOAuthBasePath()**. DCM-2834
11
+
- Created a new `docusign.ApiClient.OAuth.BasePath` collection that holds base path data for the following environments: `STAGE, DEMO, PRODUCTION`.
12
+
- Created a new `docusign.ApiClient.RestApi.BasePath` collection that holds rest API base paths for the following environments: `STAGE, DEMO, PRODUCTION`. These recorded path values can be accessed using an instantiated `docusign.apiClient` object.
13
+
- Added an `opts` parameter that allows you to specify parameter values when instantiating an `apiClient`. The `opts` parameter currently supports passing in `basePath` and `oAuthBasePath` values. If not set during instantiation of an `apiClient`, they default to their production values.
14
+
- An `Organization` value has been added to the account model. DCM-2710
15
+
### Deprecated
16
+
- The `configureJWTAuthorizationFlow` method is now deprecated. Please use `requestJWTUserToken` instead, which takes the private key as byte array or a Stream. DCM-2765
17
+
18
+
5
19
## [v4.0.2] - eSignature API v18.1.02 - 7/3/2018
6
20
### Changed
7
21
- All SDK methods have been updated such that the `opts` parameter may now contain the callback, making the other opts parameters optional, and it has been renamed `optsOrCallback`.
var templateId ='***'; // ID of the Template you want to create the Envelope with
121
122
var templateRoleName ='***'; // Role name of the Recipient for the Template
122
123
123
-
var baseUrl ='https://'+ docusignEnv +'.docusign.net/restapi';
124
-
var oAuthBaseUrl ='account-d.docusign.com'; // use account.docusign.com for Live/Production
124
+
var expiresIn =3600; // Number of seconds until the JWT assertion is invalid
125
+
var basePath =restApi.BasePath.DEMO;
126
+
var oAuthBasePath =oAuth.BasePath.DEMO;
125
127
var redirectURI ='https://www.docusign.com/api';
126
128
var privateKeyFilename ='keys/docusign_private_key.txt'; //path to the file storing the private key from the RSA Keypair associated to the Integrator Key
127
129
128
-
var apiClient =newdocusign.ApiClient();
129
-
130
+
var apiClient =newdocusign.ApiClient({
131
+
basePath: basePath,
132
+
oAuthBasePath: oAuthBasePath
133
+
});
134
+
var scopes = [
135
+
oAuth.Scope.IMPERSONATION,
136
+
oAuth.Scope.SIGNATURE
137
+
];
138
+
130
139
async.waterfall([
131
140
functioninitApiClient (next) {
132
-
apiClient.setBasePath(baseUrl);
141
+
133
142
// assign the api client to the Configuration object
0 commit comments