@shipstatic/types 0.1.13 → 0.1.14

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.ts CHANGED
@@ -241,11 +241,8 @@ export declare function validateSubdomain(input: string): boolean;
241
241
  * Request payload for SPA check endpoint
242
242
  */
243
243
  export interface SPACheckRequest {
244
- /** Array of files with paths and sizes */
245
- files: Array<{
246
- path: string;
247
- size: number;
248
- }>;
244
+ /** Array of file paths */
245
+ files: string[];
249
246
  /** Raw HTML content of index.html file */
250
247
  index: string;
251
248
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -450,8 +450,8 @@ export function validateSubdomain(input: string): boolean {
450
450
  * Request payload for SPA check endpoint
451
451
  */
452
452
  export interface SPACheckRequest {
453
- /** Array of files with paths and sizes */
454
- files: Array<{ path: string; size: number }>;
453
+ /** Array of file paths */
454
+ files: string[];
455
455
  /** Raw HTML content of index.html file */
456
456
  index: string;
457
457
  }