Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@12stonechurch/omnihive-worker-documents

Package Overview
Dependencies
Maintainers
5
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@12stonechurch/omnihive-worker-documents - npm Package Compare versions

Comparing version 2.0.91 to 2.0.92

12

graph/getDocuments.js

@@ -57,3 +57,7 @@ "use strict";

const newStatusId = yield AwaitHelper_1.AwaitHelper.execute(this.getStatusId(syncingDoc.status));
yield AwaitHelper_1.AwaitHelper.execute(this.updateDocStatus(doc.id, newStatusId, syncingDoc.updateTime, syncingDoc.completedDateTime));
let completedDate = syncingDoc.completedDate;
if (!completedDate && syncingDoc.status.toLowerCase() === "completed") {
completedDate = syncingDoc.updateTime;
}
yield AwaitHelper_1.AwaitHelper.execute(this.updateDocStatus(doc.id, newStatusId, syncingDoc.updateTime, completedDate));
}

@@ -122,3 +126,3 @@ }

yield this.buildRoleData(availableForms);
return availableForms;
return availableForms.filter((form) => (!form.status && form.roles.length === 1) || form.status);
});

@@ -141,2 +145,3 @@ this.buildRoleData = (forms) => __awaiter(this, void 0, void 0, function* () {

queryBuilder.whereIn("dfs.Form_ID", formIds);
queryBuilder.andWhere("dfs.Archived", 0);
queryBuilder.select("dfs.DocuSign_Form_Signer_ID as id", "dfs.Signer_Role as role", "dfs.Form_ID as formId");

@@ -149,2 +154,5 @@ const signerRoles = (yield AwaitHelper_1.AwaitHelper.execute(this.databaseWorker.executeQuery(queryBuilder.toString())))[0];

}
else {
form.roles = [];
}
});

@@ -151,0 +159,0 @@ });

2

package.json
{
"name": "@12stonechurch/omnihive-worker-documents",
"version": "2.0.91",
"version": "2.0.92",
"description": "OmniHive Custom Function package",

@@ -5,0 +5,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc