File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33See [ DocuSign Support Center] ( https://support.docusign.com/en/releasenotes/ ) for Product Release Notes.
44
55
6+ ## [ v3.0.0-rc2] - Admin API v2.1-1.4.0 - 2024-09-19
7+ ### Other Changes
8+ - Fixed issue - skipped removing empty arrays in request parameters when making HTTP calls.
9+ - Updated the SDK release version.
10+
611## [ v3.0.0-rc1] - Admin API v2.1-1.4.0 - 2024-08-27
712### Breaking Changes
813<details >
Original file line number Diff line number Diff line change 11{
22 "name" : " docusign-admin" ,
3- "version" : " 3.0.0-rc1 " ,
3+ "version" : " 3.0.0-rc2 " ,
44 "description" : " The Docusign Admin API enables you to automate user management with your existing systems while ensuring governance and compliance." ,
55 "license" : " MIT" ,
66 "main" : " src/index.js" ,
Original file line number Diff line number Diff line change 4242 "User-Agent" : `Swagger-Codegen/node/${ process . version } ` ,
4343 } ;
4444
45- var removeNulls = function ( obj ) {
46- var isArray = obj instanceof Array ;
47- for ( var k in obj ) {
48- if ( typeof obj [ k ] === "object" ) removeNulls ( obj [ k ] ) ;
49- if ( isArray && obj . length === k ) removeNulls ( obj ) ;
50- if ( obj [ k ] instanceof Array && obj [ k ] . length === 0 ) delete obj [ k ] ;
51- }
52- return obj ;
53- } ;
54-
5545 var generateAndSignJWTAssertion = function (
5646 clientId ,
5747 scopes ,
665655 var formAttachmentKey = Object . keys ( formParams ) . find ( function ( key ) {
666656 return _this . isFileParam ( _formParams [ key ] ) ;
667657 } ) ;
668- requestConfig . data = removeNulls ( formParams [ formAttachmentKey ] ) ;
658+ requestConfig . data = formParams [ formAttachmentKey ] ;
669659 } else {
670660 //automatic serialization for formData is supported in axios as of 0.27.0. ref: https://axios-http.com/docs/multipart
671661 requestConfig . headers = {
676666 requestConfig . data = _formParams ;
677667 }
678668 } else if ( body ) {
679- requestConfig . data = removeNulls ( body ) ;
669+ requestConfig . data = body ;
680670 }
681671
682672 var accept = this . jsonPreferredMime ( accepts ) ;
You can’t perform that action at this time.
0 commit comments