@phygitallabs/tapquest-core 6.7.7 → 6.7.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phygitallabs/tapquest-core",
3
- "version": "6.7.7",
3
+ "version": "6.7.8",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -37,7 +37,7 @@ export const ServicesProvider: React.FC<ServicesProviderProps> = ({
37
37
  const { signOut, refreshToken } = useAuth();
38
38
  const { environment, version } = apiConfig;
39
39
  const [commonServiceConfig, setCommonServiceConfig] = useState<ServiceConfig | null>(null);
40
-
40
+
41
41
  const [deviceUid, setDeviceUid] = useState<string>("");
42
42
 
43
43
  useEffect(() => {
@@ -142,13 +142,14 @@ export const ServicesProvider: React.FC<ServicesProviderProps> = ({
142
142
  baseURL={`${serviceApiUrl[environment].API_GENERATE_CERTIFICATE_URL}/v1`}
143
143
  >
144
144
  <PhygitalConsentProvider
145
+ {...commonServiceConfig}
145
146
  deviceId={deviceUid}
146
- queryClient={commonServiceConfig.queryClient as any}
147
- axiosConfig={commonServiceConfig.axiosConfig}
148
- requestInterceptors={commonServiceConfig.requestInterceptors}
149
- responseInterceptors={commonServiceConfig.responseInterceptors}
150
147
  baseURL={`${serviceApiUrl[environment].API_CONSENT_URL}/v1`}
151
-
148
+ axiosConfig={{
149
+ headers: {
150
+ "Content-Type": "application/json",
151
+ }
152
+ }}
152
153
  >
153
154
  {children}
154
155
  </PhygitalConsentProvider>