@opengeoweb/taf 1.3.0 → 2.1.0

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.
@@ -1,2 +1,2 @@
1
1
  import { Credentials } from '@opengeoweb/api';
2
- export declare const createApi: (url: string, appUrl: string, auth: Credentials, setAuth: (cred: Credentials) => void, authTokenUrl: string) => any;
2
+ export declare const createApi: (url: string, appUrl: string, auth: Credentials, setAuth: (cred: Credentials) => void, authTokenUrl: string, authClientId: string) => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/taf",
3
- "version": "1.3.0",
3
+ "version": "2.1.0",
4
4
  "description": "GeoWeb TAF library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -14,22 +14,22 @@
14
14
  "peerDependencies": {
15
15
  "react": "16.14.0",
16
16
  "@material-ui/core": "^4.11.0",
17
- "@opengeoweb/theme": "1.3.0",
17
+ "@opengeoweb/theme": "2.1.0",
18
18
  "@material-ui/lab": "^4.0.0-alpha.56",
19
19
  "@material-ui/icons": "^4.9.1",
20
20
  "react-hook-form": "^6.12.1",
21
- "@opengeoweb/shared": "1.3.0",
21
+ "@opengeoweb/shared": "2.1.0",
22
22
  "react-draggable": "^4.4.3",
23
23
  "re-resizable": "^6.9.0",
24
24
  "lodash": "^4.17.20",
25
- "@opengeoweb/form-fields": "1.3.0",
25
+ "@opengeoweb/form-fields": "2.1.0",
26
26
  "@material-ui/pickers": "^3.2.10",
27
27
  "@date-io/moment": "^1.3.13",
28
28
  "moment": "^2.29.0",
29
29
  "moment-timezone": "^0.5.31",
30
30
  "axios": "^0.21.4",
31
31
  "react-sortablejs": "^6.0.0",
32
- "@opengeoweb/api": "1.3.0",
32
+ "@opengeoweb/api": "2.1.0",
33
33
  "sortablejs": "^1.14.0"
34
34
  }
35
35
  }
package/taf.esm.js CHANGED
@@ -4839,8 +4839,8 @@ var ConfirmationWrapper = function ConfirmationWrapper() {
4839
4839
  * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
4840
4840
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
4841
4841
  * */
4842
- var createApi = function createApi(url, appUrl, auth, setAuth, authTokenUrl) {
4843
- var axiosInstance = createApiInstance(url, appUrl, auth, setAuth, authTokenUrl);
4842
+ var createApi = function createApi(url, appUrl, auth, setAuth, authTokenUrl, authClientId) {
4843
+ var axiosInstance = createApiInstance(url, appUrl, auth, setAuth, authTokenUrl, authClientId);
4844
4844
  return {
4845
4845
  // api data
4846
4846
  getTafList: function getTafList() {
package/taf.umd.js CHANGED
@@ -4713,8 +4713,8 @@
4713
4713
  return /*#__PURE__*/React__default["default"].createElement(shared.ConfirmationServiceProvider, null, /*#__PURE__*/React__default["default"].createElement(TafWrapper, null));
4714
4714
  };
4715
4715
 
4716
- var createApi = function createApi(url, appUrl, auth, setAuth, authTokenUrl) {
4717
- var axiosInstance = api.createApiInstance(url, appUrl, auth, setAuth, authTokenUrl);
4716
+ var createApi = function createApi(url, appUrl, auth, setAuth, authTokenUrl, authClientId) {
4717
+ var axiosInstance = api.createApiInstance(url, appUrl, auth, setAuth, authTokenUrl, authClientId);
4718
4718
  return {
4719
4719
  // api data
4720
4720
  getTafList: function getTafList() {