@ps-aux/api-client-angular 0.1.0-rc1 → 0.2.1-rc1

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/index.esm.js CHANGED
@@ -283,7 +283,7 @@ const createHttpClient = (client, urlConverter = qsUrlConverter()) => {
283
283
  return {
284
284
  request: (req) => {
285
285
  const { url, params } = urlConverter(req);
286
- const isBlob = req.format = 'document';
286
+ const isBlob = req.format === 'document';
287
287
  const obs = client.request(req.method, url, {
288
288
  params,
289
289
  body: prepareBody(req.body, req.type),
package/dist/index.js CHANGED
@@ -285,7 +285,7 @@ const createHttpClient = (client, urlConverter = qsUrlConverter()) => {
285
285
  return {
286
286
  request: (req) => {
287
287
  const { url, params } = urlConverter(req);
288
- const isBlob = req.format = 'document';
288
+ const isBlob = req.format === 'document';
289
289
  const obs = client.request(req.method, url, {
290
290
  params,
291
291
  body: prepareBody(req.body, req.type),
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@ps-aux/api-client-angular",
3
- "version": "0.1.0-rc1",
3
+ "version": "0.2.1-rc1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "module": "dist/index.esm.js",
7
7
  "scripts": {
8
8
  "build": "rollup -c",
9
9
  "dev": "rollup -c --watch",
10
- "publish": "npm run build && npm --access public publish",
10
+ "pub": "npm run build && npm --access public publish",
11
11
  "tc": "tsc"
12
12
  },
13
13
  "author": "",
@@ -26,7 +26,7 @@ export const createHttpClient = (client: AngularHttpClient, urlConverter: UrlCon
26
26
  request: <D>(req: Request): Observable<D> => {
27
27
  const { url, params } = urlConverter(req)
28
28
 
29
- const isBlob = req.format = 'document'
29
+ const isBlob = req.format === 'document'
30
30
 
31
31
  const obs = client.request<D>(
32
32
  req.method,