@dynamic-labs/sdk-api 0.41.0 → 0.42.0
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
|
@@ -41,6 +41,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
41
41
|
'transactionSimulation': !runtime.exists(json, 'transactionSimulation') ? undefined : json['transactionSimulation'],
|
|
42
42
|
'evmGasSponsorshipEnabled': !runtime.exists(json, 'evmGasSponsorshipEnabled') ? undefined : json['evmGasSponsorshipEnabled'],
|
|
43
43
|
'evmGasSponsorshipRelayMode': !runtime.exists(json, 'evmGasSponsorshipRelayMode') ? undefined : json['evmGasSponsorshipRelayMode'],
|
|
44
|
+
'evmGasSponsorshipNetworks': !runtime.exists(json, 'evmGasSponsorshipNetworks') ? undefined : json['evmGasSponsorshipNetworks'],
|
|
44
45
|
'svmGasSponsorshipEnabled': !runtime.exists(json, 'svmGasSponsorshipEnabled') ? undefined : json['svmGasSponsorshipEnabled'],
|
|
45
46
|
};
|
|
46
47
|
}
|
|
@@ -67,6 +68,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
67
68
|
'transactionSimulation': value.transactionSimulation,
|
|
68
69
|
'evmGasSponsorshipEnabled': value.evmGasSponsorshipEnabled,
|
|
69
70
|
'evmGasSponsorshipRelayMode': value.evmGasSponsorshipRelayMode,
|
|
71
|
+
'evmGasSponsorshipNetworks': value.evmGasSponsorshipNetworks,
|
|
70
72
|
'svmGasSponsorshipEnabled': value.svmGasSponsorshipEnabled,
|
|
71
73
|
};
|
|
72
74
|
}
|
|
@@ -109,6 +109,12 @@ export interface ProjectSettingsSdkEmbeddedWallets {
|
|
|
109
109
|
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
110
110
|
*/
|
|
111
111
|
evmGasSponsorshipRelayMode?: ProjectSettingsSdkEmbeddedWalletsEvmGasSponsorshipRelayModeEnum;
|
|
112
|
+
/**
|
|
113
|
+
* Restricts EVM gas sponsorship to specific networks. Use mainnet or testnet for every supported chain of that class, or a numeric chain id for a single chain. Absent or empty covers every supported chain.
|
|
114
|
+
* @type {Array<string>}
|
|
115
|
+
* @memberof ProjectSettingsSdkEmbeddedWallets
|
|
116
|
+
*/
|
|
117
|
+
evmGasSponsorshipNetworks?: Array<string>;
|
|
112
118
|
/**
|
|
113
119
|
* When true, network fees for Solana embedded wallet transactions will be sponsored.
|
|
114
120
|
* @type {boolean}
|
|
@@ -37,6 +37,7 @@ function ProjectSettingsSdkEmbeddedWalletsFromJSONTyped(json, ignoreDiscriminato
|
|
|
37
37
|
'transactionSimulation': !exists(json, 'transactionSimulation') ? undefined : json['transactionSimulation'],
|
|
38
38
|
'evmGasSponsorshipEnabled': !exists(json, 'evmGasSponsorshipEnabled') ? undefined : json['evmGasSponsorshipEnabled'],
|
|
39
39
|
'evmGasSponsorshipRelayMode': !exists(json, 'evmGasSponsorshipRelayMode') ? undefined : json['evmGasSponsorshipRelayMode'],
|
|
40
|
+
'evmGasSponsorshipNetworks': !exists(json, 'evmGasSponsorshipNetworks') ? undefined : json['evmGasSponsorshipNetworks'],
|
|
40
41
|
'svmGasSponsorshipEnabled': !exists(json, 'svmGasSponsorshipEnabled') ? undefined : json['svmGasSponsorshipEnabled'],
|
|
41
42
|
};
|
|
42
43
|
}
|
|
@@ -63,6 +64,7 @@ function ProjectSettingsSdkEmbeddedWalletsToJSON(value) {
|
|
|
63
64
|
'transactionSimulation': value.transactionSimulation,
|
|
64
65
|
'evmGasSponsorshipEnabled': value.evmGasSponsorshipEnabled,
|
|
65
66
|
'evmGasSponsorshipRelayMode': value.evmGasSponsorshipRelayMode,
|
|
67
|
+
'evmGasSponsorshipNetworks': value.evmGasSponsorshipNetworks,
|
|
66
68
|
'svmGasSponsorshipEnabled': value.svmGasSponsorshipEnabled,
|
|
67
69
|
};
|
|
68
70
|
}
|