strapi-sdk-js 2.0.0-beta.2 → 2.1.3

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,26 @@
1
+ ## [2.1.3](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.2...v2.1.3) (2022-01-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **deps:** pin dependencies ([2e6e5a9](https://github.com/Stun3R/strapi-sdk-js/commit/2e6e5a984e3c3bce226bdb0a55218d6707cc0488))
7
+ * **deps:** update dependency @nuxt/content-theme-docs to v0.11.1 ([1541e39](https://github.com/Stun3R/strapi-sdk-js/commit/1541e392bb9e70ee7cdc65fa1362358518c0d084))
8
+ * **deps:** update dependency axios to ^0.24.0 ([4e2a41d](https://github.com/Stun3R/strapi-sdk-js/commit/4e2a41d5a3ffca07cf502d488ce9caea809f4bbc))
9
+
10
+ ## [2.1.2](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.1...v2.1.2) (2021-12-30)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **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)
16
+
17
+
18
+ ### Features
19
+
20
+ * add integrations ([439b292](https://github.com/Stun3R/strapi-sdk-js/commit/439b2926e474c06a0e581f9af7c1ad08c5eb7282))
21
+
22
+ ## [2.1.1](https://github.com/Stun3R/strapi-sdk-js/compare/v2.1.0...v2.1.1) (2021-11-29)
23
+
1
24
  # [2.0.0](https://github.com/Stun3R/strapi-sdk-js/compare/v1.1.0...v2.0.0) (2021-11-08)
2
25
 
3
26
 
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.0.0-beta.2",
3
+ "version": "2.1.3",
4
4
  "description": "📦 Javascript SDK for your Strapi API",
5
5
  "keywords": [
6
6
  "strapi",
@@ -71,31 +71,31 @@
71
71
  "dependencies": {
72
72
  "@types/js-cookie": "^3.0.0",
73
73
  "@types/qs": "^6.9.6",
74
- "axios": "^0.23.0",
74
+ "axios": "^0.24.0",
75
75
  "defu": "^5.0.0",
76
76
  "js-cookie": "^3.0.0",
77
77
  "qs": "^6.10.1"
78
78
  },
79
79
  "devDependencies": {
80
- "@commitlint/cli": "13.2.1",
81
- "@commitlint/config-conventional": "13.2.0",
80
+ "@commitlint/cli": "16.0.1",
81
+ "@commitlint/config-conventional": "16.0.0",
82
82
  "@release-it/conventional-changelog": "3.3.0",
83
- "@types/jest": "27.0.2",
84
- "@types/sinon": "10.0.4",
85
- "@typescript-eslint/eslint-plugin": "5.1.0",
86
- "@typescript-eslint/parser": "5.1.0",
83
+ "@types/jest": "27.4.0",
84
+ "@types/sinon": "10.0.6",
85
+ "@typescript-eslint/eslint-plugin": "5.9.0",
86
+ "@typescript-eslint/parser": "5.9.0",
87
87
  "commitizen": "4.2.4",
88
88
  "cz-conventional-changelog": "3.3.0",
89
- "dotenv-cli": "4.0.0",
90
- "eslint": "8.0.1",
91
- "husky": "7.0.2",
92
- "jest": "27.3.1",
93
- "lint-staged": "11.2.3",
89
+ "dotenv-cli": "4.1.1",
90
+ "eslint": "8.6.0",
91
+ "husky": "7.0.4",
92
+ "jest": "27.4.7",
93
+ "lint-staged": "12.1.5",
94
94
  "npm-run-all": "4.1.5",
95
- "release-it": "14.11.6",
96
- "sinon": "11.1.2",
95
+ "release-it": "14.11.8",
96
+ "sinon": "12.0.1",
97
97
  "siroc": "0.16.0",
98
- "ts-jest": "27.0.7",
99
- "typescript": "4.4.4"
98
+ "ts-jest": "27.1.2",
99
+ "typescript": "4.5.4"
100
100
  }
101
101
  }