@frontegg/vue 3.0.13 → 3.0.14-alpha.7527626825

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.
@@ -1,22 +1,22 @@
1
- import { EntitledToOptions, Entitlement } from '@frontegg/types';
1
+ import { EntitledToOptions } from '@frontegg/types';
2
2
  /**
3
3
  @param key feature key
4
4
  @param customAttributes consumer attributes
5
5
  @returns if the user is entitled to the given feature. Attaching the justification if not
6
6
  @throws when entitlement is not enabled via frontegg options
7
7
  */
8
- export declare const useFeatureEntitlements: (key: string, customAttributes?: Record<string, string | number | boolean | Date> | undefined) => Entitlement;
8
+ export declare const useFeatureEntitlements: (key: string, customAttributes?: Record<string, string | number | boolean | Date> | undefined) => any;
9
9
  /**
10
10
  @param key permission key
11
11
  @param customAttributes consumer attributes
12
12
  @returns if the user is entitled to the given permission. Attaching the justification if not
13
13
  @throws when entitlement is not enabled via frontegg options
14
14
  */
15
- export declare const usePermissionEntitlements: (key: string, customAttributes?: Record<string, string | number | boolean | Date> | undefined) => Entitlement;
15
+ export declare const usePermissionEntitlements: (key: string, customAttributes?: Record<string, string | number | boolean | Date> | undefined) => any;
16
16
  /**
17
17
  @param entitledToOptions - including permission or feature key
18
18
  @param customAttributes consumer attributes
19
19
  @returns if the user is entitled to the given permission or feature. Attaching the justification if not
20
20
  @throws when entitlement is not enabled via frontegg options
21
21
  */
22
- export declare const useEntitlements: (entitledToOptions: EntitledToOptions, customAttributes?: Record<string, string | number | boolean | Date> | undefined) => Entitlement;
22
+ export declare const useEntitlements: (entitledToOptions: EntitledToOptions, customAttributes?: Record<string, string | number | boolean | Date> | undefined) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/vue",
3
- "version": "3.0.13",
3
+ "version": "3.0.14-alpha.7527626825",
4
4
  "description": "",
5
5
  "main": "dist/index.ssr.js",
6
6
  "browser": "dist/index.js",
@@ -62,4 +62,4 @@
62
62
  "engines": {
63
63
  "node": ">=12"
64
64
  }
65
- }
65
+ }