@depsmith/depsmith-sdk 0.7.0 → 0.9.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/README.md +55 -1
- package/dist/autocapture.js +1 -1
- package/dist/autocapture.js.map +1 -1
- package/dist/depsmith-sdk.global.js +1 -1
- package/dist/depsmith-sdk.global.js.map +1 -1
- package/dist/depsmith-sdk.pixel.global.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +141 -39
- package/dist/index.d.ts +141 -39
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -44,6 +44,11 @@ interface UserPropertyOps {
|
|
|
44
44
|
type Scalar = string | number | boolean | null;
|
|
45
45
|
type PropertyValue = Scalar | Scalar[] | Record<string, Scalar>;
|
|
46
46
|
type Properties = Record<string, PropertyValue>;
|
|
47
|
+
/** The third argument of `page()` / `screen()`. */
|
|
48
|
+
interface PageOptions {
|
|
49
|
+
/** The kind of page (`product`, `collection`, `cart`, …), sent as `$page_type`. */
|
|
50
|
+
type?: string;
|
|
51
|
+
}
|
|
47
52
|
type EventType = 'track' | 'page_view' | 'page_leave' | 'screen' | 'identify' | 'alias' | 'group' | 'autocapture' | 'session_start' | 'session_end';
|
|
48
53
|
type NetworkType = '2g' | '3g' | '4g' | '5g' | 'wifi' | 'ethernet' | 'none' | 'unknown';
|
|
49
54
|
interface EventContext {
|
|
@@ -93,7 +98,7 @@ interface EventContext {
|
|
|
93
98
|
initial_url?: string;
|
|
94
99
|
initial_domain?: string;
|
|
95
100
|
};
|
|
96
|
-
|
|
101
|
+
screen_size?: {
|
|
97
102
|
width?: number;
|
|
98
103
|
height?: number;
|
|
99
104
|
density?: number;
|
|
@@ -204,9 +209,10 @@ interface TrackingOptions {
|
|
|
204
209
|
network?: boolean;
|
|
205
210
|
osName?: boolean;
|
|
206
211
|
osVersion?: boolean;
|
|
207
|
-
/** context.page. Not
|
|
212
|
+
/** context.page. Not `$page_name` on $page_view — that is a property, not context. */
|
|
208
213
|
page?: boolean;
|
|
209
|
-
|
|
214
|
+
/** context.screen_size: display width, height and density. */
|
|
215
|
+
screenSize?: boolean;
|
|
210
216
|
timezone?: boolean;
|
|
211
217
|
/** context.user_agent. */
|
|
212
218
|
userAgent?: boolean;
|
|
@@ -251,13 +257,37 @@ interface DepsmithSdkConfig {
|
|
|
251
257
|
* consent, like deviceFingerprinting. Default false.
|
|
252
258
|
*/
|
|
253
259
|
geolocation?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* Opt-in. Strip the fragment and query string from every URL the SDK sends — `context.page`
|
|
262
|
+
* url/referrer/previous_url, `context.referrer`, `$ac_href`, `$ac_form_action`, `$net_*`.
|
|
263
|
+
* `{ keepParams: ['utm_source'] }` keeps the named query parameters. Default false: URLs are
|
|
264
|
+
* sent whole. See API_SPEC §12.
|
|
265
|
+
*/
|
|
266
|
+
scrubUrls?: boolean | {
|
|
267
|
+
keepParams?: string[];
|
|
268
|
+
};
|
|
254
269
|
/** Per-field context suppression, all keys default true. Subtractive only; see API_SPEC §12.2. */
|
|
255
270
|
trackingOptions?: TrackingOptions;
|
|
256
271
|
/** Persist identity keys in a cookie scoped to this domain (cross-subdomain identity). */
|
|
257
272
|
cookieDomain?: string;
|
|
258
273
|
/** Queue persistence backend. */
|
|
259
274
|
storage?: 'localstorage' | 'indexeddb' | 'memory';
|
|
275
|
+
/**
|
|
276
|
+
* Readable `$page_name`s for automatic page views, and for `page()` calls made without a name.
|
|
277
|
+
* A name passed to `page()` always wins; with no match the name falls back to the title.
|
|
278
|
+
*
|
|
279
|
+
* - **Patterns:** `{ '/products/*': 'Product', '/': 'Home' }`. `*` is one path segment, `**` the
|
|
280
|
+
* rest of the path. The first match wins, in insertion order, so put specific patterns
|
|
281
|
+
* before broad ones (or use the `[pattern, name]` array form). A pattern match also sets
|
|
282
|
+
* `$page_type` to its name.
|
|
283
|
+
* - **Function:** `(location) => string | undefined`, called per view. Sets the name only.
|
|
284
|
+
* Web-only; config.schema.json can describe the object form alone.
|
|
285
|
+
*/
|
|
286
|
+
pageNames?: PageNames;
|
|
260
287
|
}
|
|
288
|
+
/** What a `pageNames` function is handed: `window.location`, or a URL with the same fields. */
|
|
289
|
+
type PageLocation = Pick<Location, 'href' | 'pathname' | 'search' | 'hash' | 'host'>;
|
|
290
|
+
type PageNames = Record<string, string> | ReadonlyArray<readonly [pattern: string, name: string]> | ((location: PageLocation) => string | undefined);
|
|
261
291
|
/**
|
|
262
292
|
* Which clicks produce a `$autocapture` event.
|
|
263
293
|
* 'interactive' — only clicks resolving to a link/button/[role=button]/submit control
|
|
@@ -266,13 +296,28 @@ interface DepsmithSdkConfig {
|
|
|
266
296
|
* true — alias of 'interactive'; false disables click capture.
|
|
267
297
|
*/
|
|
268
298
|
type ClickCapture = boolean | 'interactive' | 'all';
|
|
299
|
+
/**
|
|
300
|
+
* When an automatic `$page_view` (and its `$page_leave`) is sent.
|
|
301
|
+
* 'path' — when `location.pathname` changes. The default: a query-string or `#` change is
|
|
302
|
+
* filters, sort order, pagination or an in-page anchor, not a new page.
|
|
303
|
+
* 'all' — when anything in the URL changes, query and `#` included (the pre-0.8 behaviour).
|
|
304
|
+
* true — alias of 'path'; false sends none automatically.
|
|
305
|
+
*/
|
|
306
|
+
type PageViewCapture = boolean | 'path' | 'all';
|
|
269
307
|
interface AutocaptureConfig {
|
|
270
308
|
clicks?: ClickCapture;
|
|
271
309
|
forms?: boolean;
|
|
272
310
|
scrolls?: boolean;
|
|
273
|
-
pageviews?:
|
|
311
|
+
pageviews?: PageViewCapture;
|
|
274
312
|
ignoredSelectors?: string[];
|
|
275
313
|
selectorMaxDepth?: number;
|
|
314
|
+
/**
|
|
315
|
+
* Extra patterns for ids, classes and test-attribute values that `$ac_selector` should skip as
|
|
316
|
+
* generated, on top of the built-in rules (CSS-in-JS and CSS-module hashes, utility classes,
|
|
317
|
+
* long digit runs). Regex sources, e.g. `['^theme-', '^js-']`; an invalid one is skipped with
|
|
318
|
+
* a debug warning.
|
|
319
|
+
*/
|
|
320
|
+
selectorIgnore?: string[];
|
|
276
321
|
/**
|
|
277
322
|
* `data-*` attribute names to attach to click and change events as `$ac_attr_<name>`.
|
|
278
323
|
*
|
|
@@ -285,6 +330,12 @@ interface AutocaptureConfig {
|
|
|
285
330
|
* Given as bare names: `['product-id']` captures `data-product-id` as `$ac_attr_product_id`.
|
|
286
331
|
*/
|
|
287
332
|
attributes?: string[];
|
|
333
|
+
/**
|
|
334
|
+
* `$network_request` for failed `fetch` calls, which wraps `window.fetch`. Default true (on
|
|
335
|
+
* whenever autocapture is); false leaves `fetch` untouched while keeping the rest of
|
|
336
|
+
* autocapture. See API_SPEC §12.6.
|
|
337
|
+
*/
|
|
338
|
+
networkErrors?: boolean;
|
|
288
339
|
}
|
|
289
340
|
|
|
290
341
|
/**
|
|
@@ -296,7 +347,7 @@ interface KVStorage {
|
|
|
296
347
|
set(key: string, value: string): void;
|
|
297
348
|
remove(key: string): void;
|
|
298
349
|
}
|
|
299
|
-
declare const DEPSMITH_SDK_STORAGE_KEYS: readonly ["depsmith_anonymous_id", "depsmith_user_id", "depsmith_group_id", "depsmith_user_props", "depsmith_session", "depsmith_consent", "depsmith_queue", "depsmith_config_fp", "depsmith_net_breaker", "depsmith_campaign", "depsmith_referrer"];
|
|
350
|
+
declare const DEPSMITH_SDK_STORAGE_KEYS: readonly ["depsmith_anonymous_id", "depsmith_anon_reset_at", "depsmith_user_id", "depsmith_group_id", "depsmith_user_props", "depsmith_session", "depsmith_consent", "depsmith_queue", "depsmith_config_fp", "depsmith_net_breaker", "depsmith_campaign", "depsmith_referrer", "depsmith_super_props"];
|
|
300
351
|
/**
|
|
301
352
|
* Minimal async key-value backend. Shaped to accept Shopify's `browser.localStorage`
|
|
302
353
|
* / `browser.sessionStorage` directly (all methods Promise-returning, proxied to the
|
|
@@ -404,7 +455,7 @@ declare class DepsmithSdkClient {
|
|
|
404
455
|
* Autocapture's unload-time `$page_leave` trigger, when pageview tracking is on.
|
|
405
456
|
*
|
|
406
457
|
* The client owns the call site rather than autocapture, because it must run BEFORE the
|
|
407
|
-
* teardown drain — see
|
|
458
|
+
* teardown drain — see `lifecycle.ts`. Undefined means no page-leave tracking:
|
|
408
459
|
* autocapture is off, compiled out, or still loading.
|
|
409
460
|
*/
|
|
410
461
|
private leaveOnUnload?;
|
|
@@ -414,35 +465,53 @@ declare class DepsmithSdkClient {
|
|
|
414
465
|
private vitalsReported;
|
|
415
466
|
private queue;
|
|
416
467
|
private uploader;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
* captured event ({@link enqueueEvent}).
|
|
422
|
-
*/
|
|
423
|
-
private drained;
|
|
468
|
+
/** Timer and page listeners. Undefined under `manualLifecycle`, and in the pixel build. */
|
|
469
|
+
private lifecycle?;
|
|
470
|
+
/** Set by shutdown(); a lazily loaded autocapture chunk checks it before starting. */
|
|
471
|
+
private stopped;
|
|
424
472
|
private teardownFns;
|
|
425
473
|
private contextProvider?;
|
|
426
474
|
/** Resolves once async storage (IndexedDB) is hydrated; uploads gate on this. */
|
|
427
475
|
private ready;
|
|
428
476
|
constructor(config: DepsmithSdkConfig, overrides?: InternalOverrides);
|
|
429
477
|
track(name: string, properties?: Properties): void;
|
|
478
|
+
/**
|
|
479
|
+
* `track()` without the `$`-key check on properties, for the SDK's own integrations. Not part
|
|
480
|
+
* of the public API: the Shopify pixel needs it because it stamps `$shopify_client_id` on every
|
|
481
|
+
* event it maps, which a public `track()` would now drop as reserved. Event names are checked
|
|
482
|
+
* exactly as in `track()`.
|
|
483
|
+
*/
|
|
484
|
+
trackInternal(name: string, properties?: Properties): void;
|
|
430
485
|
/**
|
|
431
486
|
* Rejects an envelope id the collector's schema would refuse, at the point it enters the SDK.
|
|
432
487
|
*
|
|
433
488
|
* Dropping the call is harsh, and it is the lesser harm. `event`, `user_id` and `group_id` are
|
|
434
489
|
* all capped at 255 in event.schema.json, the collector validates every batch with Ajv, and a
|
|
435
|
-
* 400 is non-retryable —
|
|
436
|
-
* `user_id` and `group_id` that is not a one-
|
|
490
|
+
* 400 is non-retryable — the uploader bisects the batch and drops the event that fails. For
|
|
491
|
+
* `user_id` and `group_id` that is not a one-event loss either: both are persisted and ride on
|
|
437
492
|
* every subsequent event, so a single over-long id silently destroys everything that user sends
|
|
438
493
|
* until reset(). A JWT or a concatenated composite key passed as a user id does it.
|
|
439
494
|
*
|
|
440
495
|
* Truncating instead would keep the events but silently merge two users sharing a 255-char
|
|
441
496
|
* prefix, inventing data rather than losing it. Rejecting a schema-invalid value at capture is
|
|
442
|
-
* the rule throughout: such an event would 400 and
|
|
497
|
+
* the rule throughout: such an event would 400 and be dropped at upload, after a bisection.
|
|
443
498
|
*/
|
|
499
|
+
/** Client traits as sent: `$` keys dropped, then sanitised like event properties. */
|
|
500
|
+
private traits;
|
|
444
501
|
private tooLong;
|
|
445
|
-
|
|
502
|
+
/** `options.type` is sent as `$page_type` (API_SPEC §2). */
|
|
503
|
+
page(name?: string, properties?: Properties, options?: PageOptions): void;
|
|
504
|
+
/**
|
|
505
|
+
* `page()` without the `$`-key check, for the SDK's own integrations. Not part of the public
|
|
506
|
+
* API: the Shopify pixel sends checkout page views with `$checkout_step` and
|
|
507
|
+
* `$shopify_client_id`, which a public `page()` would now drop as reserved. Still a manual
|
|
508
|
+
* view — it is a call, not autocapture.
|
|
509
|
+
*
|
|
510
|
+
* Advances navigation state even for an explicit call, so an app that drives pageviews by hand
|
|
511
|
+
* (no autocapture) still gets previous_url and counter — and claims the URL so autocapture
|
|
512
|
+
* cannot emit a second view for the same page.
|
|
513
|
+
*/
|
|
514
|
+
pageInternal(name?: string, properties?: Properties, options?: PageOptions): void;
|
|
446
515
|
/**
|
|
447
516
|
* `$web_vitals`, once per page, on the first time the tab is hidden.
|
|
448
517
|
*
|
|
@@ -456,13 +525,15 @@ declare class DepsmithSdkClient {
|
|
|
456
525
|
*/
|
|
457
526
|
private emitWebVitals;
|
|
458
527
|
/** Alias of page() — unified mobile naming. */
|
|
459
|
-
screen(name?: string, properties?: Properties): void;
|
|
528
|
+
screen(name?: string, properties?: Properties, options?: PageOptions): void;
|
|
460
529
|
identify(userId: string, traits?: Properties): void;
|
|
461
530
|
alias(aliasId: string): void;
|
|
462
531
|
reset(): void;
|
|
463
532
|
group(groupId: string, traits?: Properties): void;
|
|
464
533
|
setGroupTraits(traits: Properties): void;
|
|
465
534
|
setProperty(key: string, value: Properties[string]): void;
|
|
535
|
+
/** The shared tail of setProperty / setOnceProperty: remember it locally, emit the operator. */
|
|
536
|
+
private setUserProp;
|
|
466
537
|
/**
|
|
467
538
|
* Sets a property only if this device has not already set it.
|
|
468
539
|
*
|
|
@@ -541,16 +612,21 @@ declare class DepsmithSdkClient {
|
|
|
541
612
|
*/
|
|
542
613
|
private persistNow;
|
|
543
614
|
/**
|
|
544
|
-
*
|
|
545
|
-
*
|
|
546
|
-
*
|
|
547
|
-
* same drain twice on one navigation. It must not outlive the work it covered: on
|
|
548
|
-
* desktop, `visibilitychange`→hidden fires on an ordinary tab switch, and a backgrounded
|
|
549
|
-
* tab keeps capturing (the batch-interval timer, `online`, a host-driven `track()`). If
|
|
550
|
-
* that tab is then closed without ever becoming visible again, a latch left set would
|
|
551
|
-
* skip both the final `sendBeaconAll()` and the teardown write, losing everything
|
|
552
|
-
* captured while hidden — a correctness hole opened by a pure optimisation.
|
|
615
|
+
* Device signals (fingerprint, Client Hints, position) may be read and sent: not COPPA mode,
|
|
616
|
+
* and consent granted — `canUpload()` is false while pending, after opt-out and under DNT.
|
|
617
|
+
* The ONE gate for both the reads below and the emission in `contextOptions()` (#87).
|
|
553
618
|
*/
|
|
619
|
+
private deviceSignals;
|
|
620
|
+
/**
|
|
621
|
+
* Starts the once-per-document device-signal reads (high-entropy Client Hints, and the
|
|
622
|
+
* geolocation permission query + position), off the capture path — only when their results
|
|
623
|
+
* could be sent. Under pending or denied consent, or DNT, nothing is read; `optIn()` calls
|
|
624
|
+
* this again. Defaults are unchanged: this only skips reads whose results would be discarded.
|
|
625
|
+
* The geolocation gate is re-checked before every later read (permission change, stale-fix
|
|
626
|
+
* refresh), so `optOut()` stops those too.
|
|
627
|
+
*/
|
|
628
|
+
private primeDeviceSignals;
|
|
629
|
+
/** Queues an event and re-arms the teardown drain — see {@link BrowserLifecycle.rearm}. */
|
|
554
630
|
private enqueueEvent;
|
|
555
631
|
/**
|
|
556
632
|
* The single entry point for starting an upload.
|
|
@@ -562,10 +638,12 @@ declare class DepsmithSdkClient {
|
|
|
562
638
|
* exists to remove, reappearing in the exact case that matters most (a backed-up queue).
|
|
563
639
|
*/
|
|
564
640
|
private flushUploads;
|
|
641
|
+
/** Starts an upload when there is something to send and consent allows it. */
|
|
642
|
+
private flushIfQueued;
|
|
565
643
|
/**
|
|
566
|
-
* Fingerprinting is opt-
|
|
567
|
-
* consent (consent.current is 'denied' under DNT and
|
|
568
|
-
* and non-COPPA mode.
|
|
644
|
+
* Fingerprinting is on by default (opt-out via `deviceFingerprinting: false`) and
|
|
645
|
+
* privacy-gated: it requires granted consent (consent.current is 'denied' under DNT and
|
|
646
|
+
* never 'granted' while pending) and non-COPPA mode.
|
|
569
647
|
*/
|
|
570
648
|
private contextOptions;
|
|
571
649
|
/**
|
|
@@ -591,23 +669,46 @@ declare class DepsmithSdkClient {
|
|
|
591
669
|
/**
|
|
592
670
|
* Config drift (guidelines §12): events queued under a different apiKey belong to
|
|
593
671
|
* another project — drop them rather than misattribute. Fingerprint, not raw key.
|
|
672
|
+
* The upload pause goes too: a 401 or Retry-After for that key says nothing about this one.
|
|
594
673
|
*/
|
|
595
674
|
private detectConfigDrift;
|
|
675
|
+
/** The synchronous store. IndexedDB is never returned here — see the constructor. */
|
|
596
676
|
private pickStorage;
|
|
597
677
|
private enqueueSessionEnd;
|
|
598
678
|
/**
|
|
599
679
|
* Announces a session the SDK just observed beginning.
|
|
600
680
|
*
|
|
601
|
-
* Consent-gated for the same reason as enqueueSessionEnd: the visibilitychange resume
|
|
602
|
-
* path reaches this without going through capture(). Under `pending` consent
|
|
603
|
-
* canCapture() is true, so it is queued and held — matching capture() exactly.
|
|
604
|
-
*
|
|
605
681
|
* Not emitted by reset()/rotate() (an explicit user action, not an observed boundary)
|
|
606
682
|
* nor by peek()'s mint-if-absent branch (analytics from a getter).
|
|
607
683
|
*/
|
|
608
684
|
private enqueueSessionStart;
|
|
609
|
-
|
|
610
|
-
|
|
685
|
+
/**
|
|
686
|
+
* `$session_start` / `$session_end`, built in one place: the two envelopes differ only in
|
|
687
|
+
* their name, their timestamp and the fingerprint components the opening one carries.
|
|
688
|
+
*/
|
|
689
|
+
private enqueueSessionBoundary;
|
|
690
|
+
/**
|
|
691
|
+
* Stamps session activity and emits the boundary events that revealed. The one place a
|
|
692
|
+
* session is touched, for capture() and for the tab-resume path alike: the resume path used
|
|
693
|
+
* to emit both boundaries with no sample check, so at `sampleRate: 0.1` nine in ten resumed
|
|
694
|
+
* sessions reached the warehouse as a bare `$session_start` with nothing after it.
|
|
695
|
+
*
|
|
696
|
+
* Order is load-bearing (API_SPEC §5): the old session's end precedes the new session's
|
|
697
|
+
* start, and both precede the event that triggered the rotation.
|
|
698
|
+
*
|
|
699
|
+
* Each boundary follows ITS OWN session's sample decision, not the current event's: the
|
|
700
|
+
* ending and starting sessions have different ids and can therefore decide differently, and
|
|
701
|
+
* an exempt $identify must not drag a boundary event into an out-of-sample session.
|
|
702
|
+
*/
|
|
703
|
+
private touchSession;
|
|
704
|
+
/**
|
|
705
|
+
* `visibilitychange`→visible: run the session-timeout check.
|
|
706
|
+
*
|
|
707
|
+
* Not at all while capture is denied. capture() returns before touching the session in that
|
|
708
|
+
* state; this path did not, so every refocus by an opted-out or DNT visitor wrote a session id
|
|
709
|
+
* and an activity timestamp to storage.
|
|
710
|
+
*/
|
|
711
|
+
private resumeSession;
|
|
611
712
|
/** Lazily loads the autocapture engine so the core bundle stays <10KB gz. */
|
|
612
713
|
private startAutocapture;
|
|
613
714
|
private guard;
|
|
@@ -621,12 +722,13 @@ declare class DepsmithSdkClient {
|
|
|
621
722
|
* DepsmithSdk.track('button_clicked', { color: 'red' });
|
|
622
723
|
*
|
|
623
724
|
* Re-init with the same apiKey is a no-op; a different apiKey replaces the client (API_SPEC §2).
|
|
725
|
+
* Without a `window` (server rendering) init() does nothing and returns null — see below.
|
|
624
726
|
*/
|
|
625
727
|
declare const DepsmithSdk: {
|
|
626
728
|
init(config: DepsmithSdkConfig, overrides?: InternalOverrides): DepsmithSdkClient | null;
|
|
627
729
|
track: (name: string, properties?: Properties) => void;
|
|
628
|
-
page: (name?: string, properties?: Properties) => void;
|
|
629
|
-
screen: (name?: string, properties?: Properties) => void;
|
|
730
|
+
page: (name?: string, properties?: Properties, options?: PageOptions) => void;
|
|
731
|
+
screen: (name?: string, properties?: Properties, options?: PageOptions) => void;
|
|
630
732
|
identify: (userId: string, traits?: Properties) => void;
|
|
631
733
|
alias: (aliasId: string) => void;
|
|
632
734
|
reset: () => void;
|
|
@@ -652,4 +754,4 @@ declare const DepsmithSdk: {
|
|
|
652
754
|
shutdown(): void;
|
|
653
755
|
};
|
|
654
756
|
|
|
655
|
-
export { type AsyncKV, AsyncMirrorAdapter, type AutocaptureConfig, type BatchPayload, type ConsentState, DEPSMITH_SDK_STORAGE_KEYS, DepsmithSdk, DepsmithSdkClient, type DepsmithSdkConfig, type DepsmithSdkEvent, type EventContext, type EventType, type InternalOverrides, type KVStorage, type Properties, type PropertyValue, type Scheduler, type TrackingOptions, type UserPropertyOps, idleScheduler, syncScheduler };
|
|
757
|
+
export { type AsyncKV, AsyncMirrorAdapter, type AutocaptureConfig, type BatchPayload, type ConsentState, DEPSMITH_SDK_STORAGE_KEYS, DepsmithSdk, DepsmithSdkClient, type DepsmithSdkConfig, type DepsmithSdkEvent, type EventContext, type EventType, type InternalOverrides, type KVStorage, type PageLocation, type PageNames, type PageOptions, type Properties, type PropertyValue, type Scheduler, type TrackingOptions, type UserPropertyOps, idleScheduler, syncScheduler };
|