@velocitycareerlabs/data-loader 1.24.0-dev-build.183959a2c → 1.24.0-dev-build.1bc10e07c

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": "@velocitycareerlabs/data-loader",
3
- "version": "1.24.0-dev-build.183959a2c",
3
+ "version": "1.24.0-dev-build.1bc10e07c",
4
4
  "description": "A tool for uploading data to the different target systems.",
5
5
  "repository": "https://github.com/velocitycareerlabs/packages",
6
6
  "main": "src/index.js",
@@ -37,9 +37,9 @@
37
37
  "got": "11.8.6",
38
38
  "handlebars": "~4.7.7",
39
39
  "inquirer": "^8.0.0",
40
- "lodash": "~4.17.20",
40
+ "lodash": "^4.17.21",
41
41
  "nanoid": "3.3.8",
42
42
  "strip-bom-stream": "^4.0.0"
43
43
  },
44
- "gitHead": "54fcb604008282dc5c7809fd3806b5fbbc80d4bb"
44
+ "gitHead": "75caedc95a2a0f92af65851a2c14f3e683599160"
45
45
  }
@@ -3,10 +3,10 @@ const got = require('got');
3
3
  const { map, isEmpty } = require('lodash/fp');
4
4
  const { printInfo } = require('../helpers/common');
5
5
 
6
- const setupGot = ({ endpoint, authToken, tenantId }) => {
6
+ const setupGot = ({ endpoint, authToken, tenant }) => {
7
7
  const options = {};
8
8
  if (endpoint != null) {
9
- options.prefixUrl = `${endpoint}/operator-api/v0.8/tenants/${tenantId}`;
9
+ options.prefixUrl = `${endpoint}/operator-api/v0.8/tenants/${tenant}`;
10
10
  }
11
11
  if (authToken != null) {
12
12
  options.headers = { Authorization: `Bearer ${authToken}` };
@@ -1291,10 +1291,10 @@ describe('batch issuing test', () => {
1291
1291
  it('should have error if the disclosureRequest is not found', async () => {
1292
1292
  const agentUrl = 'https://exampleUrl';
1293
1293
  const did = 'did:ion:sap123';
1294
- const tenantId = '123';
1294
+ const tenant = '123';
1295
1295
  nock(agentUrl)
1296
1296
  .get(
1297
- `/operator-api/v0.8/tenants/${tenantId}/disclosures?vendorEndpoint=integrated-issuing-identification`
1297
+ `/operator-api/v0.8/tenants/${tenant}/disclosures?vendorEndpoint=integrated-issuing-identification`
1298
1298
  )
1299
1299
  .reply(200, existingDisclosures);
1300
1300
 
@@ -1304,7 +1304,7 @@ describe('batch issuing test', () => {
1304
1304
  __dirname,
1305
1305
  'data/email-offer.template.json'
1306
1306
  ),
1307
- tenantId,
1307
+ tenant,
1308
1308
  did,
1309
1309
  termsUrl: 'http://example.com/terms.html',
1310
1310
  idCredentialType: 'EmailV1.0',
@@ -1320,10 +1320,10 @@ describe('batch issuing test', () => {
1320
1320
  it('should find the existing disclosure disclosureRequest', async () => {
1321
1321
  const agentUrl = 'https://exampleUrl';
1322
1322
  const did = 'did:ion:sap123';
1323
- const tenantId = '123';
1323
+ const tenant = '123';
1324
1324
  nock(agentUrl)
1325
1325
  .get(
1326
- `/operator-api/v0.8/tenants/${tenantId}/disclosures?vendorEndpoint=integrated-issuing-identification`
1326
+ `/operator-api/v0.8/tenants/${tenant}/disclosures?vendorEndpoint=integrated-issuing-identification`
1327
1327
  )
1328
1328
  .reply(200, existingDisclosures);
1329
1329
 
@@ -1333,7 +1333,7 @@ describe('batch issuing test', () => {
1333
1333
  __dirname,
1334
1334
  'data/email-offer.template.json'
1335
1335
  ),
1336
- tenantId,
1336
+ tenant,
1337
1337
  did,
1338
1338
  termsUrl: 'http://example.com/terms.html',
1339
1339
  idCredentialType: 'EmailV1.0',