@commet/next 1.0.0 → 1.0.2
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 +3 -3
package/README.md
CHANGED
|
@@ -94,7 +94,7 @@ Then link to it from your dashboard:
|
|
|
94
94
|
Webhooks are optional in Commet. You can always query the current state directly using [`@commet/node`](https://www.npmjs.com/package/@commet/node):
|
|
95
95
|
|
|
96
96
|
```typescript
|
|
97
|
-
const subscription = await commet.subscriptions.
|
|
97
|
+
const subscription = await commet.subscriptions.getActive({ customerId: userId });
|
|
98
98
|
const features = await commet.features.list({ externalId: userId });
|
|
99
99
|
```
|
|
100
100
|
|
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.2");
|
|
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.2",
|
|
4
4
|
"description": "Next.js integration for Commet billing platform",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
"author": "Commet Team",
|
|
27
27
|
"license": "MIT",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@commet/node": "5.
|
|
29
|
+
"@commet/node": "5.2.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/node": "24.12.4",
|
|
33
33
|
"next": "16.2.6",
|
|
34
34
|
"tsup": "8.5.1",
|
|
35
35
|
"typescript": "5.9.3",
|
|
36
|
-
"vitest": "4.1.
|
|
36
|
+
"vitest": "4.1.7"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"next": ">=16.0.0"
|