@things-factory/oauth2-client 4.0.25 → 4.0.26
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.
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
1
|
+
import '@things-factory/help'
|
|
2
|
+
|
|
3
|
+
import { PageView, client, navigate, store } from '@things-factory/shell'
|
|
4
|
+
import { css, html } from 'lit'
|
|
5
5
|
|
|
6
|
+
import Clipboard from 'clipboard'
|
|
7
|
+
import { asyncReplace } from 'lit/directives/async-replace.js'
|
|
6
8
|
import { connect } from 'pwa-helpers/connect-mixin.js'
|
|
7
|
-
import
|
|
8
|
-
import '@things-factory/help'
|
|
9
|
+
import gql from 'graphql-tag'
|
|
9
10
|
import { notify } from '@things-factory/layout-base'
|
|
10
11
|
import { sleep } from '@things-factory/utils'
|
|
11
12
|
|
|
@@ -502,7 +503,7 @@ class Oauth2Client extends connect(store)(PageView) {
|
|
|
502
503
|
|
|
503
504
|
const response = await client.mutate({
|
|
504
505
|
mutation: gql`
|
|
505
|
-
mutation($id: String!) {
|
|
506
|
+
mutation ($id: String!) {
|
|
506
507
|
deleteOauth2Client(id: $id)
|
|
507
508
|
}
|
|
508
509
|
`,
|
|
@@ -527,7 +528,7 @@ class Oauth2Client extends connect(store)(PageView) {
|
|
|
527
528
|
if (this.oauth2Client.grantType == 'code') {
|
|
528
529
|
const response = await client.query({
|
|
529
530
|
query: gql`
|
|
530
|
-
query($id: String!) {
|
|
531
|
+
query ($id: String!) {
|
|
531
532
|
getOauth2AuthUrl(id: $id)
|
|
532
533
|
}
|
|
533
534
|
`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/oauth2-client",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.26",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"browser": "client/index.js",
|
|
6
6
|
"things-factory": true,
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
"migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@things-factory/auth-base": "^4.0.
|
|
28
|
-
"@things-factory/layout-base": "^4.0.
|
|
29
|
-
"@things-factory/shell": "^4.0.
|
|
27
|
+
"@things-factory/auth-base": "^4.0.26",
|
|
28
|
+
"@things-factory/layout-base": "^4.0.26",
|
|
29
|
+
"@things-factory/shell": "^4.0.26",
|
|
30
30
|
"client-oauth2": "^4.3.3",
|
|
31
31
|
"clipboard": "^2.0.6"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "c4b39c74b9ce2472f30c26eb36ec62054c1ecf82"
|
|
34
34
|
}
|