diginext-utils 4.0.3 → 4.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.
@@ -1,3 +1,5 @@
1
- export { upload } from "./upload";
2
- export { resize } from "./resize";
1
+ export * from "./upload";
2
+ export * from "./resize";
3
+ export * from "./loadImage";
4
+ export * from "./downloadByUrl";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/images/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/images/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
- // export { default as AdminIcon } from "diginext-dashkit/dist/Icon";
2
- export { upload } from "./upload";
3
- export { resize } from "./resize";
1
+ export * from "./upload";
2
+ export * from "./resize";
3
+ export * from "./loadImage";
4
+ export * from "./downloadByUrl";
@@ -1,2 +1,3 @@
1
- export default function loadImage(list: Array<string>): Promise<unknown[] | undefined>;
1
+ export declare function loadImage(list: Array<string>): Promise<unknown[] | undefined>;
2
+ export default loadImage;
2
3
  //# sourceMappingURL=loadImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadImage.d.ts","sourceRoot":"","sources":["../../src/images/loadImage.ts"],"names":[],"mappings":"AAAA,wBAA8B,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,kCAe1D"}
1
+ {"version":3,"file":"loadImage.d.ts","sourceRoot":"","sources":["../../src/images/loadImage.ts"],"names":[],"mappings":"AAAA,wBAAsB,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,kCAelD;AAED,eAAe,SAAS,CAAC"}
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- export default function loadImage(list) {
10
+ export function loadImage(list) {
11
11
  return __awaiter(this, void 0, void 0, function* () {
12
12
  //
13
13
  if (!(list === null || list === void 0 ? void 0 : list.length))
@@ -23,3 +23,4 @@ export default function loadImage(list) {
23
23
  }));
24
24
  });
25
25
  }
26
+ export default loadImage;
@@ -1,3 +1,5 @@
1
- export { upload } from "./upload";
2
- export { resize } from "./resize";
1
+ export * from "./upload";
2
+ export * from "./resize";
3
+ export * from "./loadImage";
4
+ export * from "./downloadByUrl";
3
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/images/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/images/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC"}
@@ -1,3 +1,4 @@
1
- // export { default as AdminIcon } from "diginext-dashkit/dist/Icon";
2
- export { upload } from "./upload";
3
- export { resize } from "./resize";
1
+ export * from "./upload";
2
+ export * from "./resize";
3
+ export * from "./loadImage";
4
+ export * from "./downloadByUrl";
@@ -1,2 +1,3 @@
1
- export default function loadImage(list: Array<string>): Promise<unknown[] | undefined>;
1
+ export declare function loadImage(list: Array<string>): Promise<unknown[] | undefined>;
2
+ export default loadImage;
2
3
  //# sourceMappingURL=loadImage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"loadImage.d.ts","sourceRoot":"","sources":["../../src/images/loadImage.ts"],"names":[],"mappings":"AAAA,wBAA8B,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,kCAe1D"}
1
+ {"version":3,"file":"loadImage.d.ts","sourceRoot":"","sources":["../../src/images/loadImage.ts"],"names":[],"mappings":"AAAA,wBAAsB,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,kCAelD;AAED,eAAe,SAAS,CAAC"}
@@ -7,7 +7,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
7
7
  step((generator = generator.apply(thisArg, _arguments || [])).next());
8
8
  });
9
9
  };
10
- export default function loadImage(list) {
10
+ export function loadImage(list) {
11
11
  return __awaiter(this, void 0, void 0, function* () {
12
12
  //
13
13
  if (!(list === null || list === void 0 ? void 0 : list.length))
@@ -23,3 +23,4 @@ export default function loadImage(list) {
23
23
  }));
24
24
  });
25
25
  }
26
+ export default loadImage;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "diginext-utils",
3
- "version": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "sideEffects": false,
5
5
  "readme": "README.md",
6
6
  "homepage": "https://wearetopgroup.com",