@dynamic-labs/sdk-api-core 0.0.436 → 0.0.437

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api-core",
3
- "version": "0.0.436",
3
+ "version": "0.0.437",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -18,6 +18,7 @@ function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminat
18
18
  'jwt': json['jwt'],
19
19
  'user': SdkUser.SdkUserFromJSON(json['user']),
20
20
  'minifiedJwt': json['minifiedJwt'],
21
+ 'expiresAt': json['expiresAt'],
21
22
  'walletId': json['walletId'],
22
23
  'secret': !runtime.exists(json, 'secret') ? undefined : json['secret'],
23
24
  'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
@@ -34,6 +35,7 @@ function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
34
35
  'jwt': value.jwt,
35
36
  'user': SdkUser.SdkUserToJSON(value.user),
36
37
  'minifiedJwt': value.minifiedJwt,
38
+ 'expiresAt': value.expiresAt,
37
39
  'walletId': value.walletId,
38
40
  'secret': value.secret,
39
41
  'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
@@ -35,6 +35,12 @@ export interface EmbeddedWalletSecretWithUpdatedJwt {
35
35
  * @memberof EmbeddedWalletSecretWithUpdatedJwt
36
36
  */
37
37
  minifiedJwt: string;
38
+ /**
39
+ * Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the `jwt` field or a response httpOnly cookie set by the server.
40
+ * @type {number}
41
+ * @memberof EmbeddedWalletSecretWithUpdatedJwt
42
+ */
43
+ expiresAt: number;
38
44
  /**
39
45
  *
40
46
  * @type {string}
@@ -14,6 +14,7 @@ function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminat
14
14
  'jwt': json['jwt'],
15
15
  'user': SdkUserFromJSON(json['user']),
16
16
  'minifiedJwt': json['minifiedJwt'],
17
+ 'expiresAt': json['expiresAt'],
17
18
  'walletId': json['walletId'],
18
19
  'secret': !exists(json, 'secret') ? undefined : json['secret'],
19
20
  'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
@@ -30,6 +31,7 @@ function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
30
31
  'jwt': value.jwt,
31
32
  'user': SdkUserToJSON(value.user),
32
33
  'minifiedJwt': value.minifiedJwt,
34
+ 'expiresAt': value.expiresAt,
33
35
  'walletId': value.walletId,
34
36
  'secret': value.secret,
35
37
  'source': PasswordSourceTypeEnumToJSON(value.source),
@@ -20,6 +20,7 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
20
20
  'jwt': json['jwt'],
21
21
  'user': SdkUser.SdkUserFromJSON(json['user']),
22
22
  'minifiedJwt': json['minifiedJwt'],
23
+ 'expiresAt': json['expiresAt'],
23
24
  'nextView': NextViewEnum.NextViewEnumFromJSON(json['nextView']),
24
25
  'emailVerification': !runtime.exists(json, 'emailVerification') ? undefined : EmailVerificationCreateResponse.EmailVerificationCreateResponseFromJSON(json['emailVerification']),
25
26
  'smsVerification': !runtime.exists(json, 'smsVerification') ? undefined : SmsVerificationCreateResponse.SmsVerificationCreateResponseFromJSON(json['smsVerification']),
@@ -36,6 +37,7 @@ function UpdateSelfResponseToJSON(value) {
36
37
  'jwt': value.jwt,
37
38
  'user': SdkUser.SdkUserToJSON(value.user),
38
39
  'minifiedJwt': value.minifiedJwt,
40
+ 'expiresAt': value.expiresAt,
39
41
  'nextView': NextViewEnum.NextViewEnumToJSON(value.nextView),
40
42
  'emailVerification': EmailVerificationCreateResponse.EmailVerificationCreateResponseToJSON(value.emailVerification),
41
43
  'smsVerification': SmsVerificationCreateResponse.SmsVerificationCreateResponseToJSON(value.smsVerification),
@@ -37,6 +37,12 @@ export interface UpdateSelfResponse {
37
37
  * @memberof UpdateSelfResponse
38
38
  */
39
39
  minifiedJwt: string;
40
+ /**
41
+ * Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the `jwt` field or a response httpOnly cookie set by the server.
42
+ * @type {number}
43
+ * @memberof UpdateSelfResponse
44
+ */
45
+ expiresAt: number;
40
46
  /**
41
47
  *
42
48
  * @type {NextViewEnum}
@@ -16,6 +16,7 @@ function UpdateSelfResponseFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'jwt': json['jwt'],
17
17
  'user': SdkUserFromJSON(json['user']),
18
18
  'minifiedJwt': json['minifiedJwt'],
19
+ 'expiresAt': json['expiresAt'],
19
20
  'nextView': NextViewEnumFromJSON(json['nextView']),
20
21
  'emailVerification': !exists(json, 'emailVerification') ? undefined : EmailVerificationCreateResponseFromJSON(json['emailVerification']),
21
22
  'smsVerification': !exists(json, 'smsVerification') ? undefined : SmsVerificationCreateResponseFromJSON(json['smsVerification']),
@@ -32,6 +33,7 @@ function UpdateSelfResponseToJSON(value) {
32
33
  'jwt': value.jwt,
33
34
  'user': SdkUserToJSON(value.user),
34
35
  'minifiedJwt': value.minifiedJwt,
36
+ 'expiresAt': value.expiresAt,
35
37
  'nextView': NextViewEnumToJSON(value.nextView),
36
38
  'emailVerification': EmailVerificationCreateResponseToJSON(value.emailVerification),
37
39
  'smsVerification': SmsVerificationCreateResponseToJSON(value.smsVerification),
@@ -16,6 +16,7 @@ function VerifyResponseFromJSONTyped(json, ignoreDiscriminator) {
16
16
  'jwt': json['jwt'],
17
17
  'user': SdkUser.SdkUserFromJSON(json['user']),
18
18
  'minifiedJwt': json['minifiedJwt'],
19
+ 'expiresAt': json['expiresAt'],
19
20
  };
20
21
  }
21
22
  function VerifyResponseToJSON(value) {
@@ -29,6 +30,7 @@ function VerifyResponseToJSON(value) {
29
30
  'jwt': value.jwt,
30
31
  'user': SdkUser.SdkUserToJSON(value.user),
31
32
  'minifiedJwt': value.minifiedJwt,
33
+ 'expiresAt': value.expiresAt,
32
34
  };
33
35
  }
34
36
 
@@ -34,6 +34,12 @@ export interface VerifyResponse {
34
34
  * @memberof VerifyResponse
35
35
  */
36
36
  minifiedJwt: string;
37
+ /**
38
+ * Format is a unix-based timestamp. When set, this will be the expiration timestamp on the JWT sent using either the `jwt` field or a response httpOnly cookie set by the server.
39
+ * @type {number}
40
+ * @memberof VerifyResponse
41
+ */
42
+ expiresAt: number;
37
43
  }
38
44
  export declare function VerifyResponseFromJSON(json: any): VerifyResponse;
39
45
  export declare function VerifyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerifyResponse;
@@ -12,6 +12,7 @@ function VerifyResponseFromJSONTyped(json, ignoreDiscriminator) {
12
12
  'jwt': json['jwt'],
13
13
  'user': SdkUserFromJSON(json['user']),
14
14
  'minifiedJwt': json['minifiedJwt'],
15
+ 'expiresAt': json['expiresAt'],
15
16
  };
16
17
  }
17
18
  function VerifyResponseToJSON(value) {
@@ -25,6 +26,7 @@ function VerifyResponseToJSON(value) {
25
26
  'jwt': value.jwt,
26
27
  'user': SdkUserToJSON(value.user),
27
28
  'minifiedJwt': value.minifiedJwt,
29
+ 'expiresAt': value.expiresAt,
28
30
  };
29
31
  }
30
32