@pierre/storage 1.2.0 → 1.2.1

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.d.cts CHANGED
@@ -854,6 +854,7 @@ interface ArchiveOptions extends GitStorageInvocationOptions {
854
854
  ref?: string;
855
855
  includeGlobs?: string[];
856
856
  excludeGlobs?: string[];
857
+ maxBlobSize?: number;
857
858
  archivePrefix?: string;
858
859
  }
859
860
  interface PullUpstreamOptions extends GitStorageInvocationOptions {
package/dist/index.d.ts CHANGED
@@ -854,6 +854,7 @@ interface ArchiveOptions extends GitStorageInvocationOptions {
854
854
  ref?: string;
855
855
  includeGlobs?: string[];
856
856
  excludeGlobs?: string[];
857
+ maxBlobSize?: number;
857
858
  archivePrefix?: string;
858
859
  }
859
860
  interface PullUpstreamOptions extends GitStorageInvocationOptions {
package/dist/index.js CHANGED
@@ -524,7 +524,7 @@ function concatChunks(a, b) {
524
524
 
525
525
  // package.json
526
526
  var package_default = {
527
- version: "1.2.0"};
527
+ version: "1.2.1"};
528
528
 
529
529
  // src/version.ts
530
530
  var PACKAGE_NAME = "code-storage-sdk";
@@ -1856,6 +1856,9 @@ var RepoImpl = class {
1856
1856
  if (Array.isArray(options.excludeGlobs) && options.excludeGlobs.length > 0) {
1857
1857
  body.exclude_globs = options.excludeGlobs;
1858
1858
  }
1859
+ if (typeof options.maxBlobSize === "number" && Number.isFinite(options.maxBlobSize)) {
1860
+ body.max_blob_size = options.maxBlobSize;
1861
+ }
1859
1862
  if (typeof options.archivePrefix === "string") {
1860
1863
  const prefix = options.archivePrefix.trim();
1861
1864
  if (prefix) {