@octanejs/pdf 0.0.23 → 0.0.24

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/pdf",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -46,7 +46,7 @@
46
46
  "pdfjs-dist": "5.4.296"
47
47
  },
48
48
  "peerDependencies": {
49
- "octane": "^0.7.0"
49
+ "octane": "^0.8.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/react": "19.2.7",
@@ -66,7 +66,7 @@
66
66
  "vitest": "^4.1.10",
67
67
  "vitest-browser-react": "2.0.0",
68
68
  "warning": "^4.0.3",
69
- "octane": "0.7.0"
69
+ "octane": "0.8.0"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "pnpm upstream:verify && vitest run --root ../.. --project pdf --project pdf-ssr --project pdf-parity --project pdf-packed",
@@ -74,7 +74,7 @@
74
74
  "test:feasibility": "vitest run --root ../.. --project pdf-feasibility --project pdf-feasibility-ssr --project pdf-feasibility-hydration",
75
75
  "test:parity": "vitest run --root ../.. --project pdf-parity",
76
76
  "test:ssr": "vitest run --root ../.. --project pdf-ssr",
77
- "test:types": "tsc --noEmit -p typetests/tsconfig.pristine.json && tsrx-tsc --noEmit -p typetests/tsconfig.adapted.json",
77
+ "test:types": "tsc --noEmit -p typetests/tsconfig.pristine.json && octane-tsc -p typetests/tsconfig.adapted.json",
78
78
  "upstream:verify": "node --test tests/audit/upstream-inventory.test.mjs && node audit/upstream-inventory.mjs",
79
79
  "test:pristine": "node ../../scripts/react-parity/pdf-pristine-runtime.mjs"
80
80
  }
@@ -77,7 +77,10 @@ function renderMessage(value: NodeOrRenderer): unknown {
77
77
  return typeof value === 'function' ? value() : value;
78
78
  }
79
79
 
80
- function withEventData(props: Record<string, unknown>, value: unknown): Record<string, unknown> {
80
+ function withEventData(
81
+ props: Record<string, unknown>,
82
+ value: unknown,
83
+ ): Record<string, unknown> & { ref?: undefined } {
81
84
  return makeEventProps(props as never, () => value) as Record<string, unknown>;
82
85
  }
83
86