@structured-id/proto 0.9.0 → 0.11.0
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/CHANGELOG.md +15 -0
- package/dist/generated/sid/v1/admin/security.d.ts +17 -0
- package/dist/generated/sid/v1/admin/security.js +17 -1
- package/dist/generated/sid/v1/admin/security.js.map +1 -1
- package/dist/generated/sid/v1/authn/application_session.client.d.ts +45 -2
- package/dist/generated/sid/v1/authn/application_session.client.js +25 -1
- package/dist/generated/sid/v1/authn/application_session.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/application_session.d.ts +24 -0
- package/dist/generated/sid/v1/authn/application_session.js +49 -2
- package/dist/generated/sid/v1/authn/application_session.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.client.d.ts +24 -32
- package/dist/generated/sid/v1/authn/auth.client.js +72 -78
- package/dist/generated/sid/v1/authn/auth.client.js.map +1 -1
- package/dist/generated/sid/v1/authn/auth.d.ts +207 -264
- package/dist/generated/sid/v1/authn/auth.js +243 -487
- package/dist/generated/sid/v1/authn/auth.js.map +1 -1
- package/dist/generated/sid/v1/authn/native_session.d.ts +190 -0
- package/dist/generated/sid/v1/authn/native_session.js +265 -0
- package/dist/generated/sid/v1/authn/native_session.js.map +1 -0
- package/dist/generated/sid/v1/ids/ids.d.ts +16 -0
- package/dist/generated/sid/v1/ids/ids.js +8 -0
- package/dist/generated/sid/v1/ids/ids.js.map +1 -1
- package/dist/totp.d.ts +16 -0
- package/dist/totp.js +64 -0
- package/dist/totp.js.map +1 -0
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.11.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.10.0...typescript-proto-v0.11.0) (2026-11-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **ids:** sign-in reference identifiers ([#54](https://github.com/structured-id/sdk/issues/54)) ([b5f7667](https://github.com/structured-id/sdk/commit/b5f76672107fdf0c1f0d5ade49e261ae64b24d2e)), closes [#53](https://github.com/structured-id/sdk/issues/53)
|
|
9
|
+
|
|
10
|
+
## [0.10.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.9.0...typescript-proto-v0.10.0) (2026-11-04)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* **ids:** add OpaqueLoginId and TOTP enrollment helpers ([#48](https://github.com/structured-id/sdk/issues/48)) ([da0e0ac](https://github.com/structured-id/sdk/commit/da0e0ac3dbcf07bbe6cc8b29d16fc15a2ade09ff)), closes [#45](https://github.com/structured-id/sdk/issues/45)
|
|
16
|
+
* **sid-client:** add native session renewal client ([#44](https://github.com/structured-id/sdk/issues/44)) ([c9ee907](https://github.com/structured-id/sdk/commit/c9ee907d27ceff6c2060839490b02d717f07e0e6)), closes [#43](https://github.com/structured-id/sdk/issues/43)
|
|
17
|
+
|
|
3
18
|
## [0.9.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.8.0...typescript-proto-v0.9.0) (2026-11-03)
|
|
4
19
|
|
|
5
20
|
|
|
@@ -519,6 +519,23 @@ export interface SecurityPolicyResponse {
|
|
|
519
519
|
* @generated from protobuf field: bool passkey_satisfies_mfa = 18
|
|
520
520
|
*/
|
|
521
521
|
passkeySatisfiesMfa: boolean;
|
|
522
|
+
/**
|
|
523
|
+
* Refresh credentials in each generation of a native session bound to its
|
|
524
|
+
* application key (native_session.proto), 1 to 16: each one refreshes the
|
|
525
|
+
* session once with a fresh proof, so a retry after a lost response can
|
|
526
|
+
* use another. All of them occupy one session slot.
|
|
527
|
+
*
|
|
528
|
+
* @generated from protobuf field: uint32 native_refresh_generation_size = 19
|
|
529
|
+
*/
|
|
530
|
+
nativeRefreshGenerationSize: number;
|
|
531
|
+
/**
|
|
532
|
+
* Seconds after a native refresh commits during which a retry of the same
|
|
533
|
+
* exchange receives the committed generation again; afterwards the
|
|
534
|
+
* presented generation is retired.
|
|
535
|
+
*
|
|
536
|
+
* @generated from protobuf field: uint32 native_redelivery_window_seconds = 20
|
|
537
|
+
*/
|
|
538
|
+
nativeRedeliveryWindowSeconds: number;
|
|
522
539
|
}
|
|
523
540
|
/**
|
|
524
541
|
* @generated from protobuf message sid.v1.admin.ApplicationOverride
|
|
@@ -1914,7 +1914,9 @@ class SecurityPolicyResponse$Type extends MessageType {
|
|
|
1914
1914
|
{ no: 15, name: "session_max_concurrent", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
|
1915
1915
|
{ no: 16, name: "network", kind: "message", T: () => NetworkPolicy },
|
|
1916
1916
|
{ no: 17, name: "read_only", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1917
|
-
{ no: 18, name: "passkey_satisfies_mfa", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
1917
|
+
{ no: 18, name: "passkey_satisfies_mfa", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
1918
|
+
{ no: 19, name: "native_refresh_generation_size", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
|
|
1919
|
+
{ no: 20, name: "native_redelivery_window_seconds", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
|
|
1918
1920
|
]);
|
|
1919
1921
|
}
|
|
1920
1922
|
create(value) {
|
|
@@ -1936,6 +1938,8 @@ class SecurityPolicyResponse$Type extends MessageType {
|
|
|
1936
1938
|
message.sessionMaxConcurrent = 0;
|
|
1937
1939
|
message.readOnly = false;
|
|
1938
1940
|
message.passkeySatisfiesMfa = false;
|
|
1941
|
+
message.nativeRefreshGenerationSize = 0;
|
|
1942
|
+
message.nativeRedeliveryWindowSeconds = 0;
|
|
1939
1943
|
if (value !== undefined)
|
|
1940
1944
|
reflectionMergePartial(this, message, value);
|
|
1941
1945
|
return message;
|
|
@@ -1999,6 +2003,12 @@ class SecurityPolicyResponse$Type extends MessageType {
|
|
|
1999
2003
|
case /* bool passkey_satisfies_mfa */ 18:
|
|
2000
2004
|
message.passkeySatisfiesMfa = reader.bool();
|
|
2001
2005
|
break;
|
|
2006
|
+
case /* uint32 native_refresh_generation_size */ 19:
|
|
2007
|
+
message.nativeRefreshGenerationSize = reader.uint32();
|
|
2008
|
+
break;
|
|
2009
|
+
case /* uint32 native_redelivery_window_seconds */ 20:
|
|
2010
|
+
message.nativeRedeliveryWindowSeconds = reader.uint32();
|
|
2011
|
+
break;
|
|
2002
2012
|
default:
|
|
2003
2013
|
let u = options.readUnknownField;
|
|
2004
2014
|
if (u === "throw")
|
|
@@ -2065,6 +2075,12 @@ class SecurityPolicyResponse$Type extends MessageType {
|
|
|
2065
2075
|
/* bool passkey_satisfies_mfa = 18; */
|
|
2066
2076
|
if (message.passkeySatisfiesMfa !== false)
|
|
2067
2077
|
writer.tag(18, WireType.Varint).bool(message.passkeySatisfiesMfa);
|
|
2078
|
+
/* uint32 native_refresh_generation_size = 19; */
|
|
2079
|
+
if (message.nativeRefreshGenerationSize !== 0)
|
|
2080
|
+
writer.tag(19, WireType.Varint).uint32(message.nativeRefreshGenerationSize);
|
|
2081
|
+
/* uint32 native_redelivery_window_seconds = 20; */
|
|
2082
|
+
if (message.nativeRedeliveryWindowSeconds !== 0)
|
|
2083
|
+
writer.tag(20, WireType.Varint).uint32(message.nativeRedeliveryWindowSeconds);
|
|
2068
2084
|
let u = options.writeUnknownFields;
|
|
2069
2085
|
if (u !== false)
|
|
2070
2086
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|