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

@apimatic/oauth-adapters

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apimatic/oauth-adapters - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

lib/oAuthToken.d.ts

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

/**
* MdNotes-ACGLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { Schema } from '@apimatic/schema';

@@ -27,5 +22,4 @@ /** OAuth 2 Authorization endpoint response */

refreshToken?: string;
[key: string]: unknown;
}
export declare const oAuthTokenSchema: Schema<OAuthToken>;
//# sourceMappingURL=oAuthToken.d.ts.map

7

lib/oAuthToken.js
"use strict";
/**
* MdNotes-ACGLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.oAuthTokenSchema = void 0;
var schema_1 = require("@apimatic/schema");
exports.oAuthTokenSchema = schema_1.expandoObject({
exports.oAuthTokenSchema = schema_1.object({
accessToken: ['access_token', schema_1.string()],

@@ -12,0 +7,0 @@ tokenType: ['token_type', schema_1.string()],

6

package.json
{
"name": "@apimatic/oauth-adapters",
"author": "APIMatic Ltd.",
"version": "0.1.0",
"license": "SEE LICENSE IN LICENSE.md",
"version": "0.1.1",
"license": "MIT",
"sideEffects": false,

@@ -55,3 +55,3 @@ "main": "lib/index.js",

"lerna-alias": "3.0.3-0",
"rollup": "^2.35.1",
"rollup": "^2.79.0",
"rollup-plugin-filesize": "^9.1.1",

@@ -58,0 +58,0 @@ "rollup-plugin-replace": "^2.2.0",

export * from './oauthAuthenticationAdapter';

@@ -0,0 +0,0 @@ import { OAuthToken } from './oAuthToken';

@@ -1,15 +0,3 @@

/**
* MdNotes-ACGLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
import { bigint, object, optional, Schema, string } from '@apimatic/schema';
import {
bigint,
expandoObject,
optional,
Schema,
string,
} from '@apimatic/schema';
/** OAuth 2 Authorization endpoint response */

@@ -35,6 +23,5 @@ export interface OAuthToken {

refreshToken?: string;
[key: string]: unknown;
}
export const oAuthTokenSchema: Schema<OAuthToken> = expandoObject({
export const oAuthTokenSchema: Schema<OAuthToken> = object({
accessToken: ['access_token', string()],

@@ -41,0 +28,0 @@ tokenType: ['token_type', string()],

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