@oyerinde/caliper 0.1.1 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [0.1.2] - 2026-01-13
6
+
7
+ ### Fixed
8
+
9
+ - Removed omitted debug logs.
10
+
5
11
  ## [0.1.1] - 2026-01-13
6
12
 
7
13
  ### Fixed
package/dist/index.cjs CHANGED
@@ -4874,7 +4874,6 @@ function Root(config) {
4874
4874
  hasActualResize = true;
4875
4875
  }
4876
4876
  if (!hasActualResize) return;
4877
- console.log("[Caliper] resize observed");
4878
4877
  for (const entry of entries) {
4879
4878
  if (entry.target === document.documentElement) {
4880
4879
  sentinelResized = true;
@@ -5128,12 +5127,12 @@ function createOverlay(config) {
5128
5127
  return instance;
5129
5128
  }
5130
5129
  if (IS_BROWSER2) {
5131
- showVersionInfo("0.1.1").catch(() => {
5130
+ showVersionInfo("0.1.2").catch(() => {
5132
5131
  });
5133
5132
  }
5134
5133
 
5135
5134
  // src/index.ts
5136
- var VERSION = "0.1.1";
5135
+ var VERSION = "0.1.2";
5137
5136
 
5138
5137
  exports.VERSION = VERSION;
5139
5138
  exports.getConfig = getConfig;
package/dist/index.d.ts CHANGED
@@ -1,2 +1,18 @@
1
+ export { OverlayInstance, createOverlay as init } from '@caliper/overlay';
2
+ export { OverlayConfig, getConfig, setConfig } from '@caliper/core';
1
3
 
2
- export { }
4
+ /**
5
+ * @oyerinde/caliper
6
+ *
7
+ * Browser-based measurement tool overlay.
8
+ * This package bundles all dependencies for easy consumption.
9
+ *
10
+ * Usage:
11
+ * 1. Script tag (Auto-mount): <script src="@oyerinde/caliper/dist/index.global.js"></script>
12
+ * 2. ESM import (Manual): import { init } from "@oyerinde/caliper"
13
+ * 3. Initialize: const caliper = init(); caliper.mount();
14
+ */
15
+
16
+ declare const VERSION: string;
17
+
18
+ export { VERSION };
@@ -4870,7 +4870,6 @@
4870
4870
  hasActualResize = true;
4871
4871
  }
4872
4872
  if (!hasActualResize) return;
4873
- console.log("[Caliper] resize observed");
4874
4873
  for (const entry of entries) {
4875
4874
  if (entry.target === document.documentElement) {
4876
4875
  sentinelResized = true;
@@ -5124,7 +5123,7 @@
5124
5123
  return instance;
5125
5124
  }
5126
5125
  if (IS_BROWSER2) {
5127
- showVersionInfo("0.1.1").catch(() => {
5126
+ showVersionInfo("0.1.2").catch(() => {
5128
5127
  });
5129
5128
  }
5130
5129
 
package/dist/index.js CHANGED
@@ -4872,7 +4872,6 @@ function Root(config) {
4872
4872
  hasActualResize = true;
4873
4873
  }
4874
4874
  if (!hasActualResize) return;
4875
- console.log("[Caliper] resize observed");
4876
4875
  for (const entry of entries) {
4877
4876
  if (entry.target === document.documentElement) {
4878
4877
  sentinelResized = true;
@@ -5126,11 +5125,11 @@ function createOverlay(config) {
5126
5125
  return instance;
5127
5126
  }
5128
5127
  if (IS_BROWSER2) {
5129
- showVersionInfo("0.1.1").catch(() => {
5128
+ showVersionInfo("0.1.2").catch(() => {
5130
5129
  });
5131
5130
  }
5132
5131
 
5133
5132
  // src/index.ts
5134
- var VERSION = "0.1.1";
5133
+ var VERSION = "0.1.2";
5135
5134
 
5136
5135
  export { VERSION, getConfig, createOverlay as init, setConfig };
package/dist/version.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "0.1.1",
3
- "timestamp": "2026-01-13T20:57:27.963Z"
2
+ "version": "0.1.2",
3
+ "timestamp": "2026-01-13T21:26:04.784Z"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oyerinde/caliper",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "High-precision browser measurements, projections, and layout auditing",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -84,10 +84,10 @@
84
84
  "solid-js": "^1.9.10",
85
85
  "tsup": "^8.5.1",
86
86
  "typescript": "5.9.3",
87
- "@repo/eslint-config": "0.0.0",
88
- "@caliper/overlay": "0.0.0",
89
87
  "@caliper/core": "0.0.0",
90
- "@repo/typescript-config": "0.0.0"
88
+ "@repo/typescript-config": "0.0.0",
89
+ "@caliper/overlay": "0.0.0",
90
+ "@repo/eslint-config": "0.0.0"
91
91
  },
92
92
  "scripts": {
93
93
  "prebuild": "node scripts/write-version.mjs",