{"_id":"@astrocreep/capacitor-gamecenter","_rev":"1-436820946e55b6ed79151711bcd32fb2","name":"@astrocreep/capacitor-gamecenter","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.1":{"name":"@astrocreep/capacitor-gamecenter","version":"0.0.1","keywords":["capacitor","plugin","native"],"author":{"name":"Florian Hofmann"},"license":"MIT","_id":"@astrocreep/capacitor-gamecenter@0.0.1","maintainers":[{"name":"astrocreep","email":"florian@astrocreep.de"}],"homepage":"https://github.com/astrocreep/capacitor-plugins#readme","bugs":{"url":"https://github.com/astrocreep/capacitor-plugins/issues"},"dist":{"shasum":"243b71cbbeab11b8f26dd858995fe0cecb8861ed","tarball":"https://registry.npmjs.org/@astrocreep/capacitor-gamecenter/-/capacitor-gamecenter-0.0.1.tgz","fileCount":19,"integrity":"sha512-9vgrRxYS4SWmbGeE+HG7uOvU3yB3WF281K18Z56WMHSrzGEcH5gd9bibwTRWjepwcBSu6JVN6sqnNcH5AtA82g==","signatures":[{"sig":"MEUCICflFkBaXimFrM/etoFwN1L0qZA3clcCr0HMLkHuHa3AAiEAsmMq/xoYZAqh1/h4tbz8GA3WNC3+1HTAKgGX6OAuN5U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19104},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","gitHead":"dcb587f772ef7acc1319717b0c6a796506bd4b72","scripts":{"build":"pnpm run clean && pnpm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","docgen":"docgen --api GameCenterPlugin --output-readme README.md --output-json dist/docs.json","verify":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","prepublishOnly":"pnpm run build"},"_npmUser":{"name":"astrocreep","email":"florian@astrocreep.de"},"capacitor":{"ios":{"src":"ios"}},"repository":{"url":"git+https://github.com/astrocreep/capacitor-plugins.git","type":"git"},"_npmVersion":"10.2.4","description":"GameCenter for Capacitor.js","directories":{},"_nodeVersion":"20.11.1","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.0.1","rollup":"^2.79.1","typescript":"^5.5.4","@types/node":"^20.16.3","@capacitor/ios":"^6.1.2","@capacitor/core":"^6.1.2","@capacitor/docgen":"^0.2.2"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"_npmOperationalInternal":{"tmp":"tmp/capacitor-gamecenter_0.0.1_1725437685446_0.18060479938886065","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@astrocreep/capacitor-gamecenter","version":"0.1.0","description":"GameCenter for Capacitor.js","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Florian Hofmann"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/astrocreep/capacitor-plugins.git"},"bugs":{"url":"https://github.com/astrocreep/capacitor-plugins/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","docgen":"docgen --api GameCenterPlugin --output-readme README.md --output-json dist/docs.json","build":"pnpm run clean && pnpm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","prepublishOnly":"pnpm run build"},"devDependencies":{"@capacitor/core":"^6.1.2","@capacitor/docgen":"^0.2.2","@capacitor/ios":"^6.1.2","@types/node":"^20.16.3","rimraf":"^6.0.1","rollup":"^2.79.1","typescript":"^5.5.4"},"peerDependencies":{"@capacitor/core":"^6.0.0"},"capacitor":{"ios":{"src":"ios"}},"_id":"@astrocreep/capacitor-gamecenter@0.1.0","gitHead":"ecd48cd9505daf6d54ae1b4eaa16e28d93b75177","homepage":"https://github.com/astrocreep/capacitor-plugins#readme","_nodeVersion":"20.11.1","_npmVersion":"10.2.4","dist":{"integrity":"sha512-+b6sfKbM/OR8VsIYyu3SxrYhCOQs5f9Ou+98liX44En5JuQxjraPyNIfrJwrUidpbxRLJN1wHHCkdfLKUHEWKw==","shasum":"275617f338ecf474c74afc6305eeaca29c11454c","tarball":"https://registry.npmjs.org/@astrocreep/capacitor-gamecenter/-/capacitor-gamecenter-0.1.0.tgz","fileCount":19,"unpackedSize":19124,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWGDXYKr71V8rgv2RWZGHRFOWkLBst7LlAXhMZJKiv+gIgFtS0J24HMWmUEuw9vZe/ofhvG7smaj8ZyCHc/32sZR0="}]},"_npmUser":{"name":"astrocreep","email":"florian@astrocreep.de"},"directories":{},"maintainers":[{"name":"astrocreep","email":"florian@astrocreep.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-gamecenter_0.1.0_1725438666721_0.2662774556103811"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-04T08:14:45.356Z","modified":"2024-09-04T08:31:07.091Z","0.0.1":"2024-09-04T08:14:45.600Z","0.1.0":"2024-09-04T08:31:06.928Z"},"bugs":{"url":"https://github.com/astrocreep/capacitor-plugins/issues"},"author":{"name":"Florian Hofmann"},"license":"MIT","homepage":"https://github.com/astrocreep/capacitor-plugins#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/astrocreep/capacitor-plugins.git"},"description":"GameCenter for Capacitor.js","maintainers":[{"name":"astrocreep","email":"florian@astrocreep.de"}],"readme":"# @astrocreep/capacitor-gamecenter\n\nGameCenter for Capacitor.js\niOS only\n\n## Install\n\n```bash\nnpm install @astrocreep/capacitor-gamecenter\nnpx cap sync\n```\n\n## API\n\n<docgen-index>\n\n* [`authenticate()`](#authenticate)\n* [`toggleAccessPoint(...)`](#toggleaccesspoint)\n* [`addScore(...)`](#addscore)\n* [`progressAchievement(...)`](#progressachievement)\n* [Interfaces](#interfaces)\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### authenticate()\n\n```typescript\nauthenticate() => Promise<void>\n```\n\n--------------------\n\n\n### toggleAccessPoint(...)\n\n```typescript\ntoggleAccessPoint(options: ToggleAccessPointOptions) => Promise<void>\n```\n\n| Param         | Type                                                                          |\n| ------------- | ----------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#toggleaccesspointoptions\">ToggleAccessPointOptions</a></code> |\n\n--------------------\n\n\n### addScore(...)\n\n```typescript\naddScore(options: AddScoreOptions) => Promise<AddScoreResult>\n```\n\n| Param         | Type                                                        |\n| ------------- | ----------------------------------------------------------- |\n| **`options`** | <code><a href=\"#addscoreoptions\">AddScoreOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#addscoreresult\">AddScoreResult</a>&gt;</code>\n\n--------------------\n\n\n### progressAchievement(...)\n\n```typescript\nprogressAchievement(options: ProgressAchievementOptions) => Promise<void>\n```\n\n| Param         | Type                                                                              |\n| ------------- | --------------------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#progressachievementoptions\">ProgressAchievementOptions</a></code> |\n\n--------------------\n\n\n### Interfaces\n\n\n#### ToggleAccessPointOptions\n\n| Prop       | Type                 |\n| ---------- | -------------------- |\n| **`show`** | <code>boolean</code> |\n\n\n#### AddScoreResult\n\n| Prop          | Type                 |\n| ------------- | -------------------- |\n| **`success`** | <code>boolean</code> |\n\n\n#### AddScoreOptions\n\n| Prop             | Type                |\n| ---------------- | ------------------- |\n| **`identifier`** | <code>string</code> |\n| **`score`**      | <code>number</code> |\n\n\n#### ProgressAchievementOptions\n\n| Prop             | Type                |\n| ---------------- | ------------------- |\n| **`identifier`** | <code>string</code> |\n| **`progress`**   | <code>number</code> |\n\n</docgen-api>\n","readmeFilename":"README.md"}