@cappa/core 0.0.4 → 0.0.5

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.
@@ -1,17 +1,18 @@
1
1
 
2
2
 
3
- > @cappa/core@0.0.3 build /home/tim/cappa/packages/core
3
+ > @cappa/core@0.0.4 build /home/tim/cappa/packages/core
4
4
  > tsdown
5
5
 
6
6
  ℹ tsdown v0.14.1 powered by rolldown v1.0.0-beta.37
7
7
  ℹ Using tsdown config: /home/tim/cappa/packages/core/tsdown.config.ts
8
- (node:66866) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/tim/cappa/packages/core/tsdown.config.ts is not specified and it doesn't parse as CommonJS.
8
+ (node:57472) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///home/tim/cappa/packages/core/tsdown.config.ts is not specified and it doesn't parse as CommonJS.
9
9
  Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
10
10
  To eliminate this warning, add "type": "module" to /home/tim/cappa/packages/core/package.json.
11
11
  (Use `node --trace-warnings ...` to show where the warning was created)
12
12
  ℹ entry: src/index.ts
13
13
  ℹ tsconfig: tsconfig.json
14
14
  ℹ Build start
15
+ ℹ Cleaning 6 files
15
16
  Warning: Invalid input options (1 issue found)
16
17
  - For the "resolve.tsconfigFilename". It is deprecated. Please use the top-level `tsconfig` option instead. 
17
18
  Warning: Invalid input options (1 issue found)
@@ -23,8 +24,8 @@ To eliminate this warning, add "type": "module" to /home/tim/cappa/packages/core
23
24
  - For the "resolve.tsconfigFilename". It is deprecated. Please use the top-level `tsconfig` option instead. 
24
25
  ℹ [ESM] dist/index.mjs  5.73 kB │ gzip: 1.62 kB
25
26
  ℹ [ESM] dist/index.mjs.map 12.54 kB │ gzip: 3.31 kB
26
- ℹ [ESM] dist/index.d.mts  3.73 kB │ gzip: 1.28 kB
27
- ℹ [ESM] 3 files, total: 21.99 kB
28
- ℹ [CJS] dist/index.d.ts 3.73 kB │ gzip: 1.28 kB
29
- ℹ [CJS] 1 files, total: 3.73 kB
30
- ✔ Build complete in 1378ms
27
+ ℹ [ESM] dist/index.d.mts  3.75 kB │ gzip: 1.29 kB
28
+ ℹ [ESM] 3 files, total: 22.01 kB
29
+ ℹ [CJS] dist/index.d.ts 3.74 kB │ gzip: 1.28 kB
30
+ ℹ [CJS] 1 files, total: 3.74 kB
31
+ ✔ Build complete in 1351ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @cappa/core
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - a8a0d8f: Add delay option
8
+
3
9
  ## 0.0.4
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -114,6 +114,7 @@ type ScreenshotOptions = {
114
114
  quality?: number;
115
115
  waitForSelector?: string;
116
116
  waitForTimeout?: number;
117
+ delay?: number;
117
118
  };
118
119
  interface Exposed {
119
120
  emitCapture(opt: ScreenshotOptions): void;
package/dist/index.d.ts CHANGED
@@ -114,6 +114,7 @@ type ScreenshotOptions = {
114
114
  quality?: number;
115
115
  waitForSelector?: string;
116
116
  waitForTimeout?: number;
117
+ delay?: number;
117
118
  };
118
119
  interface Exposed {
119
120
  emitCapture(opt: ScreenshotOptions): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cappa/core",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "Core Playwright screenshot functionality for Cappa",
5
5
  "author": "tim-richter",
6
6
  "license": "MIT",
package/src/types.ts CHANGED
@@ -27,6 +27,7 @@ export type ScreenshotOptions = {
27
27
  quality?: number;
28
28
  waitForSelector?: string;
29
29
  waitForTimeout?: number;
30
+ delay?: number;
30
31
  };
31
32
 
32
33
  export interface Exposed {