piral-fetch
Advanced tools
Comparing version 0.9.0-pre.763 to 0.9.0-pre.765
@@ -5,5 +5,5 @@ import { Extend } from 'piral-core'; | ||
/** | ||
* Creates a new Piral Fetch API extension. | ||
* Creates new Pilet API extensions for fetch. | ||
* @param config The custom fetch configuration, if any. | ||
*/ | ||
export declare function createFetchApi(config?: FetchConfig): Extend<PiletFetchApi>; |
@@ -5,3 +5,3 @@ "use strict"; | ||
/** | ||
* Creates a new Piral Fetch API extension. | ||
* Creates new Pilet API extensions for fetch. | ||
* @param config The custom fetch configuration, if any. | ||
@@ -8,0 +8,0 @@ */ |
{ | ||
"name": "piral-fetch", | ||
"version": "0.9.0-pre.763", | ||
"description": "Extensions for standardizing fetch in Piral.", | ||
"version": "0.9.0-pre.765", | ||
"description": "Plugin for standardizing fetch in Piral.", | ||
"keywords": [ | ||
@@ -13,3 +13,3 @@ "piral", | ||
"fetch", | ||
"extension", | ||
"plugin", | ||
"spa" | ||
@@ -40,3 +40,3 @@ ], | ||
"devDependencies": { | ||
"piral-core": "^0.9.0-pre.763" | ||
"piral-core": "^0.9.0-pre.765" | ||
}, | ||
@@ -48,3 +48,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "244d493ecf0c7986e549b0ee2fe48feb20c52cd9" | ||
"gitHead": "81e14b202558d9c3bcf2f8bfdf0b758d0b4b1043" | ||
} |
@@ -5,4 +5,6 @@ [![Piral Logo](https://github.com/smapiot/piral/raw/master/docs/assets/logo.png)](https://piral.io) | ||
This is an extension library that only has a peer dependency to `piral-core`. What `piral-fetch` brings to the table is a single API extension called `fetch` that is used by `piral`. | ||
This is a plugin that only has a peer dependency to `piral-core`. What `piral-fetch` brings to the table is a single Pilet API extension called `fetch` that is used by `piral`. | ||
By default, these API extensions are not integrated in `piral`, so you'd need to add them to your Piral instance. | ||
## Documentation | ||
@@ -12,4 +14,6 @@ | ||
(tbd) | ||
### `fetch()` | ||
This is a simpler version of the standard `fetch` from the browser. | ||
## Setup and Bootstrapping | ||
@@ -54,4 +58,6 @@ | ||
**Note**: `piral-fetch` plays nicely together with authentication providers such as `piral-adal`. As such authentication tokens are automatically inserted on requests to the base URL. | ||
## License | ||
Piral is released using the MIT license. For more information see the [license file](./LICENSE). |
@@ -7,3 +7,3 @@ import { Extend } from 'piral-core'; | ||
/** | ||
* Creates a new Piral Fetch API extension. | ||
* Creates new Pilet API extensions for fetch. | ||
* @param config The custom fetch configuration, if any. | ||
@@ -10,0 +10,0 @@ */ |
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
19232
61