@chrome-stats/app-pass-sdk 2.0.0 → 2.0.1
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/README.md +10 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -82,3 +82,13 @@ if (data.status === 'ok') {
|
|
|
82
82
|
console.log('User is verified:', data.email);
|
|
83
83
|
}
|
|
84
84
|
```
|
|
85
|
+
|
|
86
|
+
## Example Extension
|
|
87
|
+
|
|
88
|
+
A full working example Chrome extension is available in the [`example/`](./example) directory. It demonstrates:
|
|
89
|
+
|
|
90
|
+
- Checking App Pass status in a popup
|
|
91
|
+
- Activating and managing App Pass subscriptions
|
|
92
|
+
- Using the SDK in a background service worker
|
|
93
|
+
|
|
94
|
+
See the [example README](./example/README.md) for setup instructions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chrome-stats/app-pass-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "SDK for App Pass integration",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/chrome": "^0.0.260",
|
|
33
|
-
"tsup": "^8.
|
|
33
|
+
"tsup": "^8.5.1"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public"
|