@routr/common 2.0.5-alpha.14 → 2.0.5-alpha.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assertions.d.ts +6 -0
- package/dist/assertions.js +37 -0
- package/dist/auth.d.ts +1 -1
- package/dist/auth.js +12 -4
- package/dist/connect/data_api.d.ts +11 -0
- package/dist/connect/data_api.js +79 -0
- package/dist/connect/grpc_client.d.ts +1 -0
- package/dist/connect/grpc_client.js +56 -0
- package/dist/connect/index.d.ts +3 -0
- package/dist/connect/index.js +37 -0
- package/dist/connect/types.d.ts +36 -0
- package/dist/connect/types.js +39 -0
- package/dist/errors.d.ts +18 -1
- package/dist/errors.js +43 -3
- package/dist/helper.d.ts +6 -0
- package/dist/helper.js +12 -5
- package/dist/index.d.ts +7 -3
- package/dist/index.js +13 -5
- package/dist/ip_utils.js +11 -11
- package/dist/protos/common.proto +18 -0
- package/dist/protos/location.proto +21 -8
- package/dist/protos/processor.proto +40 -0
- package/dist/protos/requester.proto +47 -0
- package/dist/protos/resources.proto +107 -0
- package/dist/protos/sipmessage.proto +47 -8
- package/dist/redis.d.ts +8 -0
- package/dist/redis.js +10 -0
- package/dist/service.d.ts +13 -2
- package/dist/service.js +49 -11
- package/dist/tracer.d.ts +7 -1
- package/dist/tracer.js +16 -29
- package/dist/types.d.ts +190 -7
- package/dist/types.js +66 -19
- package/package.json +9 -10
package/dist/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ServiceDefinition } from "@grpc/proto-loader";
|
|
1
2
|
export declare enum Method {
|
|
2
3
|
UNKNOWN = "UNKNOWN",
|
|
3
4
|
REGISTER = "REGISTER",
|
|
@@ -5,7 +6,11 @@ export declare enum Method {
|
|
|
5
6
|
MESSAGE = "MESSAGE",
|
|
6
7
|
PUBLISH = "PUBLISH",
|
|
7
8
|
NOTIFY = "NOTIFY",
|
|
8
|
-
SUBSCRIBE = "SUBSCRIBE"
|
|
9
|
+
SUBSCRIBE = "SUBSCRIBE",
|
|
10
|
+
ACK = "ACK",
|
|
11
|
+
BYE = "BYE",
|
|
12
|
+
CANCEL = "CANCEL",
|
|
13
|
+
OPTIONS = "OPTIONS"
|
|
9
14
|
}
|
|
10
15
|
export declare enum Transport {
|
|
11
16
|
TCP = "TCP",
|
|
@@ -28,7 +33,7 @@ export interface MessageRequest {
|
|
|
28
33
|
listeningPoint: NetInterface;
|
|
29
34
|
externalIps: string[];
|
|
30
35
|
localnets: string[];
|
|
31
|
-
message:
|
|
36
|
+
message: SIPMessage;
|
|
32
37
|
}
|
|
33
38
|
export interface MessageResponse {
|
|
34
39
|
message: Record<string, unknown>;
|
|
@@ -37,7 +42,6 @@ export interface ProcessorConfig {
|
|
|
37
42
|
ref: string;
|
|
38
43
|
addr: string;
|
|
39
44
|
methods: Array<Method>;
|
|
40
|
-
isFallback?: boolean;
|
|
41
45
|
matchFunc?: (request: MessageRequest) => boolean;
|
|
42
46
|
}
|
|
43
47
|
export interface MiddlewareConfig {
|
|
@@ -47,8 +51,8 @@ export interface MiddlewareConfig {
|
|
|
47
51
|
export interface ServiceInfo {
|
|
48
52
|
name: string;
|
|
49
53
|
bindAddr: string;
|
|
50
|
-
service:
|
|
51
|
-
handlers: Record<string, (call: unknown, callback:
|
|
54
|
+
service: ServiceDefinition;
|
|
55
|
+
handlers: Record<string, (call: unknown, callback: (error: Error, result: unknown) => void) => unknown>;
|
|
52
56
|
}
|
|
53
57
|
export interface ObjectProto {
|
|
54
58
|
name: string;
|
|
@@ -81,15 +85,194 @@ export interface AuthChallengeResponse {
|
|
|
81
85
|
uri: string;
|
|
82
86
|
method: string;
|
|
83
87
|
}
|
|
88
|
+
export interface HeaderModifier {
|
|
89
|
+
name: string;
|
|
90
|
+
value?: string;
|
|
91
|
+
action: "add" | "remove";
|
|
92
|
+
}
|
|
84
93
|
export interface Route {
|
|
85
94
|
user: string;
|
|
86
95
|
host: string;
|
|
87
96
|
port: number;
|
|
88
97
|
transport: Transport;
|
|
89
|
-
registeredOn
|
|
98
|
+
registeredOn?: number;
|
|
90
99
|
sessionCount?: number;
|
|
91
|
-
expires
|
|
100
|
+
expires?: number;
|
|
92
101
|
edgePortRef: string;
|
|
93
102
|
listeningPoint: NetInterface;
|
|
94
103
|
labels?: Map<string, string>;
|
|
104
|
+
headers?: HeaderModifier[];
|
|
105
|
+
}
|
|
106
|
+
export declare enum ResponseType {
|
|
107
|
+
UNKNOWN = 0,
|
|
108
|
+
TRYING = 1,
|
|
109
|
+
RINGING = 2,
|
|
110
|
+
CALL_IS_BEING_FORWARDED = 3,
|
|
111
|
+
QUEUED = 4,
|
|
112
|
+
SESSION_PROGRESS = 5,
|
|
113
|
+
SUCCESS = 6,
|
|
114
|
+
OK = 7,
|
|
115
|
+
ACCEPTED = 8,
|
|
116
|
+
REDIRECTION = 9,
|
|
117
|
+
MULTIPLE_CHOICES = 10,
|
|
118
|
+
MOVED_PERMANENTLY = 11,
|
|
119
|
+
MOVED_TEMPORARILY = 12,
|
|
120
|
+
USE_PROXY = 13,
|
|
121
|
+
ALTERNATIVE_SERVICE = 14,
|
|
122
|
+
CLIENT_ERROR = 15,
|
|
123
|
+
BAD_REQUEST = 16,
|
|
124
|
+
UNAUTHORIZED = 17,
|
|
125
|
+
PAYMENT_REQUIRED = 18,
|
|
126
|
+
FORBIDDEN = 19,
|
|
127
|
+
NOT_FOUND = 20,
|
|
128
|
+
METHOD_NOT_ALLOWED = 21,
|
|
129
|
+
NOT_ACCEPTABLE = 22,
|
|
130
|
+
PROXY_AUTHENTICATION_REQUIRED = 23,
|
|
131
|
+
REQUEST_TIMEOUT = 24,
|
|
132
|
+
GONE = 25,
|
|
133
|
+
REQUEST_ENTITY_TOO_LARGE = 26,
|
|
134
|
+
REQUEST_URI_TOO_LONG = 27,
|
|
135
|
+
UNSUPPORTED_MEDIA_TYPE = 28,
|
|
136
|
+
UNSUPPORTED_URI_SCHEME = 29,
|
|
137
|
+
BAD_EXTENSION = 30,
|
|
138
|
+
EXTENSION_REQUIRED = 31,
|
|
139
|
+
INTERVAL_TOO_BRIEF = 32,
|
|
140
|
+
TEMPORARILY_UNAVAILABLE = 33,
|
|
141
|
+
CALL_OR_TRANSACTION_DOES_NOT_EXIST = 34,
|
|
142
|
+
LOOP_DETECTED = 35,
|
|
143
|
+
TOO_MANY_HOPS = 36,
|
|
144
|
+
ADDRESS_INCOMPLETE = 37,
|
|
145
|
+
AMBIGUOUS = 38,
|
|
146
|
+
BUSY_HERE = 39,
|
|
147
|
+
REQUEST_TERMINATED = 40,
|
|
148
|
+
NOT_ACCEPTABLE_HERE = 41,
|
|
149
|
+
BAD_EVENT = 42,
|
|
150
|
+
REQUEST_PENDING = 43,
|
|
151
|
+
UNDECIPHERABLE = 44,
|
|
152
|
+
SERVER_ERROR = 45,
|
|
153
|
+
SERVER_INTERNAL_ERROR = 46,
|
|
154
|
+
NOT_IMPLEMENTED = 47,
|
|
155
|
+
BAD_GATEWAY = 48,
|
|
156
|
+
SERVICE_UNAVAILABLE = 49,
|
|
157
|
+
SERVER_TIMEOUT = 50,
|
|
158
|
+
VERSION_NOT_SUPPORTED = 51,
|
|
159
|
+
MESSAGE_TOO_LARGE = 52,
|
|
160
|
+
GLOBAL_ERROR = 53,
|
|
161
|
+
BUSY_EVERYWHERE = 54,
|
|
162
|
+
DECLINE = 55,
|
|
163
|
+
DOES_NOT_EXIST_ANYWHERE = 56,
|
|
164
|
+
SESSION_NOT_ACCEPTABLE = 57
|
|
165
|
+
}
|
|
166
|
+
export interface WWWAuthenticate {
|
|
167
|
+
realm: string;
|
|
168
|
+
domain: string;
|
|
169
|
+
nonce: string;
|
|
170
|
+
scheme: string;
|
|
171
|
+
algorithm: string;
|
|
172
|
+
qop: string;
|
|
173
|
+
opaque: string;
|
|
174
|
+
stale: boolean;
|
|
175
|
+
}
|
|
176
|
+
export interface Authorization {
|
|
177
|
+
realm: string;
|
|
178
|
+
scheme: string;
|
|
179
|
+
nonce: string;
|
|
180
|
+
cNonce: string;
|
|
181
|
+
nonceCount: number;
|
|
182
|
+
response: string;
|
|
183
|
+
username: string;
|
|
184
|
+
uri: string;
|
|
185
|
+
algorithm: string;
|
|
186
|
+
qop: string;
|
|
187
|
+
opaque: string;
|
|
188
|
+
method?: string;
|
|
189
|
+
}
|
|
190
|
+
export interface CallID {
|
|
191
|
+
callId: string;
|
|
192
|
+
}
|
|
193
|
+
export interface ContentLength {
|
|
194
|
+
contentLength: number;
|
|
195
|
+
}
|
|
196
|
+
export interface Extension {
|
|
197
|
+
name: string;
|
|
198
|
+
value: string;
|
|
199
|
+
}
|
|
200
|
+
export interface Via {
|
|
201
|
+
host: string;
|
|
202
|
+
port: number;
|
|
203
|
+
branch?: string;
|
|
204
|
+
transport: Transport;
|
|
205
|
+
}
|
|
206
|
+
export interface SipURI {
|
|
207
|
+
user?: string;
|
|
208
|
+
host: string;
|
|
209
|
+
port?: number;
|
|
210
|
+
transportParam: string;
|
|
211
|
+
mAddrParam?: string;
|
|
212
|
+
userParam?: string;
|
|
213
|
+
ttlParam?: number;
|
|
214
|
+
lrParam?: boolean;
|
|
215
|
+
methodParam?: string;
|
|
216
|
+
secure?: boolean;
|
|
217
|
+
userPassword?: string;
|
|
218
|
+
}
|
|
219
|
+
export interface Address {
|
|
220
|
+
uri: SipURI;
|
|
221
|
+
displayName?: string;
|
|
222
|
+
wildcard?: boolean;
|
|
223
|
+
}
|
|
224
|
+
export interface MaxForwards {
|
|
225
|
+
maxForwards: number;
|
|
226
|
+
}
|
|
227
|
+
export interface RouteHeader {
|
|
228
|
+
address: Address;
|
|
229
|
+
parameters?: Record<string, string>;
|
|
230
|
+
}
|
|
231
|
+
export interface RecordRoute {
|
|
232
|
+
address: Address;
|
|
233
|
+
parameters?: Record<string, string>;
|
|
234
|
+
}
|
|
235
|
+
export interface From {
|
|
236
|
+
address: Address;
|
|
237
|
+
tag: string;
|
|
238
|
+
parameters?: Record<string, string>;
|
|
239
|
+
}
|
|
240
|
+
export interface To {
|
|
241
|
+
address: Address;
|
|
242
|
+
tag?: string;
|
|
243
|
+
parameters?: Record<string, string>;
|
|
244
|
+
}
|
|
245
|
+
export interface Contact {
|
|
246
|
+
address: Address;
|
|
247
|
+
expires: number;
|
|
248
|
+
qValue: number;
|
|
249
|
+
}
|
|
250
|
+
export interface Expires {
|
|
251
|
+
expires: number;
|
|
252
|
+
}
|
|
253
|
+
export interface SIPMessage {
|
|
254
|
+
messageType: "responseType" | "requestUri";
|
|
255
|
+
responseType?: ResponseType;
|
|
256
|
+
requestUri?: SipURI;
|
|
257
|
+
from: From;
|
|
258
|
+
to: To;
|
|
259
|
+
contact?: Contact;
|
|
260
|
+
callId: CallID;
|
|
261
|
+
contentLength: ContentLength;
|
|
262
|
+
expires?: Expires;
|
|
263
|
+
wwwAuthenticate?: WWWAuthenticate;
|
|
264
|
+
maxForwards: MaxForwards;
|
|
265
|
+
authorization?: Authorization;
|
|
266
|
+
extensions?: Extension[];
|
|
267
|
+
via?: Via[];
|
|
268
|
+
route?: RouteHeader[];
|
|
269
|
+
recordRoute?: RecordRoute[];
|
|
270
|
+
}
|
|
271
|
+
export interface GrpcCallback {
|
|
272
|
+
(error: Error | {
|
|
273
|
+
code: number;
|
|
274
|
+
} | null, response?: unknown): void;
|
|
275
|
+
}
|
|
276
|
+
export interface GrpcCall {
|
|
277
|
+
request: Record<string, any>;
|
|
95
278
|
}
|
package/dist/types.js
CHANGED
|
@@ -1,24 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Transport = exports.Method = void 0;
|
|
4
|
-
/*
|
|
5
|
-
* Copyright (C) 2022 by Fonoster Inc (https://fonoster.com)
|
|
6
|
-
* http://github.com/fonoster/routr
|
|
7
|
-
*
|
|
8
|
-
* This file is part of Routr
|
|
9
|
-
*
|
|
10
|
-
* Licensed under the MIT License (the "License")
|
|
11
|
-
* you may not use this file except in compliance with
|
|
12
|
-
* the License. You may obtain a copy of the License at
|
|
13
|
-
*
|
|
14
|
-
* https://opensource.org/licenses/MIT
|
|
15
|
-
*
|
|
16
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
17
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
18
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
19
|
-
* See the License for the specific language governing permissions and
|
|
20
|
-
* limitations under the License.
|
|
21
|
-
*/
|
|
3
|
+
exports.ResponseType = exports.Transport = exports.Method = void 0;
|
|
22
4
|
var Method;
|
|
23
5
|
(function (Method) {
|
|
24
6
|
Method["UNKNOWN"] = "UNKNOWN";
|
|
@@ -28,6 +10,10 @@ var Method;
|
|
|
28
10
|
Method["PUBLISH"] = "PUBLISH";
|
|
29
11
|
Method["NOTIFY"] = "NOTIFY";
|
|
30
12
|
Method["SUBSCRIBE"] = "SUBSCRIBE";
|
|
13
|
+
Method["ACK"] = "ACK";
|
|
14
|
+
Method["BYE"] = "BYE";
|
|
15
|
+
Method["CANCEL"] = "CANCEL";
|
|
16
|
+
Method["OPTIONS"] = "OPTIONS";
|
|
31
17
|
})(Method = exports.Method || (exports.Method = {}));
|
|
32
18
|
var Transport;
|
|
33
19
|
(function (Transport) {
|
|
@@ -38,3 +24,64 @@ var Transport;
|
|
|
38
24
|
Transport["WS"] = "WS";
|
|
39
25
|
Transport["WSS"] = "WSS";
|
|
40
26
|
})(Transport = exports.Transport || (exports.Transport = {}));
|
|
27
|
+
var ResponseType;
|
|
28
|
+
(function (ResponseType) {
|
|
29
|
+
ResponseType[ResponseType["UNKNOWN"] = 0] = "UNKNOWN";
|
|
30
|
+
ResponseType[ResponseType["TRYING"] = 1] = "TRYING";
|
|
31
|
+
ResponseType[ResponseType["RINGING"] = 2] = "RINGING";
|
|
32
|
+
ResponseType[ResponseType["CALL_IS_BEING_FORWARDED"] = 3] = "CALL_IS_BEING_FORWARDED";
|
|
33
|
+
ResponseType[ResponseType["QUEUED"] = 4] = "QUEUED";
|
|
34
|
+
ResponseType[ResponseType["SESSION_PROGRESS"] = 5] = "SESSION_PROGRESS";
|
|
35
|
+
ResponseType[ResponseType["SUCCESS"] = 6] = "SUCCESS";
|
|
36
|
+
ResponseType[ResponseType["OK"] = 7] = "OK";
|
|
37
|
+
ResponseType[ResponseType["ACCEPTED"] = 8] = "ACCEPTED";
|
|
38
|
+
ResponseType[ResponseType["REDIRECTION"] = 9] = "REDIRECTION";
|
|
39
|
+
ResponseType[ResponseType["MULTIPLE_CHOICES"] = 10] = "MULTIPLE_CHOICES";
|
|
40
|
+
ResponseType[ResponseType["MOVED_PERMANENTLY"] = 11] = "MOVED_PERMANENTLY";
|
|
41
|
+
ResponseType[ResponseType["MOVED_TEMPORARILY"] = 12] = "MOVED_TEMPORARILY";
|
|
42
|
+
ResponseType[ResponseType["USE_PROXY"] = 13] = "USE_PROXY";
|
|
43
|
+
ResponseType[ResponseType["ALTERNATIVE_SERVICE"] = 14] = "ALTERNATIVE_SERVICE";
|
|
44
|
+
ResponseType[ResponseType["CLIENT_ERROR"] = 15] = "CLIENT_ERROR";
|
|
45
|
+
ResponseType[ResponseType["BAD_REQUEST"] = 16] = "BAD_REQUEST";
|
|
46
|
+
ResponseType[ResponseType["UNAUTHORIZED"] = 17] = "UNAUTHORIZED";
|
|
47
|
+
ResponseType[ResponseType["PAYMENT_REQUIRED"] = 18] = "PAYMENT_REQUIRED";
|
|
48
|
+
ResponseType[ResponseType["FORBIDDEN"] = 19] = "FORBIDDEN";
|
|
49
|
+
ResponseType[ResponseType["NOT_FOUND"] = 20] = "NOT_FOUND";
|
|
50
|
+
ResponseType[ResponseType["METHOD_NOT_ALLOWED"] = 21] = "METHOD_NOT_ALLOWED";
|
|
51
|
+
ResponseType[ResponseType["NOT_ACCEPTABLE"] = 22] = "NOT_ACCEPTABLE";
|
|
52
|
+
ResponseType[ResponseType["PROXY_AUTHENTICATION_REQUIRED"] = 23] = "PROXY_AUTHENTICATION_REQUIRED";
|
|
53
|
+
ResponseType[ResponseType["REQUEST_TIMEOUT"] = 24] = "REQUEST_TIMEOUT";
|
|
54
|
+
ResponseType[ResponseType["GONE"] = 25] = "GONE";
|
|
55
|
+
ResponseType[ResponseType["REQUEST_ENTITY_TOO_LARGE"] = 26] = "REQUEST_ENTITY_TOO_LARGE";
|
|
56
|
+
ResponseType[ResponseType["REQUEST_URI_TOO_LONG"] = 27] = "REQUEST_URI_TOO_LONG";
|
|
57
|
+
ResponseType[ResponseType["UNSUPPORTED_MEDIA_TYPE"] = 28] = "UNSUPPORTED_MEDIA_TYPE";
|
|
58
|
+
ResponseType[ResponseType["UNSUPPORTED_URI_SCHEME"] = 29] = "UNSUPPORTED_URI_SCHEME";
|
|
59
|
+
ResponseType[ResponseType["BAD_EXTENSION"] = 30] = "BAD_EXTENSION";
|
|
60
|
+
ResponseType[ResponseType["EXTENSION_REQUIRED"] = 31] = "EXTENSION_REQUIRED";
|
|
61
|
+
ResponseType[ResponseType["INTERVAL_TOO_BRIEF"] = 32] = "INTERVAL_TOO_BRIEF";
|
|
62
|
+
ResponseType[ResponseType["TEMPORARILY_UNAVAILABLE"] = 33] = "TEMPORARILY_UNAVAILABLE";
|
|
63
|
+
ResponseType[ResponseType["CALL_OR_TRANSACTION_DOES_NOT_EXIST"] = 34] = "CALL_OR_TRANSACTION_DOES_NOT_EXIST";
|
|
64
|
+
ResponseType[ResponseType["LOOP_DETECTED"] = 35] = "LOOP_DETECTED";
|
|
65
|
+
ResponseType[ResponseType["TOO_MANY_HOPS"] = 36] = "TOO_MANY_HOPS";
|
|
66
|
+
ResponseType[ResponseType["ADDRESS_INCOMPLETE"] = 37] = "ADDRESS_INCOMPLETE";
|
|
67
|
+
ResponseType[ResponseType["AMBIGUOUS"] = 38] = "AMBIGUOUS";
|
|
68
|
+
ResponseType[ResponseType["BUSY_HERE"] = 39] = "BUSY_HERE";
|
|
69
|
+
ResponseType[ResponseType["REQUEST_TERMINATED"] = 40] = "REQUEST_TERMINATED";
|
|
70
|
+
ResponseType[ResponseType["NOT_ACCEPTABLE_HERE"] = 41] = "NOT_ACCEPTABLE_HERE";
|
|
71
|
+
ResponseType[ResponseType["BAD_EVENT"] = 42] = "BAD_EVENT";
|
|
72
|
+
ResponseType[ResponseType["REQUEST_PENDING"] = 43] = "REQUEST_PENDING";
|
|
73
|
+
ResponseType[ResponseType["UNDECIPHERABLE"] = 44] = "UNDECIPHERABLE";
|
|
74
|
+
ResponseType[ResponseType["SERVER_ERROR"] = 45] = "SERVER_ERROR";
|
|
75
|
+
ResponseType[ResponseType["SERVER_INTERNAL_ERROR"] = 46] = "SERVER_INTERNAL_ERROR";
|
|
76
|
+
ResponseType[ResponseType["NOT_IMPLEMENTED"] = 47] = "NOT_IMPLEMENTED";
|
|
77
|
+
ResponseType[ResponseType["BAD_GATEWAY"] = 48] = "BAD_GATEWAY";
|
|
78
|
+
ResponseType[ResponseType["SERVICE_UNAVAILABLE"] = 49] = "SERVICE_UNAVAILABLE";
|
|
79
|
+
ResponseType[ResponseType["SERVER_TIMEOUT"] = 50] = "SERVER_TIMEOUT";
|
|
80
|
+
ResponseType[ResponseType["VERSION_NOT_SUPPORTED"] = 51] = "VERSION_NOT_SUPPORTED";
|
|
81
|
+
ResponseType[ResponseType["MESSAGE_TOO_LARGE"] = 52] = "MESSAGE_TOO_LARGE";
|
|
82
|
+
ResponseType[ResponseType["GLOBAL_ERROR"] = 53] = "GLOBAL_ERROR";
|
|
83
|
+
ResponseType[ResponseType["BUSY_EVERYWHERE"] = 54] = "BUSY_EVERYWHERE";
|
|
84
|
+
ResponseType[ResponseType["DECLINE"] = 55] = "DECLINE";
|
|
85
|
+
ResponseType[ResponseType["DOES_NOT_EXIST_ANYWHERE"] = 56] = "DOES_NOT_EXIST_ANYWHERE";
|
|
86
|
+
ResponseType[ResponseType["SESSION_NOT_ACCEPTABLE"] = 57] = "SESSION_NOT_ACCEPTABLE";
|
|
87
|
+
})(ResponseType = exports.ResponseType || (exports.ResponseType = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@routr/common",
|
|
3
|
-
"version": "2.0.5-alpha.
|
|
3
|
+
"version": "2.0.5-alpha.16",
|
|
4
4
|
"description": "Common package",
|
|
5
5
|
"author": "Pedro Sanders <psanders@fonoster.com>",
|
|
6
6
|
"homepage": "https://github.com/fonoster/routr#readme",
|
|
@@ -13,18 +13,17 @@
|
|
|
13
13
|
"postbuild": "mkdir -p dist/protos && cp src/protos/* dist/protos"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@fonoster/logger": "
|
|
16
|
+
"@fonoster/logger": "0.3.17-alpha.2",
|
|
17
17
|
"@grpc/grpc-js": "^1.5.9",
|
|
18
18
|
"@grpc/proto-loader": "^0.6.9",
|
|
19
|
-
"@opentelemetry/api": "1.0.
|
|
20
|
-
"@opentelemetry/exporter-jaeger": "^1.0.
|
|
21
|
-
"@opentelemetry/exporter-zipkin": "^1.0.1",
|
|
19
|
+
"@opentelemetry/api": "^1.0.4",
|
|
20
|
+
"@opentelemetry/exporter-jaeger": "^1.0.4",
|
|
22
21
|
"@opentelemetry/instrumentation": "^0.27.0",
|
|
23
22
|
"@opentelemetry/instrumentation-grpc": "^0.27.0",
|
|
24
|
-
"@opentelemetry/resources": "^1.0.
|
|
25
|
-
"@opentelemetry/sdk-trace-base": "^1.0.
|
|
26
|
-
"@opentelemetry/sdk-trace-node": "^1.0.
|
|
27
|
-
"@opentelemetry/semantic-conventions": "^1.0.
|
|
23
|
+
"@opentelemetry/resources": "^1.0.4",
|
|
24
|
+
"@opentelemetry/sdk-trace-base": "^1.0.4",
|
|
25
|
+
"@opentelemetry/sdk-trace-node": "^1.0.4",
|
|
26
|
+
"@opentelemetry/semantic-conventions": "^1.0.4",
|
|
28
27
|
"fp-ts": "^2.11.8",
|
|
29
28
|
"ip-utils": "^2.4.0"
|
|
30
29
|
},
|
|
@@ -45,5 +44,5 @@
|
|
|
45
44
|
"bugs": {
|
|
46
45
|
"url": "https://github.com/fonoster/routr/issues"
|
|
47
46
|
},
|
|
48
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "b40323ac18cc3872b168bf4e8273f5bdb3f7510a"
|
|
49
48
|
}
|