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, diff --git a/package.json b/package.json index aa1da13..5fc8ecb 100644 --- a/package.json +++ b/package.json @@ -33,13 +33,13 @@ }, "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", "@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" @@ -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 +}