@dynamic-labs/sdk-api 0.0.401 → 0.0.402
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 +1 -1
- package/src/models/TurnkeyWalletProperties.cjs +2 -0
- package/src/models/TurnkeyWalletProperties.d.ts +6 -0
- package/src/models/TurnkeyWalletProperties.js +2 -0
- package/src/models/WalletProperties.cjs +2 -0
- package/src/models/WalletProperties.d.ts +6 -0
- package/src/models/WalletProperties.js +2 -0
package/package.json
CHANGED
|
@@ -17,6 +17,7 @@ function TurnkeyWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
17
|
'turnkeyPrivateKeyId': !runtime.exists(json, 'turnkeyPrivateKeyId') ? undefined : json['turnkeyPrivateKeyId'],
|
|
18
18
|
'turnkeyHDWalletId': !runtime.exists(json, 'turnkeyHDWalletId') ? undefined : json['turnkeyHDWalletId'],
|
|
19
19
|
'isAuthenticatorAttached': !runtime.exists(json, 'isAuthenticatorAttached') ? undefined : json['isAuthenticatorAttached'],
|
|
20
|
+
'turnkeyUserId': !runtime.exists(json, 'turnkeyUserId') ? undefined : json['turnkeyUserId'],
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
function TurnkeyWalletPropertiesToJSON(value) {
|
|
@@ -31,6 +32,7 @@ function TurnkeyWalletPropertiesToJSON(value) {
|
|
|
31
32
|
'turnkeyPrivateKeyId': value.turnkeyPrivateKeyId,
|
|
32
33
|
'turnkeyHDWalletId': value.turnkeyHDWalletId,
|
|
33
34
|
'isAuthenticatorAttached': value.isAuthenticatorAttached,
|
|
35
|
+
'turnkeyUserId': value.turnkeyUserId,
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
|
|
@@ -39,6 +39,12 @@ export interface TurnkeyWalletProperties {
|
|
|
39
39
|
* @memberof TurnkeyWalletProperties
|
|
40
40
|
*/
|
|
41
41
|
isAuthenticatorAttached?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TurnkeyWalletProperties
|
|
46
|
+
*/
|
|
47
|
+
turnkeyUserId?: string;
|
|
42
48
|
}
|
|
43
49
|
export declare function TurnkeyWalletPropertiesFromJSON(json: any): TurnkeyWalletProperties;
|
|
44
50
|
export declare function TurnkeyWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): TurnkeyWalletProperties;
|
|
@@ -13,6 +13,7 @@ function TurnkeyWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
13
13
|
'turnkeyPrivateKeyId': !exists(json, 'turnkeyPrivateKeyId') ? undefined : json['turnkeyPrivateKeyId'],
|
|
14
14
|
'turnkeyHDWalletId': !exists(json, 'turnkeyHDWalletId') ? undefined : json['turnkeyHDWalletId'],
|
|
15
15
|
'isAuthenticatorAttached': !exists(json, 'isAuthenticatorAttached') ? undefined : json['isAuthenticatorAttached'],
|
|
16
|
+
'turnkeyUserId': !exists(json, 'turnkeyUserId') ? undefined : json['turnkeyUserId'],
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
19
|
function TurnkeyWalletPropertiesToJSON(value) {
|
|
@@ -27,6 +28,7 @@ function TurnkeyWalletPropertiesToJSON(value) {
|
|
|
27
28
|
'turnkeyPrivateKeyId': value.turnkeyPrivateKeyId,
|
|
28
29
|
'turnkeyHDWalletId': value.turnkeyHDWalletId,
|
|
29
30
|
'isAuthenticatorAttached': value.isAuthenticatorAttached,
|
|
31
|
+
'turnkeyUserId': value.turnkeyUserId,
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
|
|
@@ -19,6 +19,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'turnkeyPrivateKeyId': !runtime.exists(json, 'turnkeyPrivateKeyId') ? undefined : json['turnkeyPrivateKeyId'],
|
|
20
20
|
'turnkeyHDWalletId': !runtime.exists(json, 'turnkeyHDWalletId') ? undefined : json['turnkeyHDWalletId'],
|
|
21
21
|
'isAuthenticatorAttached': !runtime.exists(json, 'isAuthenticatorAttached') ? undefined : json['isAuthenticatorAttached'],
|
|
22
|
+
'turnkeyUserId': !runtime.exists(json, 'turnkeyUserId') ? undefined : json['turnkeyUserId'],
|
|
22
23
|
'hardwareWallet': !runtime.exists(json, 'hardwareWallet') ? undefined : HardwareWalletEnum.HardwareWalletEnumFromJSON(json['hardwareWallet']),
|
|
23
24
|
'claimed': !runtime.exists(json, 'claimed') ? undefined : json['claimed'],
|
|
24
25
|
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
@@ -36,6 +37,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
36
37
|
'turnkeyPrivateKeyId': value.turnkeyPrivateKeyId,
|
|
37
38
|
'turnkeyHDWalletId': value.turnkeyHDWalletId,
|
|
38
39
|
'isAuthenticatorAttached': value.isAuthenticatorAttached,
|
|
40
|
+
'turnkeyUserId': value.turnkeyUserId,
|
|
39
41
|
'hardwareWallet': HardwareWalletEnum.HardwareWalletEnumToJSON(value.hardwareWallet),
|
|
40
42
|
'claimed': value.claimed,
|
|
41
43
|
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
@@ -41,6 +41,12 @@ export interface WalletProperties {
|
|
|
41
41
|
* @memberof WalletProperties
|
|
42
42
|
*/
|
|
43
43
|
isAuthenticatorAttached?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof WalletProperties
|
|
48
|
+
*/
|
|
49
|
+
turnkeyUserId?: string;
|
|
44
50
|
/**
|
|
45
51
|
*
|
|
46
52
|
* @type {HardwareWalletEnum}
|
|
@@ -15,6 +15,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
15
|
'turnkeyPrivateKeyId': !exists(json, 'turnkeyPrivateKeyId') ? undefined : json['turnkeyPrivateKeyId'],
|
|
16
16
|
'turnkeyHDWalletId': !exists(json, 'turnkeyHDWalletId') ? undefined : json['turnkeyHDWalletId'],
|
|
17
17
|
'isAuthenticatorAttached': !exists(json, 'isAuthenticatorAttached') ? undefined : json['isAuthenticatorAttached'],
|
|
18
|
+
'turnkeyUserId': !exists(json, 'turnkeyUserId') ? undefined : json['turnkeyUserId'],
|
|
18
19
|
'hardwareWallet': !exists(json, 'hardwareWallet') ? undefined : HardwareWalletEnumFromJSON(json['hardwareWallet']),
|
|
19
20
|
'claimed': !exists(json, 'claimed') ? undefined : json['claimed'],
|
|
20
21
|
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
@@ -32,6 +33,7 @@ function WalletPropertiesToJSON(value) {
|
|
|
32
33
|
'turnkeyPrivateKeyId': value.turnkeyPrivateKeyId,
|
|
33
34
|
'turnkeyHDWalletId': value.turnkeyHDWalletId,
|
|
34
35
|
'isAuthenticatorAttached': value.isAuthenticatorAttached,
|
|
36
|
+
'turnkeyUserId': value.turnkeyUserId,
|
|
35
37
|
'hardwareWallet': HardwareWalletEnumToJSON(value.hardwareWallet),
|
|
36
38
|
'claimed': value.claimed,
|
|
37
39
|
'source': PasswordSourceTypeEnumToJSON(value.source),
|