New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@matechs/effect

Package Overview
Dependencies
Maintainers
2
Versions
153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matechs/effect - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

lib/derivation.d.ts
import * as E from "./";
import { FunctionN } from "fp-ts/lib/function";
import { IO } from "fp-ts/lib/IO";
export declare type Module = Record<string, any>;

@@ -16,9 +15,1 @@ export declare type PatchedEffect<T, M> = T extends FunctionN<infer Q, E.Effect<infer A, infer B, infer C>> ? FunctionN<Q, E.Effect<A & M, B, C>> : never;

export declare function derivePublicHelpers<M extends Module>(module: M): PublicOf<M>;
export interface CounterState {
counter: {
ref: number;
increment(): E.Effect<CounterState, E.NoErr, void>;
};
}
export declare function currentCount(): E.Effect<CounterState, never, number>;
export declare const counterState: IO<CounterState>;

@@ -33,21 +33,2 @@ "use strict";

exports.derivePublicHelpers = derivePublicHelpers;
function currentCount() {
return E.accessM(function (_a) {
var counter = _a.counter;
return E.right(counter.ref);
});
}
exports.currentCount = currentCount;
exports.counterState = function () { return ({
counter: {
ref: 0,
increment: function () {
return E.accessM(function (s) {
return E.liftIO(function () {
s.counter.ref += 1;
});
});
}
}
}); };
//# sourceMappingURL=derivation.js.map

4

package.json
{
"name": "@matechs/effect",
"version": "0.0.4",
"version": "0.0.5",
"license": "MIT",

@@ -34,3 +34,3 @@ "private": false,

},
"gitHead": "7af217d3a0ee137547c3a5943f295af427d4cda5"
"gitHead": "317ab23586be6d53f93223d24d9bc745925bf575"
}

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