@raystack/frontier 0.81.0 → 0.83.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raystack/frontier",
3
- "version": "0.81.0",
3
+ "version": "0.83.0",
4
4
  "description": "A js library for frontier",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -101,7 +101,7 @@
101
101
  "@connectrpc/connect-query": "^2.1.1",
102
102
  "@connectrpc/connect-web": "^2.0.2",
103
103
  "@hookform/resolvers": "^3.10.0",
104
- "@raystack/proton": "0.1.0-fba39927b8b974dc1cc1ae0f05f1390580ec6d58",
104
+ "@raystack/proton": "0.1.0-dcceed81ad090604a542bb2a9a12bab7218bc59b",
105
105
  "@tanstack/react-query": "^5.83.0",
106
106
  "@tanstack/react-router": "1.58.17",
107
107
  "axios": "^1.9.0",
@@ -5583,12 +5583,23 @@ interface FrontierContextProviderProps {
5583
5583
  activePlan: Plan | undefined;
5584
5584
  allPlans: Plan[];
5585
5585
  isAllPlansLoading: boolean;
5586
- fetchActiveSubsciption: () => Promise<Subscription | undefined>;
5586
+ fetchActiveSubscription: () => Promise<Subscription | undefined>;
5587
5587
  paymentMethod: PaymentMethod | undefined;
5588
5588
  basePlan?: Plan;
5589
5589
  organizationKyc: OrganizationKyc | undefined;
5590
5590
  isOrganizationKycLoading: boolean;
5591
5591
  billingDetails: BillingAccountDetails | undefined;
5592
+ sessionMetadata: {
5593
+ browser?: string;
5594
+ operatingSystem?: string;
5595
+ ipAddress?: string;
5596
+ location?: {
5597
+ city?: string;
5598
+ country?: string;
5599
+ latitude?: string;
5600
+ longitude?: string;
5601
+ };
5602
+ } | undefined;
5592
5603
  }
5593
5604
  declare function useFrontier(): FrontierContextProviderProps;
5594
5605