{ "name": "@elizaos/capacitor-gateway", "version": "2.0.3-beta.7", "description": "Connects the app to an Eliza Gateway with discovery, RPC, and realtime events.", "keywords": [ "gateway", "realtime", "rpc", "networking" ], "main": "./dist/plugin.cjs.js", "module": "./dist/esm/index.js", "types": "./dist/esm/index.d.ts", "exports": { ".": { "types": "./dist/esm/index.d.ts", "bun": "./src/index.ts", "development": "./src/index.ts", "import": "./dist/esm/index.js", "require": "./dist/plugin.cjs.js" }, "./package.json": "./package.json" }, "unpkg": "dist/plugin.js", "files": [ "android/src/main/", "android/build.gradle", "dist/", "ios/Sources/", "ios/Plugin.xcodeproj/", "*.podspec", "dist" ], "author": "elizaOS", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/elizaOS/eliza" }, "scripts": { "verify": "bun run verify:ios && bun run verify:android && bun run verify:web", "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..", "verify:android": "cd android && ./gradlew clean build test && cd ..", "verify:web": "bun run build", "lint": "bunx @biomejs/biome check --write --unsafe . && bash -c 'if command -v swiftlint >/dev/null 2>&1; then bun run swiftlint -- lint --fix; fi'", "lint:check": "bunx @biomejs/biome check . && bash -c 'if command -v swiftlint >/dev/null 2>&1; then bun run swiftlint -- lint; fi'", "fmt": "bunx @biomejs/biome check --write --unsafe . && bash -c 'if command -v swiftlint >/dev/null 2>&1; then bun run swiftlint -- lint --fix; fi'", "format": "bunx @biomejs/biome format --write .", "format:check": "bunx @biomejs/biome format .", "swiftlint": "node-swiftlint", "docgen": "docgen --api GatewayPlugin --output-readme README.md --output-json dist/docs.json", "build": "node ../../packages/scripts/with-package-build-lock.mjs plugins/plugin-native-gateway -- bun run build:unlocked", "build:docs": "bun run clean && bun run docgen && tsc && bunx rollup -c rollup.config.mjs", "clean": "node ../../packages/scripts/rm-path-recursive.mjs dist", "test": "vitest run", "watch": "tsc --watch", "prepublishOnly": "bun run build", "build:unlocked": "bun run clean && tsc && bunx rollup -c rollup.config.mjs", "typecheck": "tsgo --noEmit -p tsconfig.json" }, "devDependencies": { "@biomejs/biome": "2.5.3", "@capacitor/core": "^8.3.1", "@capacitor/docgen": "^0.3.0", "rollup": "^4.60.2", "swiftlint": "^2.0.0", "typescript": "^6.0.3", "vitest": "^4.0.0" }, "peerDependencies": { "@capacitor/core": "^8.3.1" }, "publishConfig": { "access": "public" }, "capacitor": { "ios": { "src": "ios", "podName": "ElizaCapacitorGateway" }, "android": { "src": "android" } }, "elizaos": { "platforms": [ "browser", "node" ], "runtime": "both", "platformDetails": { "browser": "Full WebSocket connectivity, RPC request/response, event streaming. No Bonjour/mDNS discovery on web.", "node": "Full support via Electrobun with native Bonjour/mDNS discovery and WebSocket connectivity", "ios": true, "android": true } } }