@nomalism-com/api 1.0.14 → 1.0.16

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,4 +1,4 @@
1
- import { AxiosRequestHeaders } from 'axios';
1
+ import { type RawAxiosRequestHeaders } from 'axios';
2
2
  import Nomalism from '@nomalism-com/types';
3
3
  import { IModuleConstructor } from '../../main';
4
4
  export import IEntity = Nomalism.Multimedia.Entity;
@@ -8,5 +8,5 @@ export default class Repository implements Nomalism.Multimedia.IApi {
8
8
  private api;
9
9
  constructor({ api, route, publicRoute }: IModuleConstructor);
10
10
  getUrl(multimediaId: string, download?: boolean): string;
11
- create(multipartFormData: any, headers?: AxiosRequestHeaders): Promise<Nomalism.Multimedia.Entity>;
11
+ create(multipartFormData: any, headers?: RawAxiosRequestHeaders): Promise<Nomalism.Multimedia.Entity>;
12
12
  }
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "typescript",
10
10
  "helper"
11
11
  ],
12
- "version": "1.0.14",
12
+ "version": "1.0.16",
13
13
  "main": "dist/index.min.js",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
@@ -48,7 +48,7 @@
48
48
  "tslib": "^2.8.1"
49
49
  },
50
50
  "dependencies": {
51
- "@nomalism-com/types": "^1.0.15",
51
+ "@nomalism-com/types": "^1.0.17",
52
52
  "axios": "^1.8.4"
53
53
  }
54
54
  }