@kubernetesjs/react 0.7.3 → 0.7.5

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/README.md CHANGED
@@ -272,7 +272,7 @@ Access the underlying KubernetesClient instance and configuration.
272
272
 
273
273
  ## Credits
274
274
 
275
- 🛠 Built by Hyperweb if you like our tools, please checkout and contribute to [our github ⚛️](https://github.com/hyperweb-io)
275
+ 🛠 Built by [Interweb](https://interweb.co) if you like our tools, please checkout and contribute [https://interweb.co](https://interweb.co)
276
276
 
277
277
  ## Disclaimer
278
278
 
package/context.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import React from 'react';
2
- import { KubernetesClient } from 'kubernetesjs';
3
1
  import { QueryClient } from '@tanstack/react-query';
2
+ import { KubernetesClient } from 'kubernetesjs';
3
+ import React from 'react';
4
4
  export interface KubernetesConfig {
5
5
  restEndpoint: string;
6
6
  headers?: Record<string, string>;
package/context.js CHANGED
@@ -36,9 +36,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.queryClient = void 0;
37
37
  exports.KubernetesProvider = KubernetesProvider;
38
38
  exports.useKubernetes = useKubernetes;
39
- const react_1 = __importStar(require("react"));
40
- const kubernetesjs_1 = require("kubernetesjs");
41
39
  const react_query_1 = require("@tanstack/react-query");
40
+ const kubernetesjs_1 = require("kubernetesjs");
41
+ const react_1 = __importStar(require("react"));
42
42
  // Create context
43
43
  const KubernetesContext = (0, react_1.createContext)(undefined);
44
44
  // Query client for TanStack Query
package/esm/context.js CHANGED
@@ -1,6 +1,6 @@
1
- import React, { createContext, useContext, useMemo, useState } from 'react';
2
- import { KubernetesClient } from 'kubernetesjs';
3
1
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
2
+ import { KubernetesClient } from 'kubernetesjs';
3
+ import React, { createContext, useContext, useMemo, useState } from 'react';
4
4
  // Create context
5
5
  const KubernetesContext = createContext(undefined);
6
6
  // Query client for TanStack Query