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

@nmtjs/client

Package Overview
Dependencies
Maintainers
0
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nmtjs/client - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

1

dist/lib/client-static.js

@@ -11,2 +11,3 @@ import { Client } from "./client.js";

get: (target, prop, receiver)=>{
if (prop === 'then') return target;
return this.createCaller(serviceName, prop);

@@ -13,0 +14,0 @@ }

@@ -76,2 +76,6 @@ import type { TServiceContract, TSubscriptionContract } from '@nmtjs/contract'

get: (target, prop, receiver) => {
// `await client.call.serviceName` or `await client.call.serviceName.procedureName`
// without explicitly calling a function implicitly calls .then() on target
// FIXME: this basically makes "then" a reserved word
if (prop === 'then') return target
return this.createCaller(serviceName, prop as string)

@@ -78,0 +82,0 @@ },

8

package.json

@@ -22,5 +22,5 @@ {

"dependencies": {
"@nmtjs/type": "0.4.3",
"@nmtjs/contract": "0.4.3",
"@nmtjs/common": "0.4.3"
"@nmtjs/type": "0.4.4",
"@nmtjs/common": "0.4.4",
"@nmtjs/contract": "0.4.4"
},

@@ -35,3 +35,3 @@ "files": [

],
"version": "0.4.3",
"version": "0.4.4",
"scripts": {

@@ -38,0 +38,0 @@ "build": "neemata-build -p neutral ./index.ts './lib/**/*.ts'",

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