Skip to content

Commit

Permalink
Merge pull request #41 from leam-tech/rxjs-imports
Browse files Browse the repository at this point in the history
fix: RXJS imports causing runtime error in Angular project (ng-11)
  • Loading branch information
assemmarwan authored Feb 13, 2021
2 parents 66e7c53 + 31e4708 commit 900380a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@
"nock": "^10.0.6",
"nock-record": "^0.3.3",
"qs": "^6.5.2",
"rxjs": "^6.3.2",
"rxjs-compat": "^6.3.2",
"rxjs": "^6.6.3",
"rxjs-compat": "^6.6.3",
"socket.io-client": "^2.2.0",
"zxcvbn": "^4.4.2"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/message.bus.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Subject } from "rxjs/Subject";
import { Subject } from "rxjs";
import { renovationWarn } from "../utils";
import { MessageBusGetSubjectParams, MessageBusPostParams } from "./interfaces";

Expand Down
2 changes: 1 addition & 1 deletion src/renovation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Subject } from "rxjs/Subject";
import { Subject } from "rxjs";
import AuthController from "./auth/auth.controller";
import FrappeAuthController from "./auth/frappe.auth.controller";
import { RenovationBackend, RenovationConfig } from "./config";
Expand Down
2 changes: 1 addition & 1 deletion src/utils/request.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios, { AxiosResponse } from "axios";
import qs from "qs";
import { BehaviorSubject } from "rxjs/BehaviorSubject";
import { BehaviorSubject } from "rxjs";
import { RenovationConfig } from "../config";
import { ErrorDetail } from "./error";
import { renovationError, renovationLog, renovationWarn } from "./index";
Expand Down

0 comments on commit 900380a

Please sign in to comment.