1 line
No EOL
1.6 KiB
Text
1 line
No EOL
1.6 KiB
Text
{"version":3,"file":"index.esm.js","sources":["../../functions/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2021 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n// function is used as a namespace to access types\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nimport { httpsCallable as vanillaHttpsCallable } from 'firebase/functions';\nimport { from } from 'rxjs';\nimport { map } from 'rxjs/operators';\nexport function httpsCallable(functions, name, options) {\n var callable = vanillaHttpsCallable(functions, name, options);\n return function (data) {\n return from(callable(data)).pipe(map(function (r) { return r.data; }));\n };\n}\n"],"names":["vanillaHttpsCallable"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAMO,SAAS,aAAa,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE;AACxD,IAAI,IAAI,QAAQ,GAAGA,eAAoB,CAAC,SAAS,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAClE,IAAI,OAAO,UAAU,IAAI,EAAE;AAC3B,QAAQ,OAAO,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/E,KAAK,CAAC;AACN;;;;"} |