@prismatic-io/spectral 10.12.0 → 10.12.1

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.
@@ -78,7 +78,7 @@ const fetchComponentDataForManifest = (_a) => __awaiter(void 0, [_a], void 0, fu
78
78
  }
79
79
  `;
80
80
  try {
81
- const response = yield axios_1.default.post(`${prismaticUrl}/api`, {
81
+ const response = yield axios_1.default.post(new URL("/api", prismaticUrl).toString(), {
82
82
  query,
83
83
  variables: {
84
84
  componentKey,
@@ -206,7 +206,7 @@ function getComponentActions(componentId, prismaticUrl, accessToken) {
206
206
  }
207
207
  }
208
208
  `;
209
- const response = yield axios_1.default.post(`${prismaticUrl}/api`, {
209
+ const response = yield axios_1.default.post(new URL("/api", prismaticUrl).toString(), {
210
210
  query: query,
211
211
  variables: {
212
212
  component: componentId,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prismatic-io/spectral",
3
- "version": "10.12.0",
3
+ "version": "10.12.1",
4
4
  "description": "Utility library for building Prismatic connectors and code-native integrations",
5
5
  "keywords": ["prismatic"],
6
6
  "main": "dist/index.js",