snyk 1.890.0 → 1.891.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "API": "https://snyk.io/api/v1",
3
- "API_V3_URL": "https://api.snyk.io/v3",
3
+ "API_REST_URL": "https://api.snyk.io/rest",
4
4
  "devDeps": false,
5
5
  "PRUNE_DEPS_THRESHOLD": 40000,
6
6
  "MAX_PATH_COUNT": 1500000,
@@ -5712,7 +5712,7 @@ exports.validatePayload = validatePayload;
5712
5712
  "use strict";
5713
5713
 
5714
5714
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5715
- exports.makeRequestV3 = exports.makeRequest = void 0;
5715
+ exports.makeRequestRest = exports.makeRequest = void 0;
5716
5716
  const api_token_1 = __webpack_require__(95181);
5717
5717
  const request = __webpack_require__(52050);
5718
5718
  async function makeRequest(payload) {
@@ -5733,12 +5733,12 @@ async function makeRequest(payload) {
5733
5733
  }
5734
5734
  exports.makeRequest = makeRequest;
5735
5735
  /**
5736
- * All v3 request will essentially be the same and are JSON by default
5736
+ * All rest request will essentially be the same and are JSON by default
5737
5737
  * Thus if no headers provided default headers are used
5738
5738
  * @param {any} payload for the request
5739
5739
  * @returns
5740
5740
  */
5741
- async function makeRequestV3(payload) {
5741
+ async function makeRequestRest(payload) {
5742
5742
  return new Promise((resolve, reject) => {
5743
5743
  var _a;
5744
5744
  payload.headers = (_a = payload.headers) !== null && _a !== void 0 ? _a : {
@@ -5760,7 +5760,7 @@ async function makeRequestV3(payload) {
5760
5760
  });
5761
5761
  });
5762
5762
  }
5763
- exports.makeRequestV3 = makeRequestV3;
5763
+ exports.makeRequestRest = makeRequestRest;
5764
5764
 
5765
5765
 
5766
5766
  /***/ }),