@noatgnu/cupcake-core 1.3.12 → 1.3.13

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
@@ -1186,6 +1186,11 @@ declare class SiteConfigService extends BaseApiService {
1186
1186
  getMaxUploadSizeMB(): number;
1187
1187
  getMaxChunkedUploadSizeMB(): number;
1188
1188
  private handleDemoMode;
1189
+ formatFileSize(bytes: number): string;
1190
+ validateFileSize(fileSize: number, isChunked?: boolean): {
1191
+ valid: boolean;
1192
+ message?: string;
1193
+ };
1189
1194
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiteConfigService, never>;
1190
1195
  static ɵprov: _angular_core.ɵɵInjectableDeclaration<SiteConfigService>;
1191
1196
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noatgnu/cupcake-core",
3
- "version": "1.3.12",
3
+ "version": "1.3.13",
4
4
  "description": "A reusable Angular library that provides user management, authentication, and site configuration functionality for cupcake applications.",
5
5
  "keywords": [
6
6
  "angular",