New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

netlify-graph-auth

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netlify-graph-auth - npm Package Compare versions

Comparing version 0.0.1-beta.4 to 0.0.1-beta.5

11

dist/index.d.ts

@@ -1,6 +0,5 @@

import NetlifyGraphAuth from './auth';
import OAuthError from './oauthError';
import { InMemoryStorage, LocalStorage } from './storage';
import { findMissingAuthServices } from './helpers';
export { NetlifyGraphAuth, InMemoryStorage, LocalStorage, findMissingAuthServices, OAuthError, };
export default NetlifyGraphAuth;
export * as default from './auth';
export * as NetlifyGraphAuth from './auth';
export * as OAuthError from './oauthError';
export { InMemoryStorage, LocalStorage } from './storage';
export { findMissingAuthServices } from './helpers';
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.OAuthError = exports.findMissingAuthServices = exports.LocalStorage = exports.InMemoryStorage = exports.NetlifyGraphAuth = void 0;
var auth_1 = require("./auth");
exports.NetlifyGraphAuth = auth_1.default;
var oauthError_1 = require("./oauthError");
exports.OAuthError = oauthError_1.default;
exports.findMissingAuthServices = exports.LocalStorage = exports.InMemoryStorage = exports.OAuthError = exports.NetlifyGraphAuth = exports.default = void 0;
exports.default = require("./auth");
exports.NetlifyGraphAuth = require("./auth");
exports.OAuthError = require("./oauthError");
var storage_1 = require("./storage");

@@ -13,3 +12,2 @@ Object.defineProperty(exports, "InMemoryStorage", { enumerable: true, get: function () { return storage_1.InMemoryStorage; } });

Object.defineProperty(exports, "findMissingAuthServices", { enumerable: true, get: function () { return helpers_1.findMissingAuthServices; } });
exports.default = auth_1.default;
//# sourceMappingURL=index.js.map
{
"name": "netlify-graph-auth",
"version": "0.0.1-beta.4",
"version": "0.0.1-beta.5",
"description": "Client-side authentication for Netlify GraphQL APIs",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -82,9 +82,9 @@ # Netlify Graph Authentication Helpers for browsers

```javascript
const response = await auth.logout('github');
const response = await auth.logout('github');
if (response.result === 'success') {
console.log('Logout succeeded');
} else {
console.log('Logout failed');
}
if (response.result === 'success') {
console.log('Logout succeeded');
} else {
console.log('Logout failed');
}
```

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