Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

piral-fetch

Package Overview
Dependencies
Maintainers
1
Versions
948
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-fetch - npm Package Compare versions

Comparing version 0.9.0-pre.763 to 0.9.0-pre.765

2

lib/create.d.ts

@@ -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 @@ */

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc