@tracktor/shared-module 0.0.2 → 0.0.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,4 +1,4 @@
1
1
  # [Versions](https://github.com/Tracktor/react-google-tag-manager/releases)
2
2
 
3
- ## v0.0.2
4
- - **[style]** : type & code improvements
3
+ ## v0.0.3
4
+ - **[docs]** : readme.md
package/README.md CHANGED
@@ -13,19 +13,19 @@
13
13
  ## Installation
14
14
 
15
15
  ```console
16
- yarn add @tracktor-private/shared-module
16
+ yarn add @tracktor/shared-module
17
17
  ```
18
18
 
19
19
  ## Usage
20
20
 
21
21
  ```typescript jsx
22
- import { RequireAuth } from "@tracktor-private/shared-module";
22
+ import { RequireAuth } from "@tracktor/shared-module";
23
23
  ```
24
24
  Or you can import only the package do you
25
- need with `@tracktor-private/shared-module/{package}` like this:
25
+ need with `@tracktor/shared-module/{package}` like this:
26
26
 
27
27
  ```typescript jsx
28
- import { RequireAuth } from "@tracktor-private/shared-module/auth";
28
+ import { RequireAuth } from "@tracktor/shared-module/auth";
29
29
  ```
30
30
 
31
31
  ## Inject dependencies with provider
@@ -34,8 +34,8 @@ On this exemple below, dependencies are injected with the
34
34
  provider `InjectDependenciesProvider` for the component `RequireAuth`:
35
35
 
36
36
  ```typescript jsx
37
- import { RequireAuth } from "@tracktor-private/shared-module/auth"
38
- import { InjectDependenciesProvider } from "@tracktor-private/shared-module/context";
37
+ import { RequireAuth } from "@tracktor/shared-module/auth"
38
+ import { InjectDependenciesProvider } from "@tracktor/shared-module/context";
39
39
  import { Navigate, Outlet, Route, RouterProvider, useLocation } from "react-router-dom";
40
40
  import { t } from "i18next";
41
41
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tracktor/shared-module",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "types": "dist/main.d.ts",