{
    "name": "@frak-labs/frame-connector",
    "author": "Frak Labs",
    "maintainers": [
        {
            "name": "srod",
            "url": "https://twitter.com/srod"
        },
        {
            "name": "Quentin Nivelais",
            "url": "https://twitter.com/QNivelais"
        }
    ],
    "version": "0.2.0",
    "description": "Generic, type-safe RPC communication layer for bidirectional postMessage communication",
    "repository": {
        "url": "https://github.com/frak-id/wallet",
        "directory": "packages/rpc"
    },
    "homepage": "https://docs.frak.id/wallet-sdk/overview",
    "keywords": [
        "frak-labs",
        "rpc",
        "postmessage",
        "iframe",
        "type-safe",
        "bidirectional"
    ],
    "license": "GNU GPL 3.0",
    "sideEffects": false,
    "private": false,
    "publishConfig": {
        "access": "public"
    },
    "type": "module",
    "files": [
        "/dist"
    ],
    "main": "./dist/index.cjs",
    "types": "./dist/index.d.cts",
    "exports": {
        ".": {
            "import": {
                "types": "./dist/index.d.ts",
                "default": "./dist/index.js"
            },
            "require": {
                "types": "./dist/index.d.cts",
                "default": "./dist/index.cjs"
            }
        }
    },
    "scripts": {
        "lint": "biome lint .",
        "format:check": "biome check .",
        "format": "biome check --write .",
        "clean": "rimraf dist",
        "build": "tsdown",
        "build:watch": "tsdown --watch",
        "check-exports": "attw --pack .",
        "typecheck": "tsgo --noEmit",
        "prepublish": "bun run lint && bun run build",
        "publish": "echo 'Publishing rpc...'"
    },
    "peerDependencies": {
        "viem": "^2.x"
    },
    "devDependencies": {
        "@arethetypeswrong/cli": "^0.18.2",
        "@frak-labs/dev-tooling": "0.0.0",
        "@rolldown/plugin-node-polyfills": "^1.0.3",
        "@types/node": "^24.10.13",
        "tsdown": "^0.20.3",
        "typescript": "^5",
        "viem": "^2.39.0"
    }
}
