@dynamic-labs/sdk-api-core 0.0.840 → 0.0.842

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.840",
3
+ "version": "0.0.842",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -48,7 +48,7 @@ export interface Account {
48
48
  */
49
49
  name?: string;
50
50
  /**
51
- *
51
+ * Blockchain network if relevant
52
52
  * @type {string}
53
53
  * @memberof Account
54
54
  */
@@ -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
 
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
6
7
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
7
8
  var WaasWalletSettings = require('./WaasWalletSettings.cjs');
8
9
  var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
@@ -20,6 +21,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
20
21
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
21
22
  'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
22
23
  'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
24
+ 'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
23
25
  };
24
26
  }
25
27
  function WaasWalletPropertiesToJSON(value) {
@@ -34,6 +36,7 @@ function WaasWalletPropertiesToJSON(value) {
34
36
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
35
37
  'derivationPath': value.derivationPath,
36
38
  'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
39
+ 'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
37
40
  };
38
41
  }
39
42
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
12
13
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
13
14
  import { WaasWalletSettings } from './WaasWalletSettings';
14
15
  import { WalletKeyShareInfo } from './WalletKeyShareInfo';
@@ -42,6 +43,12 @@ export interface WaasWalletProperties {
42
43
  * @memberof WaasWalletProperties
43
44
  */
44
45
  settings?: WaasWalletSettings;
46
+ /**
47
+ *
48
+ * @type {EmbeddedWalletVersionEnum}
49
+ * @memberof WaasWalletProperties
50
+ */
51
+ version?: EmbeddedWalletVersionEnum;
45
52
  }
46
53
  export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
47
54
  export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
2
3
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
3
4
  import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
4
5
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
@@ -16,6 +17,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
16
17
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
17
18
  'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
18
19
  'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
20
+ 'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
19
21
  };
20
22
  }
21
23
  function WaasWalletPropertiesToJSON(value) {
@@ -30,6 +32,7 @@ function WaasWalletPropertiesToJSON(value) {
30
32
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
31
33
  'derivationPath': value.derivationPath,
32
34
  'settings': WaasWalletSettingsToJSON(value.settings),
35
+ 'version': EmbeddedWalletVersionEnumToJSON(value.version),
33
36
  };
34
37
  }
35
38
 
@@ -37,7 +37,7 @@ export interface WalletTransaction {
37
37
  */
38
38
  transactionTimestamp: Date;
39
39
  /**
40
- * Hash of the block that contains the transaction
40
+ *
41
41
  * @type {string}
42
42
  * @memberof WalletTransaction
43
43
  */