Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bufbuild/connect-web

Package Overview
Dependencies
Maintainers
10
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bufbuild/connect-web - npm Package Compare versions

Comparing version 0.8.4 to 0.8.5

8

dist/cjs/index.js

@@ -25,9 +25,9 @@ "use strict";

const connect_1 = require("@bufbuild/connect");
Object.defineProperty(exports, "createCallbackClient", { enumerable: true, get: function () { return connect_1.createCallbackClient; } });
Object.defineProperty(exports, "createPromiseClient", { enumerable: true, get: function () { return connect_1.createPromiseClient; } });
Object.defineProperty(exports, "Code", { enumerable: true, get: function () { return connect_1.Code; } });
Object.defineProperty(exports, "ConnectError", { enumerable: true, get: function () { return connect_1.ConnectError; } });
Object.defineProperty(exports, "connectErrorDetails", { enumerable: true, get: function () { return connect_1.connectErrorDetails; } });
Object.defineProperty(exports, "connectErrorFromReason", { enumerable: true, get: function () { return connect_1.connectErrorFromReason; } });
Object.defineProperty(exports, "Code", { enumerable: true, get: function () { return connect_1.Code; } });
Object.defineProperty(exports, "createCallbackClient", { enumerable: true, get: function () { return connect_1.createCallbackClient; } });
Object.defineProperty(exports, "createPromiseClient", { enumerable: true, get: function () { return connect_1.createPromiseClient; } });
Object.defineProperty(exports, "decodeBinaryHeader", { enumerable: true, get: function () { return connect_1.decodeBinaryHeader; } });
Object.defineProperty(exports, "encodeBinaryHeader", { enumerable: true, get: function () { return connect_1.encodeBinaryHeader; } });
Object.defineProperty(exports, "decodeBinaryHeader", { enumerable: true, get: function () { return connect_1.decodeBinaryHeader; } });

@@ -19,3 +19,3 @@ // Copyright 2021-2023 Buf Technologies, Inc.

// TODO(TCN-1261)
import { createCallbackClient, createPromiseClient, ConnectError, connectErrorDetails, connectErrorFromReason, Code, encodeBinaryHeader, decodeBinaryHeader, } from "@bufbuild/connect";
import { Code, ConnectError, connectErrorDetails, connectErrorFromReason, createCallbackClient, createPromiseClient, decodeBinaryHeader, encodeBinaryHeader, } from "@bufbuild/connect";
export {

@@ -22,0 +22,0 @@ /**

@@ -5,3 +5,3 @@ export { createConnectTransport } from "./connect-transport.js";

export type { GrpcWebTransportOptions } from "./grpc-web-transport.js";
import { createCallbackClient, CallbackClient, createPromiseClient, PromiseClient, CallOptions, Transport, ConnectError, connectErrorDetails, connectErrorFromReason, Code, Interceptor, UnaryRequest, UnaryResponse, StreamRequest, StreamResponse, encodeBinaryHeader, decodeBinaryHeader } from "@bufbuild/connect";
import { CallbackClient, CallOptions, Code, ConnectError, connectErrorDetails, connectErrorFromReason, createCallbackClient, createPromiseClient, decodeBinaryHeader, encodeBinaryHeader, Interceptor, PromiseClient, StreamRequest, StreamResponse, Transport, UnaryRequest, UnaryResponse } from "@bufbuild/connect";
export {

@@ -19,58 +19,59 @@ /**

*/
CallbackClient,
ConnectError,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
PromiseClient,
connectErrorDetails,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
CallOptions,
connectErrorFromReason,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
Transport,
Code,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
ConnectError,
encodeBinaryHeader,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
connectErrorDetails,
decodeBinaryHeader, };
export type {
/**
* @deprecated please import from \@bufbuild/connect instead
*/
connectErrorFromReason,
CallbackClient,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
Code,
PromiseClient,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
Interceptor,
CallOptions,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
UnaryRequest,
Transport,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
UnaryResponse,
Interceptor,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
StreamRequest,
UnaryRequest,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
StreamResponse,
UnaryResponse,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
encodeBinaryHeader,
StreamRequest,
/**
* @deprecated please import from \@bufbuild/connect instead
*/
decodeBinaryHeader, };
StreamResponse, };
{
"name": "@bufbuild/connect-web",
"version": "0.8.4",
"version": "0.8.5",
"license": "Apache-2.0",

@@ -14,4 +14,4 @@ "repository": {

"build": "npm run build:cjs && npm run build:esm+types",
"build:cjs": "npx tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm+types": "npx tsc --project tsconfig.json --module ES2015 --outDir ./dist/esm --declaration --declarationDir ./dist/types"
"build:cjs": "tsc --project tsconfig.json --module commonjs --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm+types": "tsc --project tsconfig.json --module ES2015 --outDir ./dist/esm --declaration --declarationDir ./dist/types"
},

@@ -27,6 +27,6 @@ "main": "./dist/cjs/index.js",

"dependencies": {
"@bufbuild/connect": "0.8.4"
"@bufbuild/connect": "0.8.5"
},
"peerDependencies": {
"@bufbuild/protobuf": "^1.0.0"
"@bufbuild/protobuf": "^1.2.0"
},

@@ -33,0 +33,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc