@frontegg/js 6.45.0-alpha.0 → 6.45.0-alpha.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/utils/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { FronteggThemeOptions } from '@frontegg/types';
2
+ export * from './mockFlagsList';
2
3
  export declare const formatName: (name: string) => string;
3
4
  export declare const createElement: (container: HTMLElement | ShadowRoot, type: string, attrs?: {
4
5
  [x: string]: string;
package/utils/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ export * from './mockFlagsList';
1
2
  export var formatName = function formatName(name) {
2
3
  return name.replace(/\W+/g, ' ').split(/ |\B(?=[A-Z])/).map(function (word) {
3
4
  return word.toLowerCase();
@@ -0,0 +1,2 @@
1
+ import { IFeatureFlagsAttributes } from '@frontegg/rest-api';
2
+ export declare const mockFlagsList: IFeatureFlagsAttributes;
@@ -0,0 +1,4 @@
1
+ export var mockFlagsList = {
2
+ 'admin_portal_ip_restrictions': 'on',
3
+ 'admin_portal_domain_restrictions': 'on'
4
+ };
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export default {
2
- "cdnVersion": "6.45.0-alpha.0"
2
+ "cdnVersion": "6.45.0-alpha.2"
3
3
  };