@dynamic-labs/sdk-api-core 0.0.523 → 0.0.525

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.523",
3
+ "version": "0.0.525",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -14,6 +14,7 @@ function OauthResultRequestFromJSONTyped(json, ignoreDiscriminator) {
14
14
  }
15
15
  return {
16
16
  'state': json['state'],
17
+ 'code': !runtime.exists(json, 'code') ? undefined : json['code'],
17
18
  'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
18
19
  };
19
20
  }
@@ -26,6 +27,7 @@ function OauthResultRequestToJSON(value) {
26
27
  }
27
28
  return {
28
29
  'state': value.state,
30
+ 'code': value.code,
29
31
  'sessionPublicKey': value.sessionPublicKey,
30
32
  };
31
33
  }
@@ -21,6 +21,12 @@ export interface OauthResultRequest {
21
21
  * @memberof OauthResultRequest
22
22
  */
23
23
  state: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof OauthResultRequest
28
+ */
29
+ code?: string;
24
30
  /**
25
31
  *
26
32
  * @type {string}
@@ -10,6 +10,7 @@ function OauthResultRequestFromJSONTyped(json, ignoreDiscriminator) {
10
10
  }
11
11
  return {
12
12
  'state': json['state'],
13
+ 'code': !exists(json, 'code') ? undefined : json['code'],
13
14
  'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
14
15
  };
15
16
  }
@@ -22,6 +23,7 @@ function OauthResultRequestToJSON(value) {
22
23
  }
23
24
  return {
24
25
  'state': value.state,
26
+ 'code': value.code,
25
27
  'sessionPublicKey': value.sessionPublicKey,
26
28
  };
27
29
  }
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var runtime = require('../runtime.cjs');
6
6
  var ChainConfiguration = require('./ChainConfiguration.cjs');
7
7
  var Duration = require('./Duration.cjs');
8
+ var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
8
9
  var SupportedSecurityMethods = require('./SupportedSecurityMethods.cjs');
9
10
 
10
11
  /* tslint:disable */
@@ -25,6 +26,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
25
26
  'supportedSecurityMethods': !runtime.exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethods.SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
26
27
  'chainConfigurations': !runtime.exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfiguration.ChainConfigurationFromJSON)),
27
28
  'domainEnabledByProvider': !runtime.exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
29
+ 'defaultWalletVersion': !runtime.exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
28
30
  };
29
31
  }
30
32
  function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
@@ -44,6 +46,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
44
46
  'supportedSecurityMethods': SupportedSecurityMethods.SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
45
47
  'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfiguration.ChainConfigurationToJSON)),
46
48
  'domainEnabledByProvider': value.domainEnabledByProvider,
49
+ 'defaultWalletVersion': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
47
50
  };
48
51
  }
49
52
 
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ChainConfiguration } from './ChainConfiguration';
13
13
  import { Duration } from './Duration';
14
+ import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
14
15
  import { SupportedSecurityMethods } from './SupportedSecurityMethods';
15
16
  /**
16
17
  *
@@ -72,6 +73,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
72
73
  * @memberof ProjectSettingsSdkEmbeddedWallets
73
74
  */
74
75
  domainEnabledByProvider?: boolean;
76
+ /**
77
+ *
78
+ * @type {EmbeddedWalletVersionEnum}
79
+ * @memberof ProjectSettingsSdkEmbeddedWallets
80
+ */
81
+ defaultWalletVersion?: EmbeddedWalletVersionEnum;
75
82
  }
76
83
  export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
77
84
  export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
@@ -1,6 +1,7 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { ChainConfigurationFromJSON, ChainConfigurationToJSON } from './ChainConfiguration.js';
3
3
  import { DurationFromJSON, DurationToJSON } from './Duration.js';
4
+ import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
4
5
  import { SupportedSecurityMethodsFromJSON, SupportedSecurityMethodsToJSON } from './SupportedSecurityMethods.js';
5
6
 
6
7
  /* tslint:disable */
@@ -21,6 +22,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
21
22
  'supportedSecurityMethods': !exists(json, 'supportedSecurityMethods') ? undefined : SupportedSecurityMethodsFromJSON(json['supportedSecurityMethods']),
22
23
  'chainConfigurations': !exists(json, 'chainConfigurations') ? undefined : (json['chainConfigurations'].map(ChainConfigurationFromJSON)),
23
24
  'domainEnabledByProvider': !exists(json, 'domainEnabledByProvider') ? undefined : json['domainEnabledByProvider'],
25
+ 'defaultWalletVersion': !exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
24
26
  };
25
27
  }
26
28
  function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
@@ -40,6 +42,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
40
42
  'supportedSecurityMethods': SupportedSecurityMethodsToJSON(value.supportedSecurityMethods),
41
43
  'chainConfigurations': value.chainConfigurations === undefined ? undefined : (value.chainConfigurations.map(ChainConfigurationToJSON)),
42
44
  'domainEnabledByProvider': value.domainEnabledByProvider,
45
+ 'defaultWalletVersion': EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
43
46
  };
44
47
  }
45
48