@accounts/graphql-client
Advanced tools
Comparing version 0.24.0 to 0.25.0
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
39566
+ Added@accounts/client@0.25.4(transitive)
+ Added@accounts/types@0.25.4(transitive)
+ Addedtslib@1.11.2(transitive)
- Removed@accounts/client@0.24.0(transitive)
- Removed@accounts/types@0.24.0(transitive)
Updated@accounts/client@^0.25.0
Updated@accounts/types@^0.25.0