@ngx-grpc/grpc-web-client
Advanced tools
Comparing version 2.3.0 to 2.4.0
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@ngx-grpc/common'), require('grpc-web'), require('rxjs'), require('@ngx-grpc/core')) : | ||
typeof define === 'function' && define.amd ? define('@ngx-grpc/grpc-web-client', ['exports', '@angular/core', '@ngx-grpc/common', 'grpc-web', 'rxjs', '@ngx-grpc/core'], factory) : | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['ngx-grpc'] = global['ngx-grpc'] || {}, global['ngx-grpc']['grpc-web-client'] = {}), global.ng.core, global.common, global.grpcWeb, global.rxjs, global.core$1)); | ||
}(this, (function (exports, core, common, grpcWeb, rxjs, core$1) { 'use strict'; | ||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["ngx-grpc"] = global["ngx-grpc"] || {}, global["ngx-grpc"]["grpc-web-client"] = {}), global.ng.core, global.common, global.grpcWeb, global.rxjs, global.core$1)); | ||
})(this, (function (exports, core, common, grpcWeb, rxjs, core$1) { 'use strict'; | ||
@@ -134,3 +134,3 @@ /** | ||
}))); | ||
})); | ||
//# sourceMappingURL=ngx-grpc-grpc-web-client.umd.js.map |
@@ -73,2 +73,2 @@ import { Inject, Injectable, Optional } from '@angular/core'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy13ZWItY2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvZ3JwYy13ZWItY2xpZW50L3NyYy9saWIvZ3JwYy13ZWItY2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxNQUFNLEVBQUUsVUFBVSxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUM3RCxPQUFPLEVBQWlDLGFBQWEsRUFBN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uIG5ldyBPYnNlcnZhYmxlKG9icyA9PiB7XG4gICAgICBjb25zdCBzdHJlYW0gPSB0aGlzLmNsaWVudC5zZXJ2ZXJTdHJlYW1pbmcoXG4gICAgICAgIHRoaXMuc2V0dGluZ3MuaG9zdCArIHBhdGgsXG4gICAgICAgIHJlcSxcbiAgICAgICAgbWV0YWRhdGE/LnRvT2JqZWN0KCkgPz8ge30sXG4gICAgICAgIGRlc2NyaXB0b3IsXG4gICAgICApO1xuXG4gICAgICBzdHJlYW0ub24oJ3N0YXR1cycsIHN0YXR1cyA9PiBvYnMubmV4dChuZXcgR3JwY1N0YXR1c0V2ZW50KHN0YXR1cy5jb2RlLCBzdGF0dXMuZGV0YWlscywgbmV3IEdycGNNZXRhZGF0YShzdGF0dXMubWV0YWRhdGEpKSkpO1xuICAgICAgc3RyZWFtLm9uKCdlcnJvcicsIGVycm9yID0+IHtcbiAgICAgICAgb2JzLm5leHQobmV3IEdycGNTdGF0dXNFdmVudChlcnJvci5jb2RlLCBlcnJvci5tZXNzYWdlLCBuZXcgR3JwY01ldGFkYXRhKChlcnJvciBhcyBhbnkpLm1ldGFkYXRhKSkpO1xuICAgICAgICBvYnMuY29tcGxldGUoKTtcbiAgICAgIH0pO1xuICAgICAgc3RyZWFtLm9uKCdkYXRhJywgZGF0YSA9PiBvYnMubmV4dChuZXcgR3JwY0RhdGFFdmVudChkYXRhIGFzIGFueSkpKTtcbiAgICAgIHN0cmVhbS5vbignZW5kJywgKCkgPT4gb2JzLmNvbXBsZXRlKCkpO1xuXG4gICAgICByZXR1cm4gKCkgPT4gc3RyZWFtLmNhbmNlbCgpO1xuICAgIH0pO1xuICB9XG5cbn1cbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JwYy13ZWItY2xpZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcGFja2FnZXMvZ3JwYy13ZWItY2xpZW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gIHJldHVybiAoKSA9PiBzdHJlYW0uY2FuY2VsKCk7XG4gICAgfSk7XG4gIH1cblxufVxuIl19 |
{ | ||
"name": "@ngx-grpc/grpc-web-client", | ||
"peerDependencies": { | ||
"@ngx-grpc/common": "2.3.0", | ||
"@ngx-grpc/core": "2.3.0", | ||
"@ngx-grpc/common": "2.4.0", | ||
"@ngx-grpc/core": "2.4.0", | ||
"@angular/core": ">=8.0.0", | ||
@@ -20,3 +20,3 @@ "grpc-web": "^1.2.1" | ||
"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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
61156
18
437