@things-factory/oauth2-client 6.2.70 → 6.2.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/oauth2-client",
3
- "version": "6.2.70",
3
+ "version": "6.2.79",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "dist-client/index.js",
6
6
  "things-factory": true,
@@ -32,10 +32,10 @@
32
32
  "@operato/layout": "^1.0.1",
33
33
  "@operato/shell": "^1.0.1",
34
34
  "@operato/utils": "^1.0.1",
35
- "@things-factory/auth-base": "^6.2.70",
36
- "@things-factory/shell": "^6.2.70",
35
+ "@things-factory/auth-base": "^6.2.79",
36
+ "@things-factory/shell": "^6.2.79",
37
37
  "client-oauth2": "^4.3.3",
38
38
  "clipboard": "^2.0.6"
39
39
  },
40
- "gitHead": "99c274f281e62be08a952c10cb3b8fdecba24a65"
40
+ "gitHead": "79bd268667377c76554071d41c5ab50203110a52"
41
41
  }
@@ -1,4 +1,5 @@
1
1
  import { Field, InputType, Int, ObjectType } from 'type-graphql'
2
+ import { GraphQLJWT } from 'graphql-scalars'
2
3
 
3
4
  import { Oauth2Client } from './oauth2-client'
4
5
 
@@ -55,7 +56,7 @@ export class NewOauth2Client {
55
56
  @Field({ nullable: true })
56
57
  refreshToken?: string
57
58
 
58
- @Field({ nullable: true })
59
+ @Field(type => GraphQLJWT, { nullable: true })
59
60
  jwtToken?: string
60
61
  }
61
62
 
@@ -112,7 +113,7 @@ export class Oauth2ClientPatch {
112
113
  @Field({ nullable: true })
113
114
  refreshToken?: string
114
115
 
115
- @Field({ nullable: true })
116
+ @Field(type => GraphQLJWT, { nullable: true })
116
117
  jwtToken?: string
117
118
  }
118
119
 
@@ -1,4 +1,5 @@
1
1
  import { Field, ID, ObjectType } from 'type-graphql'
2
+ import { GraphQLJWT } from 'graphql-scalars'
2
3
  import {
3
4
  Column,
4
5
  CreateDateColumn,
@@ -105,7 +106,7 @@ export class Oauth2Client {
105
106
  state?: string
106
107
 
107
108
  @Column({ nullable: true })
108
- @Field({ nullable: true })
109
+ @Field(type => GraphQLJWT, { nullable: true })
109
110
  jwtToken?: string
110
111
 
111
112
  @Column({ nullable: true })