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.25.1 to 0.25.3

4

lib/graphql-client.js

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

return tslib_1.__generator(this, function (_a) {
return [2 /*return*/, this.mutate(create_user_mutation_1.createUserMutation, 'createUser', { user: user })];
return [2 /*return*/, this.mutate(create_user_mutation_1.createUserMutation(this.options.userFieldsFragment), 'createUser', { user: user })];
});

@@ -63,3 +63,3 @@ });

return tslib_1.__generator(this, function (_a) {
return [2 /*return*/, this.mutate(login_with_service_mutation_1.loginWithServiceMutation, 'authenticate', {
return [2 /*return*/, this.mutate(login_with_service_mutation_1.loginWithServiceMutation(this.options.userFieldsFragment), 'authenticate', {
serviceName: service,

@@ -66,0 +66,0 @@ params: authenticateParams,

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

export declare const addEmailMutation: any;
export declare const addEmailMutation: import("graphql").DocumentNode;

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

export declare const authenticateWithServiceMutation: any;
export declare const authenticateWithServiceMutation: import("graphql").DocumentNode;

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

export declare const changePasswordMutation: any;
export declare const changePasswordMutation: import("graphql").DocumentNode;

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

export declare const createUserMutation: any;
export declare const createUserMutation: (userFieldsFragment: any) => import("graphql").DocumentNode;

@@ -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 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"])));
exports.createUserMutation = function (userFieldsFragment) { return graphql_tag_1.default(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\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 user {\n ...userFields\n }\n }\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 user {\n ...userFields\n }\n }\n }\n }\n"])), userFieldsFragment); };
var templateObject_1;
//# sourceMappingURL=create-user.mutation.js.map

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

export declare const getTwoFactorSecretQuery: any;
export declare const getTwoFactorSecretQuery: import("graphql").DocumentNode;

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

export declare const getUserQuery: (userFieldsFragment: any) => any;
export declare const getUserQuery: (userFieldsFragment: any) => import("graphql").DocumentNode;

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

export declare const impersonateMutation: (userFieldsFragment: any) => any;
export declare const impersonateMutation: (userFieldsFragment: any) => import("graphql").DocumentNode;

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

export declare const loginWithServiceMutation: any;
export declare const loginWithServiceMutation: (userFieldsFragment: any) => import("graphql").DocumentNode;

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

var graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
exports.loginWithServiceMutation = graphql_tag_1.default(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n mutation($serviceName: String!, $params: AuthenticateParamsInput!) {\n authenticate(serviceName: $serviceName, params: $params) {\n sessionId\n tokens {\n refreshToken\n accessToken\n }\n }\n }\n"], ["\n mutation($serviceName: String!, $params: AuthenticateParamsInput!) {\n authenticate(serviceName: $serviceName, params: $params) {\n sessionId\n tokens {\n refreshToken\n accessToken\n }\n }\n }\n"])));
exports.loginWithServiceMutation = function (userFieldsFragment) { return graphql_tag_1.default(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n ", "\n\n mutation($serviceName: String!, $params: AuthenticateParamsInput!) {\n authenticate(serviceName: $serviceName, params: $params) {\n sessionId\n tokens {\n refreshToken\n accessToken\n }\n user {\n ...userFields\n }\n }\n }\n"], ["\n ", "\n\n mutation($serviceName: String!, $params: AuthenticateParamsInput!) {\n authenticate(serviceName: $serviceName, params: $params) {\n sessionId\n tokens {\n refreshToken\n accessToken\n }\n user {\n ...userFields\n }\n }\n }\n"])), userFieldsFragment); };
var templateObject_1;
//# sourceMappingURL=login-with-service.mutation.js.map

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

export declare const logoutMutation: any;
export declare const logoutMutation: import("graphql").DocumentNode;

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

export declare const refreshTokensMutation: any;
export declare const refreshTokensMutation: import("graphql").DocumentNode;

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

export declare const resetPasswordMutation: any;
export declare const resetPasswordMutation: import("graphql").DocumentNode;

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

export declare const sendResetPasswordEmailMutation: any;
export declare const sendResetPasswordEmailMutation: import("graphql").DocumentNode;

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

export declare const sendVerificationEmailMutation: any;
export declare const sendVerificationEmailMutation: import("graphql").DocumentNode;

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

export declare const twoFactorSetMutation: any;
export declare const twoFactorSetMutation: import("graphql").DocumentNode;

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

export declare const twoFactorUnsetMutation: any;
export declare const twoFactorUnsetMutation: import("graphql").DocumentNode;

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

export declare const verifyEmailMutation: any;
export declare const verifyEmailMutation: import("graphql").DocumentNode;
{
"name": "@accounts/graphql-client",
"version": "0.25.1",
"version": "0.25.3",
"description": "GraphQL client transport for accounts",

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

"devDependencies": {
"@types/jest": "25.1.4",
"jest": "25.1.0",
"@types/jest": "25.2.1",
"jest": "26.0.1",
"lodash": "4.17.15"
},
"dependencies": {
"@accounts/client": "^0.25.1",
"@accounts/types": "^0.25.1",
"@accounts/client": "^0.25.3",
"@accounts/types": "^0.25.3",
"graphql-tag": "^2.10.0",
"tslib": "1.10.0"
"tslib": "1.11.2"
},

@@ -42,3 +42,3 @@ "peerDependencies": {

},
"gitHead": "18c02edee2a382236923b4b6c221362dba3c7bb9"
"gitHead": "77c35ef4c767555f10aed242e2032a17130af0bf"
}

Sorry, the diff of this file is not supported yet

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