@tracktor/shared-module 1.0.7 → 1.0.9
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 +2 -2
- package/README.md +3 -4
- package/dist/components/Utils/GTMSendPageView.d.ts +1 -1
- package/dist/components/Utils/InitializeMapBoxConfig.d.ts +0 -1
- package/dist/context/InjectDependenciesProvider.d.ts +1 -1
- package/dist/context/QueryClientProviderWithConfig.d.ts +3 -0
- package/dist/{en-QSkYj0iy.js → en-bFWwYyLH.js} +1 -1
- package/dist/{fr-TlWvAsWw.js → fr-WPlDe-ow.js} +1 -1
- package/dist/{main-srWqMrqy.js → main-YTkqJNOe.js} +273 -297
- package/dist/main.js +1 -1
- package/dist/main.umd.cjs +10 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
# shared-module
|
|
2
2
|
|
|
3
|
-
> This package contains shared components, hooks and utilities for the Tracktor project.
|
|
4
|
-
> This package don't use any external dependencies, only peer dependencies.
|
|
3
|
+
> This package contains shared components, hooks and utilities for the Tracktor project.
|
|
5
4
|
> This package is not intended to be used outside the Tracktor project.
|
|
6
5
|
|
|
7
6
|
- [Installation](#Installation)
|
|
@@ -23,11 +22,11 @@ import { AxiosConfig } from "@tracktor/shared-module";
|
|
|
23
22
|
## Inject dependencies with provider
|
|
24
23
|
|
|
25
24
|
```typescript jsx
|
|
26
|
-
import {
|
|
25
|
+
import { InitializeAxiosConfig, InjectDependenciesProvider } from "@tracktor/shared-module";
|
|
27
26
|
|
|
28
27
|
const App = () => (
|
|
29
28
|
<InjectDependenciesProvider apiURL={import.meta.env.VITE_API_URL}>
|
|
30
|
-
<
|
|
29
|
+
<InitializeAxiosConfig />
|
|
31
30
|
...
|
|
32
31
|
</InjectDependenciesProvider>
|
|
33
32
|
);
|
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* This component send page view to Google Tag Manager
|
|
3
3
|
* @constructor
|
|
4
4
|
*/
|
|
5
|
-
declare const GTMSendPageView: () => import("react/jsx-runtime").JSX.Element
|
|
5
|
+
declare const GTMSendPageView: () => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export default GTMSendPageView;
|