neru-alpha
Advanced tools
Comparing version 0.1.8 to 0.1.9
@@ -8,2 +8,3 @@ import { IBridge } from './neru.js'; | ||
apiAccountId: string; | ||
instanceId: string; | ||
privateKey: string; | ||
@@ -10,0 +11,0 @@ debug: string; |
@@ -20,2 +20,3 @@ "use strict"; | ||
this.applicationId = bridge.getEnv('APPLICATION_ID'); | ||
this.instanceId = bridge.getEnv("INSTANCE_ID") || 'debug'; | ||
this.apiApplicationId = bridge.getEnv('API_APPLICATION_ID'); | ||
@@ -22,0 +23,0 @@ this.apiAccountId = bridge.getEnv('API_ACCOUNT_ID'); |
@@ -32,4 +32,5 @@ import { State } from './providers/state.js'; | ||
sessionId: string; | ||
instanceId: string; | ||
path: string; | ||
constructor(id: string, filters: Filter[], instanceServiceName: string, sessionId: string, path: string); | ||
constructor(id: string, filters: Filter[], instanceServiceName: string, sessionId: string, instanceId: string, path: string); | ||
} | ||
@@ -36,0 +37,0 @@ export declare class Action<T> { |
@@ -74,3 +74,3 @@ "use strict"; | ||
var WrappedCallback = /** @class */ (function () { | ||
function WrappedCallback(id, filters, instanceServiceName, sessionId, path) { | ||
function WrappedCallback(id, filters, instanceServiceName, sessionId, instanceId, path) { | ||
this.id = id; | ||
@@ -80,2 +80,3 @@ this.filters = filters; | ||
this.sessionId = sessionId; | ||
this.instanceId = instanceId; | ||
this.path = path; | ||
@@ -137,3 +138,3 @@ } | ||
Session.prototype.wrapCallback = function (route, filters) { | ||
return new WrappedCallback(this.createUUID(), filters, this.config.instanceServiceName, this.id, route); | ||
return new WrappedCallback(this.createUUID(), filters, this.config.instanceServiceName, this.id, this.config.instanceId, route); | ||
}; | ||
@@ -140,0 +141,0 @@ Session.prototype.constructCommandHeaders = function () { |
@@ -8,2 +8,3 @@ import { IBridge } from './neru.js'; | ||
apiAccountId: string; | ||
instanceId: string; | ||
privateKey: string; | ||
@@ -10,0 +11,0 @@ debug: string; |
@@ -17,2 +17,3 @@ var envConfig = { | ||
this.applicationId = bridge.getEnv('APPLICATION_ID'); | ||
this.instanceId = bridge.getEnv("INSTANCE_ID") || 'debug'; | ||
this.apiApplicationId = bridge.getEnv('API_APPLICATION_ID'); | ||
@@ -19,0 +20,0 @@ this.apiAccountId = bridge.getEnv('API_ACCOUNT_ID'); |
@@ -32,4 +32,5 @@ import { State } from './providers/state.js'; | ||
sessionId: string; | ||
instanceId: string; | ||
path: string; | ||
constructor(id: string, filters: Filter[], instanceServiceName: string, sessionId: string, path: string); | ||
constructor(id: string, filters: Filter[], instanceServiceName: string, sessionId: string, instanceId: string, path: string); | ||
} | ||
@@ -36,0 +37,0 @@ export declare class Action<T> { |
@@ -71,3 +71,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
var WrappedCallback = /** @class */ (function () { | ||
function WrappedCallback(id, filters, instanceServiceName, sessionId, path) { | ||
function WrappedCallback(id, filters, instanceServiceName, sessionId, instanceId, path) { | ||
this.id = id; | ||
@@ -77,2 +77,3 @@ this.filters = filters; | ||
this.sessionId = sessionId; | ||
this.instanceId = instanceId; | ||
this.path = path; | ||
@@ -134,3 +135,3 @@ } | ||
Session.prototype.wrapCallback = function (route, filters) { | ||
return new WrappedCallback(this.createUUID(), filters, this.config.instanceServiceName, this.id, route); | ||
return new WrappedCallback(this.createUUID(), filters, this.config.instanceServiceName, this.id, this.config.instanceId, route); | ||
}; | ||
@@ -137,0 +138,0 @@ Session.prototype.constructCommandHeaders = function () { |
{ | ||
"name": "neru-alpha", | ||
"type": "module", | ||
"version": "0.1.8", | ||
"version": "0.1.9", | ||
"description": "", | ||
@@ -6,0 +6,0 @@ "main": "dist/cjs/neru.js", |
@@ -15,2 +15,3 @@ import { IBridge } from './neru.js'; | ||
public apiAccountId: string; | ||
public instanceId: string; | ||
public privateKey: string; | ||
@@ -33,2 +34,3 @@ public debug: string; | ||
this.applicationId = bridge.getEnv('APPLICATION_ID'); | ||
this.instanceId = bridge.getEnv("INSTANCE_ID") || 'debug'; | ||
this.apiApplicationId = bridge.getEnv('API_APPLICATION_ID'); | ||
@@ -35,0 +37,0 @@ this.apiAccountId = bridge.getEnv('API_ACCOUNT_ID'); |
@@ -62,5 +62,6 @@ import { State } from './providers/state.js'; | ||
public sessionId: string; | ||
public instanceId: string; | ||
public path: string; | ||
constructor(id: string, filters: Filter[], instanceServiceName: string, sessionId: string, path: string) { | ||
constructor(id: string, filters: Filter[], instanceServiceName: string, sessionId: string, instanceId: string, path: string) { | ||
this.id = id; | ||
@@ -70,2 +71,3 @@ this.filters = filters; | ||
this.sessionId = sessionId; | ||
this.instanceId = instanceId; | ||
this.path = path; | ||
@@ -156,3 +158,3 @@ } | ||
public wrapCallback(route: string, filters?: Filter[]): WrappedCallback { | ||
return new WrappedCallback(this.createUUID(), filters, this.config.instanceServiceName, this.id, route); | ||
return new WrappedCallback(this.createUUID(), filters, this.config.instanceServiceName, this.id, this.config.instanceId, route); | ||
} | ||
@@ -159,0 +161,0 @@ |
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
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
435709
7208