ChemPal Documentation - v1.15.1
    Preparing search index...

      ChemPal Documentation - v1.15.1

      Categories & Groups / Category

      Helpers

      160 entries across 30 modules.

      components/SearchPanel/PriceTrendGraph1

      constants/common1

      • CAS_REGEX

        Regular expression for validating CAS (Chemical Abstracts Service) numbers. Matches the standard format of three segments: 2-7 digits, 2 digits, and 1 checksum digit.

      helpers/advancedMode1

      helpers/analytics4

      • CAPTURE_PATH

        PostHog single-event capture path, appended to the configured host.

      • PARAM_VALUE_LIMIT

        Self-imposed cap on the length of a text property value, from config.json (analytics.paramValueLimit). Not a PostHog limit (its ceiling is ~1MB) — a privacy guard bounding how much of a search term or error message can leave the device.

      • COMPONENT_STACK_LIMIT

        Self-imposed cap on how much of a React component stack rides along in a $exception event, from config.json (analytics.componentStackLimit). Unlike JS stack frames (capped by count via STACKTRACE_FRAME_LIMIT), a component stack is one unstructured string, so it's bounded by length.

      • AnalyticsValue

        A JSON-safe value a PostHog event property may hold — the primitives trackEvent always accepted, plus arrays/objects for structured properties like $exception_list.

      helpers/backgroundFetch2

      helpers/bugReport1

      • Diagnostics

        A fully-assembled diagnostics snapshot, ready to render into a report.

      helpers/currency7

      helpers/dom2

      helpers/errorBuffer2

      • ErrorSource

        Where a captured error originated: a global window/worker hook, an unhandled promise rejection, React's error hooks, an aggregated supplier-search failure, or a callback-style chrome.* API call that set chrome.runtime.lastError.

      • CapturedError

        A single captured exception, trimmed to what a bug report needs.

      helpers/excludedProducts7

      helpers/fetch4

      helpers/history2

      helpers/i18n5

      helpers/price4

      helpers/priceHistory8

      helpers/product8

      helpers/productIdentity3

      helpers/productLabels2

      helpers/purchaseRestriction2

      helpers/quantity9

      helpers/request7

      helpers/requestCache3

      helpers/responseAggregate6

      helpers/schema-org6

      helpers/searchFilters1

      helpers/smiles7

      helpers/supplierFilters4

      helpers/supplierStats8

      updates13

      helpers/utils30