@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/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "@pierre/storage",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Pierre Git Storage SDK",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/pierrecomputer/sdk"
8
+ },
5
9
  "license": "MIT",
6
10
  "type": "module",
7
11
  "main": "./dist/index.cjs",
package/src/index.ts CHANGED
@@ -678,6 +678,9 @@ class RepoImpl implements Repo {
678
678
  if (Array.isArray(options.excludeGlobs) && options.excludeGlobs.length > 0) {
679
679
  body.exclude_globs = options.excludeGlobs;
680
680
  }
681
+ if (typeof options.maxBlobSize === 'number' && Number.isFinite(options.maxBlobSize)) {
682
+ body.max_blob_size = options.maxBlobSize;
683
+ }
681
684
  if (typeof options.archivePrefix === 'string') {
682
685
  const prefix = options.archivePrefix.trim();
683
686
  if (prefix) {
package/src/types.ts CHANGED
@@ -182,6 +182,7 @@ export interface ArchiveOptions extends GitStorageInvocationOptions {
182
182
  ref?: string;
183
183
  includeGlobs?: string[];
184
184
  excludeGlobs?: string[];
185
+ maxBlobSize?: number;
185
186
  archivePrefix?: string;
186
187
  }
187
188