@hdriel/aws-utils 1.1.5 → 1.1.6

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.
package/dist/index.cjs CHANGED
@@ -969,7 +969,7 @@ var S3File = class extends S3Directory {
969
969
  });
970
970
  });
971
971
  }
972
- fileListInfo(directoryPath, fileNamePrefix) {
972
+ fileList(directoryPath, fileNamePrefix) {
973
973
  return __async(this, null, function* () {
974
974
  var _a2, _b;
975
975
  let normalizedPath = getNormalizedPath(directoryPath);
@@ -997,7 +997,7 @@ var S3File = class extends S3Directory {
997
997
  });
998
998
  }
999
999
  // todo: checked!
1000
- fileListInfoPaginated(_0) {
1000
+ fileListPaginated(_0) {
1001
1001
  return __async(this, arguments, function* (directoryPath, {
1002
1002
  fileNamePrefix,
1003
1003
  pageNumber = 0,
package/dist/index.d.cts CHANGED
@@ -247,10 +247,10 @@ declare class S3File extends S3Directory {
247
247
  Location: string;
248
248
  Key: string;
249
249
  }>;
250
- fileListInfo(directoryPath?: string, fileNamePrefix?: string): Promise<(ContentFile & {
250
+ fileList(directoryPath?: string, fileNamePrefix?: string): Promise<(ContentFile & {
251
251
  Location: string;
252
252
  })[]>;
253
- fileListInfoPaginated(directoryPath?: string, { fileNamePrefix, pageNumber, // 0-based: page 0 = items 0-99, page 1 = items 100-199, page 2 = items 200-299
253
+ fileListPaginated(directoryPath?: string, { fileNamePrefix, pageNumber, // 0-based: page 0 = items 0-99, page 1 = items 100-199, page 2 = items 200-299
254
254
  pageSize, }?: {
255
255
  fileNamePrefix?: string;
256
256
  pageSize?: number;
package/dist/index.d.ts CHANGED
@@ -247,10 +247,10 @@ declare class S3File extends S3Directory {
247
247
  Location: string;
248
248
  Key: string;
249
249
  }>;
250
- fileListInfo(directoryPath?: string, fileNamePrefix?: string): Promise<(ContentFile & {
250
+ fileList(directoryPath?: string, fileNamePrefix?: string): Promise<(ContentFile & {
251
251
  Location: string;
252
252
  })[]>;
253
- fileListInfoPaginated(directoryPath?: string, { fileNamePrefix, pageNumber, // 0-based: page 0 = items 0-99, page 1 = items 100-199, page 2 = items 200-299
253
+ fileListPaginated(directoryPath?: string, { fileNamePrefix, pageNumber, // 0-based: page 0 = items 0-99, page 1 = items 100-199, page 2 = items 200-299
254
254
  pageSize, }?: {
255
255
  fileNamePrefix?: string;
256
256
  pageSize?: number;
package/dist/index.js CHANGED
@@ -958,7 +958,7 @@ var S3File = class extends S3Directory {
958
958
  });
959
959
  });
960
960
  }
961
- fileListInfo(directoryPath, fileNamePrefix) {
961
+ fileList(directoryPath, fileNamePrefix) {
962
962
  return __async(this, null, function* () {
963
963
  var _a2, _b;
964
964
  let normalizedPath = getNormalizedPath(directoryPath);
@@ -986,7 +986,7 @@ var S3File = class extends S3Directory {
986
986
  });
987
987
  }
988
988
  // todo: checked!
989
- fileListInfoPaginated(_0) {
989
+ fileListPaginated(_0) {
990
990
  return __async(this, arguments, function* (directoryPath, {
991
991
  fileNamePrefix,
992
992
  pageNumber = 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hdriel/aws-utils",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Simplified AWS SDK (v3) utilities for S3 (upload, download, streaming) with TypeScript support",
5
5
  "author": "Hadriel Benjo (https://github.com/hdriel)",
6
6
  "type": "module",