angular-apollo
Advanced tools
Comparing version 1.5.3 to 1.5.5
@@ -1,2 +0,2 @@ | ||
export default function provideApollo(apolloOptions?: ApolloOptions): any[]; | ||
export declare function provideApollo(apolloOptions?: ApolloOptions): any[]; | ||
export declare function attachTokenStoreEvents(tokenStore: any): void; | ||
@@ -3,0 +3,0 @@ export interface ApolloOptions { |
@@ -38,4 +38,3 @@ "use strict"; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = provideApollo; | ||
exports.provideApollo = provideApollo; | ||
function attachTokenStoreEvents(tokenStore) { | ||
@@ -42,0 +41,0 @@ tokenStore.events.subscribe(function (event) { |
{ | ||
"name": "angular-apollo", | ||
"description": "An API client for the 7digital Apollo platform built for Angular 2 projects.", | ||
"version": "1.5.3", | ||
"version": "1.5.5", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/7digital/angular-apollo.git", |
@@ -33,4 +33,4 @@ # Angular apollo | ||
baseUrl: 'http://www.example.com' | ||
}), | ||
]]); | ||
}) | ||
]); | ||
``` | ||
@@ -61,9 +61,3 @@ | ||
}) | ||
{ | ||
provide: ApiService, | ||
useFactory: (http: Http) => { | ||
new ApiService(http, {baseUrl:'https://www.example.com'}) | ||
}, | ||
deps: [Http] | ||
}]); | ||
]); | ||
``` | ||
@@ -98,2 +92,2 @@ | ||
Currently all tests are run with the `npm run test` command. | ||
Currently all tests are run with the `npm run test` command. |
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
112654
1482
91