@dynamic-labs/sdk-api-core 0.0.841 → 0.0.843

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.841",
3
+ "version": "0.0.843",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var runtime = require('../runtime.cjs');
6
6
  var AuthenticationExtensionsClientOutputs = require('./AuthenticationExtensionsClientOutputs.cjs');
7
7
  var AuthenticatorAttachment = require('./AuthenticatorAttachment.cjs');
8
+ var CreateMfaToken = require('./CreateMfaToken.cjs');
8
9
  var PasskeyCredentialType = require('./PasskeyCredentialType.cjs');
9
10
  var PasskeyRegistrationCredentialV2 = require('./PasskeyRegistrationCredentialV2.cjs');
10
11
 
@@ -23,6 +24,7 @@ function PasskeyRegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
23
24
  'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
24
25
  'authenticatorAttachment': !runtime.exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachment.AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
25
26
  'type': PasskeyCredentialType.PasskeyCredentialTypeFromJSON(json['type']),
27
+ 'createMfaToken': !runtime.exists(json, 'createMfaToken') ? undefined : CreateMfaToken.CreateMfaTokenFromJSON(json['createMfaToken']),
26
28
  };
27
29
  }
28
30
  function PasskeyRegisterRequestToJSON(value) {
@@ -39,6 +41,7 @@ function PasskeyRegisterRequestToJSON(value) {
39
41
  'clientExtensionResults': AuthenticationExtensionsClientOutputs.AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
40
42
  'authenticatorAttachment': AuthenticatorAttachment.AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
41
43
  'type': PasskeyCredentialType.PasskeyCredentialTypeToJSON(value.type),
44
+ 'createMfaToken': CreateMfaToken.CreateMfaTokenToJSON(value.createMfaToken),
42
45
  };
43
46
  }
44
47
 
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { AuthenticationExtensionsClientOutputs } from './AuthenticationExtensionsClientOutputs';
13
13
  import { AuthenticatorAttachment } from './AuthenticatorAttachment';
14
+ import { CreateMfaToken } from './CreateMfaToken';
14
15
  import { PasskeyCredentialType } from './PasskeyCredentialType';
15
16
  import { PasskeyRegistrationCredentialV2 } from './PasskeyRegistrationCredentialV2';
16
17
  /**
@@ -55,6 +56,12 @@ export interface PasskeyRegisterRequest {
55
56
  * @memberof PasskeyRegisterRequest
56
57
  */
57
58
  type: PasskeyCredentialType;
59
+ /**
60
+ *
61
+ * @type {CreateMfaToken}
62
+ * @memberof PasskeyRegisterRequest
63
+ */
64
+ createMfaToken?: CreateMfaToken;
58
65
  }
59
66
  export declare function PasskeyRegisterRequestFromJSON(json: any): PasskeyRegisterRequest;
60
67
  export declare function PasskeyRegisterRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasskeyRegisterRequest;
@@ -1,6 +1,7 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { AuthenticationExtensionsClientOutputsFromJSON, AuthenticationExtensionsClientOutputsToJSON } from './AuthenticationExtensionsClientOutputs.js';
3
3
  import { AuthenticatorAttachmentFromJSON, AuthenticatorAttachmentToJSON } from './AuthenticatorAttachment.js';
4
+ import { CreateMfaTokenFromJSON, CreateMfaTokenToJSON } from './CreateMfaToken.js';
4
5
  import { PasskeyCredentialTypeFromJSON, PasskeyCredentialTypeToJSON } from './PasskeyCredentialType.js';
5
6
  import { PasskeyRegistrationCredentialV2FromJSON, PasskeyRegistrationCredentialV2ToJSON } from './PasskeyRegistrationCredentialV2.js';
6
7
 
@@ -19,6 +20,7 @@ function PasskeyRegisterRequestFromJSONTyped(json, ignoreDiscriminator) {
19
20
  'clientExtensionResults': AuthenticationExtensionsClientOutputsFromJSON(json['clientExtensionResults']),
20
21
  'authenticatorAttachment': !exists(json, 'authenticatorAttachment') ? undefined : AuthenticatorAttachmentFromJSON(json['authenticatorAttachment']),
21
22
  'type': PasskeyCredentialTypeFromJSON(json['type']),
23
+ 'createMfaToken': !exists(json, 'createMfaToken') ? undefined : CreateMfaTokenFromJSON(json['createMfaToken']),
22
24
  };
23
25
  }
24
26
  function PasskeyRegisterRequestToJSON(value) {
@@ -35,6 +37,7 @@ function PasskeyRegisterRequestToJSON(value) {
35
37
  'clientExtensionResults': AuthenticationExtensionsClientOutputsToJSON(value.clientExtensionResults),
36
38
  'authenticatorAttachment': AuthenticatorAttachmentToJSON(value.authenticatorAttachment),
37
39
  'type': PasskeyCredentialTypeToJSON(value.type),
40
+ 'createMfaToken': CreateMfaTokenToJSON(value.createMfaToken),
38
41
  };
39
42
  }
40
43
 
@@ -30,6 +30,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
30
30
  'defaultWalletVersion': !runtime.exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
31
31
  'promptForKeyExport': !runtime.exists(json, 'promptForKeyExport') ? undefined : json['promptForKeyExport'],
32
32
  'transactionSimulation': !runtime.exists(json, 'transactionSimulation') ? undefined : json['transactionSimulation'],
33
+ 'svmGasSponsorshipEnabled': !runtime.exists(json, 'svmGasSponsorshipEnabled') ? undefined : json['svmGasSponsorshipEnabled'],
33
34
  };
34
35
  }
35
36
  function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
@@ -53,6 +54,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
53
54
  'defaultWalletVersion': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
54
55
  'promptForKeyExport': value.promptForKeyExport,
55
56
  'transactionSimulation': value.transactionSimulation,
57
+ 'svmGasSponsorshipEnabled': value.svmGasSponsorshipEnabled,
56
58
  };
57
59
  }
58
60
 
@@ -97,6 +97,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
97
97
  * @memberof ProjectSettingsSdkEmbeddedWallets
98
98
  */
99
99
  transactionSimulation?: boolean;
100
+ /**
101
+ * When true, network fees for Solana embedded wallet transactions will be sponsored.
102
+ * @type {boolean}
103
+ * @memberof ProjectSettingsSdkEmbeddedWallets
104
+ */
105
+ svmGasSponsorshipEnabled?: boolean;
100
106
  }
101
107
  export declare function ProjectSettingsSdkEmbeddedWalletsFromJSON(json: any): ProjectSettingsSdkEmbeddedWallets;
102
108
  export declare function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsSdkEmbeddedWallets;
@@ -26,6 +26,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
26
26
  'defaultWalletVersion': !exists(json, 'defaultWalletVersion') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['defaultWalletVersion']),
27
27
  'promptForKeyExport': !exists(json, 'promptForKeyExport') ? undefined : json['promptForKeyExport'],
28
28
  'transactionSimulation': !exists(json, 'transactionSimulation') ? undefined : json['transactionSimulation'],
29
+ 'svmGasSponsorshipEnabled': !exists(json, 'svmGasSponsorshipEnabled') ? undefined : json['svmGasSponsorshipEnabled'],
29
30
  };
30
31
  }
31
32
  function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
@@ -49,6 +50,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
49
50
  'defaultWalletVersion': EmbeddedWalletVersionEnumToJSON(value.defaultWalletVersion),
50
51
  'promptForKeyExport': value.promptForKeyExport,
51
52
  'transactionSimulation': value.transactionSimulation,
53
+ 'svmGasSponsorshipEnabled': value.svmGasSponsorshipEnabled,
52
54
  };
53
55
  }
54
56