Socket
Socket
Sign inDemoInstall

@effect/rpc-http

Package Overview
Dependencies
Maintainers
3
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect/rpc-http - npm Package Compare versions

Comparing version 0.6.0 to 0.7.0

3

Client.d.ts

@@ -7,2 +7,5 @@ /**

import type { RpcService } from "@effect/rpc/Schema";
/**
* @since 1.0.0
*/
export * from "@effect/rpc/Client";

@@ -9,0 +12,0 @@ /**

@@ -30,2 +30,6 @@ "use strict";

/**
* @since 1.0.0
*/
/**
* @category constructors

@@ -32,0 +36,0 @@ * @since 1.0.0

/**
* @since 1.0.0
*/
/**
* @since 1.0.0
*/
export * as resolver from "@effect/rpc-http/Resolver";
/**
* @since 1.0.0
*/
export * as server from "@effect/rpc-http/Server";
//# sourceMappingURL=index.d.ts.map

3

internal/resolver.js

@@ -21,5 +21,4 @@ "use strict";

/** @internal */
const RpcFetchError = /*#__PURE__*/(0, _SchemaC.withTo)()(RpcFetchError_);
const RpcFetchError = exports.RpcFetchError = /*#__PURE__*/(0, _SchemaC.withTo)()(RpcFetchError_);
/** @internal */
exports.RpcFetchError = RpcFetchError;
function make(options) {

@@ -26,0 +25,0 @@ return Resolver.make(requests => Effect.mapError(error => (0, _Error.RpcTransportError)({

@@ -14,5 +14,4 @@ "use strict";

/** @internal */
const HttpRequest = /*#__PURE__*/(0, _Context.Tag)();
const HttpRequest = exports.HttpRequest = /*#__PURE__*/(0, _Context.Tag)();
/** @internal */
exports.HttpRequest = HttpRequest;
function make(router) {

@@ -19,0 +18,0 @@ const handler = Server.handler(router);

{
"name": "@effect/rpc-http",
"version": "0.6.0",
"version": "0.7.0",
"description": "",

@@ -37,8 +37,10 @@ "license": "MIT",

"author": "Effect contributors",
"dependencies": {
"@effect/rpc": "^0.7.0"
},
"peerDependencies": {
"@effect/data": "^0.18.4",
"@effect/io": "^0.40.0",
"@effect/rpc": "^0.6.0"
"@effect/data": "^0.18.6",
"@effect/io": "^0.41.0"
},
"main": "./index.js"
}

@@ -18,3 +18,3 @@ "use strict";

*/
const RpcFetchError = internal.RpcFetchError;
const RpcFetchError = exports.RpcFetchError = internal.RpcFetchError;
/**

@@ -24,5 +24,3 @@ * @category constructors

*/
exports.RpcFetchError = RpcFetchError;
const make = internal.make;
exports.make = make;
const make = exports.make = internal.make;
//# sourceMappingURL=Resolver.js.map

@@ -14,3 +14,3 @@ "use strict";

*/
const HttpRequest = internal.HttpRequest;
const HttpRequest = exports.HttpRequest = internal.HttpRequest;
/**

@@ -20,5 +20,3 @@ * @category constructors

*/
exports.HttpRequest = HttpRequest;
const make = internal.make;
exports.make = make;
const make = exports.make = internal.make;
//# sourceMappingURL=Server.js.map

@@ -8,2 +8,5 @@ /**

/**
* @since 1.0.0
*/
export * from "@effect/rpc/Client"

@@ -10,0 +13,0 @@

@@ -5,3 +5,9 @@ /**

/**
* @since 1.0.0
*/
export * as resolver from "@effect/rpc-http/Resolver"
/**
* @since 1.0.0
*/
export * as server from "@effect/rpc-http/Server"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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