@carddb/core 0.2.5 → 0.3.15

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/dist/index.cjs CHANGED
@@ -3184,6 +3184,31 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
3184
3184
  `
3185
3185
  };
3186
3186
  },
3187
+ exchangeDeckSessionToken() {
3188
+ return {
3189
+ query: `
3190
+ mutation DeckSessionTokenExchange($input: DeckSessionTokenExchangeInput!) {
3191
+ deckSessionTokenExchange(input: $input) {
3192
+ token
3193
+ sessionToken {
3194
+ id
3195
+ accountId
3196
+ apiApplicationId
3197
+ gameId
3198
+ environment
3199
+ externalSubject
3200
+ scopes
3201
+ expiresAt
3202
+ revokedAt
3203
+ lastUsedAt
3204
+ createdAt
3205
+ updatedAt
3206
+ }
3207
+ }
3208
+ }
3209
+ `
3210
+ };
3211
+ },
3187
3212
  grantDeckApiApplicationAccess() {
3188
3213
  return {
3189
3214
  query: `
@@ -3291,6 +3316,9 @@ ${RESOLVED_LINKS_FIELDS}` : selectedRecordFields;
3291
3316
  deckAccessTokenExchangeVariables(input) {
3292
3317
  return { input };
3293
3318
  },
3319
+ deckSessionTokenExchangeVariables(input) {
3320
+ return { input };
3321
+ },
3294
3322
  deckApiApplicationAccessesVariables(deckId, includeRevoked) {
3295
3323
  return includeRevoked === void 0 ? { deckId } : { deckId, includeRevoked };
3296
3324
  },