gapi-oauth-react-hooks
Advanced tools
Comparing version 2.0.4 to 2.0.5
/// <reference types="gapi" /> | ||
/// <reference types="gapi.auth2" /> | ||
export declare const useGapiConfig: () => gapi.auth2.ClientConfig; |
@@ -0,0 +0,0 @@ import { useMemo } from "react"; |
@@ -0,0 +0,0 @@ /// <reference types="gapi.auth2" /> |
@@ -0,0 +0,0 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { |
@@ -0,0 +0,0 @@ /// <reference types="gapi.auth2" /> |
@@ -0,0 +0,0 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { |
@@ -0,0 +0,0 @@ import { GoogleAuthHookProps, useGoogleAuth } from "./hooks/use.google.auth.hook"; |
import { useGoogleAuth, } from "./hooks/use.google.auth.hook"; | ||
import { GapiConfig } from "./logic/gapi.config.logic"; | ||
export { useGoogleAuth, GapiConfig }; |
@@ -0,0 +0,0 @@ /// <reference types="gapi" /> |
@@ -0,0 +0,0 @@ export var gapiLoad = function (apiName, callback) { |
@@ -0,0 +0,0 @@ /// <reference types="gapi" /> |
@@ -0,0 +0,0 @@ export var asPlainObject = function (profile) { return ({ |
@@ -0,0 +0,0 @@ export declare class GapiConfig { |
@@ -0,0 +0,0 @@ var GapiConfig = /** @class */ (function () { |
export declare const loadScript: (document: HTMLDocument, id: string, jsSrc: string, callback: () => void) => void; | ||
export declare const removeScript: (document: HTMLDocument, id: string) => void; |
@@ -0,0 +0,0 @@ export var loadScript = function (document, id, jsSrc, callback) { |
{ | ||
"name": "gapi-oauth-react-hooks", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"repository": "https://github.com/jpb06/gapi-oauth-react-hooks.git", | ||
@@ -22,2 +22,3 @@ "author": "jpb06 <jpb.06@outlook.com>", | ||
"jsdom": "^16.4.0", | ||
"node-jest-badges": "^1.0.8", | ||
"react": "^16.13.1", | ||
@@ -29,12 +30,13 @@ "react-test-renderer": "^16.13.1", | ||
"scripts": { | ||
"build": "del-cli ./dist && tsc", | ||
"copy-package": "copyfiles package.json ./dist/", | ||
"copy-readme": "copyfiles README.md ./dist/", | ||
"copy-badges": "copyfiles ./badges/* ./dist/", | ||
"build": "del-cli ./dist && tsc", | ||
"postbuild": "yarn copy-package && yarn copy-badges && yarn copy-readme", | ||
"test": "jest ---watch", | ||
"test:cov": "jest --coverage --watchAll", | ||
"test:silentcov": "jest --coverage --silent --runInBand --watchAll=false", | ||
"test:badges": "yarn test:silentcov && jest-coverage-badges --output ./badges", | ||
"package-publish": "yarn test:badges && yarn copy-badges && yarn build && yarn copy-package && yarn copy-readme && cd ./dist && yarn publish" | ||
"test:ci": "jest --runInBand --ci", | ||
"badges": "generateBadges" | ||
} | ||
} |
@@ -0,0 +0,0 @@ # gapi-oauth-react-hooks |
export declare type GapiState = "Loading" | "SignedIn" | "NotSignedIn" | "Errored"; |
export {}; |
@@ -0,0 +0,0 @@ export interface UserProfile { |
export {}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43688
27
17