@deephaven-enterprise/jsapi-types 1.20250219.131-beta → 1.20250219.251209125258-g988714ce

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/Iris.d.ts +20 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deephaven-enterprise/jsapi-types",
3
- "version": "1.20250219.131-beta",
3
+ "version": "1.20250219.251209125258-g988714ce",
4
4
  "description": "Deephaven Enterprise Jsapi Types",
5
5
  "author": "Deephaven Data Labs LLC",
6
6
  "license": "SEE LICENSE IN LICENSE.md",
package/types/Iris.d.ts CHANGED
@@ -257,6 +257,8 @@ export interface ReplicaStatus {
257
257
  objects: readonly DhType.ide.VariableDefinition[];
258
258
  status: string | null;
259
259
  fullStackTrace: string | null;
260
+ errorMessage: string | null;
261
+ shortCauses: string | null;
260
262
  envoyPrefix: string | null;
261
263
  grpcUrl: string;
262
264
  jsApiUrl: string;
@@ -551,13 +553,15 @@ export interface EnterpriseClient {
551
553
  * algorithm used to generate the keypair.
552
554
  * @param username Username to authenticate as.
553
555
  * @param operateAs Optional username to operate as. Defaults to `username`.
556
+ * @param ipAddress IP address returned by `getChallengeNonce`.
554
557
  * @returns null if successful. Throws if authentication fails.
555
558
  */
556
559
  challengeResponse: (
557
560
  base64SignedNonce: string,
558
561
  publicKeyWithSentinel: string,
559
562
  username: string,
560
- operateAs: string
563
+ operateAs: string | null,
564
+ ipAddress: string
561
565
  ) => Promise<null>;
562
566
 
563
567
  /** True if the client is currently connected */
@@ -571,8 +575,8 @@ export interface EnterpriseClient {
571
575
  }
572
576
 
573
577
  export interface ChallengeNonce {
574
- algorithm: 'SHA256withDSA';
575
578
  nonce: string;
579
+ ipAddress: string;
576
580
  }
577
581
 
578
582
  export interface LoginCredentials {
@@ -604,9 +608,22 @@ export type QueryConstants = {
604
608
  };
605
609
 
606
610
  export interface EnterpriseClientConstructor {
607
- new (websocketUrl: string): EnterpriseClient;
611
+ new (websocketUrl: string, connectOptions?: ConnectOptions): EnterpriseClient;
608
612
  }
609
613
 
614
+ export interface ConnectOptions {
615
+ /**
616
+ * The transport factory to use for creating gRPC streams.
617
+ * <p>
618
+ * Defaults to null, indicating that the JS API should determine the appropriate transport to use.
619
+ */
620
+ transportFactory?: GrpcTransportFactory | null;
621
+ }
622
+
623
+ export type GrpcTransport = DhType.grpc.GrpcTransport;
624
+ export type GrpcTransportFactory = DhType.grpc.GrpcTransportFactory;
625
+ export type GrpcTransportOptions = DhType.grpc.GrpcTransportOptions;
626
+
610
627
  export interface IdeConstructor {
611
628
  new (client: EnterpriseClient): Ide;
612
629
  }