@firebase/functions-compat
Advanced tools
Comparing version 0.3.15-canary.a97ac88db to 0.3.15-canary.e577a408c
@@ -7,3 +7,3 @@ import firebase from '@firebase/app-compat'; | ||
const name = "@firebase/functions-compat"; | ||
const version = "0.3.15-canary.a97ac88db"; | ||
const version = "0.3.15-canary.e577a408c"; | ||
@@ -10,0 +10,0 @@ /** |
export declare const TEST_PROJECT: any; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
export {}; |
@@ -0,0 +0,0 @@ /** |
@@ -13,3 +13,3 @@ 'use strict'; | ||
const name = "@firebase/functions-compat"; | ||
const version = "0.3.15-canary.a97ac88db"; | ||
const version = "0.3.15-canary.e577a408c"; | ||
@@ -16,0 +16,0 @@ /** |
export declare const TEST_PROJECT: any; |
@@ -33,6 +33,33 @@ /** | ||
declare module "@firebase/functions" { | ||
function connectFunctionsEmulator(functionsInstance: types.FirebaseFunctions, host: string, port: number): void; | ||
function getFunctions(app?: FirebaseAppCompat, regionOrCustomDomain?: string): Functions; | ||
function httpsCallable<RequestData = unknown, ResponseData = unknown>(functionsInstance: types.FirebaseFunctions, name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>; | ||
function httpsCallableFromURL<RequestData = unknown, ResponseData = unknown>(functionsInstance: types.FirebaseFunctions, url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>; | ||
/** | ||
* Modify this instance to communicate with the Cloud Functions emulator. | ||
* | ||
* Note: this must be called before this instance has been used to do any operations. | ||
* | ||
* @param host - The emulator host (ex: localhost) | ||
* @param port - The emulator port (ex: 5001) | ||
* @public | ||
*/ | ||
export declare function connectFunctionsEmulator(functionsInstance: types.FirebaseFunctions, host: string, port: number): void; | ||
/** | ||
* Returns a {@link Functions} instance for the given app. | ||
* @param app - The {@link @firebase/app#FirebaseApp} to use. | ||
* @param regionOrCustomDomain - one of: | ||
* a) The region the callable functions are located in (ex: us-central1) | ||
* b) A custom domain hosting the callable functions (ex: https://mydomain.com) | ||
* @public | ||
*/ | ||
export declare function getFunctions(app?: FirebaseAppCompat, regionOrCustomDomain?: string): Functions; | ||
/** | ||
* Returns a reference to the callable HTTPS trigger with the given name. | ||
* @param name - The name of the trigger. | ||
* @public | ||
*/ | ||
export declare function httpsCallable<RequestData = unknown, ResponseData = unknown>(functionsInstance: types.FirebaseFunctions, name: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>; | ||
/** | ||
* Returns a reference to the callable HTTPS trigger with the specified url. | ||
* @param url - The url of the trigger. | ||
* @public | ||
*/ | ||
export declare function httpsCallableFromURL<RequestData = unknown, ResponseData = unknown>(functionsInstance: types.FirebaseFunctions, url: string, options?: HttpsCallableOptions): HttpsCallable<RequestData, ResponseData>; | ||
} |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ /** |
export {}; |
@@ -0,0 +0,0 @@ /** |
{ | ||
"name": "@firebase/functions-compat", | ||
"version": "0.3.15-canary.a97ac88db", | ||
"version": "0.3.15-canary.e577a408c", | ||
"description": "", | ||
@@ -29,10 +29,10 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)", | ||
"peerDependencies": { | ||
"@firebase/app-compat": "0.2.44-canary.a97ac88db" | ||
"@firebase/app-compat": "0.2.45-canary.e577a408c" | ||
}, | ||
"devDependencies": { | ||
"@firebase/app-compat": "0.2.44-canary.a97ac88db", | ||
"@firebase/app-compat": "0.2.45-canary.e577a408c", | ||
"rollup": "2.79.1", | ||
"@rollup/plugin-json": "4.1.0", | ||
"rollup-plugin-typescript2": "0.31.2", | ||
"typescript": "4.7.4" | ||
"typescript": "5.5.4" | ||
}, | ||
@@ -66,6 +66,6 @@ "repository": { | ||
"dependencies": { | ||
"@firebase/component": "0.6.10-canary.a97ac88db", | ||
"@firebase/functions": "0.11.9-canary.a97ac88db", | ||
"@firebase/functions-types": "0.6.2-canary.a97ac88db", | ||
"@firebase/util": "1.10.1-canary.a97ac88db", | ||
"@firebase/component": "0.6.10-canary.e577a408c", | ||
"@firebase/functions": "0.11.9-canary.e577a408c", | ||
"@firebase/functions-types": "0.6.2-canary.e577a408c", | ||
"@firebase/util": "1.10.1-canary.e577a408c", | ||
"tslib": "^2.1.0" | ||
@@ -72,0 +72,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
37849
472
+ Added@firebase/app@0.10.15-canary.e577a408c(transitive)
+ Added@firebase/app-check-interop-types@0.3.2-canary.e577a408c(transitive)
+ Added@firebase/app-compat@0.2.45-canary.e577a408c(transitive)
+ Added@firebase/auth-interop-types@0.2.3-canary.e577a408c(transitive)
+ Added@firebase/component@0.6.10-canary.e577a408c(transitive)
+ Added@firebase/functions@0.11.9-canary.e577a408c(transitive)
+ Added@firebase/functions-types@0.6.2-canary.e577a408c(transitive)
+ Added@firebase/logger@0.4.3-canary.e577a408c(transitive)
+ Added@firebase/messaging-interop-types@0.2.2-canary.e577a408c(transitive)
+ Added@firebase/util@1.10.1-canary.e577a408c(transitive)
- Removed@firebase/app@0.10.14-canary.a97ac88db(transitive)
- Removed@firebase/app-check-interop-types@0.3.2-canary.a97ac88db(transitive)
- Removed@firebase/app-compat@0.2.44-canary.a97ac88db(transitive)
- Removed@firebase/auth-interop-types@0.2.3-canary.a97ac88db(transitive)
- Removed@firebase/component@0.6.10-canary.a97ac88db(transitive)
- Removed@firebase/functions@0.11.9-canary.a97ac88db(transitive)
- Removed@firebase/functions-types@0.6.2-canary.a97ac88db(transitive)
- Removed@firebase/logger@0.4.3-canary.a97ac88db(transitive)
- Removed@firebase/messaging-interop-types@0.2.2-canary.a97ac88db(transitive)
- Removed@firebase/util@1.10.1-canary.a97ac88db(transitive)