@edraj/tsdmart 1.0.3 → 1.0.4

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.
Files changed (2) hide show
  1. package/index.ts +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -318,7 +318,7 @@ type ApiQueryResponse = ApiResponse & {
318
318
  attributes: { total: number; returned: number };
319
319
  };
320
320
 
321
- export class Dmart {
321
+ export default class Dmart {
322
322
  public static async login(shortname: string, password: string) {
323
323
  const { data } = await axios.post<
324
324
  ApiResponse & { records: Array<LoginResponseRecord> }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edraj/tsdmart",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A TypeScript implementation of the Dmart that depends on axios.",
5
5
  "author": "Kefah T. Issa",
6
6
  "email": "kefah.issa@gmail.com",