Skip to content

Commit

Permalink
release 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Dec 3, 2021
2 parents 0d4fb9e + e317a36 commit 1bd0e8f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
10 changes: 5 additions & 5 deletions DRAFT_CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Bibliothèque d'accès aux services Géoportail, version 3.0.3
# Bibliothèque d'accès aux services Géoportail, version 3.0.4

**10/11/2021 : 3.0.3**
**03/12/2021 : 3.0.4**

> release of geoportal access library
## Summary

## Changelog

* [Added]

- En options en entrée de l'autoconf, il y a possibilité désormais de passer une liste de clés sous forme de string. ex. "key1,key2,key3" (#77)

* [Changed]

* [Removed]

* [Fixed]

- seule la geometrie complete est renvoyée par le service si la geometrie par portion n'est pas demandée (49c0059be9e0a2aa3f5e41af9ebfdb28152a7452)

* [Deprecated]

Expand Down
Binary file removed geoportal-access-lib-3.0.2.tgz
Binary file not shown.
Binary file added geoportal-access-lib-3.0.3.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "geoportal-access-lib",
"version": "3.0.3",
"date": "10/11/2021",
"version": "3.0.4",
"date": "03/12/2021",
"description": "French Geoportal resources access library",
"module": "src/Gp.js",
"main": "dist/GpServices-src.js",
Expand Down
5 changes: 5 additions & 0 deletions src/Services/AutoConf/AutoConf.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ function AutoConf (options) {
this.logger = Logger.getLogger("Gp.Services.AutoConf");
this.logger.trace("[Constructeur AutoConf (options)]");

// si on a une liste de plusieurs clés en options, on la transforme en tableau (multiKeys)
if ((typeof this.options.apiKey === "string" || this.options.apiKey instanceof String) && Array.isArray(this.options.apiKey.split(",")) && this.options.apiKey.split(",").length > 1) {
this.options.apiKey = this.options.apiKey.split(",");
}

// #####################
// analyse des options
// #####################
Expand Down

0 comments on commit 1bd0e8f

Please sign in to comment.