@atlasauth/angular 0.6.1 → 0.7.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/CHANGELOG.md +3 -0
- package/dist/esm2022/lib/atlas.config.mjs +1 -1
- package/dist/esm2022/lib/atlas.service.mjs +4 -2
- package/dist/esm2022/lib/version.mjs +2 -2
- package/dist/fesm2022/atlasauth-angular.mjs +4 -2
- package/dist/fesm2022/atlasauth-angular.mjs.map +1 -1
- package/dist/lib/atlas.config.d.ts +13 -1
- package/dist/lib/version.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SignOutEvent } from '@atlasauth/js';
|
|
1
|
+
import type { ReferralConsent, SignOutEvent } from '@atlasauth/js';
|
|
2
2
|
import { InjectionToken } from '@angular/core';
|
|
3
3
|
import type { Appearance } from './appearance';
|
|
4
4
|
import type { Catalog } from './i18n';
|
|
@@ -9,6 +9,18 @@ import type { Catalog } from './i18n';
|
|
|
9
9
|
export interface AtlasOptions {
|
|
10
10
|
/** The instance's publishable key (`pk_…`). Required. */
|
|
11
11
|
publishableKey: string;
|
|
12
|
+
/**
|
|
13
|
+
* Referral attribution: the prebuilt forms send the referral the visitor
|
|
14
|
+
* arrived with on sign-in / sign-up when the instance has referrals on.
|
|
15
|
+
* `false` turns that off.
|
|
16
|
+
*/
|
|
17
|
+
referral?: false;
|
|
18
|
+
/**
|
|
19
|
+
* The app's own consent decision for the referral tracking cookie, used only
|
|
20
|
+
* when Cookie Munch is not on the page: `'granted'` (or a function returning
|
|
21
|
+
* it) lets the forms read the cookie. Default: the cookie is not read.
|
|
22
|
+
*/
|
|
23
|
+
referralConsent?: ReferralConsent;
|
|
12
24
|
/**
|
|
13
25
|
* The instance's Frontend API: an absolute URL such as
|
|
14
26
|
* `"https://auth.example.com"`, or `"same-origin"` / a path such as `"/atlas"`
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { AtlasSdkInfo } from '@atlasauth/js';
|
|
2
2
|
/** This package's version, sent as `X-Atlas-SDK` (kept in step with package.json by a test). */
|
|
3
|
-
export declare const ATLAS_ANGULAR_VERSION = "0.
|
|
3
|
+
export declare const ATLAS_ANGULAR_VERSION = "0.7.0";
|
|
4
4
|
export declare const ATLAS_ANGULAR_SDK: AtlasSdkInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlasauth/angular",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Official Angular SDK for Atlas — the Angular peer of @atlasauth/react.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"module": "./dist/fesm2022/atlas-angular.mjs",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"tslib": "^2.6.3",
|
|
22
22
|
"@atlasauth/design": "0.2.0",
|
|
23
|
-
"@atlasauth/
|
|
24
|
-
"@atlasauth/
|
|
23
|
+
"@atlasauth/js": "0.13.0",
|
|
24
|
+
"@atlasauth/authz": "0.1.1"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@angular/core": ">=17",
|