@dynamic-labs/sdk-api-core 0.0.665 → 0.0.667

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.665",
3
+ "version": "0.0.667",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -23,6 +23,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
23
23
  'privacyPolicyUrl': !runtime.exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
24
24
  'termsOfServiceAndPrivacyPolicyMarkdown': !runtime.exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
25
25
  'customMenuLinks': !runtime.exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksFromJSON)),
26
+ 'enableLoginWithExternalWallets': !runtime.exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
26
27
  'enabledAt': !runtime.exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
27
28
  };
28
29
  }
@@ -43,6 +44,7 @@ function GlobalWalletSettingsToJSON(value) {
43
44
  'privacyPolicyUrl': value.privacyPolicyUrl,
44
45
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
45
46
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCustomMenuLinks.GlobalWalletSettingsCustomMenuLinksToJSON)),
47
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
46
48
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
47
49
  };
48
50
  }
@@ -70,6 +70,12 @@ export interface GlobalWalletSettings {
70
70
  * @memberof GlobalWalletSettings
71
71
  */
72
72
  customMenuLinks?: Array<GlobalWalletSettingsCustomMenuLinks>;
73
+ /**
74
+ *
75
+ * @type {boolean}
76
+ * @memberof GlobalWalletSettings
77
+ */
78
+ enableLoginWithExternalWallets?: boolean;
73
79
  /**
74
80
  * If global wallet is enabled, then this timestamp will be present.
75
81
  * @type {Date}
@@ -19,6 +19,7 @@ function GlobalWalletSettingsFromJSONTyped(json, ignoreDiscriminator) {
19
19
  'privacyPolicyUrl': !exists(json, 'privacyPolicyUrl') ? undefined : json['privacyPolicyUrl'],
20
20
  'termsOfServiceAndPrivacyPolicyMarkdown': !exists(json, 'termsOfServiceAndPrivacyPolicyMarkdown') ? undefined : json['termsOfServiceAndPrivacyPolicyMarkdown'],
21
21
  'customMenuLinks': !exists(json, 'customMenuLinks') ? undefined : (json['customMenuLinks'].map(GlobalWalletSettingsCustomMenuLinksFromJSON)),
22
+ 'enableLoginWithExternalWallets': !exists(json, 'enableLoginWithExternalWallets') ? undefined : json['enableLoginWithExternalWallets'],
22
23
  'enabledAt': !exists(json, 'enabledAt') ? undefined : (json['enabledAt'] === null ? null : new Date(json['enabledAt'])),
23
24
  };
24
25
  }
@@ -39,6 +40,7 @@ function GlobalWalletSettingsToJSON(value) {
39
40
  'privacyPolicyUrl': value.privacyPolicyUrl,
40
41
  'termsOfServiceAndPrivacyPolicyMarkdown': value.termsOfServiceAndPrivacyPolicyMarkdown,
41
42
  'customMenuLinks': value.customMenuLinks === undefined ? undefined : (value.customMenuLinks.map(GlobalWalletSettingsCustomMenuLinksToJSON)),
43
+ 'enableLoginWithExternalWallets': value.enableLoginWithExternalWallets,
42
44
  'enabledAt': value.enabledAt === undefined ? undefined : (value.enabledAt === null ? null : value.enabledAt.toISOString()),
43
45
  };
44
46
  }
@@ -15,6 +15,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
15
15
  return {
16
16
  'message': json['message'],
17
17
  'isFormatted': !runtime.exists(json, 'isFormatted') ? undefined : json['isFormatted'],
18
+ 'roomId': !runtime.exists(json, 'roomId') ? undefined : json['roomId'],
18
19
  };
19
20
  }
20
21
  function SignMessageWithWaasRequestToJSON(value) {
@@ -27,6 +28,7 @@ function SignMessageWithWaasRequestToJSON(value) {
27
28
  return {
28
29
  'message': value.message,
29
30
  'isFormatted': value.isFormatted,
31
+ 'roomId': value.roomId,
30
32
  };
31
33
  }
32
34
 
@@ -27,6 +27,12 @@ export interface SignMessageWithWaasRequest {
27
27
  * @memberof SignMessageWithWaasRequest
28
28
  */
29
29
  isFormatted?: boolean;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SignMessageWithWaasRequest
34
+ */
35
+ roomId?: string;
30
36
  }
31
37
  export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
32
38
  export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
@@ -11,6 +11,7 @@ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
11
11
  return {
12
12
  'message': json['message'],
13
13
  'isFormatted': !exists(json, 'isFormatted') ? undefined : json['isFormatted'],
14
+ 'roomId': !exists(json, 'roomId') ? undefined : json['roomId'],
14
15
  };
15
16
  }
16
17
  function SignMessageWithWaasRequestToJSON(value) {
@@ -23,6 +24,7 @@ function SignMessageWithWaasRequestToJSON(value) {
23
24
  return {
24
25
  'message': value.message,
25
26
  'isFormatted': value.isFormatted,
27
+ 'roomId': value.roomId,
26
28
  };
27
29
  }
28
30