@dynamic-labs/sdk-api-core 0.0.686 → 0.0.687
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
|
@@ -23,6 +23,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
'iat': !runtime.exists(json, 'iat') ? undefined : json['iat'],
|
|
24
24
|
'environmentId': json['environment_id'],
|
|
25
25
|
'lastVerifiedCredentialId': json['last_verified_credential_id'],
|
|
26
|
+
'sessionPublicKey': !runtime.exists(json, 'session_public_key') ? undefined : json['session_public_key'],
|
|
26
27
|
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
27
28
|
'verifiedCredentialsHashes': !runtime.exists(json, 'verifiedCredentialsHashes') ? undefined : JwtVerifiedCredentialHashes.JwtVerifiedCredentialHashesFromJSON(json['verifiedCredentialsHashes']),
|
|
28
29
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
@@ -46,6 +47,7 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
46
47
|
'iat': value.iat,
|
|
47
48
|
'environment_id': value.environmentId,
|
|
48
49
|
'last_verified_credential_id': value.lastVerifiedCredentialId,
|
|
50
|
+
'session_public_key': value.sessionPublicKey,
|
|
49
51
|
'scope': value.scope,
|
|
50
52
|
'verifiedCredentialsHashes': JwtVerifiedCredentialHashes.JwtVerifiedCredentialHashesToJSON(value.verifiedCredentialsHashes),
|
|
51
53
|
'email': value.email,
|
|
@@ -70,6 +70,12 @@ export interface MinifiedDynamicJwt {
|
|
|
70
70
|
* @memberof MinifiedDynamicJwt
|
|
71
71
|
*/
|
|
72
72
|
lastVerifiedCredentialId: string;
|
|
73
|
+
/**
|
|
74
|
+
* Client session public key
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof MinifiedDynamicJwt
|
|
77
|
+
*/
|
|
78
|
+
sessionPublicKey?: string;
|
|
73
79
|
/**
|
|
74
80
|
* A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2
|
|
75
81
|
* @type {string}
|
|
@@ -19,6 +19,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
'iat': !exists(json, 'iat') ? undefined : json['iat'],
|
|
20
20
|
'environmentId': json['environment_id'],
|
|
21
21
|
'lastVerifiedCredentialId': json['last_verified_credential_id'],
|
|
22
|
+
'sessionPublicKey': !exists(json, 'session_public_key') ? undefined : json['session_public_key'],
|
|
22
23
|
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
23
24
|
'verifiedCredentialsHashes': !exists(json, 'verifiedCredentialsHashes') ? undefined : JwtVerifiedCredentialHashesFromJSON(json['verifiedCredentialsHashes']),
|
|
24
25
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
@@ -42,6 +43,7 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
42
43
|
'iat': value.iat,
|
|
43
44
|
'environment_id': value.environmentId,
|
|
44
45
|
'last_verified_credential_id': value.lastVerifiedCredentialId,
|
|
46
|
+
'session_public_key': value.sessionPublicKey,
|
|
45
47
|
'scope': value.scope,
|
|
46
48
|
'verifiedCredentialsHashes': JwtVerifiedCredentialHashesToJSON(value.verifiedCredentialsHashes),
|
|
47
49
|
'email': value.email,
|