@ngx-grpc/common
Advanced tools
Comparing version 2.3.0 to 2.4.0
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define('@ngx-grpc/common', ['exports'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['ngx-grpc'] = global['ngx-grpc'] || {}, global['ngx-grpc'].common = {}))); | ||
}(this, (function (exports) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ngx-grpc"] = global["ngx-grpc"] || {}, global["ngx-grpc"].common = {}))); | ||
})(this, (function (exports) { 'use strict'; | ||
@@ -282,6 +282,12 @@ /** | ||
} | ||
function __spreadArray(to, from) { | ||
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) | ||
to[j] = from[i]; | ||
return to; | ||
function __spreadArray(to, from, pack) { | ||
if (pack || arguments.length === 2) | ||
for (var i = 0, l = from.length, ar; i < l; i++) { | ||
if (ar || !(i in from)) { | ||
if (!ar) | ||
ar = Array.prototype.slice.call(from, 0, i); | ||
ar[i] = from[i]; | ||
} | ||
} | ||
return to.concat(ar || Array.prototype.slice.call(from)); | ||
} | ||
@@ -388,3 +394,3 @@ function __await(v) { | ||
var _this = this; | ||
return __spread(this.map.keys()).reduce(function (o, k) { | ||
return __spreadArray([], __read(this.map.keys())).reduce(function (o, k) { | ||
var _a; | ||
@@ -429,3 +435,3 @@ return (Object.assign(Object.assign({}, o), (_a = {}, _a[k] = _this.map.get(k), _a))); | ||
}))); | ||
})); | ||
//# sourceMappingURL=ngx-grpc-common.umd.js.map |
@@ -9,2 +9,2 @@ /** | ||
})(GrpcCallType || (GrpcCallType = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy1jbGllbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9jb21tb24vc3JjL2xpYi9ncn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iAgfVxuXG4gIGNsb25lKCkge1xuICAgIHJldHVybiBuZXcgR3JwY01ldGFkYXRhKHRoaXMudG9PYmplY3QoKSk7XG4gIH1cblxuICB0b09iamVjdCgpIHtcbiAgICByZXR1cm4gWy4uLnRoaXMubWFwLmtleXMoKV0ucmVkdWNlKChvLCBrKSA9PiAoeyAuLi5vLCBba106IHRoaXMubWFwLmdldChrKSB9KSwge30pO1xuICB9XG5cbn1cbiJdfQ== |
@@ -14,2 +14,3 @@ import { Observable } from 'rxjs'; | ||
* Create a GrpcClient | ||
* | ||
* @param serviceId a service type in proto (passed in by generated service client), e.g. | ||
@@ -32,2 +33,3 @@ * @param settings settings for underlying grpc client implementation | ||
* Handle unary RPC | ||
* | ||
* @param path gRPC method path (rpc path) | ||
@@ -42,2 +44,3 @@ * @param req request data | ||
* Handle server stream RPC | ||
* | ||
* @param path gRPC method path (rpc path) | ||
@@ -44,0 +47,0 @@ * @param req request data |
@@ -25,3 +25,3 @@ { | ||
"sideEffects": false, | ||
"version": "2.3.0" | ||
"version": "2.4.0" | ||
} |
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
768
92907
28