@malevich-studio/strapi-sdk-typescript 1.1.1 → 1.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/dist/index.cjs CHANGED
@@ -21234,6 +21234,14 @@ class Strapi {
21234
21234
  } : {}),
21235
21235
  }, params));
21236
21236
  }
21237
+ async getLocales(params) {
21238
+ return await this.baseFetch('i18n/locales', _.merge({
21239
+ headers: {
21240
+ 'Content-Type': 'application/json',
21241
+ },
21242
+ method: 'GET',
21243
+ }, params));
21244
+ }
21237
21245
  async getDocuments(endpoint, data, params = {}) {
21238
21246
  return await this.fetch(endpoint, data, {
21239
21247
  method: 'GET',