@m5kdev/frontend 0.19.0 → 0.19.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/dist/src/modules/auth/auth.lib.d.mts +5 -5
- package/dist/src/modules/auth/auth.lib.d.ts +5 -5
- package/dist/src/modules/auth/components/AuthProvider.d.mts +1 -1
- package/dist/src/modules/auth/components/AuthProvider.d.mts.map +1 -1
- package/dist/src/modules/auth/components/AuthProvider.d.ts +1 -1
- package/dist/src/modules/auth/components/AuthProvider.d.ts.map +1 -1
- package/dist/src/modules/auth/hooks/useSession.d.mts +1 -1
- package/dist/src/modules/auth/hooks/useSession.d.ts +1 -1
- package/dist/src/modules/billing/components/BillingProvider.d.mts +1 -1
- package/dist/src/modules/billing/components/BillingProvider.d.mts.map +1 -1
- package/dist/src/modules/billing/components/BillingProvider.d.ts +1 -1
- package/dist/src/modules/billing/components/BillingProvider.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1364,10 +1364,10 @@ declare const authClient: {
|
|
|
1364
1364
|
callbackURL?: string | undefined;
|
|
1365
1365
|
fetchOptions?: FetchOptions | undefined;
|
|
1366
1366
|
} & {} & {} & {} & {
|
|
1367
|
+
stripeCustomerId?: string | null | undefined;
|
|
1367
1368
|
onboarding?: number | null | undefined;
|
|
1368
1369
|
preferences?: string | null | undefined;
|
|
1369
1370
|
flags?: string | null | undefined;
|
|
1370
|
-
stripeCustomerId?: string | null | undefined;
|
|
1371
1371
|
}>, data_1?: FetchOptions | undefined) => Promise<_$better_auth_client0.BetterFetchResponse<NonNullable<{
|
|
1372
1372
|
token: null;
|
|
1373
1373
|
user: {
|
|
@@ -1525,10 +1525,10 @@ declare const authClient: {
|
|
|
1525
1525
|
name?: string | undefined;
|
|
1526
1526
|
fetchOptions?: FetchOptions | undefined;
|
|
1527
1527
|
} & Partial<{} & {} & {} & {
|
|
1528
|
+
stripeCustomerId?: string | null | undefined;
|
|
1528
1529
|
onboarding?: number | null | undefined;
|
|
1529
1530
|
preferences?: string | null | undefined;
|
|
1530
1531
|
flags?: string | null | undefined;
|
|
1531
|
-
stripeCustomerId?: string | null | undefined;
|
|
1532
1532
|
}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_$better_auth_client0.BetterFetchResponse<{
|
|
1533
1533
|
status: boolean;
|
|
1534
1534
|
}, {
|
|
@@ -1807,10 +1807,10 @@ declare const authClient: {
|
|
|
1807
1807
|
role?: string | null | undefined;
|
|
1808
1808
|
banReason?: string | null | undefined;
|
|
1809
1809
|
banExpires?: Date | null | undefined;
|
|
1810
|
+
stripeCustomerId?: string | null | undefined;
|
|
1810
1811
|
onboarding?: number | null | undefined;
|
|
1811
1812
|
preferences?: string | null | undefined;
|
|
1812
1813
|
flags?: string | null | undefined;
|
|
1813
|
-
stripeCustomerId?: string | null | undefined;
|
|
1814
1814
|
};
|
|
1815
1815
|
session: {
|
|
1816
1816
|
id: string;
|
|
@@ -1973,10 +1973,10 @@ declare const authClient: {
|
|
|
1973
1973
|
role?: string | null | undefined;
|
|
1974
1974
|
banReason?: string | null | undefined;
|
|
1975
1975
|
banExpires?: Date | null | undefined;
|
|
1976
|
+
stripeCustomerId?: string | null | undefined;
|
|
1976
1977
|
onboarding?: number | null | undefined;
|
|
1977
1978
|
preferences?: string | null | undefined;
|
|
1978
1979
|
flags?: string | null | undefined;
|
|
1979
|
-
stripeCustomerId?: string | null | undefined;
|
|
1980
1980
|
};
|
|
1981
1981
|
session: {
|
|
1982
1982
|
id: string;
|
|
@@ -2013,10 +2013,10 @@ declare const authClient: {
|
|
|
2013
2013
|
role?: string | null | undefined;
|
|
2014
2014
|
banReason?: string | null | undefined;
|
|
2015
2015
|
banExpires?: Date | null | undefined;
|
|
2016
|
+
stripeCustomerId?: string | null | undefined;
|
|
2016
2017
|
onboarding?: number | null | undefined;
|
|
2017
2018
|
preferences?: string | null | undefined;
|
|
2018
2019
|
flags?: string | null | undefined;
|
|
2019
|
-
stripeCustomerId?: string | null | undefined;
|
|
2020
2020
|
};
|
|
2021
2021
|
session: {
|
|
2022
2022
|
id: string;
|
|
@@ -1364,10 +1364,10 @@ declare const authClient: {
|
|
|
1364
1364
|
callbackURL?: string | undefined;
|
|
1365
1365
|
fetchOptions?: FetchOptions | undefined;
|
|
1366
1366
|
} & {} & {} & {} & {
|
|
1367
|
+
stripeCustomerId?: string | null | undefined;
|
|
1367
1368
|
onboarding?: number | null | undefined;
|
|
1368
1369
|
preferences?: string | null | undefined;
|
|
1369
1370
|
flags?: string | null | undefined;
|
|
1370
|
-
stripeCustomerId?: string | null | undefined;
|
|
1371
1371
|
}>, data_1?: FetchOptions | undefined) => Promise<_$better_auth_client0.BetterFetchResponse<NonNullable<{
|
|
1372
1372
|
token: null;
|
|
1373
1373
|
user: {
|
|
@@ -1525,10 +1525,10 @@ declare const authClient: {
|
|
|
1525
1525
|
name?: string | undefined;
|
|
1526
1526
|
fetchOptions?: FetchOptions | undefined;
|
|
1527
1527
|
} & Partial<{} & {} & {} & {
|
|
1528
|
+
stripeCustomerId?: string | null | undefined;
|
|
1528
1529
|
onboarding?: number | null | undefined;
|
|
1529
1530
|
preferences?: string | null | undefined;
|
|
1530
1531
|
flags?: string | null | undefined;
|
|
1531
|
-
stripeCustomerId?: string | null | undefined;
|
|
1532
1532
|
}>> | undefined, data_1?: FetchOptions | undefined) => Promise<_$better_auth_client0.BetterFetchResponse<{
|
|
1533
1533
|
status: boolean;
|
|
1534
1534
|
}, {
|
|
@@ -1807,10 +1807,10 @@ declare const authClient: {
|
|
|
1807
1807
|
role?: string | null | undefined;
|
|
1808
1808
|
banReason?: string | null | undefined;
|
|
1809
1809
|
banExpires?: Date | null | undefined;
|
|
1810
|
+
stripeCustomerId?: string | null | undefined;
|
|
1810
1811
|
onboarding?: number | null | undefined;
|
|
1811
1812
|
preferences?: string | null | undefined;
|
|
1812
1813
|
flags?: string | null | undefined;
|
|
1813
|
-
stripeCustomerId?: string | null | undefined;
|
|
1814
1814
|
};
|
|
1815
1815
|
session: {
|
|
1816
1816
|
id: string;
|
|
@@ -1973,10 +1973,10 @@ declare const authClient: {
|
|
|
1973
1973
|
role?: string | null | undefined;
|
|
1974
1974
|
banReason?: string | null | undefined;
|
|
1975
1975
|
banExpires?: Date | null | undefined;
|
|
1976
|
+
stripeCustomerId?: string | null | undefined;
|
|
1976
1977
|
onboarding?: number | null | undefined;
|
|
1977
1978
|
preferences?: string | null | undefined;
|
|
1978
1979
|
flags?: string | null | undefined;
|
|
1979
|
-
stripeCustomerId?: string | null | undefined;
|
|
1980
1980
|
};
|
|
1981
1981
|
session: {
|
|
1982
1982
|
id: string;
|
|
@@ -2013,10 +2013,10 @@ declare const authClient: {
|
|
|
2013
2013
|
role?: string | null | undefined;
|
|
2014
2014
|
banReason?: string | null | undefined;
|
|
2015
2015
|
banExpires?: Date | null | undefined;
|
|
2016
|
+
stripeCustomerId?: string | null | undefined;
|
|
2016
2017
|
onboarding?: number | null | undefined;
|
|
2017
2018
|
preferences?: string | null | undefined;
|
|
2018
2019
|
flags?: string | null | undefined;
|
|
2019
|
-
stripeCustomerId?: string | null | undefined;
|
|
2020
2020
|
};
|
|
2021
2021
|
session: {
|
|
2022
2022
|
id: string;
|
|
@@ -18,7 +18,7 @@ declare function AuthProvider({
|
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
loader?: React.ReactNode;
|
|
20
20
|
onSession?: (session: Session | null) => void;
|
|
21
|
-
}): string | number | bigint | true |
|
|
21
|
+
}): string | number | bigint | true | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> | _$react_jsx_runtime0.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AuthProvider, authProviderContext };
|
|
24
24
|
//# sourceMappingURL=AuthProvider.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.mts","names":[],"sources":["../../../../../src/modules/auth/components/AuthProvider.tsx"],"mappings":";;;;;KAIK,OAAA,GAAU,UAAA,QAAkB,UAAA,CAAW,UAAA;AAAA,cAO/B,mBAAA,EAEE,OAAA,CAFiB,OAAA;;QAExB,OAAA;;oBAEY,SAAA;AAAA;AAAA,iBAQJ,YAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,SAAA,IAAa,OAAA,EAAS,OAAA;AAAA,sCACvB,
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.mts","names":[],"sources":["../../../../../src/modules/auth/components/AuthProvider.tsx"],"mappings":";;;;;KAIK,OAAA,GAAU,UAAA,QAAkB,UAAA,CAAW,UAAA;AAAA,cAO/B,mBAAA,EAEE,OAAA,CAFiB,OAAA;;QAExB,OAAA;;oBAEY,SAAA;AAAA;AAAA,iBAQJ,YAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,SAAA,IAAa,OAAA,EAAS,OAAA;AAAA,sCACvB,QAAA,CAD8B,OAAA,CAC9B,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -18,7 +18,7 @@ declare function AuthProvider({
|
|
|
18
18
|
children: React.ReactNode;
|
|
19
19
|
loader?: React.ReactNode;
|
|
20
20
|
onSession?: (session: Session | null) => void;
|
|
21
|
-
}): string | number | bigint | true |
|
|
21
|
+
}): string | number | bigint | true | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> | _$react_jsx_runtime0.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { AuthProvider, authProviderContext };
|
|
24
24
|
//# sourceMappingURL=AuthProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthProvider.d.ts","names":[],"sources":["../../../../../src/modules/auth/components/AuthProvider.tsx"],"mappings":";;;;;KAIK,OAAA,GAAU,UAAA,QAAkB,UAAA,CAAW,UAAA;AAAA,cAO/B,mBAAA,EAEE,OAAA,CAFiB,OAAA;;QAExB,OAAA;;oBAEY,SAAA;AAAA;AAAA,iBAQJ,YAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,SAAA,IAAa,OAAA,EAAS,OAAA;AAAA,sCACvB,
|
|
1
|
+
{"version":3,"file":"AuthProvider.d.ts","names":[],"sources":["../../../../../src/modules/auth/components/AuthProvider.tsx"],"mappings":";;;;;KAIK,OAAA,GAAU,UAAA,QAAkB,UAAA,CAAW,UAAA;AAAA,cAO/B,mBAAA,EAEE,OAAA,CAFiB,OAAA;;QAExB,OAAA;;oBAEY,SAAA;AAAA;AAAA,iBAQJ,YAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,SAAA,IAAa,OAAA,EAAS,OAAA;AAAA,sCACvB,QAAA,CAD8B,OAAA,CAC9B,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -14,10 +14,10 @@ declare function useSession(): {
|
|
|
14
14
|
role?: string | null | undefined;
|
|
15
15
|
banReason?: string | null | undefined;
|
|
16
16
|
banExpires?: Date | null | undefined;
|
|
17
|
+
stripeCustomerId?: string | null | undefined;
|
|
17
18
|
onboarding?: number | null | undefined;
|
|
18
19
|
preferences?: string | null | undefined;
|
|
19
20
|
flags?: string | null | undefined;
|
|
20
|
-
stripeCustomerId?: string | null | undefined;
|
|
21
21
|
};
|
|
22
22
|
session: {
|
|
23
23
|
id: string;
|
|
@@ -14,10 +14,10 @@ declare function useSession(): {
|
|
|
14
14
|
role?: string | null | undefined;
|
|
15
15
|
banReason?: string | null | undefined;
|
|
16
16
|
banExpires?: Date | null | undefined;
|
|
17
|
+
stripeCustomerId?: string | null | undefined;
|
|
17
18
|
onboarding?: number | null | undefined;
|
|
18
19
|
preferences?: string | null | undefined;
|
|
19
20
|
flags?: string | null | undefined;
|
|
20
|
-
stripeCustomerId?: string | null | undefined;
|
|
21
21
|
};
|
|
22
22
|
session: {
|
|
23
23
|
id: string;
|
|
@@ -17,7 +17,7 @@ declare function BillingProvider({
|
|
|
17
17
|
loader?: React.ReactNode;
|
|
18
18
|
planPage: React.ReactNode;
|
|
19
19
|
skipPlanCheck?: boolean;
|
|
20
|
-
}): string | number | bigint | boolean |
|
|
20
|
+
}): string | number | bigint | boolean | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> | _$react_jsx_runtime0.JSX.Element | null | undefined;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { BillingProvider, billingProviderContext };
|
|
23
23
|
//# sourceMappingURL=BillingProvider.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BillingProvider.d.mts","names":[],"sources":["../../../../../src/modules/billing/components/BillingProvider.tsx"],"mappings":";;;;;cAMa,sBAAA,EAEQ,OAAA,CAFc,OAAA;;QAE3B,aAAA;AAAA;AAAA,iBAMQ,eAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA,QAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,aAAA;AAAA,yCACD,
|
|
1
|
+
{"version":3,"file":"BillingProvider.d.mts","names":[],"sources":["../../../../../src/modules/billing/components/BillingProvider.tsx"],"mappings":";;;;;cAMa,sBAAA,EAEQ,OAAA,CAFc,OAAA;;QAE3B,aAAA;AAAA;AAAA,iBAMQ,eAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA,QAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,aAAA;AAAA,yCACD,QAAA,CAF0B,OAAA,CAE1B,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
|
@@ -17,7 +17,7 @@ declare function BillingProvider({
|
|
|
17
17
|
loader?: React.ReactNode;
|
|
18
18
|
planPage: React.ReactNode;
|
|
19
19
|
skipPlanCheck?: boolean;
|
|
20
|
-
}): string | number | bigint | boolean |
|
|
20
|
+
}): string | number | bigint | boolean | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> | _$react_jsx_runtime0.JSX.Element | null | undefined;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { BillingProvider, billingProviderContext };
|
|
23
23
|
//# sourceMappingURL=BillingProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BillingProvider.d.ts","names":[],"sources":["../../../../../src/modules/billing/components/BillingProvider.tsx"],"mappings":";;;;;cAMa,sBAAA,EAEQ,OAAA,CAFc,OAAA;;QAE3B,aAAA;AAAA;AAAA,iBAMQ,eAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA,QAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,aAAA;AAAA,yCACD,
|
|
1
|
+
{"version":3,"file":"BillingProvider.d.ts","names":[],"sources":["../../../../../src/modules/billing/components/BillingProvider.tsx"],"mappings":";;;;;cAMa,sBAAA,EAEQ,OAAA,CAFc,OAAA;;QAE3B,aAAA;AAAA;AAAA,iBAMQ,eAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA,QAAA;EACA;AAAA;EAEA,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,MAAA,GAAS,KAAA,CAAM,SAAA;EACf,QAAA,EAAU,KAAA,CAAM,SAAA;EAChB,aAAA;AAAA,yCACD,QAAA,CAF0B,OAAA,CAE1B,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA,wBAAA,oBAAA,CAAA,GAAA,CAAA,OAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m5kdev/frontend",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"license": "GPL-3.0-only",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react": "19.2.1",
|
|
27
27
|
"react-dom": "19.2.1",
|
|
28
28
|
"zod": "4.2.1",
|
|
29
|
-
"@m5kdev/commons": "0.19.
|
|
29
|
+
"@m5kdev/commons": "0.19.2"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@trpc/server": "11.4.3"
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"tsdown": "0.21.7",
|
|
42
42
|
"typescript": "5.9.2",
|
|
43
43
|
"vite": "7.0.4",
|
|
44
|
-
"@m5kdev/config": "0.19.
|
|
45
|
-
"@m5kdev/backend": "0.19.
|
|
44
|
+
"@m5kdev/config": "0.19.2",
|
|
45
|
+
"@m5kdev/backend": "0.19.2"
|
|
46
46
|
},
|
|
47
47
|
"exports": {
|
|
48
48
|
"./modules/app/components/*": {
|