@descope/angular-sdk 0.0.0-next-33691177-20231227 → 0.0.0-next-9ec82fec-20231227
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/README.md +13 -448
- package/environment.d.ts +3 -0
- package/esm2022/descope-angular-sdk.mjs +5 -0
- package/esm2022/environment.mjs +4 -0
- package/esm2022/lib/components/descope/descope.component.mjs +106 -0
- package/esm2022/lib/components/sign-in-flow/sign-in-flow.component.mjs +40 -0
- package/esm2022/lib/components/sign-up-flow/sign-up-flow.component.mjs +40 -0
- package/esm2022/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.mjs +40 -0
- package/esm2022/lib/descope-auth.module.mjs +52 -0
- package/esm2022/lib/services/descope-auth.guard.mjs +15 -0
- package/esm2022/lib/services/descope-auth.service.mjs +139 -0
- package/esm2022/lib/services/descope.interceptor.mjs +51 -0
- package/esm2022/lib/types/types.mjs +6 -0
- package/esm2022/lib/utils/constants.mjs +7 -0
- package/esm2022/lib/utils/helpers.mjs +27 -0
- package/esm2022/public-api.mjs +13 -0
- package/fesm2022/descope-angular-sdk.mjs +500 -0
- package/fesm2022/descope-angular-sdk.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/components/descope/descope.component.d.ts +32 -0
- package/lib/components/sign-in-flow/sign-in-flow.component.d.ts +24 -0
- package/lib/components/sign-up-flow/sign-up-flow.component.d.ts +24 -0
- package/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.d.ts +24 -0
- package/lib/descope-auth.module.d.ts +14 -0
- package/lib/services/descope-auth.guard.d.ts +2 -0
- package/lib/services/descope-auth.service.d.ts +38 -0
- package/lib/services/descope.interceptor.d.ts +2 -0
- package/lib/types/types.d.ts +8 -0
- package/lib/utils/constants.d.ts +5 -0
- package/lib/utils/helpers.d.ts +5 -0
- package/package.json +32 -66
- package/{projects/angular-sdk/src/public-api.ts → public-api.d.ts} +0 -4
- package/.editorconfig +0 -16
- package/.eslintrc.json +0 -40
- package/.github/workflows/ci.yml +0 -98
- package/.github/workflows/publish-next.yml +0 -41
- package/.github/workflows/publish.yml +0 -28
- package/.github/workflows/release.yml +0 -45
- package/.husky/pre-commit +0 -4
- package/.prettierrc +0 -8
- package/.vscode/extensions.json +0 -4
- package/.vscode/launch.json +0 -20
- package/.vscode/settings.json +0 -3
- package/.vscode/tasks.json +0 -42
- package/LICENSE +0 -21
- package/angular.json +0 -154
- package/jest.config.js +0 -17
- package/projects/angular-sdk/.eslintrc.json +0 -32
- package/projects/angular-sdk/README.md +0 -25
- package/projects/angular-sdk/ng-package.json +0 -8
- package/projects/angular-sdk/package.json +0 -20
- package/projects/angular-sdk/src/environment.ts +0 -3
- package/projects/angular-sdk/src/lib/components/descope/descope.component.spec.ts +0 -104
- package/projects/angular-sdk/src/lib/components/descope/descope.component.ts +0 -114
- package/projects/angular-sdk/src/lib/components/sign-in-flow/sign-in-flow.component.html +0 -15
- package/projects/angular-sdk/src/lib/components/sign-in-flow/sign-in-flow.component.spec.ts +0 -53
- package/projects/angular-sdk/src/lib/components/sign-in-flow/sign-in-flow.component.ts +0 -32
- package/projects/angular-sdk/src/lib/components/sign-up-flow/sign-up-flow.component.html +0 -15
- package/projects/angular-sdk/src/lib/components/sign-up-flow/sign-up-flow.component.spec.ts +0 -51
- package/projects/angular-sdk/src/lib/components/sign-up-flow/sign-up-flow.component.ts +0 -32
- package/projects/angular-sdk/src/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.html +0 -15
- package/projects/angular-sdk/src/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.spec.ts +0 -53
- package/projects/angular-sdk/src/lib/components/sign-up-or-in-flow/sign-up-or-in-flow.component.ts +0 -32
- package/projects/angular-sdk/src/lib/descope-auth.module.ts +0 -46
- package/projects/angular-sdk/src/lib/services/descope-auth.guard.spec.ts +0 -76
- package/projects/angular-sdk/src/lib/services/descope-auth.guard.ts +0 -16
- package/projects/angular-sdk/src/lib/services/descope-auth.service.spec.ts +0 -264
- package/projects/angular-sdk/src/lib/services/descope-auth.service.ts +0 -176
- package/projects/angular-sdk/src/lib/services/descope.interceptor.spec.ts +0 -102
- package/projects/angular-sdk/src/lib/services/descope.interceptor.ts +0 -76
- package/projects/angular-sdk/src/lib/types/types.ts +0 -10
- package/projects/angular-sdk/src/lib/utils/constants.ts +0 -8
- package/projects/angular-sdk/src/lib/utils/helpers.spec.ts +0 -103
- package/projects/angular-sdk/src/lib/utils/helpers.ts +0 -36
- package/projects/angular-sdk/tsconfig.lib.json +0 -12
- package/projects/angular-sdk/tsconfig.lib.prod.json +0 -10
- package/projects/angular-sdk/tsconfig.spec.json +0 -11
- package/projects/demo-app/.eslintrc.json +0 -31
- package/projects/demo-app/src/app/app-routing.module.ts +0 -23
- package/projects/demo-app/src/app/app.component.html +0 -3
- package/projects/demo-app/src/app/app.component.scss +0 -16
- package/projects/demo-app/src/app/app.component.spec.ts +0 -37
- package/projects/demo-app/src/app/app.component.ts +0 -8
- package/projects/demo-app/src/app/app.module.ts +0 -52
- package/projects/demo-app/src/app/home/home.component.html +0 -23
- package/projects/demo-app/src/app/home/home.component.scss +0 -15
- package/projects/demo-app/src/app/home/home.component.spec.ts +0 -44
- package/projects/demo-app/src/app/home/home.component.ts +0 -61
- package/projects/demo-app/src/app/interceptor/auth.interceptor.ts +0 -20
- package/projects/demo-app/src/app/login/login.component.html +0 -12
- package/projects/demo-app/src/app/login/login.component.spec.ts +0 -42
- package/projects/demo-app/src/app/login/login.component.ts +0 -35
- package/projects/demo-app/src/app/protected/protected.component.html +0 -18
- package/projects/demo-app/src/app/protected/protected.component.scss +0 -8
- package/projects/demo-app/src/app/protected/protected.component.spec.ts +0 -42
- package/projects/demo-app/src/app/protected/protected.component.ts +0 -40
- package/projects/demo-app/src/assets/.gitkeep +0 -0
- package/projects/demo-app/src/environments/conifg.ts +0 -13
- package/projects/demo-app/src/environments/environment.ts +0 -19
- package/projects/demo-app/src/favicon.ico +0 -0
- package/projects/demo-app/src/index.html +0 -17
- package/projects/demo-app/src/main.ts +0 -7
- package/projects/demo-app/src/styles.scss +0 -21
- package/projects/demo-app/tsconfig.app.json +0 -10
- package/projects/demo-app/tsconfig.spec.json +0 -10
- package/renovate.json +0 -4
- package/scripts/gitleaks/.gitleaks.toml +0 -653
- package/scripts/gitleaks/gitleaks.sh +0 -34
- package/scripts/setversion/setversion.js +0 -20
- package/setup-jest.ts +0 -1
- package/thirdPartyLicenseCollector_linux_amd64 +0 -0
- package/tsconfig.json +0 -35
package/setup-jest.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import 'jest-preset-angular/setup-jest';
|
|
Binary file
|
package/tsconfig.json
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* To learn more about this file see: https://angular.io/config/tsconfig. */
|
|
2
|
-
{
|
|
3
|
-
"compileOnSave": false,
|
|
4
|
-
"compilerOptions": {
|
|
5
|
-
"paths": {
|
|
6
|
-
"angular-sdk": ["dist/angular-sdk"]
|
|
7
|
-
},
|
|
8
|
-
"typeRoots": ["./node_modules/@types", "./node_modules/@descope"],
|
|
9
|
-
"baseUrl": "./",
|
|
10
|
-
"outDir": "./dist/out-tsc",
|
|
11
|
-
"forceConsistentCasingInFileNames": true,
|
|
12
|
-
"strictPropertyInitialization": false,
|
|
13
|
-
"strict": true,
|
|
14
|
-
"noImplicitOverride": true,
|
|
15
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
16
|
-
"noImplicitReturns": true,
|
|
17
|
-
"noFallthroughCasesInSwitch": true,
|
|
18
|
-
"sourceMap": true,
|
|
19
|
-
"declaration": false,
|
|
20
|
-
"downlevelIteration": true,
|
|
21
|
-
"experimentalDecorators": true,
|
|
22
|
-
"moduleResolution": "node",
|
|
23
|
-
"importHelpers": true,
|
|
24
|
-
"target": "ES2022",
|
|
25
|
-
"module": "ES2022",
|
|
26
|
-
"useDefineForClassFields": false,
|
|
27
|
-
"lib": ["ES2022", "dom"]
|
|
28
|
-
},
|
|
29
|
-
"angularCompilerOptions": {
|
|
30
|
-
"enableI18nLegacyMessageIdFormat": false,
|
|
31
|
-
"strictInjectionParameters": true,
|
|
32
|
-
"strictInputAccessModifiers": true,
|
|
33
|
-
"strictTemplates": true
|
|
34
|
-
}
|
|
35
|
-
}
|