@dynamic-labs/sdk-api-core 0.0.578 → 0.0.580

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.578",
3
+ "version": "0.0.580",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -18,6 +18,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
18
18
  }
19
19
  return {
20
20
  'automaticEmbeddedWalletCreation': !runtime.exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
21
+ 'automaticEmbeddedWalletCreationForExternal': !runtime.exists(json, 'automaticEmbeddedWalletCreationForExternal') ? undefined : json['automaticEmbeddedWalletCreationForExternal'],
21
22
  'showEmbeddedWalletActionsUI': !runtime.exists(json, 'showEmbeddedWalletActionsUI') ? undefined : json['showEmbeddedWalletActionsUI'],
22
23
  'emailRecoveryEnabled': !runtime.exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
23
24
  'forceAuthenticatorAtSignup': !runtime.exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
@@ -39,6 +40,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
39
40
  }
40
41
  return {
41
42
  'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
43
+ 'automaticEmbeddedWalletCreationForExternal': value.automaticEmbeddedWalletCreationForExternal,
42
44
  'showEmbeddedWalletActionsUI': value.showEmbeddedWalletActionsUI,
43
45
  'emailRecoveryEnabled': value.emailRecoveryEnabled,
44
46
  'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
@@ -25,6 +25,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
25
25
  * @memberof ProjectSettingsSdkEmbeddedWallets
26
26
  */
27
27
  automaticEmbeddedWalletCreation?: boolean;
28
+ /**
29
+ * When true embedded wallets will be created for external wallets during sign in. When false embedded wallets are not generated for external wallets during sign in.
30
+ * @type {boolean}
31
+ * @memberof ProjectSettingsSdkEmbeddedWallets
32
+ */
33
+ automaticEmbeddedWalletCreationForExternal?: boolean;
28
34
  /**
29
35
  * When true users will see embedded wallets action confirmation views.
30
36
  * @type {boolean}
@@ -14,6 +14,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
14
14
  }
15
15
  return {
16
16
  'automaticEmbeddedWalletCreation': !exists(json, 'automaticEmbeddedWalletCreation') ? undefined : json['automaticEmbeddedWalletCreation'],
17
+ 'automaticEmbeddedWalletCreationForExternal': !exists(json, 'automaticEmbeddedWalletCreationForExternal') ? undefined : json['automaticEmbeddedWalletCreationForExternal'],
17
18
  'showEmbeddedWalletActionsUI': !exists(json, 'showEmbeddedWalletActionsUI') ? undefined : json['showEmbeddedWalletActionsUI'],
18
19
  'emailRecoveryEnabled': !exists(json, 'emailRecoveryEnabled') ? undefined : json['emailRecoveryEnabled'],
19
20
  'forceAuthenticatorAtSignup': !exists(json, 'forceAuthenticatorAtSignup') ? undefined : json['forceAuthenticatorAtSignup'],
@@ -35,6 +36,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
35
36
  }
36
37
  return {
37
38
  'automaticEmbeddedWalletCreation': value.automaticEmbeddedWalletCreation,
39
+ 'automaticEmbeddedWalletCreationForExternal': value.automaticEmbeddedWalletCreationForExternal,
38
40
  'showEmbeddedWalletActionsUI': value.showEmbeddedWalletActionsUI,
39
41
  'emailRecoveryEnabled': value.emailRecoveryEnabled,
40
42
  'forceAuthenticatorAtSignup': value.forceAuthenticatorAtSignup,
@@ -116,6 +116,7 @@ exports.UnprocessableEntityErrorCode = void 0;
116
116
  UnprocessableEntityErrorCode["TooManyEmbeddedWalletsPerChainForUser"] = "too_many_embedded_wallets_per_chain_for_user";
117
117
  UnprocessableEntityErrorCode["InvalidSessionPublicKey"] = "invalid_session_public_key";
118
118
  UnprocessableEntityErrorCode["CustomFieldNotUnique"] = "custom_field_not_unique";
119
+ UnprocessableEntityErrorCode["InvalidAaProjectConfiguration"] = "invalid_aa_project_configuration";
119
120
  })(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
120
121
  function UnprocessableEntityErrorCodeFromJSON(json) {
121
122
  return UnprocessableEntityErrorCodeFromJSONTyped(json);
@@ -108,7 +108,8 @@ export declare enum UnprocessableEntityErrorCode {
108
108
  TooManyEmbeddedWalletsForUser = "too_many_embedded_wallets_for_user",
109
109
  TooManyEmbeddedWalletsPerChainForUser = "too_many_embedded_wallets_per_chain_for_user",
110
110
  InvalidSessionPublicKey = "invalid_session_public_key",
111
- CustomFieldNotUnique = "custom_field_not_unique"
111
+ CustomFieldNotUnique = "custom_field_not_unique",
112
+ InvalidAaProjectConfiguration = "invalid_aa_project_configuration"
112
113
  }
113
114
  export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
114
115
  export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
@@ -112,6 +112,7 @@ var UnprocessableEntityErrorCode;
112
112
  UnprocessableEntityErrorCode["TooManyEmbeddedWalletsPerChainForUser"] = "too_many_embedded_wallets_per_chain_for_user";
113
113
  UnprocessableEntityErrorCode["InvalidSessionPublicKey"] = "invalid_session_public_key";
114
114
  UnprocessableEntityErrorCode["CustomFieldNotUnique"] = "custom_field_not_unique";
115
+ UnprocessableEntityErrorCode["InvalidAaProjectConfiguration"] = "invalid_aa_project_configuration";
115
116
  })(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
116
117
  function UnprocessableEntityErrorCodeFromJSON(json) {
117
118
  return UnprocessableEntityErrorCodeFromJSONTyped(json);