@dynamic-labs/sdk-api-core 0.0.450 → 0.0.451

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.450",
3
+ "version": "0.0.451",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+
5
7
  /* tslint:disable */
6
- /* eslint-disable */
7
- /**
8
- * Dashboard API
9
- * Dashboard API documentation
10
- *
11
- * The version of the OpenAPI document: 1.0.0
12
- *
13
- *
14
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
- * https://openapi-generator.tech
16
- * Do not edit the class manually.
17
- */
18
8
  function FarcasterSignInRequestFromJSON(json) {
19
9
  return FarcasterSignInRequestFromJSONTyped(json);
20
10
  }
@@ -28,6 +18,7 @@ function FarcasterSignInRequestFromJSONTyped(json, ignoreDiscriminator) {
28
18
  'nonce': json['nonce'],
29
19
  'message': json['message'],
30
20
  'signature': json['signature'],
21
+ 'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
31
22
  };
32
23
  }
33
24
  function FarcasterSignInRequestToJSON(value) {
@@ -43,6 +34,7 @@ function FarcasterSignInRequestToJSON(value) {
43
34
  'nonce': value.nonce,
44
35
  'message': value.message,
45
36
  'signature': value.signature,
37
+ 'captchaToken': value.captchaToken,
46
38
  };
47
39
  }
48
40
 
@@ -45,6 +45,12 @@ export interface FarcasterSignInRequest {
45
45
  * @memberof FarcasterSignInRequest
46
46
  */
47
47
  signature: string;
48
+ /**
49
+ * Optional captcha token to verify that the user is not a bot
50
+ * @type {string}
51
+ * @memberof FarcasterSignInRequest
52
+ */
53
+ captchaToken?: string;
48
54
  }
49
55
  export declare function FarcasterSignInRequestFromJSON(json: any): FarcasterSignInRequest;
50
56
  export declare function FarcasterSignInRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FarcasterSignInRequest;
@@ -1,16 +1,6 @@
1
+ import { exists } from '../runtime.js';
2
+
1
3
  /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dashboard API
5
- * Dashboard API documentation
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
4
  function FarcasterSignInRequestFromJSON(json) {
15
5
  return FarcasterSignInRequestFromJSONTyped(json);
16
6
  }
@@ -24,6 +14,7 @@ function FarcasterSignInRequestFromJSONTyped(json, ignoreDiscriminator) {
24
14
  'nonce': json['nonce'],
25
15
  'message': json['message'],
26
16
  'signature': json['signature'],
17
+ 'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
27
18
  };
28
19
  }
29
20
  function FarcasterSignInRequestToJSON(value) {
@@ -39,6 +30,7 @@ function FarcasterSignInRequestToJSON(value) {
39
30
  'nonce': value.nonce,
40
31
  'message': value.message,
41
32
  'signature': value.signature,
33
+ 'captchaToken': value.captchaToken,
42
34
  };
43
35
  }
44
36