@dynamic-labs/sdk-api-core 0.0.426 → 0.0.427
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
|
@@ -44,6 +44,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'previousUsers': !runtime.exists(json, 'previous_users') ? undefined : json['previous_users'],
|
|
45
45
|
'embeddedWalletId': !runtime.exists(json, 'embedded_wallet_id') ? undefined : json['embedded_wallet_id'],
|
|
46
46
|
'walletAdditionalAddresses': !runtime.exists(json, 'wallet_additional_addresses') ? undefined : (json['wallet_additional_addresses'].map(WalletAdditionalAddress.WalletAdditionalAddressFromJSON)),
|
|
47
|
+
'lastSelectedAt': !runtime.exists(json, 'lastSelectedAt') ? undefined : (new Date(json['lastSelectedAt'])),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
function JwtVerifiedCredentialToJSON(value) {
|
|
@@ -79,6 +80,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
79
80
|
'previous_users': value.previousUsers,
|
|
80
81
|
'embedded_wallet_id': value.embeddedWalletId,
|
|
81
82
|
'wallet_additional_addresses': value.walletAdditionalAddresses === undefined ? undefined : (value.walletAdditionalAddresses.map(WalletAdditionalAddress.WalletAdditionalAddressToJSON)),
|
|
83
|
+
'lastSelectedAt': value.lastSelectedAt === undefined ? undefined : (value.lastSelectedAt.toISOString()),
|
|
82
84
|
};
|
|
83
85
|
}
|
|
84
86
|
|
|
@@ -171,6 +171,12 @@ export interface JwtVerifiedCredential {
|
|
|
171
171
|
* @memberof JwtVerifiedCredential
|
|
172
172
|
*/
|
|
173
173
|
walletAdditionalAddresses?: Array<WalletAdditionalAddress>;
|
|
174
|
+
/**
|
|
175
|
+
* This timestamp indicates the last time this verified wallet was either connected to the user account or selected to become the primary wallet on the account.
|
|
176
|
+
* @type {Date}
|
|
177
|
+
* @memberof JwtVerifiedCredential
|
|
178
|
+
*/
|
|
179
|
+
lastSelectedAt?: Date;
|
|
174
180
|
}
|
|
175
181
|
export declare function JwtVerifiedCredentialFromJSON(json: any): JwtVerifiedCredential;
|
|
176
182
|
export declare function JwtVerifiedCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): JwtVerifiedCredential;
|
|
@@ -40,6 +40,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'previousUsers': !exists(json, 'previous_users') ? undefined : json['previous_users'],
|
|
41
41
|
'embeddedWalletId': !exists(json, 'embedded_wallet_id') ? undefined : json['embedded_wallet_id'],
|
|
42
42
|
'walletAdditionalAddresses': !exists(json, 'wallet_additional_addresses') ? undefined : (json['wallet_additional_addresses'].map(WalletAdditionalAddressFromJSON)),
|
|
43
|
+
'lastSelectedAt': !exists(json, 'lastSelectedAt') ? undefined : (new Date(json['lastSelectedAt'])),
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
function JwtVerifiedCredentialToJSON(value) {
|
|
@@ -75,6 +76,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
75
76
|
'previous_users': value.previousUsers,
|
|
76
77
|
'embedded_wallet_id': value.embeddedWalletId,
|
|
77
78
|
'wallet_additional_addresses': value.walletAdditionalAddresses === undefined ? undefined : (value.walletAdditionalAddresses.map(WalletAdditionalAddressToJSON)),
|
|
79
|
+
'lastSelectedAt': value.lastSelectedAt === undefined ? undefined : (value.lastSelectedAt.toISOString()),
|
|
78
80
|
};
|
|
79
81
|
}
|
|
80
82
|
|