@opexa/portal-sdk 0.0.154 → 0.0.156

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.
@@ -716,7 +716,7 @@ export interface RedeemPointsToCashMutationVariables {
716
716
  amount: Decimal;
717
717
  };
718
718
  }
719
- export type RedeemPointsToCashError = 'InsufficientPointsError';
719
+ export type RedeemPointsToCashError = 'InsufficientPointsError' | 'PointsNotDivisibleBy100Error';
720
720
  export interface RedeemPointsToCashMutation {
721
721
  redeemPointsToCash?: null | {
722
722
  __typename: RedeemPointsToCashError;
package/package.json CHANGED
@@ -1,81 +1,81 @@
1
- {
2
- "name": "@opexa/portal-sdk",
3
- "type": "module",
4
- "version": "0.0.154",
5
- "main": "dist/index.js",
6
- "module": "dist/index.mjs",
7
- "typings": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "require": "./dist/index.js",
11
- "import": "./dist/index.mjs",
12
- "types": "./dist/index.d.ts"
13
- },
14
- "./package.json": "./package.json"
15
- },
16
- "publishConfig": {
17
- "access": "public"
18
- },
19
- "files": [
20
- "dist"
21
- ],
22
- "scripts": {
23
- "dev": "vite",
24
- "build": "tsc --noEmit && vite build --mode library",
25
- "test": "vitest",
26
- "release": "release-it"
27
- },
28
- "dependencies": {
29
- "@opexa/object-id": "0.1.6"
30
- },
31
- "devDependencies": {
32
- "@ark-ui/react": "3.5.0",
33
- "@faker-js/faker": "8.4.1",
34
- "@fontsource/fira-code": "5.0.18",
35
- "@fontsource/inter": "5.0.19",
36
- "@hookform/resolvers": "3.9.0",
37
- "@types/node": "20.14.11",
38
- "@types/react": "18.3.3",
39
- "@types/react-dom": "18.3.0",
40
- "@untitled-theme/icons-react": "0.10.5",
41
- "@vitejs/plugin-react-swc": "3.7.0",
42
- "autoprefixer": "10.4.19",
43
- "clsx": "2.1.1",
44
- "date-fns": "3.6.0",
45
- "graphql-config": "5.0.3",
46
- "msw": "2.3.2",
47
- "postcss": "8.4.39",
48
- "react": "18.3.1",
49
- "react-dom": "18.3.1",
50
- "react-hook-form": "7.52.1",
51
- "react-router-dom": "6.25.1",
52
- "release-it": "17.6.0",
53
- "shiki": "1.11.0",
54
- "tailwind-variants": "0.2.1",
55
- "tailwindcss": "3.4.6",
56
- "typescript": "5.5.4",
57
- "vite": "5.3.4",
58
- "vite-plugin-dts": "3.9.1",
59
- "vite-plugin-node-polyfills": "0.22.0",
60
- "vite-tsconfig-paths": "4.3.2",
61
- "vitest": "2.0.4",
62
- "zod": "3.23.8"
63
- },
64
- "release-it": {
65
- "git": {
66
- "commitMessage": "chore: release ${npm.name} v${version}",
67
- "tagName": "${npm.name}@${version}"
68
- },
69
- "github": {
70
- "release": false
71
- },
72
- "hooks": {
73
- "before:init": [
74
- "pnpm test"
75
- ],
76
- "after:bump": [
77
- "pnpm build"
78
- ]
79
- }
80
- }
81
- }
1
+ {
2
+ "name": "@opexa/portal-sdk",
3
+ "type": "module",
4
+ "version": "0.0.156",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.mjs",
7
+ "typings": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./dist/index.js",
11
+ "import": "./dist/index.mjs",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "dev": "vite",
24
+ "build": "tsc --noEmit && vite build --mode library",
25
+ "test": "vitest",
26
+ "release": "release-it"
27
+ },
28
+ "dependencies": {
29
+ "@opexa/object-id": "0.1.6"
30
+ },
31
+ "devDependencies": {
32
+ "@ark-ui/react": "3.5.0",
33
+ "@faker-js/faker": "8.4.1",
34
+ "@fontsource/fira-code": "5.0.18",
35
+ "@fontsource/inter": "5.0.19",
36
+ "@hookform/resolvers": "3.9.0",
37
+ "@types/node": "20.14.11",
38
+ "@types/react": "18.3.3",
39
+ "@types/react-dom": "18.3.0",
40
+ "@untitled-theme/icons-react": "0.10.5",
41
+ "@vitejs/plugin-react-swc": "3.7.0",
42
+ "autoprefixer": "10.4.19",
43
+ "clsx": "2.1.1",
44
+ "date-fns": "3.6.0",
45
+ "graphql-config": "5.0.3",
46
+ "msw": "2.3.2",
47
+ "postcss": "8.4.39",
48
+ "react": "18.3.1",
49
+ "react-dom": "18.3.1",
50
+ "react-hook-form": "7.52.1",
51
+ "react-router-dom": "6.25.1",
52
+ "release-it": "17.6.0",
53
+ "shiki": "1.11.0",
54
+ "tailwind-variants": "0.2.1",
55
+ "tailwindcss": "3.4.6",
56
+ "typescript": "5.5.4",
57
+ "vite": "5.3.4",
58
+ "vite-plugin-dts": "3.9.1",
59
+ "vite-plugin-node-polyfills": "0.22.0",
60
+ "vite-tsconfig-paths": "4.3.2",
61
+ "vitest": "2.0.4",
62
+ "zod": "3.23.8"
63
+ },
64
+ "release-it": {
65
+ "git": {
66
+ "commitMessage": "chore: release ${npm.name} v${version}",
67
+ "tagName": "${npm.name}@${version}"
68
+ },
69
+ "github": {
70
+ "release": false
71
+ },
72
+ "hooks": {
73
+ "before:init": [
74
+ "pnpm test"
75
+ ],
76
+ "after:bump": [
77
+ "pnpm build"
78
+ ]
79
+ }
80
+ }
81
+ }