@revenuecat/purchases-js-vega 1.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +61 -0
- package/dist/Purchases.vega.es.d.ts +2657 -0
- package/dist/Purchases.vega.es.js +30400 -0
- package/dist/Purchases.vega.umd.js +485 -0
- package/package.json +39 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 RevenueCat
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<h3 align="center">😻 In-App Subscriptions Made Easy 😻</h3>
|
|
2
|
+
<h4 align="center">For the Amazon App Store on the Vega OS</h4>
|
|
3
|
+
|
|
4
|
+
RevenueCat is a powerful, reliable, and free to use in-app purchase server with cross-platform support.
|
|
5
|
+
This repository includes all you need to manage your subscriptions on the Amazon App Store on the Vega OS using RevenueCat.
|
|
6
|
+
|
|
7
|
+
Looking for support for the Amazon App Store on Android? See [purchases-android](https://github.com/revenuecat/purchases-android).
|
|
8
|
+
|
|
9
|
+
Sign up to [get started for free](https://app.revenuecat.com/signup).
|
|
10
|
+
|
|
11
|
+
## Beta Support
|
|
12
|
+
|
|
13
|
+
Support for the Amazon App Store on Vega OS is currently in public beta. Please note that API changes may occur unexpectedly without notice during the beta period.
|
|
14
|
+
|
|
15
|
+
# Prerequisites
|
|
16
|
+
|
|
17
|
+
Login @ [app.revenuecat.com](https://app.revenuecat.com)
|
|
18
|
+
|
|
19
|
+
- Create your Amazon account if you haven't already
|
|
20
|
+
- Create a Project (if you haven't already)
|
|
21
|
+
- Add a new Amazon app in the RevenueCat Dashboard
|
|
22
|
+
- Get the API key (it will start with `amzn_`)
|
|
23
|
+
- Create some products for the Amazon App
|
|
24
|
+
- Create an offering and add packages with Amazon products
|
|
25
|
+
- Create the entitlements you need in your app and link them to the Amazon products
|
|
26
|
+
|
|
27
|
+
# Installation
|
|
28
|
+
|
|
29
|
+
- Add the library to your project's dependencies
|
|
30
|
+
- npm
|
|
31
|
+
```
|
|
32
|
+
npm install --save @revenuecat/purchases-js-vega
|
|
33
|
+
```
|
|
34
|
+
- yarn
|
|
35
|
+
```
|
|
36
|
+
yarn add --save @revenuecat/purchases-js-vega
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
# Usage
|
|
40
|
+
|
|
41
|
+
Usage instructions are coming soon to the [RevenueCat Docs](https://www.revenuecat.com/docs/).
|
|
42
|
+
|
|
43
|
+
## Update API specs
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
pnpm run extract-api
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
This will update the files in `api-report` and `vega/api-report` with the latest public API for both packages.
|
|
50
|
+
If it has uncommitted changes, CI tests will fail. Run this command and commit the changes if
|
|
51
|
+
they are expected.
|
|
52
|
+
|
|
53
|
+
# Publishing a new version
|
|
54
|
+
|
|
55
|
+
New versions are automated weekly, but you can also trigger a new release through CircleCI or locally
|
|
56
|
+
following these steps:
|
|
57
|
+
|
|
58
|
+
- Run `bundle exec fastlane bump` and follow the instructions
|
|
59
|
+
- A PR should be created with the changes and a hold job in CircleCI.
|
|
60
|
+
- Approve the hold job once tests pass. This will create a tag and continue the release in CircleCI
|
|
61
|
+
- Merge the PR once it's been released
|