{"version":3,"sources":["jsdelivr-header.js","/npm/expo-wifi-rtt@0.1.1/src/index.ts"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OCNS,mBAAoB,iBAAkC,2BAIxD,sBAAuB,6BACvB,oBAAqB,2BAIrB,MAAM,GAAK,kBAAkB,UAE9B,SAAU,QACd,OAAO,kBAAkB,OAC3B,QAEO,eAAe,cAAc,GAClC,aAAa,kBAAkB,cAAc,EAC/C,CAEA,MAAM,QAAU,IAAI,aAAa,mBAAqB,mBAAmB,oBAEnE,SAAU,kBAAkB,GAChC,OAAO,QAAQ,YAAgC,WAAY,EAC7D,QAES","file":"/npm/expo-wifi-rtt@0.1.1/build/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/expo-wifi-rtt@0.1.1/build/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","import { NativeModulesProxy, EventEmitter, Subscription } from 'expo-modules-core';\n\n// Import the native module. On web, it will be resolved to ExpoWifiRtt.web.ts\n// and on native platforms to ExpoWifiRtt.ts\nimport ExpoWifiRttModule from './ExpoWifiRttModule';\nimport ExpoWifiRttView from './ExpoWifiRttView';\nimport { ChangeEventPayload, ExpoWifiRttViewProps } from './ExpoWifiRtt.types';\n\n// Get the native constant value.\nexport const PI = ExpoWifiRttModule.PI;\n\nexport function hello(): string {\n  return ExpoWifiRttModule.hello();\n}\n\nexport async function setValueAsync(value: string) {\n  return await ExpoWifiRttModule.setValueAsync(value);\n}\n\nconst emitter = new EventEmitter(ExpoWifiRttModule ?? NativeModulesProxy.ExpoWifiRtt);\n\nexport function addChangeListener(listener: (event: ChangeEventPayload) => void): Subscription {\n  return emitter.addListener<ChangeEventPayload>('onChange', listener);\n}\n\nexport { ExpoWifiRttView, ExpoWifiRttViewProps, ChangeEventPayload };\n"]}