Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/functions-compat

Package Overview
Dependencies
Maintainers
4
Versions
1163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/functions-compat - npm Package Compare versions

Comparing version 0.3.15-canary.4db3d3e7b to 0.3.15-canary.612335d76

2

dist/esm/index.esm2017.js

@@ -7,3 +7,3 @@ import firebase from '@firebase/app-compat';

const name = "@firebase/functions-compat";
const version = "0.3.15-canary.4db3d3e7b";
const version = "0.3.15-canary.612335d76";

@@ -10,0 +10,0 @@ /**

export declare const TEST_PROJECT: any;

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ /**

@@ -13,3 +13,3 @@ 'use strict';

const name = "@firebase/functions-compat";
const version = "0.3.15-canary.4db3d3e7b";
const version = "0.3.15-canary.612335d76";

@@ -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 @@ /**

@@ -0,0 +0,0 @@ /**

{
"name": "@firebase/functions-compat",
"version": "0.3.15-canary.4db3d3e7b",
"version": "0.3.15-canary.612335d76",
"description": "",

@@ -29,10 +29,10 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",

"peerDependencies": {
"@firebase/app-compat": "0.2.45-canary.4db3d3e7b"
"@firebase/app-compat": "0.2.45-canary.612335d76"
},
"devDependencies": {
"@firebase/app-compat": "0.2.45-canary.4db3d3e7b",
"@firebase/app-compat": "0.2.45-canary.612335d76",
"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.4db3d3e7b",
"@firebase/functions": "0.11.9-canary.4db3d3e7b",
"@firebase/functions-types": "0.6.2-canary.4db3d3e7b",
"@firebase/util": "1.10.1-canary.4db3d3e7b",
"@firebase/component": "0.6.10-canary.612335d76",
"@firebase/functions": "0.11.9-canary.612335d76",
"@firebase/functions-types": "0.6.2-canary.612335d76",
"@firebase/util": "1.10.1-canary.612335d76",
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc