@medipass/utils 12.0.2-fix-type-issues.1 → 12.0.4

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/funders.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  //#region src/funders.d.ts
2
2
  declare const FUNDERS_WITH_ONBOARDING: readonly ["nab", "medicare", "easyclaim", "icare", "wcq", "comcare", "wsv", "nib", "qbe", "aged-care"];
3
3
  declare const CLAIMABLE_FUNDERS: readonly ["comcare", "dva", "eclipse", "healthpoint", "nab", "icare", "medicare", "easyclaim", "nib", "ohc", "qbe", "wcq", "wsv", "aged-care"];
4
- declare const getFunderCodeFromTransaction: (transaction: Record<string, any>, funderCode?: string) => "nab" | "medicare" | "comcare" | "dva" | "eclipse" | "hbf" | "healthpoint" | "icare" | "easyclaim" | "nib" | "ndis" | "ohc" | "patient-funded" | "qbe" | "wcq" | "wsv" | "aged-care";
4
+ declare const getFunderCodeFromTransaction: (transaction: Record<string, any>, funderCode?: string) => "comcare" | "dva" | "eclipse" | "hbf" | "healthpoint" | "nab" | "icare" | "medicare" | "easyclaim" | "nib" | "ndis" | "ohc" | "patient-funded" | "qbe" | "wcq" | "wsv" | "aged-care";
5
5
  declare const isComcare: (funderCode: string) => funderCode is "comcare";
6
6
  declare const isDVA: (funderCode: string) => funderCode is "dva";
7
7
  declare const isEclipse: (funderCode: string) => funderCode is "eclipse";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medipass/utils",
3
- "version": "12.0.2-fix-type-issues.1",
3
+ "version": "12.0.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -110,8 +110,8 @@
110
110
  },
111
111
  "author": "Jake Moxey",
112
112
  "peerDependencies": {
113
- "react": "18.2.0",
114
- "react-dom": "18.2.0"
113
+ "react": ">=18.2.0 <19",
114
+ "react-dom": ">=18.2.0 <19"
115
115
  },
116
116
  "dependencies": {
117
117
  "@sentry/browser": "5.12.0",
@@ -139,5 +139,5 @@
139
139
  "vite-tsconfig-paths": "6.1.1",
140
140
  "vitest": "4.1.5"
141
141
  },
142
- "gitHead": "e2a4ab4e313f7d4c107a644297eabe542eeb1738"
142
+ "gitHead": "181b32eb8a27c3f454aad5fda67a70f084d62853"
143
143
  }