@dynamic-labs/sdk-api 0.0.387 → 0.0.389

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",
3
- "version": "0.0.387",
3
+ "version": "0.0.389",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -16,19 +16,19 @@
16
16
  */
17
17
  export interface FarcasterSignInRequest {
18
18
  /**
19
- * User's public key
19
+ *
20
20
  * @type {string}
21
21
  * @memberof FarcasterSignInRequest
22
22
  */
23
23
  address: string;
24
24
  /**
25
- * The domain that is requesting the sign in, currently only supports dynamic.xyz
25
+ *
26
26
  * @type {string}
27
27
  * @memberof FarcasterSignInRequest
28
28
  */
29
29
  domain: string;
30
30
  /**
31
- * A nonce generated from the Dynamic SDK
31
+ *
32
32
  * @type {string}
33
33
  * @memberof FarcasterSignInRequest
34
34
  */
@@ -40,7 +40,7 @@ export interface FarcasterSignInRequest {
40
40
  */
41
41
  message: string;
42
42
  /**
43
- * Signature when message is signed by the given public key
43
+ *
44
44
  * @type {string}
45
45
  * @memberof FarcasterSignInRequest
46
46
  */
@@ -23,6 +23,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
23
23
  'sessionKeyDuration': !runtime.exists(json, 'sessionKeyDuration') ? undefined : Duration.DurationFromJSON(json['sessionKeyDuration']),
24
24
  'supportedSecurityMethods': !runtime.exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethods.SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
25
25
  'chainConfigurations': !runtime.exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfiguration.ChainConfigurationFromJSON)),
26
+ 'domainEnabledByProvider': !runtime.exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
26
27
  };
27
28
  }
28
29
  function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
@@ -40,6 +41,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
40
41
  'sessionKeyDuration': Duration.DurationToJSON(value.sessionKeyDuration),
41
42
  'supportedSecurityMethods': SupportedSecurityMethods.SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
42
43
  'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfiguration.ChainConfigurationToJSON)),
44
+ 'domainEnabledByProvider': value.domainEnabledByProvider,
43
45
  };
44
46
  }
45
47
 
@@ -60,6 +60,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
60
60
  * @memberof ProjectSettingsSdkEmbeddedWallets
61
61
  */
62
62
  chainConfigurations?: Array<ChainConfiguration>;
63
+ /**
64
+ * When a client domain needs to be whitelisted explicitly by one of our embedded wallet providers, this will be true when Dynamic has confirmed that this is the case.
65
+ * @type {boolean}
66
+ * @memberof ProjectSettingsSdkEmbeddedWallets
67
+ */
68
+ domainEnabledByProvider?: boolean;
63
69
  }
64
70
  export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
65
71
  export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
@@ -19,6 +19,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
19
19
  'sessionKeyDuration': !exists(json, 'sessionKeyDuration') ? undefined : DurationFromJSON(json['sessionKeyDuration']),
20
20
  'supportedSecurityMethods': !exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
21
21
  'chainConfigurations': !exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfigurationFromJSON)),
22
+ 'domainEnabledByProvider': !exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
22
23
  };
23
24
  }
24
25
  function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
@@ -36,6 +37,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
36
37
  'sessionKeyDuration': DurationToJSON(value.sessionKeyDuration),
37
38
  'supportedSecurityMethods': SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
38
39
  'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfigurationToJSON)),
40
+ 'domainEnabledByProvider': value.domainEnabledByProvider,
39
41
  };
40
42
  }
41
43