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

@accounts/graphql-client

Package Overview
Dependencies
Maintainers
5
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accounts/graphql-client - npm Package Compare versions

Comparing version 0.24.0 to 0.25.0

6

lib/graphql-client.d.ts
import { AccountsClient, TransportInterface } from '@accounts/client';
import { CreateUser, ImpersonationResult, LoginResult, User } from '@accounts/types';
import { CreateUser, ImpersonationResult, LoginResult, User, CreateUserResult } from '@accounts/types';
export interface AuthenticateParams {

@@ -18,6 +18,6 @@ [key: string]: string | object;

* @param {CreateUser} user user object
* @returns {Promise<string>} user's ID
* @returns {Promise<CreateUserResult>} contains user's ID and LoginResult object if autologin is enabled
* @memberof GraphQLClient
*/
createUser(user: CreateUser): Promise<string>;
createUser(user: CreateUser): Promise<CreateUserResult>;
/**

@@ -24,0 +24,0 @@ * @inheritDoc

@@ -32,3 +32,3 @@ "use strict";

* @param {CreateUser} user user object
* @returns {Promise<string>} user's ID
* @returns {Promise<CreateUserResult>} contains user's ID and LoginResult object if autologin is enabled
* @memberof GraphQLClient

@@ -35,0 +35,0 @@ */

@@ -5,4 +5,4 @@ "use strict";

var graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
exports.createUserMutation = graphql_tag_1.default(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n mutation createUser($user: CreateUserInput!) {\n createUser(user: $user)\n }\n"], ["\n mutation createUser($user: CreateUserInput!) {\n createUser(user: $user)\n }\n"])));
exports.createUserMutation = graphql_tag_1.default(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n mutation createUser($user: CreateUserInput!) {\n createUser(user: $user) {\n userId\n loginResult {\n sessionId\n tokens {\n refreshToken\n accessToken\n }\n }\n }\n }\n"], ["\n mutation createUser($user: CreateUserInput!) {\n createUser(user: $user) {\n userId\n loginResult {\n sessionId\n tokens {\n refreshToken\n accessToken\n }\n }\n }\n }\n"])));
var templateObject_1;
//# sourceMappingURL=create-user.mutation.js.map
{
"name": "@accounts/graphql-client",
"version": "0.24.0",
"version": "0.25.0",
"description": "GraphQL client transport for accounts",

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

"devDependencies": {
"@types/jest": "25.1.3",
"@types/jest": "25.1.4",
"jest": "25.1.0",

@@ -34,8 +34,8 @@ "lodash": "4.17.15"

"dependencies": {
"@accounts/client": "^0.24.0",
"@accounts/types": "^0.24.0",
"@accounts/client": "^0.25.0",
"@accounts/types": "^0.25.0",
"graphql-tag": "^2.10.0",
"tslib": "1.10.0"
},
"gitHead": "2afdeb069b1af360345d2398cef33bf0dc23e361"
"gitHead": "0d481c1243a59193bae525c1b6e7b46c34281e67"
}

Sorry, the diff of this file is not supported yet

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