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

next-auth-zbd-provider

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-auth-zbd-provider - npm Package Compare versions

Comparing version 0.3.9 to 0.4.0

3

index.d.ts

@@ -1,2 +0,2 @@

export declare const getZBDProvider: ({ clientId, clientSecret, apiKey, scope, }: {
export declare const getZBDProvider: ({ clientId, clientSecret, apiKey, scope, zbdEnv, }: {
clientId: any;

@@ -6,2 +6,3 @@ clientSecret: any;

scope: any;
zbdEnv: any;
}) => any;

@@ -13,8 +13,8 @@ "use strict";

exports.getZBDProvider = void 0;
const ZBD_AUTH_URL = 'https://api.zebedee.io/v1/oauth2/authorize';
const ZBD_TOKEN_URL = 'https://api.zebedee.io/v1/oauth2/token';
const ZBD_USER_DATA_URL = 'https://api.zebedee.io/v1/oauth2/user';
const ZBD_WALLET_DATA_URL = 'https://api.zebedee.io/v1/oauth2/wallet';
const ZBD_DEFAULT_SCOPES = 'user,wallet';
const getZBDProvider = ({ clientId, clientSecret, apiKey, scope = ZBD_DEFAULT_SCOPES, }) => {
const getZBDProvider = ({ clientId, clientSecret, apiKey, scope = ZBD_DEFAULT_SCOPES, zbdEnv = "api", }) => {
const ZBD_AUTH_URL = `https://${zbdEnv}.zebedee.io/v1/oauth2/authorize`;
const ZBD_TOKEN_URL = `https://${zbdEnv}.zebedee.io/v1/oauth2/token`;
const ZBD_USER_DATA_URL = `https://${zbdEnv}.zebedee.io/v1/oauth2/user`;
const ZBD_WALLET_DATA_URL = `https://${zbdEnv}.zebedee.io/v1/oauth2/wallet`;
const provider = {

@@ -21,0 +21,0 @@ id: "zbd",

{
"name": "next-auth-zbd-provider",
"version": "0.3.9",
"version": "0.4.0",
"description": "NextAuth.js provider for ZBD OAuth2",

@@ -5,0 +5,0 @@ "main": "index.ts",

@@ -17,4 +17,9 @@ <p align="center">

## Building
- Edit the `src/index.ts` file to make changes to the provider.
- `yarn build` builds the top level index.js and index.d.ts.
## License
MIT
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