File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,7 +256,7 @@ function Client(accessKey, businessId){
256256 if ( ! document . getDocumentHash ( ) ) {
257257 throw new Error ( 'Deleting the Document requires the Document Hash' ) ;
258258 }
259- if ( ! document . getIsDraft ( ) && ! document . getIsCanceled ( ) ) {
259+ if ( ! document . getIsDraft ( ) && ! document . getIsCancelled ( ) ) {
260260 throw new Error ( 'Only Drafts and cancelled Documents can be deleted' ) ;
261261 }
262262 if ( document . getIsDeleted ( ) ) {
Original file line number Diff line number Diff line change 11{
22 "name" : " eversign" ,
3- "version" : " 1.8.3 " ,
3+ "version" : " 1.8.5 " ,
44 "description" : " Nodejs client for eversign api" ,
55 "main" : " index.js" ,
66 "typings" : " typings/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ declare module 'eversign/lib/Document' {
148148 public getExpires ( ) : Date
149149 public getFields ( ) : FormField [ ]
150150 public getFiles ( ) : File [ ]
151- public getIsCanceled ( ) : boolean
151+ public getIsCancelled ( ) : boolean
152152 public getIsCompleted ( ) : boolean
153153 public getIsDeleted ( ) : boolean
154154 public getIsDraft ( ) : boolean
@@ -233,7 +233,7 @@ declare module 'eversign/lib/Document' {
233233 /**
234234 * Check if the document has been canceled.
235235 */
236- isCanceled : boolean ,
236+ isCancelled : boolean ,
237237
238238 /**
239239 *
You can’t perform that action at this time.
0 commit comments