@raystack/frontier 0.97.0 → 0.98.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/admin/dist/index.js +161 -157
- package/admin/dist/index.mjs +170 -166
- package/hooks/dist/index.d.ts +1 -0
- package/hooks/dist/index.js +3 -0
- package/hooks/dist/index.mjs +3 -0
- package/package.json +2 -2
- package/react/dist/index.d.ts +8 -1
- package/react/dist/index.js +6257 -3127
- package/react/dist/index.mjs +6747 -3530
package/hooks/dist/index.d.ts
CHANGED
package/hooks/dist/index.js
CHANGED
|
@@ -59,6 +59,9 @@ function handleConnectError(error, handlers) {
|
|
|
59
59
|
case import_connect.Code.NotFound:
|
|
60
60
|
(handlers == null ? void 0 : handlers.NotFound) ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
61
61
|
break;
|
|
62
|
+
case import_connect.Code.FailedPrecondition:
|
|
63
|
+
(handlers == null ? void 0 : handlers.FailedPrecondition) ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
64
|
+
break;
|
|
62
65
|
default:
|
|
63
66
|
defaultHandler(connectError);
|
|
64
67
|
}
|
package/hooks/dist/index.mjs
CHANGED
|
@@ -32,6 +32,9 @@ function handleConnectError(error, handlers) {
|
|
|
32
32
|
case Code.NotFound:
|
|
33
33
|
(handlers == null ? void 0 : handlers.NotFound) ? handlers.NotFound(connectError) : defaultHandler(connectError);
|
|
34
34
|
break;
|
|
35
|
+
case Code.FailedPrecondition:
|
|
36
|
+
(handlers == null ? void 0 : handlers.FailedPrecondition) ? handlers.FailedPrecondition(connectError) : defaultHandler(connectError);
|
|
37
|
+
break;
|
|
35
38
|
default:
|
|
36
39
|
defaultHandler(connectError);
|
|
37
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raystack/frontier",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.98.0",
|
|
4
4
|
"description": "A js library for frontier",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"@connectrpc/connect-web": "2.1.1",
|
|
103
103
|
"@hookform/resolvers": "^3.10.0",
|
|
104
104
|
"@raystack/apsara-v1": "npm:@raystack/apsara@1.0.0-rc.2",
|
|
105
|
-
"@raystack/proton": "0.1.0-
|
|
105
|
+
"@raystack/proton": "0.1.0-432d98ce56451cd9461a755d8db4842ec4354669",
|
|
106
106
|
"@tanstack/react-query": "^5.90.2",
|
|
107
107
|
"@tanstack/react-router": "^1.168.3",
|
|
108
108
|
"axios": "^1.9.0",
|
package/react/dist/index.d.ts
CHANGED
|
@@ -491,6 +491,11 @@ interface ProjectDetailsViewProps {
|
|
|
491
491
|
}
|
|
492
492
|
declare function ProjectDetailsView({ projectId, projectsLabel, onNavigateToProjects, onDeleteSuccess }: ProjectDetailsViewProps): react_jsx_runtime.JSX.Element;
|
|
493
493
|
|
|
494
|
+
interface BillingViewProps {
|
|
495
|
+
onNavigateToPlans?: () => void;
|
|
496
|
+
}
|
|
497
|
+
declare function BillingView({ onNavigateToPlans }: BillingViewProps): react_jsx_runtime.JSX.Element;
|
|
498
|
+
|
|
494
499
|
declare function TokensView(): react_jsx_runtime.JSX.Element;
|
|
495
500
|
|
|
496
501
|
interface TeamsViewProps {
|
|
@@ -521,6 +526,8 @@ interface ServiceAccountDetailsViewProps {
|
|
|
521
526
|
}
|
|
522
527
|
declare function ServiceAccountDetailsView({ serviceAccountId, serviceAccountsLabel, onNavigateToServiceAccounts, onDeleteSuccess }: ServiceAccountDetailsViewProps): react_jsx_runtime.JSX.Element;
|
|
523
528
|
|
|
529
|
+
declare function PlansView(): react_jsx_runtime.JSX.Element;
|
|
530
|
+
|
|
524
531
|
declare const PREFERENCE_OPTIONS: {
|
|
525
532
|
readonly NEWSLETTER: "newsletter";
|
|
526
533
|
};
|
|
@@ -539,4 +546,4 @@ declare function timestampToDayjs(timestamp?: Timestamp): Dayjs | null;
|
|
|
539
546
|
declare function isNullTimestamp(timestamp?: Timestamp): boolean;
|
|
540
547
|
type TimeStamp = Timestamp;
|
|
541
548
|
|
|
542
|
-
export { AvatarUpload, Container, CreateOrganization, CustomizationProvider, FrontierClientBillingOptions, FrontierClientCustomizationOptions, FrontierClientOptions, FrontierProvider, GeneralView, Header, ImageUpload, Layout, MagicLink, MagicLinkVerify, MembersView, OrganizationProfile, PREFERENCE_OPTIONS, PageHeader, PreferenceRow, PreferencesView, ProfileView, ProjectDetailsView, ProjectsView, SecurityView, ServiceAccountDetailsView, ServiceAccountsView, SessionsView, SignIn, SignUp, Subscribe, TeamDetailsView, TeamsView, TimeStamp, TokensView, Updates, ViewContainer, ViewHeader, Window, isNullTimestamp, queryClient, timestampToDate, timestampToDayjs, useBillingPermission, useConnectQueryPolling, useFrontier, usePreferences, useTerminology, useTokens };
|
|
549
|
+
export { AvatarUpload, BillingView, Container, CreateOrganization, CustomizationProvider, FrontierClientBillingOptions, FrontierClientCustomizationOptions, FrontierClientOptions, FrontierProvider, GeneralView, Header, ImageUpload, Layout, MagicLink, MagicLinkVerify, MembersView, OrganizationProfile, PREFERENCE_OPTIONS, PageHeader, PlansView, PreferenceRow, PreferencesView, ProfileView, ProjectDetailsView, ProjectsView, SecurityView, ServiceAccountDetailsView, ServiceAccountsView, SessionsView, SignIn, SignUp, Subscribe, TeamDetailsView, TeamsView, TimeStamp, TokensView, Updates, ViewContainer, ViewHeader, Window, isNullTimestamp, queryClient, timestampToDate, timestampToDayjs, useBillingPermission, useConnectQueryPolling, useFrontier, usePreferences, useTerminology, useTokens };
|