@utcp/http 1.0.8 → 1.0.12

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/dist/index.cjs CHANGED
@@ -4233,7 +4233,6 @@ ${e.stack || ""}`);
4233
4233
  // src/http_communication_protocol.ts
4234
4234
  var import_axios = __toESM(require("axios"), 1);
4235
4235
  var yaml = __toESM(require("js-yaml"), 1);
4236
- var import_url = require("url");
4237
4236
  var import_sdk9 = require("@utcp/sdk");
4238
4237
 
4239
4238
  // src/openapi_converter.ts
@@ -4912,7 +4911,7 @@ var HttpCommunicationProtocol = class {
4912
4911
  tokenFetchPromises.push(
4913
4912
  (async () => {
4914
4913
  try {
4915
- const bodyData = new import_url.URLSearchParams({
4914
+ const bodyData = new URLSearchParams({
4916
4915
  "grant_type": "client_credentials",
4917
4916
  "client_id": authDetails.client_id,
4918
4917
  "client_secret": authDetails.client_secret,
@@ -4939,7 +4938,7 @@ var HttpCommunicationProtocol = class {
4939
4938
  tokenFetchPromises.push(
4940
4939
  (async () => {
4941
4940
  try {
4942
- const bodyData = new import_url.URLSearchParams({
4941
+ const bodyData = new URLSearchParams({
4943
4942
  "grant_type": "client_credentials",
4944
4943
  "scope": authDetails.scope || ""
4945
4944
  });