@msout/microsoft-webauth 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@msout/microsoft-webauth",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Microsoft web authentication module, using playwright to automate the login process and retrieve cookies for authenticated sessions.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -8,11 +8,12 @@ const { program } = require('commander');
8
8
  const logger = require('./utils/logger');
9
9
  const { login, checkAuth, getAuthMeta, logout } = require('./auth');
10
10
  const { DEFAULT_AUTH_FILE, ONENOTE_URL, OUTLOOK_URL } = require('./config');
11
+ const { version: PKG_VERSION } = require('../package.json');
11
12
 
12
13
  program
13
14
  .name('webauth')
14
15
  .description('Microsoft web authentication via Playwright — extracted from MSOneNote Exporter')
15
- .version('1.0.0');
16
+ .version(PKG_VERSION);
16
17
 
17
18
  program
18
19
  .command('login')