@dmarket/p2p-tracker-core 0.1.0-SNAPSHOT.101 → 0.1.0-SNAPSHOT.85

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.
@@ -10,19 +10,18 @@ export declare namespace KtList {
10
10
  function fromJsArray<E>(array: ReadonlyArray<E>): KtList<E>;
11
11
  }
12
12
  export declare class TrackerConfig {
13
- constructor(cadence?: CadenceConfig, backoff?: BackoffConfig, credentials?: CredentialConfig, http?: HttpConfig, marketplaceRetry?: MarketplaceRetryConfig, marketplaceScrape?: MarketplaceScrapeConfig, notary?: NotaryConfig, steamEndpoints?: SteamEndpointsConfig, steamProfile?: SteamProfileConfig, steamScrape?: SteamScrapeConfig, game?: GameConfig);
13
+ constructor(cadence?: CadenceConfig, backoff?: BackoffConfig, credentials?: CredentialConfig, http?: HttpConfig, marketplaceRetry?: MarketplaceRetryConfig, notary?: NotaryConfig, steamEndpoints?: SteamEndpointsConfig, steamProfile?: SteamProfileConfig, steamScrape?: SteamScrapeConfig, game?: GameConfig);
14
14
  get cadence(): CadenceConfig;
15
15
  get backoff(): BackoffConfig;
16
16
  get credentials(): CredentialConfig;
17
17
  get http(): HttpConfig;
18
18
  get marketplaceRetry(): MarketplaceRetryConfig;
19
- get marketplaceScrape(): MarketplaceScrapeConfig;
20
19
  get notary(): NotaryConfig;
21
20
  get steamEndpoints(): SteamEndpointsConfig;
22
21
  get steamProfile(): SteamProfileConfig;
23
22
  get steamScrape(): SteamScrapeConfig;
24
23
  get game(): GameConfig;
25
- copy(cadence?: CadenceConfig, backoff?: BackoffConfig, credentials?: CredentialConfig, http?: HttpConfig, marketplaceRetry?: MarketplaceRetryConfig, marketplaceScrape?: MarketplaceScrapeConfig, notary?: NotaryConfig, steamEndpoints?: SteamEndpointsConfig, steamProfile?: SteamProfileConfig, steamScrape?: SteamScrapeConfig, game?: GameConfig): TrackerConfig;
24
+ copy(cadence?: CadenceConfig, backoff?: BackoffConfig, credentials?: CredentialConfig, http?: HttpConfig, marketplaceRetry?: MarketplaceRetryConfig, notary?: NotaryConfig, steamEndpoints?: SteamEndpointsConfig, steamProfile?: SteamProfileConfig, steamScrape?: SteamScrapeConfig, game?: GameConfig): TrackerConfig;
26
25
  toString(): string;
27
26
  hashCode(): number;
28
27
  equals(other: Nullable<any>): boolean;
@@ -218,12 +217,14 @@ export declare namespace SteamProfileConfig {
218
217
  }
219
218
  }
220
219
  export declare class SteamScrapeConfig {
221
- constructor(tokenRegex?: string, steamIdRegex?: string, steamSessionCookieName?: string, steamSessionIdCookieName?: string);
220
+ constructor(tokenRegex?: string, steamIdRegex?: string, steamSessionCookieName?: string, steamSessionIdCookieName?: string, marketplaceCookieName?: string, marketplaceRefreshUrl?: string);
222
221
  get tokenRegex(): string;
223
222
  get steamIdRegex(): string;
224
223
  get steamSessionCookieName(): string;
225
224
  get steamSessionIdCookieName(): string;
226
- copy(tokenRegex?: string, steamIdRegex?: string, steamSessionCookieName?: string, steamSessionIdCookieName?: string): SteamScrapeConfig;
225
+ get marketplaceCookieName(): string;
226
+ get marketplaceRefreshUrl(): string;
227
+ copy(tokenRegex?: string, steamIdRegex?: string, steamSessionCookieName?: string, steamSessionIdCookieName?: string, marketplaceCookieName?: string, marketplaceRefreshUrl?: string): SteamScrapeConfig;
227
228
  toString(): string;
228
229
  hashCode(): number;
229
230
  equals(other: Nullable<any>): boolean;
@@ -234,25 +235,11 @@ export declare namespace SteamScrapeConfig {
234
235
  const constructor: abstract new () => SteamScrapeConfig;
235
236
  }
236
237
  }
237
- export declare class MarketplaceScrapeConfig {
238
- constructor(cookieName?: string, refreshUrl?: string);
239
- get cookieName(): string;
240
- get refreshUrl(): string;
241
- copy(cookieName?: string, refreshUrl?: string): MarketplaceScrapeConfig;
242
- toString(): string;
243
- hashCode(): number;
244
- equals(other: Nullable<any>): boolean;
245
- }
246
- export declare namespace MarketplaceScrapeConfig {
247
- /** @deprecated $metadata$ is used for internal purposes, please don't use it in your code, because it can be removed at any moment */
248
- namespace $metadata$ {
249
- const constructor: abstract new () => MarketplaceScrapeConfig;
250
- }
251
- }
252
238
  export declare class GameConfig {
253
- constructor(cs2InventoryContextId?: number);
239
+ constructor(cs2InventoryContextId?: number, cs2InspectLinkTemplate?: string);
254
240
  get cs2InventoryContextId(): number;
255
- copy(cs2InventoryContextId?: number): GameConfig;
241
+ get cs2InspectLinkTemplate(): string;
242
+ copy(cs2InventoryContextId?: number, cs2InspectLinkTemplate?: string): GameConfig;
256
243
  toString(): string;
257
244
  hashCode(): number;
258
245
  equals(other: Nullable<any>): boolean;
@@ -279,7 +266,6 @@ export declare function forceHeartbeat(handle: any/* TrackerHandle */): Promise<
279
266
  export declare function createTrade(handle: any/* TrackerHandle */, directiveId: string, dealId: string, partnerSteamId: string, assetIds: Array<string>, tradeToken?: Nullable<string>, linkedSteamId?: Nullable<string>): Promise<string>;
280
267
  export declare function linkedSteamIdMismatch(handle: any/* TrackerHandle */): boolean;
281
268
  export declare function blockingReason(handle: any/* TrackerHandle */): string;
282
- export declare function isTrackingActive(handle: any/* TrackerHandle */): boolean;
283
269
  export declare function startTracker(baseUrl?: string, config?: TrackerConfig, networkObserver?: any/* NetworkObserver */, eventObserver?: any/* EventObserver */): any/* TrackerHandle */;
284
270
  export declare function startTrackerWithEvents(baseUrl: string | undefined, config: TrackerConfig | undefined, onEvent: (p0: string) => void): any/* TrackerHandle */;
285
271
  export declare function subscribeActiveTrackingCount(handle: any/* TrackerHandle */, onCount: (p0: number) => void): () => void;