@frontegg/angular 5.6.0-alpha.3437104364 → 5.6.1-alpha.3507479010

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.
Files changed (2) hide show
  1. package/README.md +12 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,14 +1,20 @@
1
- # Frontegg Angular
1
+ <div align="center">
2
+ <img src="https://fronteggstuff.blob.core.windows.net/frongegg-logos/logo-transparent.png" alt="Frontegg Logo" width="400" height="90">
3
+ <h3 align="center">Frontegg Angular</h3>
4
+ <p align="center">
5
+ Frontegg is a web platform where SaaS companies can set up their fully managed, scalable and brand aware - SaaS features and integrate them into their SaaS portals in up to 5 lines of code.
6
+ <br />
7
+ </div>
8
+ <br />
2
9
 
3
10
  ## BREAKING CHANGES SINCE VERSION 3.0.1
4
11
  If you are migrating from `@frontegg/angular` version 2 or earlier, you can find a [migration guide here](https://docs.frontegg.com/docs/migration-guide-fronteggangular-v2-v3)
5
- ## How to use
6
12
 
7
13
  ### 1. Install Frontegg Libraries
8
14
 
9
15
  Run the following command to Install Frontegg Angular library:
10
16
 
11
- ```
17
+ ```bash
12
18
  npm install @frontegg/angular
13
19
  ```
14
20
 
@@ -16,7 +22,7 @@ npm install @frontegg/angular
16
22
  1. Add `FronteggAppModule` to `AppModule.imports[]`
17
23
  2. Add `FronteggComponent` to `AppModule.entryComponents[]`
18
24
 
19
- ```
25
+ ```ts
20
26
  /app.module.ts
21
27
  import { BrowserModule } from '@angular/platform-browser';
22
28
  import { NgModule } from '@angular/core';
@@ -36,10 +42,9 @@ import { FronteggAppModule, FronteggComponent } from '@frontegg/angular';
36
42
  FronteggAppModule.forRoot(
37
43
  {
38
44
  contextOptions: {
39
- baseUrl: 'https://[YOUR_SUBDOMAIN].frontegg.com'
45
+ baseUrl: 'https://[YOUR_SUBDOMAIN].frontegg.com',
46
+ clientId: '[YOUR_CLIENT_ID]'
40
47
  },
41
- // Replace this with your app logo 👇
42
- headerImage: 'https://assets.frontegg.com/public-frontegg-assets/acme-logo.svg';
43
48
  }
44
49
  ),
45
50
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frontegg/angular",
3
- "version": "5.6.0-alpha.3437104364",
3
+ "version": "5.6.1-alpha.3507479010",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/common": ">=12.0.0",