@dynamic-labs/sdk-api-core 0.0.505 → 0.0.506

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": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.505",
3
+ "version": "0.0.506",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -15,7 +15,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
15
15
  return {
16
16
  'code': json['code'],
17
17
  'codeVerifier': !runtime.exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
18
- 'state': !runtime.exists(json, 'state') ? undefined : json['state'],
18
+ 'state': json['state'],
19
19
  'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
20
20
  };
21
21
  }
@@ -32,7 +32,7 @@ export interface OauthRequest {
32
32
  * @type {string}
33
33
  * @memberof OauthRequest
34
34
  */
35
- state?: string;
35
+ state: string;
36
36
  /**
37
37
  * Optional captcha token to verify that the user is not a bot
38
38
  * @type {string}
@@ -11,7 +11,7 @@ function OauthRequestFromJSONTyped(json, ignoreDiscriminator) {
11
11
  return {
12
12
  'code': json['code'],
13
13
  'codeVerifier': !exists(json, 'codeVerifier') ? undefined : json['codeVerifier'],
14
- 'state': !exists(json, 'state') ? undefined : json['state'],
14
+ 'state': json['state'],
15
15
  'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
16
16
  };
17
17
  }