@adobe/acc-js-sdk 1.0.5 → 1.0.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/acc-js-sdk",
3
- "version": "1.0.5",
3
+ "version": "1.0.8",
4
4
  "description": "ACC Javascript SDK",
5
5
  "main": "src/index.js",
6
6
  "homepage": "https://github.com/adobe/acc-js-sdk#readme",
@@ -10,17 +10,16 @@
10
10
  "test": "test"
11
11
  },
12
12
  "dependencies": {
13
- "axios": "^0.21.4",
14
- "jsdom": "^16.7.0"
13
+ "axios": "^0.25.0",
14
+ "jsdom": "^19.0.0"
15
15
  },
16
16
  "devDependencies": {
17
17
  "docdash": "^1.2.0",
18
- "eslint": "^7.32.0",
19
- "jest": "^27.2.0",
18
+ "eslint": "^8.7.0",
19
+ "jest": "^27.4.7",
20
20
  "jest-junit": "^13.0.0",
21
21
  "jsdoc": "^3.6.7",
22
- "jsdoc-to-markdown": "^7.0.1",
23
- "jshint": "^2.13.1"
22
+ "jshint": "^2.13.3"
24
23
  },
25
24
  "author": "",
26
25
  "scripts": {
@@ -25,7 +25,7 @@ const utils = require("./utils.js");
25
25
  code: async() => {
26
26
  return await utils.logon(async (client, NLWS) => {
27
27
  const schema = await client.getSchema("xtk:option");
28
- console.log(`>> client.getSchema (current representation) => ${JSON.stringify(schema)}`);
28
+ console.log(`>> client.getSchema (current representation) : ${JSON.stringify(schema)}`);
29
29
  });
30
30
  }
31
31
  });
@@ -38,7 +38,7 @@ const utils = require("./utils.js");
38
38
  code: async() => {
39
39
  return await utils.logon(async (client, NLWS) => {
40
40
  const schema = await client.getSchema("xtk:option", "xml");
41
- console.log(`>> client.getSchema (xml) => ${client.DomUtil.toXMLString(schema)}`);
41
+ console.log(`>> client.getSchema (xml) : ${client.DomUtil.toXMLString(schema)}`);
42
42
  });
43
43
  }
44
44
  });
@@ -52,7 +52,7 @@ const utils = require("./utils.js");
52
52
  code: async() => {
53
53
  return await utils.logon(async (client, NLWS) => {
54
54
  const schema = await client.getEntityIfMoreRecent("xtk:srcSchema", "nms:rtEvent");
55
- console.log(`>> client.getEntityIfMoreRecent => ${JSON.stringify(schema)}`);
55
+ console.log(`>> client.getEntityIfMoreRecent : ${JSON.stringify(schema)}`);
56
56
  });
57
57
  }
58
58
  });
@@ -31,11 +31,11 @@ const utils = require("./utils.js");
31
31
  code: async() => {
32
32
  return await utils.logon(async (client, NLWS) => {
33
33
  const password = "Hello, World";
34
- console.log(`xtk:session#Encrypt => ${await NLWS.xtkSession.encrypt(password)}`);
35
- console.log(`xtk:session#EncryptPassword => ${await NLWS.xtkSession.encryptPassword(password)}`);
36
- console.log(`xtk:session#EncryptServerPassword => ${await NLWS.xtkSession.encryptServerPassword(password)}`);
37
- console.log(`xtk:session#HashPassword => ${await NLWS.xtkSession.hashPassword(password)}`);
38
- console.log(`xtk:session#ReEncryptPassword => ${await NLWS.xtkSession.reEncryptPassword(await NLWS.xtkSession.encryptPassword(password))}`);
34
+ console.log(`xtk:session#Encrypt : ${await NLWS.xtkSession.encrypt(password)}`);
35
+ console.log(`xtk:session#EncryptPassword : ${await NLWS.xtkSession.encryptPassword(password)}`);
36
+ console.log(`xtk:session#EncryptServerPassword : ${await NLWS.xtkSession.encryptServerPassword(password)}`);
37
+ console.log(`xtk:session#HashPassword : ${await NLWS.xtkSession.hashPassword(password)}`);
38
+ console.log(`xtk:session#ReEncryptPassword : ${await NLWS.xtkSession.reEncryptPassword(await NLWS.xtkSession.encryptPassword(password))}`);
39
39
  });
40
40
  }
41
41
  });