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.0 to 0.25.1

lib/graphql/add-email.mutation.d.ts

9

lib/graphql-client.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var graphql_1 = require("graphql");
var language_1 = require("graphql/language");
var graphql_tag_1 = tslib_1.__importDefault(require("graphql-tag"));
var add_email_mutation_1 = require("./graphql/add-email.mutation");
var authenticate_with_service_mutation_1 = require("./graphql/authenticate-with-service.mutation");

@@ -141,3 +142,3 @@ var change_password_mutation_1 = require("./graphql/change-password.mutation");

return tslib_1.__generator(this, function (_a) {
return [2 /*return*/, this.mutate(change_password_mutation_1.changePasswordMutation, 'addEmail', { newEmail: newEmail })];
return [2 /*return*/, this.mutate(add_email_mutation_1.addEmailMutation, 'addEmail', { newEmail: newEmail })];
});

@@ -222,3 +223,3 @@ });

if (errors) {
throw new GraphQLErrorList_1.GraphQLErrorList(errors, "in mutation: \r\n " + graphql_1.print(mutation));
throw new GraphQLErrorList_1.GraphQLErrorList(errors, "in mutation: \r\n " + language_1.print(mutation));
}

@@ -254,3 +255,3 @@ return [2 /*return*/, data[resultField]];

if (errors) {
throw new GraphQLErrorList_1.GraphQLErrorList(errors, "in query: \r\n " + graphql_1.print(query));
throw new GraphQLErrorList_1.GraphQLErrorList(errors, "in query: \r\n " + language_1.print(query));
}

@@ -257,0 +258,0 @@ return [2 /*return*/, data[resultField]];

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

import { GraphQLError } from 'graphql';
import { GraphQLError } from 'graphql/error/GraphQLError';
export declare class GraphQLErrorList extends Error {

@@ -3,0 +3,0 @@ errors: readonly GraphQLError[];

{
"name": "@accounts/graphql-client",
"version": "0.25.0",
"version": "0.25.1",
"description": "GraphQL client transport for accounts",

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

"dependencies": {
"@accounts/client": "^0.25.0",
"@accounts/types": "^0.25.0",
"@accounts/client": "^0.25.1",
"@accounts/types": "^0.25.1",
"graphql-tag": "^2.10.0",
"tslib": "1.10.0"
},
"gitHead": "0d481c1243a59193bae525c1b6e7b46c34281e67"
"peerDependencies": {
"graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0"
},
"gitHead": "18c02edee2a382236923b4b6c221362dba3c7bb9"
}

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