@geowiki/map 0.15.1-dev.0 → 0.16.0-dev.1

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.mjs CHANGED
@@ -3630,7 +3630,7 @@ var BiodiversityObservationPopup = ({
3630
3630
 
3631
3631
  // src/Components/Ifbn/IfbnSitePopup.tsx
3632
3632
  import { useState as useState5 } from "react";
3633
- import { useSession } from "next-auth/react";
3633
+ import { useSession } from "@geowiki/core";
3634
3634
  import {
3635
3635
  Body14,
3636
3636
  Body18m,
@@ -13595,7 +13595,7 @@ import { useEffect as useEffect25 } from "react";
13595
13595
  // src/Components/Controls/GeoTreesDownloadContent.tsx
13596
13596
  import { useEffect as useEffect23, useState as useState26 } from "react";
13597
13597
  import { useForm as useForm2 } from "react-hook-form";
13598
- import { signIn, useSession as useSession2 } from "next-auth/react";
13598
+ import { signIn, useSession as useSession2 } from "@geowiki/core";
13599
13599
  import { trackDownloadEvent } from "@geowiki/core";
13600
13600
  import { jsx as jsx63, jsxs as jsxs43 } from "react/jsx-runtime";
13601
13601
  var GeoTreesDownloadContent = () => {
@@ -13748,7 +13748,7 @@ var GeoTreesDownloadContent = () => {
13748
13748
  {
13749
13749
  onClick: () => {
13750
13750
  trackDownloadEvent.loginAttempt(session || void 0);
13751
- signIn("openiddict");
13751
+ signIn();
13752
13752
  },
13753
13753
  className: "w-full py-2 px-4 bg-blue-500 text-white rounded-md hover:bg-blue-600 transition-colors",
13754
13754
  children: "Login"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geowiki/map",
3
- "version": "0.15.1-dev.0",
3
+ "version": "0.16.0-dev.1",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -18,17 +18,16 @@
18
18
  "leaflet": "^1.9.4",
19
19
  "leaflet-draw": "^1.0.4",
20
20
  "next": "15.5.3",
21
- "next-auth": "^4.24.6",
22
21
  "react": "^18.2.0",
23
22
  "react-dom": "^18.2.0",
24
23
  "react-hook-form": "^7.53.0",
25
24
  "react-hotkeys-hook": "^4.5.0",
26
25
  "react-leaflet": "^4.2.1",
27
26
  "zod": "^3.23.8",
28
- "@geowiki/cms-proxy": "0.15.1-dev.0",
29
- "@geowiki/core": "0.15.1-dev.0",
30
- "@geowiki/evoland-api-proxy": "0.15.1-dev.0",
31
- "@geowiki/ui": "0.15.1-dev.0"
27
+ "@geowiki/cms-proxy": "0.16.0-dev.1",
28
+ "@geowiki/core": "0.16.0-dev.1",
29
+ "@geowiki/evoland-api-proxy": "0.16.0-dev.1",
30
+ "@geowiki/ui": "0.16.0-dev.1"
32
31
  },
33
32
  "dependencies": {
34
33
  "@dnd-kit/core": "^6.3.1",
@@ -77,7 +76,6 @@
77
76
  "@types/react-dom": "^18.2.7",
78
77
  "@types/uuid": "^10.0.0",
79
78
  "eslint": "^8.46.0",
80
- "next-auth": "4.24.6",
81
79
  "postcss": "^8.4.21",
82
80
  "tailwindcss": "^3.3.3",
83
81
  "@tailwindcss/typography": "^0.5.9",