@octelium/apis 1.0.7 → 1.0.8
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/main/authv1/authv1.d.ts +4 -0
- package/main/authv1/authv1.d.ts.map +1 -1
- package/main/authv1/authv1.js +9 -1
- package/main/authv1/authv1.js.map +1 -1
- package/main/authv1/authv1.ts +13 -1
- package/main/cordiumv1/cordiumv1.client.d.ts +336 -34
- package/main/cordiumv1/cordiumv1.client.d.ts.map +1 -1
- package/main/cordiumv1/cordiumv1.client.js +168 -17
- package/main/cordiumv1/cordiumv1.client.js.map +1 -1
- package/main/cordiumv1/cordiumv1.client.ts +336 -34
- package/main/cordiumv1/cordiumv1.d.ts +1849 -6
- package/main/cordiumv1/cordiumv1.d.ts.map +1 -1
- package/main/cordiumv1/cordiumv1.js +206 -0
- package/main/cordiumv1/cordiumv1.js.map +1 -1
- package/main/cordiumv1/cordiumv1.ts +1849 -6
- package/main/corev1/corev1.d.ts +8300 -4335
- package/main/corev1/corev1.d.ts.map +1 -1
- package/main/corev1/corev1.js +12864 -8817
- package/main/corev1/corev1.js.map +1 -1
- package/main/corev1/corev1.ts +16709 -10252
- package/main/userv1/userv1.d.ts +5 -1
- package/main/userv1/userv1.d.ts.map +1 -1
- package/main/userv1/userv1.js +4 -0
- package/main/userv1/userv1.js.map +1 -1
- package/main/userv1/userv1.ts +5 -1
- package/package.json +1 -1
package/main/authv1/authv1.ts
CHANGED
|
@@ -559,6 +559,10 @@ export interface RegisterAuthenticatorBeginRequest_PreChallenge_TPM {
|
|
|
559
559
|
} | {
|
|
560
560
|
oneofKind: undefined;
|
|
561
561
|
};
|
|
562
|
+
/**
|
|
563
|
+
* @generated from protobuf field: repeated bytes ekCertificateIntermediatesDER = 5
|
|
564
|
+
*/
|
|
565
|
+
ekCertificateIntermediatesDER: Uint8Array[];
|
|
562
566
|
}
|
|
563
567
|
/**
|
|
564
568
|
* @generated from protobuf message octelium.api.main.auth.v1.RegisterAuthenticatorBeginRequest.PreChallenge.TPM.AttestationParameters
|
|
@@ -2722,13 +2726,15 @@ class RegisterAuthenticatorBeginRequest_PreChallenge_TPM$Type extends MessageTyp
|
|
|
2722
2726
|
{ no: 1, name: "akBytes", kind: "scalar", T: 12 /*ScalarType.BYTES*/ },
|
|
2723
2727
|
{ no: 2, name: "attestationParameters", kind: "message", T: () => RegisterAuthenticatorBeginRequest_PreChallenge_TPM_AttestationParameters },
|
|
2724
2728
|
{ no: 3, name: "ekCertificateDER", kind: "scalar", oneof: "ekType", T: 12 /*ScalarType.BYTES*/ },
|
|
2725
|
-
{ no: 4, name: "ekPublicKey", kind: "scalar", oneof: "ekType", T: 12 /*ScalarType.BYTES*/ }
|
|
2729
|
+
{ no: 4, name: "ekPublicKey", kind: "scalar", oneof: "ekType", T: 12 /*ScalarType.BYTES*/ },
|
|
2730
|
+
{ no: 5, name: "ekCertificateIntermediatesDER", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 12 /*ScalarType.BYTES*/ }
|
|
2726
2731
|
]);
|
|
2727
2732
|
}
|
|
2728
2733
|
create(value?: PartialMessage<RegisterAuthenticatorBeginRequest_PreChallenge_TPM>): RegisterAuthenticatorBeginRequest_PreChallenge_TPM {
|
|
2729
2734
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
2730
2735
|
message.akBytes = new Uint8Array(0);
|
|
2731
2736
|
message.ekType = { oneofKind: undefined };
|
|
2737
|
+
message.ekCertificateIntermediatesDER = [];
|
|
2732
2738
|
if (value !== undefined)
|
|
2733
2739
|
reflectionMergePartial<RegisterAuthenticatorBeginRequest_PreChallenge_TPM>(this, message, value);
|
|
2734
2740
|
return message;
|
|
@@ -2756,6 +2762,9 @@ class RegisterAuthenticatorBeginRequest_PreChallenge_TPM$Type extends MessageTyp
|
|
|
2756
2762
|
ekPublicKey: reader.bytes()
|
|
2757
2763
|
};
|
|
2758
2764
|
break;
|
|
2765
|
+
case /* repeated bytes ekCertificateIntermediatesDER */ 5:
|
|
2766
|
+
message.ekCertificateIntermediatesDER.push(reader.bytes());
|
|
2767
|
+
break;
|
|
2759
2768
|
default:
|
|
2760
2769
|
let u = options.readUnknownField;
|
|
2761
2770
|
if (u === "throw")
|
|
@@ -2780,6 +2789,9 @@ class RegisterAuthenticatorBeginRequest_PreChallenge_TPM$Type extends MessageTyp
|
|
|
2780
2789
|
/* bytes ekPublicKey = 4; */
|
|
2781
2790
|
if (message.ekType.oneofKind === "ekPublicKey")
|
|
2782
2791
|
writer.tag(4, WireType.LengthDelimited).bytes(message.ekType.ekPublicKey);
|
|
2792
|
+
/* repeated bytes ekCertificateIntermediatesDER = 5; */
|
|
2793
|
+
for (let i = 0; i < message.ekCertificateIntermediatesDER.length; i++)
|
|
2794
|
+
writer.tag(5, WireType.LengthDelimited).bytes(message.ekCertificateIntermediatesDER[i]);
|
|
2783
2795
|
let u = options.writeUnknownFields;
|
|
2784
2796
|
if (u !== false)
|
|
2785
2797
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|