strapi-sdk-js 2.1.1 → 2.1.2

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,15 @@
1
+ ## [2.1.2](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.1...v2.1.2) (2021-12-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **params:** change type to accept object for populate ([bfa835c](https://github.com/Stun3R/strapi-sdk-js/commit/bfa835c6d01425049f7d675f96316516d59bca5d)), closes [#108](https://github.com/Stun3R/strapi-sdk-js/issues/108)
7
+
8
+
9
+ ### Features
10
+
11
+ * add integrations ([439b292](https://github.com/Stun3R/strapi-sdk-js/commit/439b2926e474c06a0e581f9af7c1ad08c5eb7282))
12
+
1
13
  ## [2.1.1](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.0...v2.1.1) (2021-11-29)
2
14
 
3
15
  # [2.0.0](https://github.com/Stun3R/strapi-sdk-js/compare/v1.1.0...v2.0.0) (2021-11-08)
package/dist/index.d.ts CHANGED
@@ -33,7 +33,7 @@ interface PaginationByOffset {
33
33
  }
34
34
  interface StrapiBaseRequestParams {
35
35
  fields?: Array<string>;
36
- populate?: string | Array<string>;
36
+ populate?: string | Array<string> | Record<string, unknown>;
37
37
  }
38
38
  interface StrapiRequestParams extends StrapiBaseRequestParams {
39
39
  sort?: string | Array<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strapi-sdk-js",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "📦 Javascript SDK for your Strapi API",
5
5
  "keywords": [
6
6
  "strapi",