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

drupal-auth-client

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drupal-auth-client - npm Package Compare versions

Comparing version 0.2.1 to 0.3.0

1

dist/index.d.ts

@@ -39,2 +39,3 @@ import type { Config, Options } from "./types";

declare const drupalAuthClient: <TAuth extends "client_credentials" | "password">(uri: string, type: TAuth, options: Options<TAuth>, config?: Config) => Promise<import("./types").OAuthPayload>;
export { drupalAuthClient };
export default drupalAuthClient;

@@ -42,2 +42,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.drupalAuthClient = void 0;
var cross_fetch_1 = __importDefault(require("cross-fetch"));

@@ -132,3 +133,4 @@ var authHandlers_1 = require("./authHandlers");

};
exports.drupalAuthClient = drupalAuthClient;
exports.default = drupalAuthClient;
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "drupal-auth-client",
"version": "0.2.1",
"version": "0.3.0",
"description": "Drupal Auth Client",

@@ -5,0 +5,0 @@ "keywords": [

@@ -9,8 +9,10 @@ # Drupal Auth Client

### import library
### Importing library
```javascript
import drupalAuthClient from "drupal-auth-client"
import { drupalAuthClient } from "drupal-auth-client"
```
### Using `client_credentials`
### Using `client_credentials`
```javascript

@@ -28,3 +30,4 @@

### Using `password`
### Using `password`
```javascript

@@ -31,0 +34,0 @@

@@ -110,2 +110,4 @@ import fetch from "cross-fetch";

export default drupalAuthClient;
export { drupalAuthClient };
export default drupalAuthClient;

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