From 2b7603972334963f63b7208481acb87f4dd62a80 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 1 Sep 2020 22:39:54 +0200 Subject: [PATCH 1/3] Update index.ts --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index f272196..6fecd98 100644 --- a/index.ts +++ b/index.ts @@ -4,7 +4,7 @@ import { Operation, FetchResult, Observable as LinkObservable, -} from 'apollo-link'; +} from '@apollo/client/core'; import { BehaviorSubject, Subject, From 57dce8d5342d4f349cbd9b0ae8c6311cc5d7593a Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 1 Sep 2020 22:41:21 +0200 Subject: [PATCH 2/3] Update package.json --- package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index aa1da13..9fe1adc 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ }, "peerDependencies": { "@angular/core": "^6.0.0 || ^7.0.0", - "apollo-link": "^1.0.0" + "@apollo/client": "^3.0.0" }, "devDependencies": { "@angular/compiler": "7.2.13", @@ -50,10 +50,9 @@ "flatModuleFile": "ng.apollo-network-status", "umdModuleIds": { "@angular/core": "ng.core", - "apollo-link": "apolloLink.core", "rxjs": "rxjs", "rxjs/operators": "rxjs.operators" } } } -} \ No newline at end of file +} From 0f44d1c53066ec65d35c0b27723365995a444fb5 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 1 Sep 2020 22:41:47 +0200 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9fe1adc..5fc8ecb 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "@angular/compiler": "7.2.13", "@angular/compiler-cli": "7.2.13", "@angular/core": "7.2.13", - "apollo-link": "1.2.11", + "@apollo/client": "^3.0.0" "ng-packagr": "5.1.0", "tsickle": "0.34.3", "typescript": "3.2.4"