UNPKG

@sanity/comlink

Version:

A library for one-to-many cross-origin communication between Window contexts, built on the postMessage API.

59 lines 1.39 kB
{ "name": "@sanity/comlink", "version": "4.0.1", "keywords": [ "sanity.io", "postmessage" ], "homepage": "https://github.com/sanity-io/comlink/tree/main/packages/comlink#readme", "bugs": { "url": "https://github.com/sanity-io/comlink/issues" }, "repository": { "type": "git", "url": "git+ssh://git@github.com/sanity-io/comlink.git", "directory": "packages/comlink" }, "license": "MIT", "author": "Sanity.io <hello@sanity.io>", "sideEffects": false, "type": "module", "exports": { ".": { "source": "./src/index.ts", "default": "./dist/index.js" }, "./package.json": "./package.json" }, "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "src", "CHANGELOG.md" ], "browserslist": "extends @sanity/browserslist-config", "dependencies": { "rxjs": "^7.8.2", "uuid": "^13.0.0", "xstate": "^5.24.0" }, "devDependencies": { "@sanity/browserslist-config": "1.0.5", "@sanity/pkg-utils": "9.1.3", "typescript": "5.9.3", "vitest": "^4.0.9" }, "engines": { "node": ">=20.19 <22 || >=22.12" }, "publishConfig": { "access": "public" }, "scripts": { "build": "pkg build --strict --check --clean", "dev": "pkg watch --strict", "test": "vitest --pass-with-no-tests --typecheck" } }