@m5kdev/frontend 0.18.0 → 0.19.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/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;
|
|
1368
1367
|
onboarding?: number | null | undefined;
|
|
1369
1368
|
preferences?: string | null | undefined;
|
|
1370
1369
|
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;
|
|
1529
1528
|
onboarding?: number | null | undefined;
|
|
1530
1529
|
preferences?: string | null | undefined;
|
|
1531
1530
|
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;
|
|
1811
1810
|
onboarding?: number | null | undefined;
|
|
1812
1811
|
preferences?: string | null | undefined;
|
|
1813
1812
|
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;
|
|
1977
1976
|
onboarding?: number | null | undefined;
|
|
1978
1977
|
preferences?: string | null | undefined;
|
|
1979
1978
|
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;
|
|
2017
2016
|
onboarding?: number | null | undefined;
|
|
2018
2017
|
preferences?: string | null | undefined;
|
|
2019
2018
|
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;
|
|
1368
1367
|
onboarding?: number | null | undefined;
|
|
1369
1368
|
preferences?: string | null | undefined;
|
|
1370
1369
|
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;
|
|
1529
1528
|
onboarding?: number | null | undefined;
|
|
1530
1529
|
preferences?: string | null | undefined;
|
|
1531
1530
|
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;
|
|
1811
1810
|
onboarding?: number | null | undefined;
|
|
1812
1811
|
preferences?: string | null | undefined;
|
|
1813
1812
|
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;
|
|
1977
1976
|
onboarding?: number | null | undefined;
|
|
1978
1977
|
preferences?: string | null | undefined;
|
|
1979
1978
|
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;
|
|
2017
2016
|
onboarding?: number | null | undefined;
|
|
2018
2017
|
preferences?: string | null | undefined;
|
|
2019
2018
|
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 | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined
|
|
21
|
+
}): string | number | bigint | true | _$react_jsx_runtime0.JSX.Element | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined>;
|
|
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,QAAA,
|
|
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,oBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,QAAA,CAAA,OAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA"}
|
|
@@ -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 | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined
|
|
21
|
+
}): string | number | bigint | true | _$react_jsx_runtime0.JSX.Element | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined>;
|
|
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,QAAA,
|
|
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,oBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,QAAA,CAAA,OAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA"}
|
|
@@ -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;
|
|
18
17
|
onboarding?: number | null | undefined;
|
|
19
18
|
preferences?: string | null | undefined;
|
|
20
19
|
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;
|
|
18
17
|
onboarding?: number | null | undefined;
|
|
19
18
|
preferences?: string | null | undefined;
|
|
20
19
|
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 | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> |
|
|
20
|
+
}): string | number | bigint | boolean | _$react_jsx_runtime0.JSX.Element | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> | 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,QAAA,
|
|
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,oBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,QAAA,CAAA,OAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA"}
|
|
@@ -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 | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> |
|
|
20
|
+
}): string | number | bigint | boolean | _$react_jsx_runtime0.JSX.Element | Iterable<_$react.ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined> | 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,QAAA,
|
|
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,oBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,QAAA,CAAA,OAAA,CAAA,SAAA,IAAA,OAAA,sCAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,YAAA,mBAAA,OAAA,CAAA,qBAAA,SAAA,QAAA,CAAA,OAAA,CAAA,SAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m5kdev/frontend",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
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.
|
|
29
|
+
"@m5kdev/commons": "0.19.0"
|
|
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.
|
|
45
|
-
"@m5kdev/backend": "0.
|
|
44
|
+
"@m5kdev/config": "0.19.0",
|
|
45
|
+
"@m5kdev/backend": "0.19.0"
|
|
46
46
|
},
|
|
47
47
|
"exports": {
|
|
48
48
|
"./modules/app/components/*": {
|