@dwmt/comlink
Advanced tools
Comparing version 1.1.10 to 1.1.11
@@ -820,7 +820,8 @@ import { inherits } from 'util'; | ||
parsed._token = this.session[channelName].clients[ws.id].token; | ||
parsed._clientID = ws.id; | ||
let ctx = {}; | ||
ctx.token = this.session[channelName].clients[ws.id].token; | ||
ctx.clientID = ws.id; | ||
try { | ||
const returnValue = await this._dialects[dialect].onRequest(parsed); | ||
const returnValue = await this._dialects[dialect].onRequest(parsed, ctx); | ||
@@ -854,3 +855,3 @@ if (parsed._type === 'request') { | ||
var version = "1.1.10"; | ||
var version = "1.1.11"; | ||
@@ -857,0 +858,0 @@ var Comlink = { |
@@ -824,7 +824,8 @@ 'use strict'; | ||
parsed._token = this.session[channelName].clients[ws.id].token; | ||
parsed._clientID = ws.id; | ||
let ctx = {}; | ||
ctx.token = this.session[channelName].clients[ws.id].token; | ||
ctx.clientID = ws.id; | ||
try { | ||
const returnValue = await this._dialects[dialect].onRequest(parsed); | ||
const returnValue = await this._dialects[dialect].onRequest(parsed, ctx); | ||
@@ -858,3 +859,3 @@ if (parsed._type === 'request') { | ||
var version = "1.1.10"; | ||
var version = "1.1.11"; | ||
@@ -861,0 +862,0 @@ var Comlink = { |
{ | ||
"name": "@dwmt/comlink", | ||
"version": "1.1.10", | ||
"version": "1.1.11", | ||
"description": "Communication library for lazy enthusiasts", | ||
@@ -5,0 +5,0 @@ "main": "dist/Comlink.js", |
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
54623
1566