mobiletto 1.1.25 → 1.1.26

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.
@@ -166,7 +166,7 @@ class StorageClient {
166
166
  }
167
167
  }
168
168
  if (hasMax && files.length + list.length >= maxFileCount) {
169
- files.push(...list.slice(0, (list.length - maxFileCount) + 1))
169
+ files.push(...list.slice(0, (maxFileCount - files.length) + 1))
170
170
  return true
171
171
  } else {
172
172
  files.push(...list)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobiletto",
3
- "version": "1.1.25",
3
+ "version": "1.1.26",
4
4
  "description": "A storage layer that presents a uniform interface to Amazon S3, Backblaze B2, and local storage",
5
5
  "main": "index.js",
6
6
  "keywords": [