{"_id":"@capacitor-trancee/nearby","_rev":"9-a19b2d619fa3761d0358cb61153f5b10","name":"@capacitor-trancee/nearby","dist-tags":{"latest":"4.1.0"},"versions":{"3.2.1":{"name":"@capacitor-trancee/nearby","version":"3.2.1","keywords":["capacitor","nearby","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.2.1","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"18748e643280995f8b902fbbe5835ec60fc73cad","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.2.1.tgz","fileCount":29,"integrity":"sha512-uLQVh+EfwfjnqcMZLpSRo2jbmK228HoFUJZHD8MbkcjwsGpaizhfZbcpNwmNW+BFyMrx8rhaFDAMUpzHVLD4SA==","signatures":[{"sig":"MEUCIQCGq7qAjDYE9ffD0XwcGCf6ljBSO+m0hxTNosGU/mYx1gIgF1oYOx4bbg+nUoLdaeB1M/lqbtb/LB2aVz05qjoSO+4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170194},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"ef6adf43d5c96888fde8fe04d0dc12453c0078fb","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.5.2","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^5.0.4","@capacitor/core":"^5.0.4","@capacitor/docgen":"^0.0.18","@capacitor/android":"^5.0.4","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.17","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^5.0.4"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.2.1_1712945888467_0.4618286927910078","host":"s3://npm-registry-packages"}},"3.2.2":{"name":"@capacitor-trancee/nearby","version":"3.2.2","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.2.2","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"1035c216f28aa88bc9b1e80b61aa418016bd29fc","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.2.2.tgz","fileCount":29,"integrity":"sha512-+TnVXHhaDhtdrxjRTPQ9nivh0KkvL/uHdxaR73TDlmOcbBV6vT4xjo+iJa3eVDpHT4YTuHC/+KzXwcyMuO3+9Q==","signatures":[{"sig":"MEYCIQCJXOQMRmOIiIyPbuVFhGwG5rUWMkwlxzCQdmcP3JO4xgIhAM+B8bU8AInMVpcvroshWjV+dJ4sSmczzN+/AsTWEHpb","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170815},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"4a5915f3cc8050f28fc4c9c20ae605ef26ac56aa","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.5.2","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^5.7.4","@capacitor/core":"^5.7.4","@capacitor/docgen":"^0.0.18","@capacitor/android":"^5.7.4","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^5.7.4"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.2.2_1712948029279_0.4095583770581812","host":"s3://npm-registry-packages"}},"3.2.3":{"name":"@capacitor-trancee/nearby","version":"3.2.3","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.2.3","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"ce4621c5c6c3aefd47718d3f942c4a4269b3863e","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.2.3.tgz","fileCount":29,"integrity":"sha512-k1lluildLN96yGnY0OBj300WlYQkaOUTZDA30RCEah+xYBArmDICLsbmdXnWrB0plC1ILDtWGJmA9OpxfsvCjw==","signatures":[{"sig":"MEQCIHL5gT+cGXkDPy4AX1or2xsvfJQ6ifykKarN87bad73SAiBPVz47GK7pz/VWxcNOfftdoZ4knw+CxtUOM2WcCXQCTQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":173343},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"4a5915f3cc8050f28fc4c9c20ae605ef26ac56aa","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.5.2","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^5.7.4","@capacitor/core":"^5.7.4","@capacitor/docgen":"^0.0.18","@capacitor/android":"^5.7.4","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^5.7.4"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.2.3_1712998458514_0.7119788474460336","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"@capacitor-trancee/nearby","version":"3.3.0","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.3.0","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"3d32a25a00045bcfa112ebeb56dcff59196e5664","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.3.0.tgz","fileCount":29,"integrity":"sha512-T8p0KOFfrI04LkR5IiHPz/q6npXJ3avjjXqtjLcwpIbkPreDgYG0DyODLe0wucnz5Y7GjKaAjrdtL6zA25LT0Q==","signatures":[{"sig":"MEYCIQCjfULwdWuBHz1sLwfj9yv4ie+HhJ2FReKzDS+vEWrjqAIhAP53qsxcucXOezF37EhNvKRXRheRdi3yednLV2p4+uhU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172292},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"78564ff9eeb38fe502b0294f9f4f9815fd77c68c","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.7.0","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^6.0.0","@capacitor/core":"^6.0.0","@capacitor/docgen":"^0.0.18","@capacitor/android":"^6.0.0","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.3.0_1715253571635_0.13981420661437038","host":"s3://npm-registry-packages"}},"3.3.1":{"name":"@capacitor-trancee/nearby","version":"3.3.1","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.3.1","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"a8e83a60f9b6f973063f91fd8bd1c1e68b0c8c03","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.3.1.tgz","fileCount":29,"integrity":"sha512-5t5+5LMvd9eGTSJ1qDhf7QsIzz5ezmr2OdvmbYz7WwTJByjjDZZUFIfeML2KZ5V/4LrvRCA4fHvqU3Tb7PZhYQ==","signatures":[{"sig":"MEUCIHOQDP/lIpC0JAPv/+bIwonQUISm7b1j7+LsfsaRk+QRAiEAmgyib2C85iIF1yhrtxu4fhUlY1TDJRLxD0hCkRCU+zg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172111},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"78564ff9eeb38fe502b0294f9f4f9815fd77c68c","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.7.0","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^6.0.0","@capacitor/core":"^6.0.0","@capacitor/docgen":"^0.0.18","@capacitor/android":"^6.0.0","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.3.1_1715254152377_0.24865534965547265","host":"s3://npm-registry-packages"}},"3.3.2":{"name":"@capacitor-trancee/nearby","version":"3.3.2","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.3.2","homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"f7372ff9b1626382b47ac0a590c2c5e0b50809da","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.3.2.tgz","fileCount":29,"integrity":"sha512-uYeGzlt1aVnqB/tojqEE30WKM8bUW9SX1gTR8W1X3xvv3Av1ll+wceFZ9/5FVHphPSAn5TGKQc0FOxUFGXYUCA==","signatures":[{"sig":"MEUCIHhPHtClVBVhX56+yJ2uBrt+h7mKYvu4Tpqy2UrSpb4sAiEA0SsVCAzg56uS0SJF+TcVUIUOAexNLj8RSOjf7V/DGoE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172353},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"0842ee49307ffe28ac7e56effc6db2b9be1b74eb","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.8.1","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^6.1.0","@capacitor/core":"^6.1.0","@capacitor/docgen":"^0.0.18","@capacitor/android":"^6.1.0","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.3.2_1719759089519_0.8444081892764617","host":"s3://npm-registry-packages"}},"3.3.3":{"name":"@capacitor-trancee/nearby","version":"3.3.3","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.3.3","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"f3662f3e8ebff07ba7309862bf986a6f98d8c2b1","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.3.3.tgz","fileCount":29,"integrity":"sha512-zCKfhoOZF3hZDmRA2pC0M/zInxnz5L0/tiahgOH96y1hSrWLLn1ecvuImXQxCSnFd0jHbjUJkinjhzbFnionHg==","signatures":[{"sig":"MEQCIC4excP3X3ireDcZbrn0EqOoeX6HOJTODJfDEaVXlMbKAiA+iUp4KUoKRieIVf2LFhx6I7fMKtukBfo8h4PsiuHSBw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172149},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"21bf3bbb9af22debdfef6a607d1588938f5b6823","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.8.1","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.19.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^6.1.0","@capacitor/core":"^6.1.0","@capacitor/docgen":"^0.0.18","@capacitor/android":"^6.1.0","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.3.3_1720512745229_0.14854242338494483","host":"s3://npm-registry-packages"}},"3.3.4":{"name":"@capacitor-trancee/nearby","version":"3.3.4","keywords":["capacitor","plugin","native"],"author":{"name":"Philipp Grosswiler"},"license":"MIT","_id":"@capacitor-trancee/nearby@3.3.4","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"homepage":"https://github.com/trancee/capacitor-nearby#readme","bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"dist":{"shasum":"39796813ac0b9ae47a2d947280ed61bf73dcd3d7","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-3.3.4.tgz","fileCount":29,"integrity":"sha512-TZZfk2/iJe2c0qYsLwVYrGrlcEVK/W/uapBS8oCtYdwHTu2chUY5uIYHsQnhOC6QnKDOMApoi1QiK0Q1elAmsg==","signatures":[{"sig":"MEQCIH+GRwa5tQ/QjD6pKhZQilQFX+olaqw4S1strFvTUN4qAiAwHJn83UWLHN7p0C39rz4Ryed3hO3Da5TCa6uCrgmUuA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":172143},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"4a24cd0741c3d5c1a43fc8a16b1b7c99f2cd56ad","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","upgrade":"npm install --upgrade @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config @types/web-bluetooth eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd .."},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"prettier":"@ionic/prettier-config","capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"swiftlint":"@ionic/swiftlint-config","repository":{"url":"git+https://github.com/trancee/capacitor-nearby.git","type":"git"},"_npmVersion":"10.8.1","description":"Uses Bluetooth LE to scan and advertise for nearby devices","directories":{},"_nodeVersion":"18.19.1","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^7.32.0","rimraf":"^3.0.2","rollup":"^2.79.1","prettier":"~2.3.0","swiftlint":"^1.0.2","typescript":"~4.1.5","@capacitor/ios":"^6.1.0","@capacitor/core":"^6.1.0","@capacitor/docgen":"^0.0.18","@capacitor/android":"^6.1.0","@ionic/eslint-config":"^0.3.0","@types/web-bluetooth":"^0.0.20","prettier-plugin-java":"~1.0.2","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/nearby_3.3.4_1720521527190_0.3674222290776399","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"@capacitor-trancee/nearby","version":"4.1.0","description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/trancee/capacitor-nearby.git"},"bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"xcodebuild -scheme CapacitorTranceeNearby -destination generic/platform=iOS","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","docgen":"docgen --api NearbyPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build","upgrade":"npm install --upgrade @capacitor/cli @capacitor/core @capacitor/docgen @capacitor/android @capacitor/ios @ionic/eslint-config @ionic/prettier-config @ionic/swiftlint-config eslint prettier prettier-plugin-java rimraf rollup swiftlint typescript"},"devDependencies":{"@capacitor/android":"^6.2.0","@capacitor/cli":"^6.2.0","@capacitor/core":"^6.2.0","@capacitor/docgen":"^0.2.2","@capacitor/ios":"^6.2.0","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","eslint":"^8.57.1","prettier":"^3.5.3","prettier-plugin-java":"^2.6.7","rimraf":"^6.0.1","rollup":"^4.38.0","swiftlint":"^2.0.0","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"publishConfig":{"access":"public"},"_id":"@capacitor-trancee/nearby@4.1.0","gitHead":"19829db5f9af5e01888547ad992826823bfdbd60","homepage":"https://github.com/trancee/capacitor-nearby#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-XLbGXzZsYvDuJ5cVIJ1CVCjDYLuRVp+gwy8Wzru4ngUdpLrShSSPDQ1DHI3c7Go8p9sb/bEW8Ma/ecSBHgyuHA==","shasum":"be09c6c8efe174a6e3528c782ddc6085d5034e86","tarball":"https://registry.npmjs.org/@capacitor-trancee/nearby/-/nearby-4.1.0.tgz","fileCount":80,"unpackedSize":274209,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCQcQOzcGYzAzDob22LI6JRhCh8WeXc7LpHChFlfcfZKgIhAOkQf6yEVmiVXz/AWKDMEGN0UNArIqBbwVquPS7vqK6m"}]},"_npmUser":{"name":"trancee","email":"philipp.grosswiler@gmail.com"},"directories":{},"maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nearby_4.1.0_1743487812854_0.09862780286346284"},"_hasShrinkwrap":false}},"time":{"created":"2024-04-12T18:18:08.332Z","modified":"2025-04-01T06:10:13.274Z","3.2.1":"2024-04-12T18:18:08.649Z","3.2.2":"2024-04-12T18:53:49.446Z","3.2.3":"2024-04-13T08:54:18.673Z","3.3.0":"2024-05-09T11:19:31.793Z","3.3.1":"2024-05-09T11:29:12.563Z","3.3.2":"2024-06-30T14:51:29.675Z","3.3.3":"2024-07-09T08:12:25.435Z","3.3.4":"2024-07-09T10:38:47.328Z","4.1.0":"2025-04-01T06:10:13.112Z"},"bugs":{"url":"https://github.com/trancee/capacitor-nearby/issues"},"author":{"name":"Philipp Grosswiler","email":"philipp.grosswiler@gmail.com"},"license":"MIT","homepage":"https://github.com/trancee/capacitor-nearby#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/trancee/capacitor-nearby.git"},"description":"Uses Nearby Connections peer-to-peer networking API that allows apps to easily discover, connect to, and exchange data with nearby devices in real-time, regardless of network connectivity","maintainers":[{"name":"trancee","email":"philipp.grosswiler@gmail.com"}],"readme":"# @capacitor-trancee/nearby\n\nUses Bluetooth LE to scan and advertise for nearby devices\n\n## Install\n\n```bash\nnpm install @capacitor-trancee/nearby\nnpx cap sync\n```\n\n## Example\n\n```typescript\n```\n\n## Bluetooth\n\nBLUETOOTH CORE SPECIFICATION Version 5.1 | Vol 3, Part A\n\n4.22 LE CREDIT BASED CONNECTION REQUEST (CODE 0x14)\n\n![LE Protocol/Service Multiplexer - LE_PSM](docs/le_psm.png \"LE Protocol/Service Multiplexer - LE_PSM\")\n\n## Configuration\n\n### Android\n\n```java\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH\"\n        android:maxSdkVersion=\"30\" />\n    <!-- https://developer.android.com/develop/connectivity/bluetooth/bt-permissions#discover-local-devices -->\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_ADMIN\"\n        android:maxSdkVersion=\"30\" />\n\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_ADVERTISE\"\n        android:minSdkVersion=\"31\" />\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_CONNECT\"\n        android:minSdkVersion=\"31\" />\n    <uses-permission\n        android:name=\"android.permission.BLUETOOTH_SCAN\"\n        android:minSdkVersion=\"31\"\n        android:usesPermissionFlags=\"neverForLocation\"\n        tools:targetApi=\"s\" />\n\n    <uses-permission\n        android:name=\"android.permission.ACCESS_COARSE_LOCATION\"\n        android:maxSdkVersion=\"28\" />\n    <uses-permission\n        android:name=\"android.permission.ACCESS_FINE_LOCATION\"\n        android:maxSdkVersion=\"31\"\n        android:minSdkVersion=\"29\"\n        tools:ignore=\"CoarseFineLocation\" />\n\n    <!-- https://developer.android.com/develop/connectivity/bluetooth/bt-permissions#features -->\n    <uses-feature\n        android:name=\"android.hardware.bluetooth\"\n        android:required=\"false\" />\n    <uses-feature\n        android:name=\"android.hardware.bluetooth_le\"\n        android:required=\"true\" />\n```\n\n<docgen-config>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\nThese configuration values are available:\n\n| Prop               | Type                                            | Description                                                                                                                                                                                             | Since |\n| ------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`endpointName`** | <code>string</code>                             | A human readable name for this endpoint, to appear on the remote device.                                                                                                                                | 4.1.0 |\n| **`endpointInfo`** | <code>string</code>                             | Identifing information about this endpoint, to appear on the remote device. ___Note: maximum length is 14 bytes.___                                                                                     | 4.1.0 |\n| **`serviceID`**    | <code><a href=\"#serviceid\">ServiceID</a></code> | An identifier to advertise your app to other endpoints. The `serviceID` value must uniquely identify your app. As a best practice, use the package name of your app (for example, `com.example.myapp`). | 4.1.0 |\n\n### Examples\n\nIn `capacitor.config.json`:\n\n```json\n{\n  \"plugins\": {\n    \"Nearby\": {\n      \"endpointName\": \"My App\",\n      \"endpointInfo\": \"TXkgQXBw\",\n      \"serviceID\": \"com.example.myapp\"\n    }\n  }\n}\n```\n\nIn `capacitor.config.ts`:\n\n```ts\n/// <reference types=\"@capacitor-trancee/nearby\" />\n\nimport { CapacitorConfig } from '@capacitor/cli';\n\nconst config: CapacitorConfig = {\n  plugins: {\n    Nearby: {\n      endpointName: \"My App\",\n      endpointInfo: \"TXkgQXBw\",\n      serviceID: \"com.example.myapp\",\n    },\n  },\n};\n\nexport default config;\n```\n\n</docgen-config>\n\n## API\n\n<docgen-index>\n\n* [`initialize(...)`](#initialize)\n* [`reset()`](#reset)\n* [`startAdvertising(...)`](#startadvertising)\n* [`stopAdvertising()`](#stopadvertising)\n* [`startDiscovering()`](#startdiscovering)\n* [`stopDiscovering()`](#stopdiscovering)\n* [`connect(...)`](#connect)\n* [`disconnect(...)`](#disconnect)\n* [`sendPayload(...)`](#sendpayload)\n* [`status()`](#status)\n* [`checkPermissions()`](#checkpermissions)\n* [`requestPermissions(...)`](#requestpermissions)\n* [`addListener('onPermissionChanged', ...)`](#addlisteneronpermissionchanged-)\n* [`addListener('onBluetoothStateChanged', ...)`](#addlisteneronbluetoothstatechanged-)\n* [`addListener('onEndpointFound', ...)`](#addlisteneronendpointfound-)\n* [`addListener('onEndpointLost', ...)`](#addlisteneronendpointlost-)\n* [`addListener('onEndpointConnected', ...)`](#addlisteneronendpointconnected-)\n* [`addListener('onEndpointDisconnected', ...)`](#addlisteneronendpointdisconnected-)\n* [`addListener('onPayloadReceived', ...)`](#addlisteneronpayloadreceived-)\n* [Interfaces](#interfaces)\n* [Type Aliases](#type-aliases)\n* [Enums](#enums)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### initialize(...)\n\n```typescript\ninitialize(options?: InitializeOptions | undefined) => Promise<InitializeResult>\n```\n\nInitializes Nearby for advertising and discovering of endpoints.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#initializeoptions\">InitializeOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#initializeresult\">InitializeResult</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### reset()\n\n```typescript\nreset() => Promise<void>\n```\n\nStops and resets advertising and discovering of endpoints.\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### startAdvertising(...)\n\n```typescript\nstartAdvertising(options?: StartAdvertisingOptions | undefined) => Promise<void>\n```\n\nStarts advertising the local endpoint.\n\n| Param         | Type                                                                        |\n| ------------- | --------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#startadvertisingoptions\">StartAdvertisingOptions</a></code> |\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### stopAdvertising()\n\n```typescript\nstopAdvertising() => Promise<void>\n```\n\nStops advertising the local endpoint.\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### startDiscovering()\n\n```typescript\nstartDiscovering() => Promise<void>\n```\n\nStarts discovering remote endpoints.\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### stopDiscovering()\n\n```typescript\nstopDiscovering() => Promise<void>\n```\n\nStops discovering remote endpoints.\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### connect(...)\n\n```typescript\nconnect(options: ConnectOptions) => Promise<void>\n```\n\n| Param         | Type                                                      |\n| ------------- | --------------------------------------------------------- |\n| **`options`** | <code><a href=\"#connectoptions\">ConnectOptions</a></code> |\n\n--------------------\n\n\n### disconnect(...)\n\n```typescript\ndisconnect(options: DisconnectOptions) => Promise<void>\n```\n\nDisconnects from a remote endpoint.\n`Payload`s can no longer be sent to or received from the endpoint after this method is called.\n\n| Param         | Type                                                            |\n| ------------- | --------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#disconnectoptions\">DisconnectOptions</a></code> |\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### sendPayload(...)\n\n```typescript\nsendPayload(options: SendPayloadOptions) => Promise<void>\n```\n\nSends a <a href=\"#payload\">`Payload`</a> to a remote endpoint.\n\n| Param         | Type                                                              |\n| ------------- | ----------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#sendpayloadoptions\">SendPayloadOptions</a></code> |\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### status()\n\n```typescript\nstatus() => Promise<StatusResult>\n```\n\nReturns advertising and discovering status, and discovered endpoints.\n\n**Returns:** <code>Promise&lt;<a href=\"#statusresult\">StatusResult</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### checkPermissions()\n\n```typescript\ncheckPermissions() => Promise<PermissionStatus>\n```\n\nCheck for the appropriate permissions to use Nearby.\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### requestPermissions(...)\n\n```typescript\nrequestPermissions(permissions?: NearbyPermissions | undefined) => Promise<PermissionStatus>\n```\n\nRequest the appropriate permissions to use Nearby.\n\n| Param             | Type                                                            |\n| ----------------- | --------------------------------------------------------------- |\n| **`permissions`** | <code><a href=\"#nearbypermissions\">NearbyPermissions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#permissionstatus\">PermissionStatus</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onPermissionChanged', ...)\n\n```typescript\naddListener(eventName: 'onPermissionChanged', listenerFunc: (granted: boolean) => void) => Promise<PluginListenerHandle>\n```\n\nCalled when permission is granted or revoked for this app to use Nearby.\n\n| Param              | Type                                       |\n| ------------------ | ------------------------------------------ |\n| **`eventName`**    | <code>'onPermissionChanged'</code>         |\n| **`listenerFunc`** | <code>(granted: boolean) =&gt; void</code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onBluetoothStateChanged', ...)\n\n```typescript\naddListener(eventName: 'onBluetoothStateChanged', listenerFunc: (state: BluetoothState) => void) => Promise<PluginListenerHandle>\n```\n\nCalled when state of Bluetooth has changed.\n\n| Param              | Type                                                                          |\n| ------------------ | ----------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onBluetoothStateChanged'</code>                                        |\n| **`listenerFunc`** | <code>(state: <a href=\"#bluetoothstate\">BluetoothState</a>) =&gt; void</code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onEndpointFound', ...)\n\n```typescript\naddListener(eventName: 'onEndpointFound', listenerFunc: EndpointFoundCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is discovered.\n\n| Param              | Type                                                                    |\n| ------------------ | ----------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointFound'</code>                                          |\n| **`listenerFunc`** | <code><a href=\"#endpointfoundcallback\">EndpointFoundCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onEndpointLost', ...)\n\n```typescript\naddListener(eventName: 'onEndpointLost', listenerFunc: EndpointLostCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is no longer discoverable.\n\n| Param              | Type                                                                  |\n| ------------------ | --------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointLost'</code>                                         |\n| **`listenerFunc`** | <code><a href=\"#endpointlostcallback\">EndpointLostCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onEndpointConnected', ...)\n\n```typescript\naddListener(eventName: 'onEndpointConnected', listenerFunc: EndpointConnectedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is connected.\n\n| Param              | Type                                                                            |\n| ------------------ | ------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointConnected'</code>                                              |\n| **`listenerFunc`** | <code><a href=\"#endpointconnectedcallback\">EndpointConnectedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onEndpointDisconnected', ...)\n\n```typescript\naddListener(eventName: 'onEndpointDisconnected', listenerFunc: EndpointDisconnectedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a remote endpoint is disconnected or has become unreachable.\n\n| Param              | Type                                                                                  |\n| ------------------ | ------------------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onEndpointDisconnected'</code>                                                 |\n| **`listenerFunc`** | <code><a href=\"#endpointdisconnectedcallback\">EndpointDisconnectedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### addListener('onPayloadReceived', ...)\n\n```typescript\naddListener(eventName: 'onPayloadReceived', listenerFunc: PayloadReceivedCallback) => Promise<PluginListenerHandle>\n```\n\nCalled when a <a href=\"#payload\">`Payload`</a> is received from a remote endpoint.\n\n| Param              | Type                                                                        |\n| ------------------ | --------------------------------------------------------------------------- |\n| **`eventName`**    | <code>'onPayloadReceived'</code>                                            |\n| **`listenerFunc`** | <code><a href=\"#payloadreceivedcallback\">PayloadReceivedCallback</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n**Since:** 4.1.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### InitializeResult\n\n| Prop             | Type                                              | Description                            | Since |\n| ---------------- | ------------------------------------------------- | -------------------------------------- | ----- |\n| **`endpointID`** | <code><a href=\"#endpointid\">EndpointID</a></code> | A unique identifier for this endpoint. | 4.1.0 |\n\n\n#### InitializeOptions\n\n| Prop               | Type                                            | Description                                                                                                                                                                                             | Since |\n| ------------------ | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`endpointName`** | <code>string</code>                             | A human readable name for this endpoint, to appear on the remote device.                                                                                                                                | 4.1.0 |\n| **`endpointInfo`** | <code>string</code>                             | Identifing information about this endpoint, to appear on the remote device. ___Note: maximum length is 14 bytes.___                                                                                     | 4.1.0 |\n| **`serviceID`**    | <code><a href=\"#serviceid\">ServiceID</a></code> | An identifier to advertise your app to other endpoints. The `serviceID` value must uniquely identify your app. As a best practice, use the package name of your app (for example, `com.example.myapp`). | 4.1.0 |\n\n\n#### StartAdvertisingOptions\n\n| Prop               | Type                | Description                                                                         | Since |\n| ------------------ | ------------------- | ----------------------------------------------------------------------------------- | ----- |\n| **`endpointInfo`** | <code>string</code> | Identifing information about this endpoint. ___Note: maximum length is 14 bytes.___ | 4.1.0 |\n\n\n#### ConnectOptions\n\n| Prop             | Type                                              | Description                                           | Since |\n| ---------------- | ------------------------------------------------- | ----------------------------------------------------- | ----- |\n| **`endpointID`** | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint to connect to. | 4.1.0 |\n\n\n#### DisconnectOptions\n\n| Prop             | Type                                              | Description                                                | Since |\n| ---------------- | ------------------------------------------------- | ---------------------------------------------------------- | ----- |\n| **`endpointID`** | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint to disconnect from. | 4.1.0 |\n\n\n#### SendPayloadOptions\n\n| Prop              | Type                                              | Description                                                                   | Since |\n| ----------------- | ------------------------------------------------- | ----------------------------------------------------------------------------- | ----- |\n| **`endpointID`**  | <code><a href=\"#endpointid\">EndpointID</a></code> | The identifier for the remote endpoint to which the payload should be sent.   | 4.1.0 |\n| **`endpointIDs`** | <code>string[]</code>                             | The identifiers for the remote endpoints to which the payload should be sent. | 4.1.0 |\n| **`payload`**     | <code>string</code>                               | The <a href=\"#payload\">`Payload`</a> to be sent.                              | 4.1.0 |\n\n\n#### StatusResult\n\n| Prop                | Type                 |\n| ------------------- | -------------------- |\n| **`isAdvertising`** | <code>boolean</code> |\n| **`isDiscovering`** | <code>boolean</code> |\n\n\n#### PermissionStatus\n\n| Prop            | Type                                                        | Description                                                                                                                                                                                                                                                                                                                                                                                                   | Since |\n| --------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----- |\n| **`bluetooth`** | <code><a href=\"#permissionstate\">PermissionState</a></code> | `BLUETOOTH_ADVERTISE` Required to be able to advertise to nearby Bluetooth devices. `BLUETOOTH_CONNECT` Required to be able to connect to paired Bluetooth devices. `BLUETOOTH_SCAN` Required to be able to discover and pair nearby Bluetooth devices. `BLUETOOTH` Allows applications to connect to paired bluetooth devices. `BLUETOOTH_ADMIN` Allows applications to discover and pair bluetooth devices. | 4.1.0 |\n| **`location`**  | <code><a href=\"#permissionstate\">PermissionState</a></code> | `ACCESS_FINE_LOCATION` Allows an app to access precise location. `ACCESS_COARSE_LOCATION` Allows an app to access approximate location.                                                                                                                                                                                                                                                                       | 4.1.0 |\n\n\n#### NearbyPermissions\n\n| Prop              | Type                                |\n| ----------------- | ----------------------------------- |\n| **`permissions`** | <code>NearbyPermissionType[]</code> |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n#### Endpoint\n\n| Prop               | Type                                              | Description                                                                         | Since |\n| ------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------- | ----- |\n| **`endpointID`**   | <code><a href=\"#endpointid\">EndpointID</a></code> | The ID of the remote endpoint that was discovered.                                  | 4.1.0 |\n| **`endpointName`** | <code>string</code>                               | A human readable name for this endpoint.                                            | 4.1.0 |\n| **`endpointInfo`** | <code>string</code>                               | Identifing information about this endpoint. ___Note: maximum length is 14 bytes.___ | 4.1.0 |\n\n\n#### Payload\n\nA <a href=\"#payload\">Payload</a> sent between devices.\n\n| Prop          | Type                | Description                          | Since |\n| ------------- | ------------------- | ------------------------------------ | ----- |\n| **`payload`** | <code>string</code> | <a href=\"#payload\">Payload</a> data. | 4.1.0 |\n\n\n### Type Aliases\n\n\n#### EndpointID\n\nUsed to represent an endpoint.\n\n<code>string</code>\n\n\n#### ServiceID\n\nUsed to represent a service identifier.\n\n<code>string</code>\n\n\n#### PermissionState\n\n<code>'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'</code>\n\n\n#### NearbyPermissionType\n\n<code>'bluetooth' | 'location'</code>\n\n\n#### EndpointFoundCallback\n\nCalled when a remote endpoint is discovered.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointLostCallback\n\nCalled when a remote endpoint is no longer discoverable.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointConnectedCallback\n\nCalled when a remote endpoint is connected.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### EndpointDisconnectedCallback\n\nCalled when a remote endpoint is disconnected or has become unreachable.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a>): void</code>\n\n\n#### PayloadReceivedCallback\n\nCalled when a payload is received from a remote endpoint. Depending on the type of the payload,\nall of the data may or may not have been received at the time of this call.\n\n<code>(_: <a href=\"#endpoint\">Endpoint</a> & <a href=\"#payload\">Payload</a>): void</code>\n\n\n### Enums\n\n\n#### BluetoothState\n\n| Members            | Value                       | Description                                                                                         | Since |\n| ------------------ | --------------------------- | --------------------------------------------------------------------------------------------------- | ----- |\n| **`UNKNOWN`**      | <code>'unknown'</code>      | The manager’s state is unknown.                                                                     | 1.0.0 |\n| **`RESETTING`**    | <code>'resetting'</code>    | A state that indicates the connection with the system service was momentarily lost.                 | 1.0.0 |\n| **`UNSUPPORTED`**  | <code>'unsupported'</code>  | A state that indicates this device doesn’t support the Bluetooth low energy central or client role. | 1.0.0 |\n| **`UNAUTHORIZED`** | <code>'unauthorized'</code> | A state that indicates the application isn’t authorized to use the Bluetooth low energy role.       | 1.0.0 |\n| **`POWERED_OFF`**  | <code>'poweredOff'</code>   | A state that indicates Bluetooth is currently powered off.                                          | 1.0.0 |\n| **`POWERED_ON`**   | <code>'poweredOn'</code>    | A state that indicates Bluetooth is currently powered on and available to use.                      | 1.0.0 |\n\n</docgen-api>\n","readmeFilename":"README.md"}