@commet/next 1.0.7 → 1.0.8
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 +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -95,7 +95,7 @@ Webhooks are optional in Commet. You can always query the current state directly
|
|
|
95
95
|
|
|
96
96
|
```typescript
|
|
97
97
|
const subscription = await commet.subscriptions.getActive({ customerId: userId });
|
|
98
|
-
const features = await commet.
|
|
98
|
+
const features = await commet.featureAccess.list({ customerId: userId });
|
|
99
99
|
```
|
|
100
100
|
|
|
101
101
|
Webhooks are useful when you want to react immediately to changes — send emails, update your database, revoke access, etc.
|
package/dist/index.js
CHANGED
|
@@ -446,7 +446,7 @@ var Webhooks = (config) => {
|
|
|
446
446
|
};
|
|
447
447
|
|
|
448
448
|
// src/index.ts
|
|
449
|
-
(0, import_node4.registerIntegration)("@commet/next", "1.0.
|
|
449
|
+
(0, import_node4.registerIntegration)("@commet/next", "1.0.8");
|
|
450
450
|
// Annotate the CommonJS export names for ESM import in node:
|
|
451
451
|
0 && (module.exports = {
|
|
452
452
|
CustomerPortal,
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commet/next",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Next.js integration for Commet billing platform",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"author": "Commet Team",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@commet/node": "
|
|
29
|
+
"@commet/node": "7.0.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "24.12.4",
|