@fingerprint/node-sdk
    Preparing search index...

    Function unsealEventsResponse

    • Decrypts the sealed response with the provided keys. The SDK will try to decrypt the result with each key until it succeeds. To learn more about sealed results visit: https://dev.fingerprint.com/docs/sealed-client-results

      Parameters

      Returns Promise<
          {
              bot?: "bad"
              | "good"
              | "not_detected";
              bot_info?: {
                  category: string;
                  confidence: "high" | "low" | "medium";
                  identity: "unknown" | "verified" | "signed" | "spoofed";
                  name: string;
                  provider: string;
                  provider_url?: string;
              };
              bot_type?: string;
              browser_details?: {
                  browser_full_version: string;
                  browser_major_version: string;
                  browser_name: string;
                  device: string;
                  os: string;
                  os_version: string;
              };
              bundle_id?: string;
              client_referrer?: string;
              cloned_app?: boolean;
              developer_tools?: boolean;
              device?: string;
              emulator?: boolean;
              environment_id?: string;
              event_id: string;
              factory_reset_timestamp?: number;
              frida?: boolean;
              high_activity_device?: boolean;
              identification?: {
                  confidence?: { comment?: string; score: number; version?: string };
                  first_seen_at?: number;
                  last_seen_at?: number;
                  visitor_found: boolean;
                  visitor_id: string;
              };
              incognito?: boolean;
              incremental_identification_status?: "completed"
              | "partially_completed";
              ip_address?: string;
              ip_blocklist?: {
                  attack_source?: boolean;
                  email_spam?: boolean;
                  tor_node?: boolean;
              };
              ip_info?: {
                  v4?: {
                      address: string;
                      asn?: string;
                      asn_name?: string;
                      asn_network?: string;
                      asn_type?: string;
                      datacenter_name?: string;
                      datacenter_result?: boolean;
                      geolocation?: {
                          accuracy_radius?: number;
                          city_name?: string;
                          continent_code?: string;
                          continent_name?: string;
                          country_code?: string;
                          country_name?: string;
                          latitude?: number;
                          longitude?: number;
                          postal_code?: string;
                          subdivisions?: { iso_code: ...; name: ... }[];
                          timezone?: string;
                      };
                  };
                  v6?: {
                      address: string;
                      asn?: string;
                      asn_name?: string;
                      asn_network?: string;
                      asn_type?: string;
                      datacenter_name?: string;
                      datacenter_result?: boolean;
                      geolocation?: {
                          accuracy_radius?: number;
                          city_name?: string;
                          continent_code?: string;
                          continent_name?: string;
                          country_code?: string;
                          country_name?: string;
                          latitude?: number;
                          longitude?: number;
                          postal_code?: string;
                          subdivisions?: { iso_code: ...; name: ... }[];
                          timezone?: string;
                      };
                  };
              };
              jailbroken?: boolean;
              labels?: { label: string; ml_score?: number; prediction?: boolean }[];
              linked_id?: string;
              location_spoofing?: boolean;
              mitm_attack?: boolean;
              os?: string;
              os_version?: string;
              package_name?: string;
              privacy_settings?: boolean;
              proximity?: {
                  confidence: number;
                  id: string;
                  precision_radius: 10 | 25 | 65 | 175 | 450 | 1200 | 3300 | 8500 | 22500;
              };
              proxy?: boolean;
              proxy_confidence?: "high"
              | "low"
              | "medium";
              proxy_details?: {
                  last_seen_at?: number;
                  provider?: string;
                  proxy_type: "unknown" | "residential" | "data_center";
              };
              proxy_ml_score?: number;
              rare_device?: boolean;
              rare_device_percentile_bucket?: | "<p95"
              | "p95-p99"
              | "p99-p99.5"
              | "p99.5-p99.9"
              | "p99.9+"
              | "not_seen";
              raw_device_attributes?: {
                  architecture?: number;
                  audio?: number;
                  battery_level?: number;
                  battery_low_power_mode?: boolean;
                  canvas?: { geometry?: string; text?: string; winding?: boolean };
                  color_depth?: number;
                  cookies_enabled?: boolean;
                  date_time_locale?: string;
                  device_manufacturer?: string;
                  device_memory?: number;
                  device_model?: string;
                  emoji?: {
                      bottom?: number;
                      font?: string;
                      height?: number;
                      left?: number;
                      right?: number;
                      top?: number;
                      width?: number;
                      x?: number;
                      y?: number;
                  };
                  font_hash?: string;
                  font_preferences?: {
                      apple?: number;
                      default?: number;
                      min?: number;
                      mono?: number;
                      sans?: number;
                      serif?: number;
                      system?: number;
                  };
                  fonts?: string[];
                  hardware_concurrency?: number;
                  indexed_db?: boolean;
                  languages?: string[][];
                  local_storage?: boolean;
                  math?: string;
                  oscpu?: string;
                  platform?: string;
                  plugins?: {
                      description?: string;
                      mimeTypes?: {
                          description?: (...)
                          | (...);
                          suffixes?: (...) | (...);
                          type?: (...) | (...);
                      }[];
                      name: string;
                  }[];
                  screen_resolution?: number[];
                  session_storage?: boolean;
                  timezone?: string;
                  timezone_offset?: string;
                  touch_support?: {
                      max_touch_points?: number;
                      touch_event?: boolean;
                      touch_start?: boolean;
                  };
                  vendor?: string;
                  webgl_basics?: {
                      renderer?: string;
                      renderer_unmasked?: string;
                      shading_language_version?: string;
                      vendor?: string;
                      vendor_unmasked?: string;
                      version?: string;
                  };
                  webgl_extensions?: {
                      context_attributes?: string;
                      extension_parameters?: string;
                      extensions?: string;
                      parameters?: string;
                      shader_precisions?: string;
                      unsupported_extensions?: string[];
                  };
              };
              replayed?: boolean;
              root_apps?: boolean;
              rule_action?: | {
                  request_header_modifications?: {
                      append?: { name: string; value: string }[];
                      remove?: string[];
                      set?: { name: string; value: string }[];
                  };
                  rule_expression?: string;
                  rule_id?: string;
                  ruleset_id: string;
                  type: "allow";
              }
              | {
                  body?: string;
                  headers?: { name: string; value: string }[];
                  rule_expression?: string;
                  rule_id?: string;
                  ruleset_id: string;
                  status_code?: number;
                  type: "block";
              };
              sdk?: {
                  integrations?: {
                      name?: string;
                      subintegration?: { name?: string; version?: string };
                      version?: string;
                  }[];
                  platform: "unknown"
                  | "js"
                  | "android"
                  | "ios";
                  version: string;
              };
              simulator?: boolean;
              supplementary_id_high_recall?: {
                  confidence?: { comment?: string; score: number; version?: string };
                  first_seen_at?: number;
                  last_seen_at?: number;
                  visitor_found: boolean;
                  visitor_id: string;
              };
              suspect?: boolean;
              suspect_score?: number;
              tags?: { [key: string]: unknown };
              tampering?: boolean;
              tampering_confidence?: "high" | "low" | "medium";
              tampering_details?: {
                  anomaly_score?: number;
                  anti_detect_browser?: boolean;
              };
              tampering_ml_score?: number;
              timestamp: number;
              url?: string;
              user_agent?: string;
              velocity?: {
                  distinct_country?: {
                      "1_hour": number;
                      "24_hours"?: number;
                      "5_minutes": number;
                  };
                  distinct_ip?: {
                      "1_hour": number;
                      "24_hours"?: number;
                      "5_minutes": number;
                  };
                  distinct_ip_by_linked_id?: {
                      "1_hour": number;
                      "24_hours"?: number;
                      "5_minutes": number;
                  };
                  distinct_linked_id?: {
                      "1_hour": number;
                      "24_hours"?: number;
                      "5_minutes": number;
                  };
                  distinct_visitor_id_by_linked_id?: {
                      "1_hour": number;
                      "24_hours"?: number;
                      "5_minutes": number;
                  };
                  events?: { "1_hour": number; "24_hours"?: number; "5_minutes": number };
                  ip_events?: {
                      "1_hour": number;
                      "24_hours"?: number;
                      "5_minutes": number;
                  };
              };
              virtual_machine?: boolean;
              virtual_machine_ml_score?: number;
              vpn?: boolean;
              vpn_confidence?: "high"
              | "low"
              | "medium";
              vpn_methods?: {
                  auxiliary_mobile?: boolean;
                  ml_prediction?: boolean;
                  os_mismatch?: boolean;
                  public_vpn?: boolean;
                  relay?: boolean;
                  timezone_mismatch?: boolean;
              };
              vpn_ml_score?: number;
              vpn_origin_country?: string;
              vpn_origin_timezone?: string;
          },
      >

      UnsealAggregateError

      Error