@remnawave/node-contract
Advanced tools
Comparing version 0.1.1 to 0.1.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.XRAY_API_INBOUND_MODEL = exports.XRAY_ROUTING_RULES_MODEL = exports.XRAY_DEFAULT_API_MODEL = exports.XRAY_DEFAULT_STATS_MODEL = exports.XRAY_DEFAULT_POLICY_MODEL = void 0; | ||
exports.XRAY_DEFAULT_API_MODEL = exports.XRAY_DEFAULT_STATS_MODEL = exports.XRAY_DEFAULT_POLICY_MODEL = void 0; | ||
exports.XRAY_DEFAULT_POLICY_MODEL = { | ||
@@ -27,18 +27,19 @@ policy: { | ||
services: ['HandlerService', 'StatsService', 'LoggerService'], | ||
listen: '127.0.0.1:61000', | ||
tag: 'API', | ||
}, | ||
}; | ||
exports.XRAY_ROUTING_RULES_MODEL = { | ||
inboundTag: ['API_INBOUND'], | ||
outboundTag: 'API', | ||
type: 'field', | ||
}; | ||
exports.XRAY_API_INBOUND_MODEL = { | ||
listen: '127.0.0.1', | ||
port: 61000, | ||
protocol: 'dokodemo-door', | ||
settings: { | ||
address: '127.0.0.1', | ||
}, | ||
tag: 'API_INBOUND', | ||
}; | ||
// export const XRAY_ROUTING_RULES_MODEL = { | ||
// inboundTag: ['API_INBOUND'], | ||
// outboundTag: 'API', | ||
// type: 'field', | ||
// } as const; | ||
// export const XRAY_API_INBOUND_MODEL = { | ||
// listen: '127.0.0.1', | ||
// port: 61000, | ||
// protocol: 'dokodemo-door', | ||
// settings: { | ||
// address: '0.0.0.0', | ||
// }, | ||
// tag: 'API_INBOUND', | ||
// } as const; |
@@ -26,2 +26,3 @@ export const XRAY_DEFAULT_POLICY_MODEL = { | ||
services: ['HandlerService', 'StatsService', 'LoggerService'], | ||
listen: '127.0.0.1:61000', | ||
tag: 'API', | ||
@@ -31,16 +32,16 @@ }, | ||
export const XRAY_ROUTING_RULES_MODEL = { | ||
inboundTag: ['API_INBOUND'], | ||
outboundTag: 'API', | ||
type: 'field', | ||
} as const; | ||
// export const XRAY_ROUTING_RULES_MODEL = { | ||
// inboundTag: ['API_INBOUND'], | ||
// outboundTag: 'API', | ||
// type: 'field', | ||
// } as const; | ||
export const XRAY_API_INBOUND_MODEL = { | ||
listen: '127.0.0.1', | ||
port: 61000, | ||
protocol: 'dokodemo-door', | ||
settings: { | ||
address: '127.0.0.1', | ||
}, | ||
tag: 'API_INBOUND', | ||
} as const; | ||
// export const XRAY_API_INBOUND_MODEL = { | ||
// listen: '127.0.0.1', | ||
// port: 61000, | ||
// protocol: 'dokodemo-door', | ||
// settings: { | ||
// address: '0.0.0.0', | ||
// }, | ||
// tag: 'API_INBOUND', | ||
// } as const; |
{ | ||
"name": "@remnawave/node-contract", | ||
"version": "0.1.1", | ||
"version": "0.1.5", | ||
"description": "A node-contract library for Remnawave Panel", | ||
@@ -5,0 +5,0 @@ "main": "index.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
40135
835