Skip to content

Commit 79bd7ef

Browse files
committed
Updating packages to latest
1 parent 536f6b8 commit 79bd7ef

20 files changed

+752
-1153
lines changed

index.js

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const flash = require('express-flash');
1818
const helmet = require('helmet'); // https://expressjs.com/en/advanced/best-practice-security.html
1919
const moment = require('moment');
2020
const csrf = require('csurf'); // https://www.npmjs.com/package/csurf
21+
const localStorage = require('store2');
2122
const { getManifest } = require('./lib/manifestService');
2223

2324
const eg001 = require('./lib/eSignature/controllers/eg001EmbeddedSigning');
@@ -87,6 +88,9 @@ let app = express()
8788
res.locals.session = req.session;
8889
res.locals.dsConfig = { ...dsConfig, docOptions: docOptions, docNames: docNames };
8990
res.locals.hostUrl = hostUrl; // Used by DSAuthCodeGrant#logout
91+
92+
// Initialize the local storage
93+
res.locals.localStorage = localStorage;
9094
next();
9195
}) // Send user info to views
9296
.use(flash())

jwt_console_project/jwtConsole.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ function getArgs(apiAccountId, accessToken, basePath){
106106
async function main(){
107107
let accountInfo = await authenticate();
108108
let args = getArgs(accountInfo.apiAccountId, accountInfo.accessToken, accountInfo.basePath);
109-
let envelopeId = signingViaEmail.sendEnvelope(args);
109+
let envelopeId = await signingViaEmail.sendEnvelope(args);
110110
console.log(envelopeId);
111111
}
112112

0 commit comments

Comments
 (0)