@effect/cluster-browser
Advanced tools
Comparing version 0.11.5 to 0.12.0
@@ -9,6 +9,6 @@ "use strict"; | ||
var RpcRouter = _interopRequireWildcard(require("@effect/rpc/RpcRouter")); | ||
var Schema = _interopRequireWildcard(require("@effect/schema/Schema")); | ||
var Effect = _interopRequireWildcard(require("effect/Effect")); | ||
var _Function = require("effect/Function"); | ||
var Queue = _interopRequireWildcard(require("effect/Queue")); | ||
var Schema = _interopRequireWildcard(require("effect/Schema")); | ||
var Stream = _interopRequireWildcard(require("effect/Stream")); | ||
@@ -15,0 +15,0 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } |
@@ -6,13 +6,13 @@ /** | ||
import * as RpcRouter from "@effect/rpc/RpcRouter"; | ||
import type * as Serializable from "@effect/schema/Serializable"; | ||
import * as Effect from "effect/Effect"; | ||
import type * as RequestResolver from "effect/RequestResolver"; | ||
import * as Schema from "effect/Schema"; | ||
/** | ||
* @since 1.0.0 | ||
*/ | ||
export declare const toBroadcastChannelRouter: <R extends RpcRouter.RpcRouter<any, any>>(self: R, channelId: string) => Effect.Effect<import("effect/Fiber").RuntimeFiber<void, import("@effect/schema/ParseResult").ParseError>, never, import("effect/Scope").Scope>; | ||
export declare const toBroadcastChannelRouter: <R extends RpcRouter.RpcRouter<any, any>>(self: R, channelId: string) => Effect.Effect<import("effect/Fiber").RuntimeFiber<void, import("effect/ParseResult").ParseError>, never, import("effect/Scope").Scope>; | ||
/** | ||
* @since 1.0.0 | ||
*/ | ||
export declare const make: <R extends RpcRouter.RpcRouter<any, any>>(channelId: string) => RequestResolver.RequestResolver<Rpc.Request<RpcRouter.RpcRouter.Request<R>>, Serializable.SerializableWithResult.Context<RpcRouter.RpcRouter.Request<R>>>; | ||
export declare const make: <R extends RpcRouter.RpcRouter<any, any>>(channelId: string) => RequestResolver.RequestResolver<Rpc.Request<RpcRouter.RpcRouter.Request<R>>, Schema.SerializableWithResult.Context<RpcRouter.RpcRouter.Request<R>>>; | ||
//# sourceMappingURL=RpcBroadcastChannel.d.ts.map |
import * as RpcResolver from "@effect/rpc/RpcResolver"; | ||
import * as RpcRouter from "@effect/rpc/RpcRouter"; | ||
import * as Schema from "@effect/schema/Schema"; | ||
import * as Effect from "effect/Effect"; | ||
import { pipe } from "effect/Function"; | ||
import * as Queue from "effect/Queue"; | ||
import * as Schema from "effect/Schema"; | ||
import * as Stream from "effect/Stream"; | ||
@@ -8,0 +8,0 @@ class ClientRequest extends /*#__PURE__*/Schema.TaggedClass()("ClientRequest", { |
{ | ||
"name": "@effect/cluster-browser", | ||
"version": "0.11.5", | ||
"version": "0.12.0", | ||
"description": "Unified interfaces for common cluster-browser-specific services", | ||
@@ -13,5 +13,4 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@effect/rpc": "^0.43.5", | ||
"@effect/schema": "^0.75.5", | ||
"effect": "^3.9.2" | ||
"@effect/rpc": "^0.44.0", | ||
"effect": "^3.10.0" | ||
}, | ||
@@ -18,0 +17,0 @@ "publishConfig": { |
@@ -7,4 +7,2 @@ /** | ||
import * as RpcRouter from "@effect/rpc/RpcRouter" | ||
import * as Schema from "@effect/schema/Schema" | ||
import type * as Serializable from "@effect/schema/Serializable" | ||
import * as Effect from "effect/Effect" | ||
@@ -14,2 +12,3 @@ import { pipe } from "effect/Function" | ||
import type * as RequestResolver from "effect/RequestResolver" | ||
import * as Schema from "effect/Schema" | ||
import * as Stream from "effect/Stream" | ||
@@ -78,3 +77,3 @@ | ||
Rpc.Request<RpcRouter.RpcRouter.Request<R>>, | ||
Serializable.SerializableWithResult.Context<RpcRouter.RpcRouter.Request<R>> | ||
Schema.SerializableWithResult.Context<RpcRouter.RpcRouter.Request<R>> | ||
> => | ||
@@ -81,0 +80,0 @@ RpcResolver.make((requests) => { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
26234
258