@deenruv/reviews-plugin 1.0.5 → 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.
@@ -1,5 +1,5 @@
1
1
  import { Ops } from './const.js';
2
- export declare const HOST = "http://localhost:3000/admin-api";
2
+ export declare const HOST = "http://localhost:6100/admin-api";
3
3
  export declare const HEADERS: {};
4
4
  export declare const apiSubscription: (options: chainOptions) => (query: string) => {
5
5
  ws: WebSocket;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import { AllTypesProps, ReturnTypes, Ops } from './const.js';
3
- export const HOST = "http://localhost:3000/admin-api";
3
+ export const HOST = "http://localhost:6100/admin-api";
4
4
  export const HEADERS = {};
5
5
  export const apiSubscription = (options) => (query) => {
6
6
  var _a, _b, _c;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Card, CardContent, CardHeader, priceFormatter, Routes, } from "@deenruv/react-ui-devkit";
3
- import { Link } from "react-router-dom";
3
+ import { Link } from "react-router";
4
4
  import { useTranslation } from "react-i18next";
5
5
  import { TRANSLATION_NAMESPACE } from "../constants";
6
6
  export const OrderInfo = ({ review }) => {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Card, CardContent, CardHeader, Routes, } from "@deenruv/react-ui-devkit";
3
- import { Link } from "react-router-dom";
3
+ import { Link } from "react-router";
4
4
  import { useTranslation } from "react-i18next";
5
5
  import { TRANSLATION_NAMESPACE } from "../constants";
6
6
  export const ProductInfo = ({ review }) => {
@@ -1,6 +1,6 @@
1
1
  import { CustomCard, useDetailView, useLazyQuery, } from "@deenruv/react-ui-devkit";
2
2
  import React, { useEffect } from "react";
3
- import { Link } from "react-router-dom";
3
+ import { Link } from "react-router";
4
4
  import { GetReviewInfoForProductQuery } from "../graphql";
5
5
  import { useTranslation } from "react-i18next";
6
6
  import { TRANSLATION_NAMESPACE } from "../constants";
@@ -1,9 +1,9 @@
1
1
  import { Card, CardContent, CardHeader, CardTitle, PageBlock, Textarea, useLazyQuery, useQuery, Label, Badge, Separator, formatDate, Button, useMutation, ImageWithPreview, Routes, } from "@deenruv/react-ui-devkit";
2
2
  import React, { useCallback, useEffect, useMemo, useState } from "react";
3
3
  import { ChangeReviewStateMutation, GetReviewQuery, GetReviewsConfigQuery, UpdateTranslationsReviewMutation, TranslateReviewsQuery, } from "../graphql";
4
- import { Link, useParams } from "react-router-dom";
4
+ import { Link, useParams } from "react-router";
5
5
  import { ArrowLeft, Calendar, Mail, Star, User } from "lucide-react";
6
- import { useNavigate } from "react-router-dom";
6
+ import { useNavigate } from "react-router";
7
7
  import { OrderInfo, ProductInfo } from "../components";
8
8
  import { TRANSLATION_NAMESPACE } from "../constants";
9
9
  import { useTranslation } from "react-i18next";
@@ -1,5 +1,5 @@
1
1
  import { Ops } from './const.js';
2
- export declare const HOST = "http://localhost:3000/admin-api";
2
+ export declare const HOST = "http://localhost:6100/admin-api";
3
3
  export declare const HEADERS: {};
4
4
  export declare const apiSubscription: (options: chainOptions) => (query: string) => {
5
5
  ws: WebSocket;
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable */
2
2
  import { AllTypesProps, ReturnTypes, Ops } from './const.js';
3
- export const HOST = "http://localhost:3000/admin-api";
3
+ export const HOST = "http://localhost:6100/admin-api";
4
4
  export const HEADERS = {};
5
5
  export const apiSubscription = (options) => (query) => {
6
6
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deenruv/reviews-plugin",
3
- "version": "1.0.5",
3
+ "version": "1.0.9",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -27,12 +27,12 @@
27
27
  "react": "^19.0.0",
28
28
  "react-dom": "^19.0.0",
29
29
  "react-i18next": "^14.0.5",
30
- "react-router-dom": "^6.22.1",
30
+ "react-router": "^7.13.0",
31
31
  "sonner": "^1.4.41",
32
32
  "recharts": "^2.12.7",
33
- "@deenruv/react-ui-devkit": "^1.0.5",
34
- "@deenruv/admin-types": "^1.0.5",
35
- "@deenruv/common": "^1.0.5"
33
+ "@deenruv/admin-types": "^1.0.9",
34
+ "@deenruv/common": "^1.0.9",
35
+ "@deenruv/react-ui-devkit": "^1.0.9"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@graphql-typed-document-node/core": "3.2.0",
@@ -44,7 +44,7 @@
44
44
  "rimraf": "^5.0.10",
45
45
  "tslib": "^2.6.2",
46
46
  "typescript": "5.3.3",
47
- "@deenruv/core": "^1.0.5"
47
+ "@deenruv/core": "^1.0.9"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "@deenruv/core": "^1.0.0"
@@ -55,7 +55,7 @@
55
55
  "watch:ui": "tsc --watch --project src/plugin-ui/tsconfig.json",
56
56
  "lint": "eslint ./src/**/*.ts",
57
57
  "lint:fix": "eslint --fix ./src/**/*.ts",
58
- "zeus": "zeus http://localhost:3000/admin-api ./src/plugin-server --es && zeus http://localhost:3000/admin-api ./src/plugin-ui --td --es",
58
+ "zeus": "zeus http://localhost:6100/admin-api ./src/plugin-server --es && zeus http://localhost:6100/admin-api ./src/plugin-ui --td --es",
59
59
  "codegen": "graphql-codegen --config codegen.ts"
60
60
  }
61
61
  }