@usethrottle/auth 0.4.0 → 0.6.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/dist/index.d.cts +5 -0
- package/dist/index.d.ts +5 -0
- package/dist/react/components/index.cjs +53 -8
- package/dist/react/components/index.cjs.map +1 -1
- package/dist/react/components/index.d.cts +4 -1
- package/dist/react/components/index.d.ts +4 -1
- package/dist/react/components/index.js +64 -19
- package/dist/react/components/index.js.map +1 -1
- package/dist/react/index.d.cts +5 -0
- package/dist/react/index.d.ts +5 -0
- package/package.json +10 -9
package/dist/react/index.d.cts
CHANGED
|
@@ -173,6 +173,11 @@ interface Subscription {
|
|
|
173
173
|
planReference: string;
|
|
174
174
|
planName: string | null;
|
|
175
175
|
interval: string;
|
|
176
|
+
intervalUnit: string | null;
|
|
177
|
+
intervalCount: number | null;
|
|
178
|
+
totalPayments: number | null;
|
|
179
|
+
paymentsMade: number;
|
|
180
|
+
completedAt: string | null;
|
|
176
181
|
amount: number;
|
|
177
182
|
quantity: number;
|
|
178
183
|
currency: string;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -173,6 +173,11 @@ interface Subscription {
|
|
|
173
173
|
planReference: string;
|
|
174
174
|
planName: string | null;
|
|
175
175
|
interval: string;
|
|
176
|
+
intervalUnit: string | null;
|
|
177
|
+
intervalCount: number | null;
|
|
178
|
+
totalPayments: number | null;
|
|
179
|
+
paymentsMade: number;
|
|
180
|
+
completedAt: string | null;
|
|
176
181
|
amount: number;
|
|
177
182
|
quantity: number;
|
|
178
183
|
currency: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usethrottle/auth",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Buyer authentication for Throttle storefronts — headless core, React hooks, and drop-in forms.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -35,12 +35,6 @@
|
|
|
35
35
|
"./styles.css": "./dist/styles.css",
|
|
36
36
|
"./package.json": "./package.json"
|
|
37
37
|
},
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "tsup",
|
|
40
|
-
"dev": "tsup --watch",
|
|
41
|
-
"test": "vitest run",
|
|
42
|
-
"typecheck": "tsc --noEmit"
|
|
43
|
-
},
|
|
44
38
|
"peerDependencies": {
|
|
45
39
|
"react": ">=18",
|
|
46
40
|
"react-dom": ">=18"
|
|
@@ -63,12 +57,19 @@
|
|
|
63
57
|
"react-dom": "^19.1.0",
|
|
64
58
|
"tsup": "^8.0.0",
|
|
65
59
|
"typescript": "^5.7.0",
|
|
66
|
-
"vitest": "^2.1.9"
|
|
60
|
+
"vitest": "^2.1.9",
|
|
61
|
+
"@core/cadence": "0.0.1"
|
|
67
62
|
},
|
|
68
63
|
"publishConfig": {
|
|
69
64
|
"access": "public"
|
|
70
65
|
},
|
|
71
66
|
"engines": {
|
|
72
67
|
"node": ">=20"
|
|
68
|
+
},
|
|
69
|
+
"scripts": {
|
|
70
|
+
"build": "tsup",
|
|
71
|
+
"dev": "tsup --watch",
|
|
72
|
+
"test": "vitest run",
|
|
73
|
+
"typecheck": "tsc --noEmit"
|
|
73
74
|
}
|
|
74
|
-
}
|
|
75
|
+
}
|