Skip to content

Commit

Permalink
Updating packages to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
InbarGazit committed Apr 26, 2024
1 parent 536f6b8 commit 79bd7ef
Show file tree
Hide file tree
Showing 20 changed files with 752 additions and 1,153 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const flash = require('express-flash');
const helmet = require('helmet'); // https://expressjs.com/en/advanced/best-practice-security.html
const moment = require('moment');
const csrf = require('csurf'); // https://www.npmjs.com/package/csurf
const localStorage = require('store2');
const { getManifest } = require('./lib/manifestService');

const eg001 = require('./lib/eSignature/controllers/eg001EmbeddedSigning');
Expand Down Expand Up @@ -87,6 +88,9 @@ let app = express()
res.locals.session = req.session;
res.locals.dsConfig = { ...dsConfig, docOptions: docOptions, docNames: docNames };
res.locals.hostUrl = hostUrl; // Used by DSAuthCodeGrant#logout

// Initialize the local storage
res.locals.localStorage = localStorage;
next();
}) // Send user info to views
.use(flash())
Expand Down
2 changes: 1 addition & 1 deletion jwt_console_project/jwtConsole.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ function getArgs(apiAccountId, accessToken, basePath){
async function main(){
let accountInfo = await authenticate();
let args = getArgs(accountInfo.apiAccountId, accountInfo.accessToken, accountInfo.basePath);
let envelopeId = signingViaEmail.sendEnvelope(args);
let envelopeId = await signingViaEmail.sendEnvelope(args);
console.log(envelopeId);
}

Expand Down
Loading

0 comments on commit 79bd7ef

Please sign in to comment.