@hubs101/js-api-skd-client 1.0.10459 → 1.0.10461

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.
@@ -337,6 +337,8 @@ export type EventAPIType = {
337
337
  pinExhibition: (exhibitionId: string) => Promise<boolean>;
338
338
  unpinExhibition: (exhibitionId: string) => Promise<boolean>;
339
339
  fetchEventGroups: (eventId: string) => Promise<GroupServerResponse[]>;
340
+ deleteMediaDirectories: (accountId: string, path: string, name: string) => Promise<APIResponse>;
341
+ deleteMediaDirectoryFiles: (accountId: string, filepath: string) => Promise<APIResponse>;
340
342
  updateAccountGroup: (accountId: string, groupId: string, data: GroupInputType) => Promise<GroupResponseType>;
341
343
  fetchAccountGroups: (accountId: string, type: GroupType) => Promise<ResponsePaginationType<GroupResponseType>>;
342
344
  fetchEventAttendeeActions: (eventId: string) => Promise<ResponseServerType<FetchCurrentEventAttendeesActionsResponse[]>>;
package/lib/utils/api.js CHANGED
@@ -107,6 +107,7 @@ const deleteRequest = (url, body, token, headers) => __awaiter(void 0, void 0, v
107
107
  const response = yield fetch(url, {
108
108
  method: "DELETE",
109
109
  headers: Object.assign({ Authorization: `Bearer ${token}` }, headers),
110
+ body: form,
110
111
  });
111
112
  const data = yield response.json();
112
113
  if (String(data.status).startsWith("4")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubs101/js-api-skd-client",
3
- "version": "1.0.10459",
3
+ "version": "1.0.10461",
4
4
  "author": "Liveware",
5
5
  "scripts": {
6
6
  "test": "jest --config jestconfig.json",