@dynamic-labs/sdk-api-core 0.0.547 → 0.0.549
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
|
@@ -45,6 +45,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
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
47
|
'lastSelectedAt': !runtime.exists(json, 'lastSelectedAt') ? undefined : (new Date(json['lastSelectedAt'])),
|
|
48
|
+
'signInEnabled': json['signInEnabled'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
function JwtVerifiedCredentialToJSON(value) {
|
|
@@ -81,6 +82,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
81
82
|
'embedded_wallet_id': value.embeddedWalletId,
|
|
82
83
|
'wallet_additional_addresses': value.walletAdditionalAddresses === undefined ? undefined : (value.walletAdditionalAddresses.map(WalletAdditionalAddress.WalletAdditionalAddressToJSON)),
|
|
83
84
|
'lastSelectedAt': value.lastSelectedAt === undefined ? undefined : (value.lastSelectedAt.toISOString()),
|
|
85
|
+
'signInEnabled': value.signInEnabled,
|
|
84
86
|
};
|
|
85
87
|
}
|
|
86
88
|
|
|
@@ -177,6 +177,12 @@ export interface JwtVerifiedCredential {
|
|
|
177
177
|
* @memberof JwtVerifiedCredential
|
|
178
178
|
*/
|
|
179
179
|
lastSelectedAt?: Date;
|
|
180
|
+
/**
|
|
181
|
+
* This indicates if the user can sign in with this credential
|
|
182
|
+
* @type {boolean}
|
|
183
|
+
* @memberof JwtVerifiedCredential
|
|
184
|
+
*/
|
|
185
|
+
signInEnabled: boolean;
|
|
180
186
|
}
|
|
181
187
|
export declare function JwtVerifiedCredentialFromJSON(json: any): JwtVerifiedCredential;
|
|
182
188
|
export declare function JwtVerifiedCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): JwtVerifiedCredential;
|
|
@@ -41,6 +41,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
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
43
|
'lastSelectedAt': !exists(json, 'lastSelectedAt') ? undefined : (new Date(json['lastSelectedAt'])),
|
|
44
|
+
'signInEnabled': json['signInEnabled'],
|
|
44
45
|
};
|
|
45
46
|
}
|
|
46
47
|
function JwtVerifiedCredentialToJSON(value) {
|
|
@@ -77,6 +78,7 @@ function JwtVerifiedCredentialToJSON(value) {
|
|
|
77
78
|
'embedded_wallet_id': value.embeddedWalletId,
|
|
78
79
|
'wallet_additional_addresses': value.walletAdditionalAddresses === undefined ? undefined : (value.walletAdditionalAddresses.map(WalletAdditionalAddressToJSON)),
|
|
79
80
|
'lastSelectedAt': value.lastSelectedAt === undefined ? undefined : (value.lastSelectedAt.toISOString()),
|
|
81
|
+
'signInEnabled': value.signInEnabled,
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
84
|
|
|
@@ -29,7 +29,7 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'privateCustomerRpcUrls': !runtime.exists(json, 'privateCustomerRpcUrls') ? undefined : json['privateCustomerRpcUrls'],
|
|
30
30
|
'blockExplorerUrls': json['blockExplorerUrls'],
|
|
31
31
|
'vanityName': !runtime.exists(json, 'vanityName') ? undefined : json['vanityName'],
|
|
32
|
-
'bech32Prefix': !runtime.exists(json, '
|
|
32
|
+
'bech32Prefix': !runtime.exists(json, 'bech32Prefix') ? undefined : json['bech32Prefix'],
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
function NetworkConfigurationToJSON(value) {
|
|
@@ -54,7 +54,7 @@ function NetworkConfigurationToJSON(value) {
|
|
|
54
54
|
'privateCustomerRpcUrls': value.privateCustomerRpcUrls,
|
|
55
55
|
'blockExplorerUrls': value.blockExplorerUrls,
|
|
56
56
|
'vanityName': value.vanityName,
|
|
57
|
-
'
|
|
57
|
+
'bech32Prefix': value.bech32Prefix,
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -25,7 +25,7 @@ function NetworkConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'privateCustomerRpcUrls': !exists(json, 'privateCustomerRpcUrls') ? undefined : json['privateCustomerRpcUrls'],
|
|
26
26
|
'blockExplorerUrls': json['blockExplorerUrls'],
|
|
27
27
|
'vanityName': !exists(json, 'vanityName') ? undefined : json['vanityName'],
|
|
28
|
-
'bech32Prefix': !exists(json, '
|
|
28
|
+
'bech32Prefix': !exists(json, 'bech32Prefix') ? undefined : json['bech32Prefix'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
31
|
function NetworkConfigurationToJSON(value) {
|
|
@@ -50,7 +50,7 @@ function NetworkConfigurationToJSON(value) {
|
|
|
50
50
|
'privateCustomerRpcUrls': value.privateCustomerRpcUrls,
|
|
51
51
|
'blockExplorerUrls': value.blockExplorerUrls,
|
|
52
52
|
'vanityName': value.vanityName,
|
|
53
|
-
'
|
|
53
|
+
'bech32Prefix': value.bech32Prefix,
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
|