{"_id":"@alexanderwodarz/capacitor-ios-inapppurchase","_rev":"3-75f308856ce01ca066aba711947cd359","name":"@alexanderwodarz/capacitor-ios-inapppurchase","dist-tags":{"latest":"0.0.7"},"versions":{"0.0.1":{"name":"@alexanderwodarz/capacitor-ios-inapppurchase","version":"0.0.1","description":"Allows Capacitor Vue Apps to add in app purchases for iOS","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Alexander Wodarz"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/xLikeAlex/In-App-Purchase.git"},"bugs":{"url":"https://github.com/xLikeAlex/In-App-Purchase/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && 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}\"","swiftlint":"node-swiftlint","docgen":"docgen --api inAppPurchasePlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^5.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"}},"gitHead":"9c9361ae68e86c9cab659f04024091df34668d9d","homepage":"https://github.com/xLikeAlex/In-App-Purchase#readme","_id":"@alexanderwodarz/capacitor-ios-inapppurchase@0.0.1","_nodeVersion":"16.18.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-BhRfuVJLDc9hQ7+UxVdNFAnPzHDrBCSuwO/CgBKwdIWodo3VDRqSrULvr6rgcBzGrBGZkyQP4JHvFPOibvx7qw==","shasum":"0dc9a12e876ce9bd148f104e9fdf8fce2f7085c9","tarball":"https://registry.npmjs.org/@alexanderwodarz/capacitor-ios-inapppurchase/-/capacitor-ios-inapppurchase-0.0.1.tgz","fileCount":22,"unpackedSize":29002,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEZl9L9W94oSJC3bNzAWihOTsNNCC7Apc60NTQh+qJIAiAIpoUaMD4i7/skGo+SEM40Aeczv/NSCb97lxxhEnlMQw=="}]},"_npmUser":{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"},"directories":{},"maintainers":[{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-ios-inapppurchase_0.0.1_1688475926111_0.12829818205865506"},"_hasShrinkwrap":false},"0.0.5":{"name":"@alexanderwodarz/capacitor-ios-inapppurchase","version":"0.0.5","description":"Allows Capacitor Vue Apps to add in app purchases for iOS","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Alexander Wodarz"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/xLikeAlex/In-App-Purchase.git"},"bugs":{"url":"https://github.com/xLikeAlex/In-App-Purchase/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && 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}\"","swiftlint":"node-swiftlint","docgen":"docgen --api inAppPurchasePlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^5.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"}},"gitHead":"5219576ff1d7b7517d7c4dab186b964be6058fcd","homepage":"https://github.com/xLikeAlex/In-App-Purchase#readme","_id":"@alexanderwodarz/capacitor-ios-inapppurchase@0.0.5","_nodeVersion":"16.18.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-IdXAvH7tequguXh1ubkhzQ4bMKhacPpVQ09Zs5hKQQn9sl5RX4PSQ29gHygsqS7Diw1YptDcqARcW3erBP0TuQ==","shasum":"977c0249477b3b2d0dcd562f03125ecf96d76e78","tarball":"https://registry.npmjs.org/@alexanderwodarz/capacitor-ios-inapppurchase/-/capacitor-ios-inapppurchase-0.0.5.tgz","fileCount":21,"unpackedSize":27094,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa/HJmGmo8IudjRqycQOWeqtj2dBBnL4gt3PNRvSHJCQIhANVgoAl2qTSXH4FhFXIlHFwUfbUy8krMKj62h7ThjdTk"}]},"_npmUser":{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"},"directories":{},"maintainers":[{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-ios-inapppurchase_0.0.5_1688477957685_0.7128315116575668"},"_hasShrinkwrap":false},"0.0.6":{"name":"@alexanderwodarz/capacitor-ios-inapppurchase","version":"0.0.6","description":"Allows Capacitor Vue Apps to add in app purchases for iOS","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Alexander Wodarz"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/xLikeAlex/In-App-Purchase.git"},"bugs":{"url":"https://github.com/xLikeAlex/In-App-Purchase/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && 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}\"","swiftlint":"node-swiftlint","docgen":"docgen --api inAppPurchasePlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^5.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"}},"gitHead":"5219576ff1d7b7517d7c4dab186b964be6058fcd","homepage":"https://github.com/xLikeAlex/In-App-Purchase#readme","_id":"@alexanderwodarz/capacitor-ios-inapppurchase@0.0.6","_nodeVersion":"16.18.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-Fd7TnDP6gTz/R9hwXYYlj8vk0DuxazK7P/dNqnAJCHW8uufg0KQhWjsuQYsKbzqK7+44zIvMY5JFy/QK4fjd2Q==","shasum":"e0ed633e7714333b88162f0b35f358bcf30abdcb","tarball":"https://registry.npmjs.org/@alexanderwodarz/capacitor-ios-inapppurchase/-/capacitor-ios-inapppurchase-0.0.6.tgz","fileCount":21,"unpackedSize":27118,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDJVkqFT/FOwRDmHceBtLjo6dxP2iFe/20a+9zeNmZxDAiEArbaAxWCNk3ShZ+DAN50qGEnZPd4DqC03SiJUHcS1um4="}]},"_npmUser":{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"},"directories":{},"maintainers":[{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-ios-inapppurchase_0.0.6_1688478667705_0.3467899590133181"},"_hasShrinkwrap":false},"0.0.7":{"name":"@alexanderwodarz/capacitor-ios-inapppurchase","version":"0.0.7","description":"Allows Capacitor Vue Apps to add in app purchases for iOS","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Alexander Wodarz"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/xLikeAlex/In-App-Purchase.git"},"bugs":{"url":"https://github.com/xLikeAlex/In-App-Purchase/issues"},"keywords":["capacitor","plugin","native"],"scripts":{"verify":"npm run verify:ios && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && 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}\"","swiftlint":"node-swiftlint","docgen":"docgen --api inAppPurchasePlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && tsc && rollup -c rollup.config.js","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/core":"^5.0.0","@capacitor/docgen":"^0.0.18","@capacitor/ios":"^5.0.0","@ionic/eslint-config":"^0.3.0","@ionic/prettier-config":"^1.0.1","@ionic/swiftlint-config":"^1.1.2","eslint":"^7.11.0","prettier":"~2.3.0","prettier-plugin-java":"~1.0.2","rimraf":"^3.0.2","rollup":"^2.32.0","swiftlint":"^1.0.1","typescript":"~4.1.5"},"peerDependencies":{"@capacitor/core":"^5.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"}},"gitHead":"72253f2f5d5e4c00382523e151179fb752172a21","homepage":"https://github.com/xLikeAlex/In-App-Purchase#readme","_id":"@alexanderwodarz/capacitor-ios-inapppurchase@0.0.7","_nodeVersion":"16.18.1","_npmVersion":"9.7.2","dist":{"integrity":"sha512-u5nVmaL04p6GaN2Z/OmqDqaCESjZ6c1AALI9wiMND46jhwg6ScWaQRbKCGqmGmHxqpUslfhwQde4TzMfSF8wxw==","shasum":"1257d3c051ff2d0c641b6fab4566d54750db6953","tarball":"https://registry.npmjs.org/@alexanderwodarz/capacitor-ios-inapppurchase/-/capacitor-ios-inapppurchase-0.0.7.tgz","fileCount":21,"unpackedSize":33390,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCSQqGy4xqJu2kjBu+1n9MqV0tATlGncnf4Wj/ao963NgIgSRBgydORRgNSuBGc83coa+9NAYgUf7u/R5b08K1qHN4="}]},"_npmUser":{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"},"directories":{},"maintainers":[{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/capacitor-ios-inapppurchase_0.0.7_1688586385966_0.01943826885415567"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-04T13:05:26.050Z","0.0.1":"2023-07-04T13:05:26.340Z","modified":"2023-07-05T19:46:26.269Z","0.0.5":"2023-07-04T13:39:17.869Z","0.0.6":"2023-07-04T13:51:07.844Z","0.0.7":"2023-07-05T19:46:26.164Z"},"maintainers":[{"name":"alexanderwodarz","email":"npm@alexanderwodarz.de"}],"description":"Allows Capacitor Vue Apps to add in app purchases for iOS","homepage":"https://github.com/xLikeAlex/In-App-Purchase#readme","keywords":["capacitor","plugin","native"],"repository":{"type":"git","url":"git+https://github.com/xLikeAlex/In-App-Purchase.git"},"author":{"name":"Alexander Wodarz"},"bugs":{"url":"https://github.com/xLikeAlex/In-App-Purchase/issues"},"license":"MIT","readme":"# @alexanderwodarz/capacitor-ios-inapppurchase\n\nAllows Capacitor Vue Apps to add in app purchases for iOS\n\n## Install\n\n```bash\nnpm install @alexanderwodarz/capacitor-ios-inapppurchase\nnpx cap sync\n```\n\n## Preparations\n1. After installation open Xcode\n2. Click on Project Navigator > App\n3. Create a new \"StoreKit Configuration File\" file with name \"Product\"\n4. Create a new \"Property List\" file with name \"PropertyList\"\n5. Make sure that both files are directly in \"App\" located and not in any other directory\n6. Click in Project Navigator on Product and configure your products\n7. Click on PropertyList and map your Reference Name with your id\n8. Press CMD + Shift + , to open \"scheme edit\"\n9. Select left Run and Options\n10. Select \"Product.storekit\" in \"StoreKit Configuration\"\n\n## Notes\nCurrently just tested with \"Non-Consumable In-App Purchase\"\n\n## API\n\n<docgen-index>\n\n* [`list(...)`](#list)\n* [`getStoreProducts()`](#getstoreproducts)\n* [`getPurchasedItems()`](#getpurchaseditems)\n* [`getProduct(...)`](#getproduct)\n* [`purchase(...)`](#purchase)\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### list(...)\n\n```typescript\nlist(options: { list: [registerProduct]; }) => Promise<{ value: boolean; }>\n```\n\n| Param         | Type                                      |\n| ------------- | ----------------------------------------- |\n| **`options`** | <code>{ list: [registerProduct]; }</code> |\n\n**Returns:** <code>Promise&lt;{ value: boolean; }&gt;</code>\n\n--------------------\n\n\n### getStoreProducts()\n\n```typescript\ngetStoreProducts() => Promise<any>\n```\n\n**Returns:** <code>Promise&lt;any&gt;</code>\n\n--------------------\n\n\n### getPurchasedItems()\n\n```typescript\ngetPurchasedItems() => Promise<any>\n```\n\n**Returns:** <code>Promise&lt;any&gt;</code>\n\n--------------------\n\n\n### getProduct(...)\n\n```typescript\ngetProduct(options: { id: string; }) => Promise<{ value: string; }>\n```\n\n| Param         | Type                         |\n| ------------- | ---------------------------- |\n| **`options`** | <code>{ id: string; }</code> |\n\n**Returns:** <code>Promise&lt;{ value: string; }&gt;</code>\n\n--------------------\n\n\n### purchase(...)\n\n```typescript\npurchase(options: { id: string; }) => Promise<{ value: boolean; }>\n```\n\n| Param         | Type                         |\n| ------------- | ---------------------------- |\n| **`options`** | <code>{ id: string; }</code> |\n\n**Returns:** <code>Promise&lt;{ value: boolean; }&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### registerProduct\n\n| Prop            | Type                |\n| --------------- | ------------------- |\n| **`reference`** | <code>string</code> |\n| **`id`**        | <code>string</code> |\n\n</docgen-api>\n","readmeFilename":"README.md"}