@zip.js/zip.js 2.7.33 → 2.7.34

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/index.d.ts CHANGED
@@ -764,6 +764,10 @@ interface ZipReaderOptions {
764
764
  * The password used to decrypt the content of the entry.
765
765
  */
766
766
  password?: string;
767
+ /**
768
+ * The password used to encrypt the content of the entry (raw).
769
+ */
770
+ rawPassword?: Uint8Array;
767
771
  /**
768
772
  * The `AbortSignal` instance used to cancel the decompression.
769
773
  */
@@ -1103,6 +1107,10 @@ interface ZipWriterConstructorOptions {
1103
1107
  * The password used to encrypt the content of the entry.
1104
1108
  */
1105
1109
  password?: string;
1110
+ /**
1111
+ * The password used to encrypt the content of the entry (raw).
1112
+ */
1113
+ rawPassword?: Uint8Array;
1106
1114
  /**
1107
1115
  * The encryption strength (AES).
1108
1116
  *
@@ -1201,7 +1209,7 @@ interface ZipWriterConstructorOptions {
1201
1209
  supportZip64SplitFile?: boolean;
1202
1210
  /**
1203
1211
  * `true`to produce zip files compatible with the USDZ specification.
1204
- *
1212
+ *
1205
1213
  * @defaultValue false
1206
1214
  */
1207
1215
  usdz?: boolean;
@@ -1573,7 +1581,7 @@ export class ZipDirectoryEntry extends ZipEntry {
1573
1581
  * @returns A promise resolving to an array of {@link ZipFileEntry} or a {@link ZipDirectoryEntry} instances.
1574
1582
  */
1575
1583
  addFileSystemHandle(
1576
- fileSystemEntry: FileSystemHandle,
1584
+ fileSystemHandle: FileSystemHandle,
1577
1585
  options?: ZipWriterAddDataOptions,
1578
1586
  ): Promise<ZipEntry[]>;
1579
1587
  /**