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

@firebase/data-connect

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/data-connect - npm Package Compare versions

Comparing version 0.1.1-canary.a97ac88db to 0.1.1-canary.e577a408c

2

dist/index.cjs.js

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

const name = "@firebase/data-connect";
const version = "0.1.1-canary.a97ac88db";
const version = "0.1.1-canary.e577a408c";

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

@@ -7,3 +7,3 @@ import { _removeServiceInstance, getApp, _getProvider, _registerComponent, registerVersion, SDK_VERSION as SDK_VERSION$1 } from '@firebase/app';

const name = "@firebase/data-connect";
const version = "0.1.1-canary.a97ac88db";
const version = "0.1.1-canary.e577a408c";

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

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

const name = "@firebase/data-connect";
const version = "0.1.1-canary.a97ac88db";
const version = "0.1.1-canary.e577a408c";

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

@@ -196,3 +196,3 @@ import { FirebaseError } from '@firebase/util';

const name = "@firebase/data-connect";
const version = "0.1.1-canary.a97ac88db";
const version = "0.1.1-canary.e577a408c";

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

@@ -23,11 +23,11 @@ /**

*/
export declare type OnResultSubscription<Data, Variables> = (res: QueryResult<Data, Variables>) => void;
export type OnResultSubscription<Data, Variables> = (res: QueryResult<Data, Variables>) => void;
/**
* Signature for `OnErrorSubscription` for `subscribe`
*/
export declare type OnErrorSubscription = (err?: DataConnectError) => void;
export type OnErrorSubscription = (err?: DataConnectError) => void;
/**
* Signature for unsubscribe from `subscribe`
*/
export declare type QueryUnsubscribe = () => void;
export type QueryUnsubscribe = () => void;
/**

@@ -89,3 +89,3 @@ * Representation of user provided subscription options.

*/
export declare type OnCompleteSubscription = () => void;
export type OnCompleteSubscription = () => void;
/**

@@ -92,0 +92,0 @@ * Representation of full observer options in `subscribe`

@@ -20,6 +20,6 @@ /**

export declare const MUTATION_STR = "mutation";
export declare type ReferenceType = typeof QUERY_STR | typeof MUTATION_STR;
export type ReferenceType = typeof QUERY_STR | typeof MUTATION_STR;
export declare const SOURCE_SERVER = "SERVER";
export declare const SOURCE_CACHE = "CACHE";
export declare type DataSource = typeof SOURCE_CACHE | typeof SOURCE_SERVER;
export type DataSource = typeof SOURCE_CACHE | typeof SOURCE_SERVER;
export interface OpResult<Data> {

@@ -26,0 +26,0 @@ data: Data;

@@ -18,4 +18,4 @@ /**

import { FirebaseError } from '@firebase/util';
export declare type DataConnectErrorCode = 'other' | 'already-initialized' | 'not-initialized' | 'not-supported' | 'invalid-argument' | 'partial-error' | 'unauthorized';
export declare type Code = DataConnectErrorCode;
export type DataConnectErrorCode = 'other' | 'already-initialized' | 'not-initialized' | 'not-supported' | 'invalid-argument' | 'partial-error' | 'unauthorized';
export type Code = DataConnectErrorCode;
export declare const Code: {

@@ -22,0 +22,0 @@ OTHER: DataConnectErrorCode;

@@ -24,3 +24,3 @@ /**

}
export declare type AuthTokenListener = (token: string | null) => void;
export type AuthTokenListener = (token: string | null) => void;
export declare class FirebaseAuthProvider implements AuthTokenProvider {

@@ -27,0 +27,0 @@ private _appName;

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

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

@@ -43,2 +43,2 @@ /**

*/
export declare type TransportClass = new (options: DataConnectOptions, apiKey?: string, appId?: string, authProvider?: AuthTokenProvider, appCheckProvider?: AppCheckTokenProvider, transportOptions?: TransportOptions, _isUsingGen?: boolean) => DataConnectTransport;
export type TransportClass = new (options: DataConnectOptions, apiKey?: string, appId?: string, authProvider?: AuthTokenProvider, appCheckProvider?: AppCheckTokenProvider, transportOptions?: TransportOptions, _isUsingGen?: boolean) => DataConnectTransport;
export declare function registerDataConnect(variant?: string): void;

@@ -17,4 +17,4 @@ /**

*/
export declare type HmacImpl = (obj: unknown) => string;
export type HmacImpl = (obj: unknown) => string;
export declare let encoderImpl: HmacImpl;
export declare function setEncoder(encoder: HmacImpl): void;

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

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

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

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

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

@@ -23,11 +23,11 @@ /**

*/
export declare type OnResultSubscription<Data, Variables> = (res: QueryResult<Data, Variables>) => void;
export type OnResultSubscription<Data, Variables> = (res: QueryResult<Data, Variables>) => void;
/**
* Signature for `OnErrorSubscription` for `subscribe`
*/
export declare type OnErrorSubscription = (err?: DataConnectError) => void;
export type OnErrorSubscription = (err?: DataConnectError) => void;
/**
* Signature for unsubscribe from `subscribe`
*/
export declare type QueryUnsubscribe = () => void;
export type QueryUnsubscribe = () => void;
/**

@@ -89,3 +89,3 @@ * Representation of user provided subscription options.

*/
export declare type OnCompleteSubscription = () => void;
export type OnCompleteSubscription = () => void;
/**

@@ -92,0 +92,0 @@ * Representation of full observer options in `subscribe`

@@ -20,6 +20,6 @@ /**

export declare const MUTATION_STR = "mutation";
export declare type ReferenceType = typeof QUERY_STR | typeof MUTATION_STR;
export type ReferenceType = typeof QUERY_STR | typeof MUTATION_STR;
export declare const SOURCE_SERVER = "SERVER";
export declare const SOURCE_CACHE = "CACHE";
export declare type DataSource = typeof SOURCE_CACHE | typeof SOURCE_SERVER;
export type DataSource = typeof SOURCE_CACHE | typeof SOURCE_SERVER;
export interface OpResult<Data> {

@@ -26,0 +26,0 @@ data: Data;

@@ -18,4 +18,4 @@ /**

import { FirebaseError } from '@firebase/util';
export declare type DataConnectErrorCode = 'other' | 'already-initialized' | 'not-initialized' | 'not-supported' | 'invalid-argument' | 'partial-error' | 'unauthorized';
export declare type Code = DataConnectErrorCode;
export type DataConnectErrorCode = 'other' | 'already-initialized' | 'not-initialized' | 'not-supported' | 'invalid-argument' | 'partial-error' | 'unauthorized';
export type Code = DataConnectErrorCode;
export declare const Code: {

@@ -22,0 +22,0 @@ OTHER: DataConnectErrorCode;

@@ -24,3 +24,3 @@ /**

}
export declare type AuthTokenListener = (token: string | null) => void;
export type AuthTokenListener = (token: string | null) => void;
export declare class FirebaseAuthProvider implements AuthTokenProvider {

@@ -27,0 +27,0 @@ private _appName;

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

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

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

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

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

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

@@ -43,2 +43,2 @@ /**

*/
export declare type TransportClass = new (options: DataConnectOptions, apiKey?: string, appId?: string, authProvider?: AuthTokenProvider, appCheckProvider?: AppCheckTokenProvider, transportOptions?: TransportOptions, _isUsingGen?: boolean) => DataConnectTransport;
export type TransportClass = new (options: DataConnectOptions, apiKey?: string, appId?: string, authProvider?: AuthTokenProvider, appCheckProvider?: AppCheckTokenProvider, transportOptions?: TransportOptions, _isUsingGen?: boolean) => DataConnectTransport;
export declare function registerDataConnect(variant?: string): void;

@@ -17,4 +17,4 @@ /**

*/
export declare type HmacImpl = (obj: unknown) => string;
export type HmacImpl = (obj: unknown) => string;
export declare let encoderImpl: HmacImpl;
export declare function setEncoder(encoder: HmacImpl): void;

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

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

{
"name": "@firebase/data-connect",
"version": "0.1.1-canary.a97ac88db",
"version": "0.1.1-canary.e577a408c",
"description": "",

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

"peerDependencies": {
"@firebase/app": "0.10.14-canary.a97ac88db"
"@firebase/app": "0.10.15-canary.e577a408c"
},
"dependencies": {
"@firebase/auth-interop-types": "0.2.3-canary.a97ac88db",
"@firebase/component": "0.6.10-canary.a97ac88db",
"@firebase/logger": "0.4.3-canary.a97ac88db",
"@firebase/util": "1.10.1-canary.a97ac88db",
"@firebase/auth-interop-types": "0.2.3-canary.e577a408c",
"@firebase/component": "0.6.10-canary.e577a408c",
"@firebase/logger": "0.4.3-canary.e577a408c",
"@firebase/util": "1.10.1-canary.e577a408c",
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app": "0.10.14-canary.a97ac88db",
"@firebase/app": "0.10.15-canary.e577a408c",
"rollup": "2.79.1",
"rollup-plugin-typescript2": "0.31.2",
"typescript": "4.7.4"
"typescript": "5.5.4"
},

@@ -64,0 +64,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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