mezon-js 2.13.94 → 2.13.95

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/client.ts CHANGED
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  import { create } from "@bufbuild/protobuf";
18
- import { createGrpcWebTransport } from "@connectrpc/connect-web";
18
+ import { createConnectTransport, createGrpcWebTransport } from "@connectrpc/connect-web";
19
19
  import {
20
20
  CallOptions,
21
21
  createClient,
@@ -405,7 +405,7 @@ export class Client {
405
405
  basePath
406
406
  );
407
407
 
408
- this.grpcTransport = createGrpcWebTransport({
408
+ this.grpcTransport = createConnectTransport({
409
409
  baseUrl: basePath,
410
410
  useBinaryFormat: true,
411
411
  });