{"version":3,"sources":["jsdelivr-header.js","/npm/react-native-kochava-measurement@5.0.0/lib/module/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,oBAUS,2BAA8B,kCAOhC,IAAI,2BAA0C,SAAU,GAO7D,OANA,EAAiC,KAAI,OACrC,EAAkC,MAAI,QACtC,EAAiC,KAAI,OACrC,EAAiC,KAAI,OACrC,EAAkC,MAAI,QACtC,EAAkC,MAAI,QAC/B,CACT,CARqD,CAQnD,CAAC,UAOI,IAAI,4BAA2C,SAAU,GAoB9D,OAnBA,EAAyC,YAAI,cAC7C,EAAuC,UAAI,cAC3C,EAA2C,cAAI,mBAC/C,EAA2C,cAAI,iBAC/C,EAA2C,cAAI,iBAC/C,EAAsC,SAAI,WAC1C,EAAoC,OAAI,SACxC,EAAkD,qBAAI,wBACtD,EAAoC,OAAI,SACxC,EAA8C,iBAAI,oBAClD,EAAkC,KAAI,OACtC,EAAoC,OAAI,UACxC,EAA0C,aAAI,gBAC9C,EAAwC,WAAI,cAC5C,EAA4C,eAAI,kBAChD,EAAsC,SAAI,YAC1C,EAAqC,QAAI,WACzC,EAAwC,WAAI,cAC5C,EAAuC,UAAI,YACpC,CACT,CArBsD,CAqBpD,CAAC,UAKI,MAAM,wBACX,WAAa,CAAC,EACd,kCAAoC,KACpC,8BAAgC,KAChC,mCAAqC,KAGrC,WAAA,CAAY,GACV,KAAK,WAAa,CACpB,CAGA,IAAA,GACE,mBAAmB,SAAS,mBAAmB,KACjD,CAGA,oBAAA,CAAqB,EAAK,GACpB,GAAO,GAA0B,iBAAV,IACzB,KAAK,WAAW,GAAO,EAE3B,CAGA,kBAAA,CAAmB,EAAK,GAClB,GAAgB,MAAT,GAAkC,kBAAV,IACjC,KAAK,WAAW,GAAO,EAE3B,CAGA,oBAAA,CAAqB,EAAK,GACpB,GAAgB,MAAT,GAAkC,iBAAV,IACjC,KAAK,WAAW,GAAO,EAE3B,CAGA,yBAAA,CAA0B,EAAK,GACzB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,EAAM,EACtC,CAGA,uBAAA,CAAwB,EAAM,GAC5B,KAAK,KAAK,wBAAwB,EAAM,EAC1C,CAGA,kBAAA,CAAmB,GACjB,KAAK,KAAK,mBAAmB,EAC/B,CAGA,uBAAA,CAAwB,GACtB,OAAO,IAAI,wBAAwB,EACrC,CAGA,uBAAA,CAAwB,GACtB,OAAO,IAAI,wBAAwB,EACrC","file":"/npm/react-native-kochava-measurement@5.0.0/lib/module/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.48.0.\n * Original file: /npm/react-native-kochava-measurement@5.0.0/lib/module/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","\"use strict\";\n\n//\n//  KochavaMeasurement (ReactNative)\n//\n//  Copyright (c) 2018 - 2025 Kochava, Inc. All rights reserved.\n//\n\n// Imports\n\nimport { KochavaMeasurementImpl } from './KochavaMeasurementImpl';\n\n//\n// Log Levels\n//\n// Defaults to Info\n//\nexport let KochavaMeasurementLogLevel = /*#__PURE__*/function (KochavaMeasurementLogLevel) {\n  KochavaMeasurementLogLevel[\"None\"] = \"none\";\n  KochavaMeasurementLogLevel[\"Error\"] = \"error\";\n  KochavaMeasurementLogLevel[\"Warn\"] = \"warn\";\n  KochavaMeasurementLogLevel[\"Info\"] = \"info\";\n  KochavaMeasurementLogLevel[\"Debug\"] = \"debug\";\n  KochavaMeasurementLogLevel[\"Trace\"] = \"trace\";\n  return KochavaMeasurementLogLevel;\n}({});\n\n//\n// Standard Event Types\n//\n// For samples and expected usage see: https://support.kochava.com/reference-information/post-install-event-examples/\n//\nexport let KochavaMeasurementEventType = /*#__PURE__*/function (KochavaMeasurementEventType) {\n  KochavaMeasurementEventType[\"Achievement\"] = \"Achievement\";\n  KochavaMeasurementEventType[\"AddToCart\"] = \"Add to Cart\";\n  KochavaMeasurementEventType[\"AddToWishList\"] = \"Add to Wish List\";\n  KochavaMeasurementEventType[\"CheckoutStart\"] = \"Checkout Start\";\n  KochavaMeasurementEventType[\"LevelComplete\"] = \"Level Complete\";\n  KochavaMeasurementEventType[\"Purchase\"] = \"Purchase\";\n  KochavaMeasurementEventType[\"Rating\"] = \"Rating\";\n  KochavaMeasurementEventType[\"RegistrationComplete\"] = \"Registration Complete\";\n  KochavaMeasurementEventType[\"Search\"] = \"Search\";\n  KochavaMeasurementEventType[\"TutorialComplete\"] = \"Tutorial Complete\";\n  KochavaMeasurementEventType[\"View\"] = \"View\";\n  KochavaMeasurementEventType[\"AdView\"] = \"Ad View\";\n  KochavaMeasurementEventType[\"PushReceived\"] = \"Push Received\";\n  KochavaMeasurementEventType[\"PushOpened\"] = \"Push Opened\";\n  KochavaMeasurementEventType[\"ConsentGranted\"] = \"Consent Granted\";\n  KochavaMeasurementEventType[\"Deeplink\"] = \"_Deeplink\";\n  KochavaMeasurementEventType[\"AdClick\"] = \"Ad Click\";\n  KochavaMeasurementEventType[\"StartTrial\"] = \"Start Trial\";\n  KochavaMeasurementEventType[\"Subscribe\"] = \"Subscribe\";\n  return KochavaMeasurementEventType;\n}({});\n\n//\n// Kochava Measurement Event\n//\nexport class KochavaMeasurementEvent {\n  _eventData = {};\n  _appleAppStoreReceiptBase64String = null;\n  _androidGooglePlayReceiptData = null;\n  _androidGooglePlayReceiptSignature = null;\n\n  // Constructor\n  constructor(eventName) {\n    this._eventName = eventName;\n  }\n\n  // Send the event.\n  send() {\n    KochavaMeasurement.instance.sendEventWithEvent(this);\n  }\n\n  // Set a custom key/value on the event where the type of the value is a string.\n  setCustomStringValue(key, value) {\n    if (key && value && typeof value === \"string\") {\n      this._eventData[key] = value;\n    }\n  }\n\n  // Set a custom key/value on the event where the type of the value is a boolean.\n  setCustomBoolValue(key, value) {\n    if (key && value != null && typeof value === \"boolean\") {\n      this._eventData[key] = value;\n    }\n  }\n\n  // Set a custom key/value on the event where the type of the value is a number.\n  setCustomNumberValue(key, value) {\n    if (key && value != null && typeof value === \"number\") {\n      this._eventData[key] = value;\n    }\n  }\n\n  // (Internal) Set a custom key/value on the event where the type of the value is a dictionary.\n  _setCustomDictionaryValue(key, value) {\n    if (key && value != null && typeof value === \"object\") {\n      this._eventData[key] = value;\n    }\n  }\n\n  // (Android Only) Set the receipt from the Android Google Play Store.\n  setAndroidGooglePlayReceipt(data, signature) {\n    if (data && typeof data === \"string\" && signature && typeof signature === \"string\") {\n      this._androidGooglePlayReceiptData = data;\n      this._androidGooglePlayReceiptSignature = signature;\n    }\n  }\n\n  // (Apple Only) Set the receipt from the iOS Apple App Store.\n  // Deprecated: Use setAppleAppStoreReceipt instead.\n  setiOSAppStoreReceipt(base64String) {\n    this.setAppleAppStoreReceipt(base64String);\n  }\n\n  // (Apple Only) Set the receipt from the iOS Apple App Store.\n  setAppleAppStoreReceipt(base64String) {\n    if (base64String && typeof base64String === \"string\") {\n      this._appleAppStoreReceiptBase64String = base64String;\n    }\n  }\n\n  //\n  // Standard Event Parameters.\n  //\n  setAction(value) {\n    this.setCustomStringValue(\"action\", value);\n  }\n  setBackground(value) {\n    this.setCustomBoolValue(\"background\", value);\n  }\n  setCheckoutAsGuest(value) {\n    this.setCustomStringValue(\"checkout_as_guest\", value);\n  }\n  setCompleted(value) {\n    this.setCustomBoolValue(\"completed\", value);\n  }\n  setContentId(value) {\n    this.setCustomStringValue(\"content_id\", value);\n  }\n  setContentType(value) {\n    this.setCustomStringValue(\"content_type\", value);\n  }\n  setCurrency(value) {\n    this.setCustomStringValue(\"currency\", value);\n  }\n  setDate(value) {\n    this.setCustomStringValue(\"date\", value);\n  }\n  setDescription(value) {\n    this.setCustomStringValue(\"description\", value);\n  }\n  setDestination(value) {\n    this.setCustomStringValue(\"destination\", value);\n  }\n  setDuration(value) {\n    this.setCustomNumberValue(\"duration\", value);\n  }\n  setEndDate(value) {\n    this.setCustomStringValue(\"end_date\", value);\n  }\n  setItemAddedFrom(value) {\n    this.setCustomStringValue(\"item_added_from\", value);\n  }\n  setLevel(value) {\n    this.setCustomStringValue(\"level\", value);\n  }\n  setMaxRatingValue(value) {\n    this.setCustomNumberValue(\"max_rating_value\", value);\n  }\n  setName(value) {\n    this.setCustomStringValue(\"name\", value);\n  }\n  setOrderId(value) {\n    this.setCustomStringValue(\"order_id\", value);\n  }\n  setOrigin(value) {\n    this.setCustomStringValue(\"origin\", value);\n  }\n  setPayload(value) {\n    this._setCustomDictionaryValue(\"payload\", value);\n  }\n  setPrice(value) {\n    this.setCustomNumberValue(\"price\", value);\n  }\n  setQuantity(value) {\n    this.setCustomNumberValue(\"quantity\", value);\n  }\n  setRatingValue(value) {\n    this.setCustomNumberValue(\"rating_value\", value);\n  }\n  setReceiptId(value) {\n    this.setCustomStringValue(\"receipt_id\", value);\n  }\n  setReferralFrom(value) {\n    this.setCustomStringValue(\"referral_from\", value);\n  }\n  setRegistrationMethod(value) {\n    this.setCustomStringValue(\"registration_method\", value);\n  }\n  setResults(value) {\n    this.setCustomStringValue(\"results\", value);\n  }\n  setScore(value) {\n    this.setCustomStringValue(\"score\", value);\n  }\n  setSearchTerm(value) {\n    this.setCustomStringValue(\"search_term\", value);\n  }\n  setSource(value) {\n    this.setCustomStringValue(\"source\", value);\n  }\n  setSpatialX(value) {\n    this.setCustomNumberValue(\"spatial_x\", value);\n  }\n  setSpatialY(value) {\n    this.setCustomNumberValue(\"spatial_y\", value);\n  }\n  setSpatialZ(value) {\n    this.setCustomNumberValue(\"spatial_z\", value);\n  }\n  setStartDate(value) {\n    this.setCustomStringValue(\"start_date\", value);\n  }\n  setSuccess(value) {\n    this.setCustomStringValue(\"success\", value);\n  }\n  setUri(value) {\n    this.setCustomStringValue(\"uri\", value);\n  }\n  setUserId(value) {\n    this.setCustomStringValue(\"user_id\", value);\n  }\n  setUserName(value) {\n    this.setCustomStringValue(\"user_name\", value);\n  }\n  setValidated(value) {\n    this.setCustomStringValue(\"validated\", value);\n  }\n\n  //\n  // Ad LTV Event Parameters\n  //\n  setAdCampaignId(value) {\n    this.setCustomStringValue(\"ad_campaign_id\", value);\n  }\n  setAdCampaignName(value) {\n    this.setCustomStringValue(\"ad_campaign_name\", value);\n  }\n  setAdDeviceType(value) {\n    this.setCustomStringValue(\"device_type\", value);\n  }\n  setAdGroupId(value) {\n    this.setCustomStringValue(\"ad_group_id\", value);\n  }\n  setAdGroupName(value) {\n    this.setCustomStringValue(\"ad_group_name\", value);\n  }\n  setAdMediationName(value) {\n    this.setCustomStringValue(\"ad_mediation_name\", value);\n  }\n  setAdNetworkName(value) {\n    this.setCustomStringValue(\"ad_network_name\", value);\n  }\n  setAdPlacement(value) {\n    this.setCustomStringValue(\"placement\", value);\n  }\n  setAdSize(value) {\n    this.setCustomStringValue(\"ad_size\", value);\n  }\n  setAdType(value) {\n    this.setCustomStringValue(\"ad_type\", value);\n  }\n\n  // Return all the event info in the form to pass down to the native layer.\n  getData() {\n    return {\n      \"eventName\": this._eventName,\n      \"eventData\": this._eventData,\n      \"appleAppStoreReceiptBase64String\": this._appleAppStoreReceiptBase64String,\n      \"androidGooglePlayReceiptData\": this._androidGooglePlayReceiptData,\n      \"androidGooglePlayReceiptSignature\": this._androidGooglePlayReceiptSignature\n    };\n  }\n}\n\n//\n// Kochava Measurement Install Attribution Result\n//\nexport class KochavaMeasurementInstallAttribution {\n  // Constructor\n  constructor(data) {\n    if (data == null) {\n      this.retrieved = false;\n      this.raw = {};\n      this.attributed = false;\n      this.firstInstall = false;\n    } else {\n      this.retrieved = data[\"retrieved\"] ?? false;\n      this.raw = data[\"raw\"] ?? {};\n      this.attributed = data[\"attributed\"] ?? false;\n      this.firstInstall = data[\"firstInstall\"] ?? false;\n    }\n  }\n}\n\n//\n// Kochava Measurement Deeplink Result\n//\nexport class KochavaMeasurementDeeplink {\n  // Constructor\n  constructor(data) {\n    if (data == null) {\n      this.destination = \"\";\n      this.raw = {};\n    } else {\n      this.destination = data[\"destination\"] ?? \"\";\n      this.raw = data[\"raw\"] ?? {};\n    }\n  }\n}\n\n//\n// Kochava Measurement Init Result\n// Deprecated: Use KochavaMeasurementConfig instead.\n//\nexport class KochavaMeasurementInit {\n  // Constructor\n  constructor(config) {\n    this.consentGdprApplies = config.consentGdprApplies;\n  }\n}\n\n//\n// Kochava Measurement Config Result\n//\nexport class KochavaMeasurementConfig {\n  // Constructor\n  constructor(data) {\n    if (data == null) {\n      this.consentGdprApplies = false;\n    } else {\n      this.consentGdprApplies = data[\"consentGdprApplies\"] ?? false;\n    }\n  }\n}\n\n//\n// Kochava Measurement Init Completed\n// Deprecated: Use KochavaMeasurementConfigCompletedListener instead.\n//\n\n//\n// Kochava Measurement Config Completed\n//\n\n//\n// Kochava Measurement SDK\n//\n// A lightweight and easy to integrate SDK, providing first-class integration with Kochava’s installation attribution and analytics platform.\n// Getting Started: https://support.kochava.com/articles/sdk-integration/48867-reactnative-sdk/\n//\nexport class KochavaMeasurement {\n  // Singleton Instance\n  static instance = new KochavaMeasurement();\n\n  // Internal State\n  _api = new KochavaMeasurementImpl();\n  _startParameters = {};\n\n  // Reserved function, only use if directed to by your Client Success Manager.\n  executeAdvancedInstruction(name, value) {\n    this._api.executeAdvancedInstruction(name, value);\n  }\n\n  // Reserved function, only use if directed to by your Client Success Manager.\n  executeAdvancedInstructionWithCallback(name, value, persistent, callback) {\n    this._api.executeAdvancedInstructionWithCallback(name, value, persistent, callback);\n  }\n\n  // Set the log level. This should be set prior to starting the SDK.\n  setLogLevel(logLevel) {\n    this._api.setLogLevel(logLevel);\n  }\n\n  // Set the sleep state.\n  setSleep(enabled) {\n    this._api.setSleep(enabled);\n  }\n\n  // Set if app level advertising tracking should be limited.\n  setAppLimitAdTracking(enabled) {\n    this._api.setAppLimitAdTracking(enabled);\n  }\n\n  // Register a custom device identifier for install attribution.\n  registerCustomDeviceIdentifier(name, value) {\n    this._api.registerCustomDeviceIdentifier(name, value);\n  }\n\n  // Register a custom value to be included in SDK payloads.\n  registerCustomStringValue(name, value) {\n    this._api.registerCustomStringValue(name, value);\n  }\n\n  // Register a custom value to be included in SDK payloads.\n  registerCustomBoolValue(name, value) {\n    this._api.registerCustomBoolValue(name, value);\n  }\n\n  // Register a custom value to be included in SDK payloads.\n  registerCustomNumberValue(name, value) {\n    this._api.registerCustomNumberValue(name, value);\n  }\n\n  // Register an Identity Link that allows linking different identities together in the form of key and value pairs.\n  registerIdentityLink(name, value) {\n    this._api.registerIdentityLink(name, value);\n  }\n\n  // (Apple Only) Enable App Clips by setting the Container App Group Identifier for App Clips data migration.\n  // Deprecated: Use enableAppleAppClips instead.\n  enableiOSAppClips(identifier) {\n    this._api.enableAppleAppClips(identifier);\n  }\n\n  // (Apple Only) Enable App Clips by setting the Container App Group Identifier for App Clips data migration.\n  enableAppleAppClips(identifier) {\n    this._api.enableAppleAppClips(identifier);\n  }\n\n  // (Apple Only) Enable App Tracking Transparency.\n  // Deprecated: Use enableAppleAtt instead.\n  enableiOSAtt() {\n    this.enableAppleAtt();\n  }\n\n  // (Apple Only) Enable App Tracking Transparency.\n  enableAppleAtt() {\n    this._api.enableAppleAtt();\n  }\n\n  // (Apple Only) Set the amount of time in seconds to wait for App Tracking Transparency Authorization. Default 30 seconds.\n  // Deprecated: Use setAppleAttAuthorizationWaitTime instead.\n  setiOSAttAuthorizationWaitTime(timeInterval) {\n    this.setAppleAttAuthorizationWaitTime(timeInterval);\n  }\n\n  // (Apple Only) Set the amount of time in seconds to wait for App Tracking Transparency Authorization. Default 30 seconds.\n  setAppleAttAuthorizationWaitTime(timeInterval) {\n    this._api.setAppleAttAuthorizationWaitTime(timeInterval);\n  }\n\n  // (Apple Only) Set if the SDK should automatically request App Tracking Transparency Authorization on start. Default true.\n  // Deprecated: Use setAppleAttAuthorizationAutoRequest instead.\n  setiOSAttAuthorizationAutoRequest(enabled) {\n    this.setAppleAttAuthorizationAutoRequest(enabled);\n  }\n\n  // (Apple Only) Set if the SDK should automatically request App Tracking Transparency Authorization on start. Default true.\n  setAppleAttAuthorizationAutoRequest(enabled) {\n    this._api.setAppleAttAuthorizationAutoRequest(enabled);\n  }\n\n  // (Apple Only) Set if the app is handling the ATT prompt on their own. Default false.\n  setAppleAttAuthorizationCustomPrompt(enabled) {\n    this._api.setAppleAttAuthorizationCustomPrompt(enabled);\n  }\n\n  // (Apple Only) Call to indicate that the custom prompt prompt was answered to allow the SDK to move forward.\n  appleAttAuthorizationCustomPromptDidComplete() {\n    this._api.appleAttAuthorizationCustomPromptDidComplete();\n  }\n\n  // Register a privacy profile, creating or overwriting an existing pofile.\n  registerPrivacyProfile(name, keys) {\n    this._api.registerPrivacyProfile(name, keys);\n  }\n\n  // Enable or disable an existing privacy profile.\n  setPrivacyProfileEnabled(name, enabled) {\n    this._api.setPrivacyProfileEnabled(name, enabled);\n  }\n\n  // Set the init completed callback listener.\n  // Deprecated: Use setConfigCompletedListener instead.\n  setInitCompletedListener(initCompletedListener) {\n    if (initCompletedListener == null) {\n      this._api.setConfigCompletedListener(null);\n    } else {\n      this._api.setConfigCompletedListener(config => {\n        initCompletedListener(new KochavaMeasurementInit(config));\n      });\n    }\n  }\n\n  // Set the config completed callback listener.\n  setConfigCompletedListener(configCompletedListener) {\n    this._api.setConfigCompletedListener(configCompletedListener);\n  }\n\n  // Set if consent has been explicitly opted in or out by the user.\n  setIntelligentConsentGranted(granted) {\n    this._api.setIntelligentConsentGranted(granted);\n  }\n\n  // Return if the SDK is currently started.\n  getStarted() {\n    return this._api.getStarted();\n  }\n\n  // Register the Android App GUID. Do this prior to calling Start.\n  registerAndroidAppGuid(androidAppGuid) {\n    this._startParameters[\"androidAppGuid\"] = androidAppGuid;\n  }\n\n  // Register the iOS App GUID. Do this prior to calling Start.\n  // Deprecated: Use registerAppleAppGuid instead.\n  registerIosAppGuid(appleAppGuid) {\n    this.registerAppleAppGuid(appleAppGuid);\n  }\n\n  // Register the Apple App GUID. Do this prior to calling Start.\n  registerAppleAppGuid(appleAppGuid) {\n    this._startParameters[\"appleAppGuid\"] = appleAppGuid;\n  }\n\n  // Register the Vega App GUID. Do this prior to calling Start.\n  registerVegaAppGuid(vegaAppGuid) {\n    this._startParameters[\"vegaAppGuid\"] = vegaAppGuid;\n  }\n\n  // Register the Web App GUID. Do this prior to calling Start.\n  // registerWebAppGuid(webAppGuid: string): void {\n  //   this._startParameters[\"webAppGuid\"] = webAppGuid;\n  // }\n\n  // Register your Partner Name. Do this prior to calling Start.\n  //\n  // NOTE: Only use this method if directed to by your Client Success Manager.\n  registerPartnerName(partnerName) {\n    this._startParameters[\"partnerName\"] = partnerName;\n  }\n\n  // Start the SDK with the previously registered App GUID or Partner Name.\n  start() {\n    let wrapper = {\n      name: \"ReactNative\",\n      version: \"5.0.0\",\n      build_date: \"2026-08-31T17:26:31Z\"\n    };\n    this.executeAdvancedInstruction(\"wrapper\", JSON.stringify(wrapper));\n    this._api.start(this._startParameters);\n  }\n\n  // Shut down the SDK and optionally delete all local SDK data.\n  //\n  // NOTE: Care should be taken when using this method as deleting the SDK data will make it reset back to a first install state.\n  shutdown(deleteData) {\n    this._startParameters = {};\n    this._api.shutdown(deleteData);\n  }\n\n  // Return the Kochava Device ID.\n  retrieveInstallId() {\n    return this._api.retrieveInstallId();\n  }\n\n  // Retrieve install attribution data from the server.\n  retrieveInstallAttribution() {\n    return this._api.retrieveInstallAttribution();\n  }\n\n  // Process a launch deeplink using the default 10 second timeout.\n  // eventAutoSend: whether the SDK should automatically send a _Deeplink event when this deeplink resolves.\n  processDeeplink(path, eventAutoSend) {\n    if (typeof eventAutoSend !== \"boolean\") {\n      return Promise.reject(new Error(\"processDeeplink: eventAutoSend is required and must be a boolean as of v5.0.0.\"));\n    }\n    return this._api.processDeeplink(path, eventAutoSend);\n  }\n\n  // Process a launch deeplink using a custom timeout in seconds.\n  // eventAutoSend: whether the SDK should automatically send a _Deeplink event when this deeplink resolves.\n  processDeeplinkWithOverrideTimeout(path, eventAutoSend, timeout) {\n    if (typeof eventAutoSend !== \"boolean\") {\n      return Promise.reject(new Error(\"processDeeplinkWithOverrideTimeout: eventAutoSend is required and must be a boolean as of v5.0.0.\"));\n    }\n    return this._api.processDeeplinkWithOverrideTimeout(path, eventAutoSend, timeout);\n  }\n  registerDeeplinkWrapperDomain(domain) {\n    this._api.registerDeeplinkWrapperDomain(domain);\n  }\n\n  // Registers a default parameter on every event.\n  registerDefaultEventStringParameter(name, value) {\n    this._api.registerDefaultEventStringParameter(name, value);\n  }\n\n  // Registers a default parameter on every event.\n  registerDefaultEventBoolParameter(name, value) {\n    this._api.registerDefaultEventBoolParameter(name, value);\n  }\n\n  // Registers a default parameter on every event.\n  registerDefaultEventNumberParameter(name, value) {\n    this._api.registerDefaultEventNumberParameter(name, value);\n  }\n\n  // Registers a default user_id value on every event.\n  registerDefaultEventUserId(value) {\n    this._api.registerDefaultEventUserId(value);\n  }\n\n  // Send an event.\n  sendEvent(name) {\n    this._api.sendEvent(name);\n  }\n\n  // Send an event with string data.\n  sendEventWithString(name, data) {\n    this._api.sendEventWithString(name, data);\n  }\n\n  // Send an event with dictionary data.\n  sendEventWithDictionary(name, data) {\n    this._api.sendEventWithDictionary(name, data);\n  }\n\n  // (Internal) Send an event object (Called via Event.send()).\n  sendEventWithEvent(event) {\n    this._api.sendEventWithEvent(event);\n  }\n\n  // Build and return an event using a Standard Event Type.\n  buildEventWithEventType(type) {\n    return new KochavaMeasurementEvent(type);\n  }\n\n  // Build and return an event using a custom name.\n  buildEventWithEventName(name) {\n    return new KochavaMeasurementEvent(name);\n  }\n}\n"]}