Docs/API reference

WatchChangeEvent · Node.js

Node callback event with camelCase names and change types such as ContentChange and PriceChange.

Download .md
Developers2 min read9 sections
Source reference · Match your SDK version. Availability and known issues
In this guide

Purpose and lifecycle

Node callback event with camelCase names and change types such as ContentChange and PriceChange.

Definition and availability

Source snapshot: 1.0.0-alpha.3. Package export. Declared in source; this is not a runtime test result.

Signatures and source locations are generated from the SDK wrappers. Clean snapshots link to the recorded commit. Modified snapshots link to main, which may differ; file hashes identify the local inputs.

export interface WatchChangeEvent {
  url: string;
  field: string;
  changeType: string;
  oldValue?: string;
  newValue?: string;
}
typescript7 lines · copy-ready

Members

MemberKindReturn / value typeSource status
urlpropertystringPresent in source
fieldpropertystringPresent in source
changeTypepropertystringPresent in source
oldValuepropertystring | undefinedPresent in source
newValuepropertystring | undefinedPresent in source

url

Source/final URL according to the operation; check redirects and provenance needs.

Returns / value: string.

url: string;
typescript1 lines · copy-ready

field

Name of the monitored field.

Returns / value: string.

field: string;
typescript1 lines · copy-ready

changeType

Binding-specific change category.

Returns / value: string.

changeType: string;
typescript1 lines · copy-ready

oldValue

Previously observed string value, when supplied.

Returns / value: string | undefined.

oldValue?: string;
typescript1 lines · copy-ready

newValue

Newly observed string value, when supplied.

Returns / value: string | undefined.

newValue?: string;
typescript1 lines · copy-ready

Errors and operational limits

See the consuming API for validation and failure behavior. Types and enum declarations do not perform network requests by themselves.

Source availability, package publication and runtime validation are separate facts. These pages describe the source snapshot, not a claim that all platforms or every API path have passed production acceptance.