feat: modules and resources domains, drop removed domains, regenerated models
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
*/
|
||||
|
||||
import type { RudderContext } from '../core/context.js';
|
||||
import type { RemoteConfigShape } from '../state/RemoteConfigState.js';
|
||||
import { getOrCreateDeviceId } from '../device/DeviceId.js';
|
||||
import { api } from '../generated/api.js';
|
||||
import type {
|
||||
@@ -72,7 +71,7 @@ export interface LinkWithCustomOptions {
|
||||
provider?: string;
|
||||
}
|
||||
|
||||
export class AuthService<TConfig extends RemoteConfigShape = RemoteConfigShape> {
|
||||
export class AuthService {
|
||||
private readonly listeners = new Set<AuthStateListener>();
|
||||
private state: AuthState;
|
||||
|
||||
@@ -118,6 +117,8 @@ export class AuthService<TConfig extends RemoteConfigShape = RemoteConfigShape>
|
||||
region,
|
||||
language,
|
||||
nickname,
|
||||
platform: 'web',
|
||||
appVersion: this.ctx.options.appVersion,
|
||||
});
|
||||
|
||||
this.ctx.options.tokenStore.saveTokens(
|
||||
@@ -145,6 +146,8 @@ export class AuthService<TConfig extends RemoteConfigShape = RemoteConfigShape>
|
||||
region,
|
||||
language,
|
||||
nickname,
|
||||
platform: 'web',
|
||||
appVersion: this.ctx.options.appVersion,
|
||||
});
|
||||
|
||||
this.ctx.options.tokenStore.saveTokens(
|
||||
@@ -169,6 +172,8 @@ export class AuthService<TConfig extends RemoteConfigShape = RemoteConfigShape>
|
||||
region,
|
||||
language,
|
||||
nickname,
|
||||
platform: 'web',
|
||||
appVersion: this.ctx.options.appVersion,
|
||||
});
|
||||
|
||||
this.ctx.options.tokenStore.saveTokens(
|
||||
@@ -193,6 +198,8 @@ export class AuthService<TConfig extends RemoteConfigShape = RemoteConfigShape>
|
||||
region,
|
||||
language,
|
||||
nickname,
|
||||
platform: 'web',
|
||||
appVersion: this.ctx.options.appVersion,
|
||||
});
|
||||
|
||||
this.ctx.options.tokenStore.saveTokens(
|
||||
|
||||
Reference in New Issue
Block a user