strapi-sdk-js 2.1.3 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.1.4](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.3...v2.1.4) (2022-01-14)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **options:** remove process usage in default to be compatible with more framework ([aaa162d](https://github.com/Stun3R/strapi-sdk-js/commit/aaa162d53bc656a149da8d2aacc9560a42a11d55))
7
+
1
8
  ## [2.1.3](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.2...v2.1.3) (2022-01-05)
2
9
 
3
10
 
package/dist/index.d.ts CHANGED
@@ -89,7 +89,7 @@ declare class Strapi {
89
89
  *
90
90
  * @constructor
91
91
  * @param {StrapiOptions} options? - Options in order to configure API URL, list your Content Types & extend the axios configuration
92
- * @param {string} options.url? - Your Strapi API URL, Default: process.env.STRAPI_URL || http://localhost::1337
92
+ * @param {string} options.url? - Your Strapi API URL, Default: http://localhost::1337
93
93
  * @param {StoreConfig} options.store? - Config the way you want to store JWT (Cookie or LocalStorage)
94
94
  * @param {AxiosRequestConfig} options.axiosOptions? - The list of your Content type on your Strapi API
95
95
  */
package/dist/index.es.js CHANGED
@@ -8,7 +8,7 @@ function isBrowser() {
8
8
  }
9
9
 
10
10
  const defaults = {
11
- url: process.env.STRAPI_URL || "http://localhost:1337",
11
+ url: "http://localhost:1337",
12
12
  prefix: "/api",
13
13
  store: {
14
14
  key: "strapi_jwt",
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ function isBrowser() {
17
17
  }
18
18
 
19
19
  const defaults = {
20
- url: process.env.STRAPI_URL || "http://localhost:1337",
20
+ url: "http://localhost:1337",
21
21
  prefix: "/api",
22
22
  store: {
23
23
  key: "strapi_jwt",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-sdk-js",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "📦 Javascript SDK for your Strapi API",
5
5
  "keywords": [
6
6
  "strapi",