@crup/port 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.
Files changed (2) hide show
  1. package/README.md +5 -3
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -10,8 +10,6 @@ Protocol-first iframe runtime for explicit host/child communication.
10
10
 
11
11
  `@crup/port` exists for the part of embedded app work that usually rots first: lifecycle, handshake timing, and message discipline. It gives the host page a small runtime for mounting an iframe, opening it inline or in a modal, enforcing origin checks, and exchanging request/response messages without ad hoc `postMessage` glue.
12
12
 
13
- Tags: `iframe` `postMessage` `embed` `protocol` `TypeScript` `runtime`
14
-
15
13
  Package: https://www.npmjs.com/package/@crup/port
16
14
 
17
15
  Live demo: https://crup.github.io/port/
@@ -151,7 +149,7 @@ type PortMessage = {
151
149
 
152
150
  ## Demo And Examples
153
151
 
154
- - Live GitHub Pages demo: https://crup.github.io/port/
152
+ - Live GitHub Pages docs and demo: https://crup.github.io/port/
155
153
  - Inline example: [`examples/host-inline.ts`](examples/host-inline.ts)
156
154
  - Modal example: [`examples/host-modal.ts`](examples/host-modal.ts)
157
155
  - Child example: [`examples/child-basic.ts`](examples/child-basic.ts)
@@ -160,7 +158,11 @@ type PortMessage = {
160
158
  ## Documentation
161
159
 
162
160
  - Getting started: [`docs/getting-started.md`](docs/getting-started.md)
161
+ - API reference: [`docs/api-reference.md`](docs/api-reference.md)
162
+ - Lifecycle guide: [`docs/lifecycle.md`](docs/lifecycle.md)
163
+ - Events and RPC: [`docs/events-and-rpc.md`](docs/events-and-rpc.md)
163
164
  - Protocol notes: [`docs/protocol.md`](docs/protocol.md)
165
+ - Example patterns: [`docs/examples.md`](docs/examples.md)
164
166
  - Security guidance: [`docs/security.md`](docs/security.md)
165
167
  - Release process: [`docs/releasing.md`](docs/releasing.md)
166
168
  - Contributing: [`CONTRIBUTING.md`](CONTRIBUTING.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crup/port",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "A lightweight protocol-first iframe runtime for building secure host/child embeds with explicit lifecycle and messaging.",
5
5
  "homepage": "https://crup.github.io/port/",
6
6
  "repository": {
@@ -52,17 +52,17 @@
52
52
  },
53
53
  "devDependencies": {
54
54
  "@changesets/cli": "^2.29.7",
55
- "@eslint/js": "^9.25.1",
56
- "@types/node": "^24.5.2",
57
- "eslint": "^9.25.1",
58
- "globals": "^16.0.0",
55
+ "@eslint/js": "^10.0.1",
56
+ "@types/node": "^25.6.0",
57
+ "eslint": "^10.2.0",
58
+ "globals": "^17.5.0",
59
59
  "husky": "^9.1.7",
60
- "jsdom": "^25.0.1",
60
+ "jsdom": "^29.0.2",
61
61
  "tsup": "^8.3.5",
62
- "typescript": "^5.6.3",
62
+ "typescript": "^6.0.2",
63
63
  "typescript-eslint": "^8.31.1",
64
- "vite": "^7.1.10",
65
- "vitest": "^2.1.8"
64
+ "vite": "^8.0.8",
65
+ "vitest": "^4.1.4"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=18.0.0"