@xapp/stentor-service-pii 1.58.31 → 1.60.0

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.
@@ -13,11 +13,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
13
13
  });
14
14
  };
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.isCompanyxError = exports.getCompanyxUserProfile = exports.getAmznUserProfile = exports.isAmznError = void 0;
16
+ exports.isAmznError = isAmznError;
17
+ exports.getAmznUserProfile = getAmznUserProfile;
18
+ exports.getCompanyxUserProfile = getCompanyxUserProfile;
19
+ exports.isCompanyxError = isCompanyxError;
17
20
  function isAmznError(response) {
18
21
  return !!response.error;
19
22
  }
20
- exports.isAmznError = isAmznError;
21
23
  function getAmznUserProfile(accessToken) {
22
24
  return __awaiter(this, void 0, void 0, function* () {
23
25
  const amznProfileURL = "https://api.amazon.com/user/profile?access_token=";
@@ -28,7 +30,6 @@ function getAmznUserProfile(accessToken) {
28
30
  return response.json();
29
31
  });
30
32
  }
31
- exports.getAmznUserProfile = getAmznUserProfile;
32
33
  function getCompanyxUserProfile(accessToken) {
33
34
  return __awaiter(this, void 0, void 0, function* () {
34
35
  const companyxProfileURL = "https://company.x.com/user/profile?access_token=";
@@ -39,9 +40,7 @@ function getCompanyxUserProfile(accessToken) {
39
40
  return response.json();
40
41
  });
41
42
  }
42
- exports.getCompanyxUserProfile = getCompanyxUserProfile;
43
43
  function isCompanyxError(response) {
44
44
  return !!response.error;
45
45
  }
46
- exports.isCompanyxError = isCompanyxError;
47
46
  //# sourceMappingURL=PiiRedeemService.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PiiRedeemService.js","sourceRoot":"","sources":["../src/PiiRedeemService.ts"],"names":[],"mappings":";AAAA,oCAAoC;AACpC;;GAEG;;;;;;;;;;;;AAgBH,SAAgB,WAAW,CAAC,QAAqB;IAC7C,OAAO,CAAC,CAA4B,QAAS,CAAC,KAAK,C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C;QAEH,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;IAC3B,CAAC;CAAA;AAoBD,SAAsB,sBAAsB,CAAC,WAAmB;;QAC5D,MAAM,kBAAkB,GAAG,kDAAkD,CAAC;QAE9E,MAAM,GAAG,GAAG,kBAAkB,GAAG,WAAW,CAAC;QAE7C,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,GAAG,EAAE;YAC9B,MAAM,EAAE,KAAK;SAChB,CAAC,CAAC;QAEH,OAAO,QAAQ,CAAC,IAAI,EAAE,CAAC;IAC3B,CAAC;CAAA;AAED,SAAgB,eAAe,CAAC,QAAyB;IACrD,OAAO,CAAC,CAAgC,QAAS,CAAC,KAAK,CAAC;AAC5D,CAAC"}
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "1.58.31",
7
+ "version": "1.60.0",
8
8
  "description": "Service to manage PII within an isolated database",
9
9
  "types": "lib/index",
10
10
  "main": "lib/index",
@@ -19,12 +19,12 @@
19
19
  "@types/lodash": "4.17.5",
20
20
  "@xapp/config": "0.2.3",
21
21
  "chai": "4.4.1",
22
- "stentor-models": "1.59.70",
23
- "stentor-utils": "1.59.70",
24
- "typescript": "5.4.5"
22
+ "stentor-models": "1.59.75",
23
+ "stentor-utils": "1.59.73",
24
+ "typescript": "5.5.2"
25
25
  },
26
26
  "dependencies": {
27
- "@xapp/stentor-service-dynamo": "1.58.31",
27
+ "@xapp/stentor-service-dynamo": "1.60.0",
28
28
  "lodash.clonedeep": "4.5.0",
29
29
  "lodash.isequal": "4.5.0"
30
30
  },
@@ -36,5 +36,5 @@
36
36
  "build": "tsc -d true -p .",
37
37
  "clean": "rm -rf ./lib/*"
38
38
  },
39
- "gitHead": "ae40aa5e72ea070018882190abfef2f8b181a3d0"
39
+ "gitHead": "33641e97bc24c6670cba8c94ae7563c1c2445786"
40
40
  }