@simpleview/sv-auth-client 6.13.1 → 6.17.0

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": "@simpleview/sv-auth-client",
3
- "version": "6.13.1",
3
+ "version": "6.17.0",
4
4
  "description": "Client for communicating with sv-auth",
5
5
  "author": "Owen Allen <owenallenaz@gmail.com>",
6
6
  "dependencies": {
@@ -32,6 +32,7 @@ class Oauth2Express {
32
32
  "https://auth.simpleviewinc.com/",
33
33
  "https://auth.dev.simpleviewinc.com/",
34
34
  "https://auth.qa.simpleviewinc.com/",
35
+ "https://auth.staging.simpleviewinc.com/",
35
36
  "https://auth.kube.simpleview.io/"
36
37
  ]
37
38
 
@@ -115,19 +115,22 @@ class AuthPrefix {
115
115
  return returnData;
116
116
  }
117
117
 
118
- async accounts_camber_sync({ fields, context }) {
118
+ async accounts_camber_sync({ input, fields, context }) {
119
119
  context = context || this._graphServer.context;
120
120
 
121
121
  const result = await query({
122
122
  query : `
123
- mutation {
123
+ mutation($input: auth_accounts_camber_sync_input) {
124
124
  auth {
125
- accounts_camber_sync {
125
+ accounts_camber_sync(input: $input) {
126
126
  ${fields}
127
127
  }
128
128
  }
129
129
  }
130
130
  `,
131
+ variables : {
132
+ input
133
+ },
131
134
  url : this._graphUrl,
132
135
  token : context.token
133
136
  });
@@ -166,24 +169,6 @@ class AuthPrefix {
166
169
  return returnData;
167
170
  }
168
171
 
169
- async accounts_email_setup({ fields, context = this._graphServer.context }) {
170
- return query({
171
- query : `
172
- mutation {
173
- auth {
174
- accounts_email_setup {
175
- ${fields}
176
- }
177
- }
178
- }
179
- `,
180
- url : this._graphUrl,
181
- token : context.token,
182
- key : "auth.accounts_email_setup",
183
- clean : true
184
- });
185
- }
186
-
187
172
  async oauth_clients(...args) {
188
173
  return this._oauthClients.find(...args);
189
174
  }