@priceos/react 0.0.4 → 0.0.6
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/index.cjs +15 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +14 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -30,18 +30,22 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
// src/index.ts
|
|
31
31
|
var index_exports = {};
|
|
32
32
|
__export(index_exports, {
|
|
33
|
+
PriceOSProvider: () => PriceOSProvider,
|
|
33
34
|
useCustomer: () => useCustomer
|
|
34
35
|
});
|
|
35
36
|
module.exports = __toCommonJS(index_exports);
|
|
37
|
+
var import_react = require("react");
|
|
36
38
|
var import_swr = __toESM(require("swr"), 1);
|
|
37
39
|
var DEFAULT_BASE_URL = "/api/priceos";
|
|
40
|
+
var PriceOSContext = (0, import_react.createContext)({});
|
|
38
41
|
var normalizeBaseUrl = (baseUrl) => baseUrl.replace(/\/$/, "");
|
|
39
42
|
var buildUrl = (baseUrl) => {
|
|
40
43
|
const normalizedBase = normalizeBaseUrl(baseUrl);
|
|
41
44
|
return `${normalizedBase}/v1/customer`;
|
|
42
45
|
};
|
|
43
|
-
var requestCustomer = async (fetchFn, url) => {
|
|
44
|
-
const
|
|
46
|
+
var requestCustomer = async (fetchFn, url, bearerToken) => {
|
|
47
|
+
const headers = bearerToken ? { Authorization: `Bearer ${bearerToken}` } : void 0;
|
|
48
|
+
const response = await fetchFn(url, headers ? { headers } : void 0);
|
|
45
49
|
const text = await response.text();
|
|
46
50
|
const data = text ? JSON.parse(text) : null;
|
|
47
51
|
if (!response.ok) {
|
|
@@ -50,8 +54,15 @@ var requestCustomer = async (fetchFn, url) => {
|
|
|
50
54
|
}
|
|
51
55
|
return data;
|
|
52
56
|
};
|
|
57
|
+
function PriceOSProvider({ children, getBearerToken }) {
|
|
58
|
+
return (0, import_react.createElement)(PriceOSContext.Provider, { value: { getBearerToken } }, children);
|
|
59
|
+
}
|
|
53
60
|
function useCustomer(options = {}) {
|
|
54
|
-
const
|
|
61
|
+
const { getBearerToken } = (0, import_react.useContext)(PriceOSContext);
|
|
62
|
+
const fetcher = async (url) => {
|
|
63
|
+
const bearerToken = getBearerToken ? await getBearerToken() : void 0;
|
|
64
|
+
return requestCustomer(fetch, url, bearerToken);
|
|
65
|
+
};
|
|
55
66
|
const { data, error, isLoading, mutate } = (0, import_swr.default)(
|
|
56
67
|
buildUrl(DEFAULT_BASE_URL),
|
|
57
68
|
fetcher,
|
|
@@ -68,6 +79,7 @@ function useCustomer(options = {}) {
|
|
|
68
79
|
}
|
|
69
80
|
// Annotate the CommonJS export names for ESM import in node:
|
|
70
81
|
0 && (module.exports = {
|
|
82
|
+
PriceOSProvider,
|
|
71
83
|
useCustomer
|
|
72
84
|
});
|
|
73
85
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import useSWR, { type SWRConfiguration } from \"swr\";\nimport type { GetCustomerResponse } from \"priceos\";\n\nexport type UseCustomerOptions = {\n swr?: SWRConfiguration<GetCustomerResponse | null, Error>;\n};\n\nexport type UseCustomerResult = {\n customer: GetCustomerResponse | null;\n error: Error | null;\n loading: boolean;\n refetch: () => Promise<void>;\n};\n\nconst DEFAULT_BASE_URL = \"/api/priceos\";\n\nconst normalizeBaseUrl = (baseUrl: string) => baseUrl.replace(/\\/$/, \"\");\n\nconst buildUrl = (baseUrl: string) => {\n const normalizedBase = normalizeBaseUrl(baseUrl);\n return `${normalizedBase}/v1/customer`;\n};\n\nconst requestCustomer = async (\n fetchFn: typeof fetch,\n url: string\n): Promise<GetCustomerResponse | null> => {\n const response = await fetchFn(url);\n const text = await response.text();\n const data = text ? (JSON.parse(text) as unknown) : null;\n if (!response.ok) {\n const message =\n data && typeof data === \"object\" && \"error\" in data\n ? String((data as { error?: unknown }).error)\n : response.statusText;\n throw new Error(message || \"Request failed\");\n }\n return data as GetCustomerResponse | null;\n};\n\nexport function useCustomer(options: UseCustomerOptions = {}): UseCustomerResult {\n const fetcher = (url: string) => requestCustomer(fetch, url);\n const { data, error, isLoading, mutate } = useSWR(\n buildUrl(DEFAULT_BASE_URL),\n fetcher,\n options.swr\n );\n\n return {\n customer: data ?? null,\n error,\n loading: isLoading,\n refetch: async () => {\n await mutate();\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAA8C;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { createContext, createElement, useContext, type ReactNode } from \"react\";\nimport useSWR, { type SWRConfiguration } from \"swr\";\nimport type { GetCustomerResponse } from \"priceos\";\n\nexport type UseCustomerOptions = {\n swr?: SWRConfiguration<GetCustomerResponse | null, Error>;\n};\n\nexport type PriceOSProviderProps = {\n children: ReactNode;\n getBearerToken?: () => Promise<string | null | undefined>;\n};\n\nexport type UseCustomerResult = {\n customer: GetCustomerResponse | null;\n error: Error | null;\n loading: boolean;\n refetch: () => Promise<void>;\n};\n\nconst DEFAULT_BASE_URL = \"/api/priceos\";\n\ntype PriceOSContextValue = {\n getBearerToken?: () => Promise<string | null | undefined>;\n};\n\nconst PriceOSContext = createContext<PriceOSContextValue>({});\n\nconst normalizeBaseUrl = (baseUrl: string) => baseUrl.replace(/\\/$/, \"\");\n\nconst buildUrl = (baseUrl: string) => {\n const normalizedBase = normalizeBaseUrl(baseUrl);\n return `${normalizedBase}/v1/customer`;\n};\n\nconst requestCustomer = async (\n fetchFn: typeof fetch,\n url: string,\n bearerToken?: string | null\n): Promise<GetCustomerResponse | null> => {\n const headers = bearerToken ? { Authorization: `Bearer ${bearerToken}` } : undefined;\n const response = await fetchFn(url, headers ? { headers } : undefined);\n const text = await response.text();\n const data = text ? (JSON.parse(text) as unknown) : null;\n if (!response.ok) {\n const message =\n data && typeof data === \"object\" && \"error\" in data\n ? String((data as { error?: unknown }).error)\n : response.statusText;\n throw new Error(message || \"Request failed\");\n }\n return data as GetCustomerResponse | null;\n};\n\nexport function PriceOSProvider({ children, getBearerToken }: PriceOSProviderProps) {\n return createElement(PriceOSContext.Provider, { value: { getBearerToken } }, children);\n}\n\nexport function useCustomer(options: UseCustomerOptions = {}): UseCustomerResult {\n const { getBearerToken } = useContext(PriceOSContext);\n const fetcher = async (url: string) => {\n const bearerToken = getBearerToken ? await getBearerToken() : undefined;\n return requestCustomer(fetch, url, bearerToken);\n };\n const { data, error, isLoading, mutate } = useSWR(\n buildUrl(DEFAULT_BASE_URL),\n fetcher,\n options.swr\n );\n\n return {\n customer: data ?? null,\n error,\n loading: isLoading,\n refetch: async () => {\n await mutate();\n },\n };\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAyE;AACzE,iBAA8C;AAmB9C,IAAM,mBAAmB;AAMzB,IAAM,qBAAiB,4BAAmC,CAAC,CAAC;AAE5D,IAAM,mBAAmB,CAAC,YAAoB,QAAQ,QAAQ,OAAO,EAAE;AAEvE,IAAM,WAAW,CAAC,YAAoB;AACpC,QAAM,iBAAiB,iBAAiB,OAAO;AAC/C,SAAO,GAAG,cAAc;AAC1B;AAEA,IAAM,kBAAkB,OACtB,SACA,KACA,gBACwC;AACxC,QAAM,UAAU,cAAc,EAAE,eAAe,UAAU,WAAW,GAAG,IAAI;AAC3E,QAAM,WAAW,MAAM,QAAQ,KAAK,UAAU,EAAE,QAAQ,IAAI,MAAS;AACrE,QAAM,OAAO,MAAM,SAAS,KAAK;AACjC,QAAM,OAAO,OAAQ,KAAK,MAAM,IAAI,IAAgB;AACpD,MAAI,CAAC,SAAS,IAAI;AAChB,UAAM,UACJ,QAAQ,OAAO,SAAS,YAAY,WAAW,OAC3C,OAAQ,KAA6B,KAAK,IAC1C,SAAS;AACf,UAAM,IAAI,MAAM,WAAW,gBAAgB;AAAA,EAC7C;AACA,SAAO;AACT;AAEO,SAAS,gBAAgB,EAAE,UAAU,eAAe,GAAyB;AAClF,aAAO,4BAAc,eAAe,UAAU,EAAE,OAAO,EAAE,eAAe,EAAE,GAAG,QAAQ;AACvF;AAEO,SAAS,YAAY,UAA8B,CAAC,GAAsB;AAC/E,QAAM,EAAE,eAAe,QAAI,yBAAW,cAAc;AACpD,QAAM,UAAU,OAAO,QAAgB;AACrC,UAAM,cAAc,iBAAiB,MAAM,eAAe,IAAI;AAC9D,WAAO,gBAAgB,OAAO,KAAK,WAAW;AAAA,EAChD;AACA,QAAM,EAAE,MAAM,OAAO,WAAW,OAAO,QAAI,WAAAA;AAAA,IACzC,SAAS,gBAAgB;AAAA,IACzB;AAAA,IACA,QAAQ;AAAA,EACV;AAEA,SAAO;AAAA,IACL,UAAU,QAAQ;AAAA,IAClB;AAAA,IACA,SAAS;AAAA,IACT,SAAS,YAAY;AACnB,YAAM,OAAO;AAAA,IACf;AAAA,EACF;AACF;","names":["useSWR"]}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
1
3
|
import { SWRConfiguration } from 'swr';
|
|
2
4
|
import { GetCustomerResponse } from 'priceos';
|
|
3
5
|
|
|
4
6
|
type UseCustomerOptions = {
|
|
5
7
|
swr?: SWRConfiguration<GetCustomerResponse | null, Error>;
|
|
6
8
|
};
|
|
9
|
+
type PriceOSProviderProps = {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
getBearerToken?: () => Promise<string | null | undefined>;
|
|
12
|
+
};
|
|
7
13
|
type UseCustomerResult = {
|
|
8
14
|
customer: GetCustomerResponse | null;
|
|
9
15
|
error: Error | null;
|
|
10
16
|
loading: boolean;
|
|
11
17
|
refetch: () => Promise<void>;
|
|
12
18
|
};
|
|
19
|
+
type PriceOSContextValue = {
|
|
20
|
+
getBearerToken?: () => Promise<string | null | undefined>;
|
|
21
|
+
};
|
|
22
|
+
declare function PriceOSProvider({ children, getBearerToken }: PriceOSProviderProps): react.FunctionComponentElement<react.ProviderProps<PriceOSContextValue>>;
|
|
13
23
|
declare function useCustomer(options?: UseCustomerOptions): UseCustomerResult;
|
|
14
24
|
|
|
15
|
-
export { type UseCustomerOptions, type UseCustomerResult, useCustomer };
|
|
25
|
+
export { PriceOSProvider, type PriceOSProviderProps, type UseCustomerOptions, type UseCustomerResult, useCustomer };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
1
3
|
import { SWRConfiguration } from 'swr';
|
|
2
4
|
import { GetCustomerResponse } from 'priceos';
|
|
3
5
|
|
|
4
6
|
type UseCustomerOptions = {
|
|
5
7
|
swr?: SWRConfiguration<GetCustomerResponse | null, Error>;
|
|
6
8
|
};
|
|
9
|
+
type PriceOSProviderProps = {
|
|
10
|
+
children: ReactNode;
|
|
11
|
+
getBearerToken?: () => Promise<string | null | undefined>;
|
|
12
|
+
};
|
|
7
13
|
type UseCustomerResult = {
|
|
8
14
|
customer: GetCustomerResponse | null;
|
|
9
15
|
error: Error | null;
|
|
10
16
|
loading: boolean;
|
|
11
17
|
refetch: () => Promise<void>;
|
|
12
18
|
};
|
|
19
|
+
type PriceOSContextValue = {
|
|
20
|
+
getBearerToken?: () => Promise<string | null | undefined>;
|
|
21
|
+
};
|
|
22
|
+
declare function PriceOSProvider({ children, getBearerToken }: PriceOSProviderProps): react.FunctionComponentElement<react.ProviderProps<PriceOSContextValue>>;
|
|
13
23
|
declare function useCustomer(options?: UseCustomerOptions): UseCustomerResult;
|
|
14
24
|
|
|
15
|
-
export { type UseCustomerOptions, type UseCustomerResult, useCustomer };
|
|
25
|
+
export { PriceOSProvider, type PriceOSProviderProps, type UseCustomerOptions, type UseCustomerResult, useCustomer };
|
package/dist/index.js
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
+
import { createContext, createElement, useContext } from "react";
|
|
2
3
|
import useSWR from "swr";
|
|
3
4
|
var DEFAULT_BASE_URL = "/api/priceos";
|
|
5
|
+
var PriceOSContext = createContext({});
|
|
4
6
|
var normalizeBaseUrl = (baseUrl) => baseUrl.replace(/\/$/, "");
|
|
5
7
|
var buildUrl = (baseUrl) => {
|
|
6
8
|
const normalizedBase = normalizeBaseUrl(baseUrl);
|
|
7
9
|
return `${normalizedBase}/v1/customer`;
|
|
8
10
|
};
|
|
9
|
-
var requestCustomer = async (fetchFn, url) => {
|
|
10
|
-
const
|
|
11
|
+
var requestCustomer = async (fetchFn, url, bearerToken) => {
|
|
12
|
+
const headers = bearerToken ? { Authorization: `Bearer ${bearerToken}` } : void 0;
|
|
13
|
+
const response = await fetchFn(url, headers ? { headers } : void 0);
|
|
11
14
|
const text = await response.text();
|
|
12
15
|
const data = text ? JSON.parse(text) : null;
|
|
13
16
|
if (!response.ok) {
|
|
@@ -16,8 +19,15 @@ var requestCustomer = async (fetchFn, url) => {
|
|
|
16
19
|
}
|
|
17
20
|
return data;
|
|
18
21
|
};
|
|
22
|
+
function PriceOSProvider({ children, getBearerToken }) {
|
|
23
|
+
return createElement(PriceOSContext.Provider, { value: { getBearerToken } }, children);
|
|
24
|
+
}
|
|
19
25
|
function useCustomer(options = {}) {
|
|
20
|
-
const
|
|
26
|
+
const { getBearerToken } = useContext(PriceOSContext);
|
|
27
|
+
const fetcher = async (url) => {
|
|
28
|
+
const bearerToken = getBearerToken ? await getBearerToken() : void 0;
|
|
29
|
+
return requestCustomer(fetch, url, bearerToken);
|
|
30
|
+
};
|
|
21
31
|
const { data, error, isLoading, mutate } = useSWR(
|
|
22
32
|
buildUrl(DEFAULT_BASE_URL),
|
|
23
33
|
fetcher,
|
|
@@ -33,6 +43,7 @@ function useCustomer(options = {}) {
|
|
|
33
43
|
};
|
|
34
44
|
}
|
|
35
45
|
export {
|
|
46
|
+
PriceOSProvider,
|
|
36
47
|
useCustomer
|
|
37
48
|
};
|
|
38
49
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import useSWR, { type SWRConfiguration } from \"swr\";\nimport type { GetCustomerResponse } from \"priceos\";\n\nexport type UseCustomerOptions = {\n swr?: SWRConfiguration<GetCustomerResponse | null, Error>;\n};\n\nexport type UseCustomerResult = {\n customer: GetCustomerResponse | null;\n error: Error | null;\n loading: boolean;\n refetch: () => Promise<void>;\n};\n\nconst DEFAULT_BASE_URL = \"/api/priceos\";\n\nconst normalizeBaseUrl = (baseUrl: string) => baseUrl.replace(/\\/$/, \"\");\n\nconst buildUrl = (baseUrl: string) => {\n const normalizedBase = normalizeBaseUrl(baseUrl);\n return `${normalizedBase}/v1/customer`;\n};\n\nconst requestCustomer = async (\n fetchFn: typeof fetch,\n url: string\n): Promise<GetCustomerResponse | null> => {\n const response = await fetchFn(url);\n const text = await response.text();\n const data = text ? (JSON.parse(text) as unknown) : null;\n if (!response.ok) {\n const message =\n data && typeof data === \"object\" && \"error\" in data\n ? String((data as { error?: unknown }).error)\n : response.statusText;\n throw new Error(message || \"Request failed\");\n }\n return data as GetCustomerResponse | null;\n};\n\nexport function useCustomer(options: UseCustomerOptions = {}): UseCustomerResult {\n const fetcher = (url: string) => requestCustomer(fetch, url);\n const { data, error, isLoading, mutate } = useSWR(\n buildUrl(DEFAULT_BASE_URL),\n fetcher,\n options.swr\n );\n\n return {\n customer: data ?? null,\n error,\n loading: isLoading,\n refetch: async () => {\n await mutate();\n },\n };\n}\n"],"mappings":";AAAA,OAAO,YAAuC;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["import { createContext, createElement, useContext, type ReactNode } from \"react\";\nimport useSWR, { type SWRConfiguration } from \"swr\";\nimport type { GetCustomerResponse } from \"priceos\";\n\nexport type UseCustomerOptions = {\n swr?: SWRConfiguration<GetCustomerResponse | null, Error>;\n};\n\nexport type PriceOSProviderProps = {\n children: ReactNode;\n getBearerToken?: () => Promise<string | null | undefined>;\n};\n\nexport type UseCustomerResult = {\n customer: GetCustomerResponse | null;\n error: Error | null;\n loading: boolean;\n refetch: () => Promise<void>;\n};\n\nconst DEFAULT_BASE_URL = \"/api/priceos\";\n\ntype PriceOSContextValue = {\n getBearerToken?: () => Promise<string | null | undefined>;\n};\n\nconst PriceOSContext = createContext<PriceOSContextValue>({});\n\nconst normalizeBaseUrl = (baseUrl: string) => baseUrl.replace(/\\/$/, \"\");\n\nconst buildUrl = (baseUrl: string) => {\n const normalizedBase = normalizeBaseUrl(baseUrl);\n return `${normalizedBase}/v1/customer`;\n};\n\nconst requestCustomer = async (\n fetchFn: typeof fetch,\n url: string,\n bearerToken?: string | null\n): Promise<GetCustomerResponse | null> => {\n const headers = bearerToken ? { Authorization: `Bearer ${bearerToken}` } : undefined;\n const response = await fetchFn(url, headers ? { headers } : undefined);\n const text = await response.text();\n const data = text ? (JSON.parse(text) as unknown) : null;\n if (!response.ok) {\n const message =\n data && typeof data === \"object\" && \"error\" in data\n ? String((data as { error?: unknown }).error)\n : response.statusText;\n throw new Error(message || \"Request failed\");\n }\n return data as GetCustomerResponse | null;\n};\n\nexport function PriceOSProvider({ children, getBearerToken }: PriceOSProviderProps) {\n return createElement(PriceOSContext.Provider, { value: { getBearerToken } }, children);\n}\n\nexport function useCustomer(options: UseCustomerOptions = {}): UseCustomerResult {\n const { getBearerToken } = useContext(PriceOSContext);\n const fetcher = async (url: string) => {\n const bearerToken = getBearerToken ? await getBearerToken() : undefined;\n return requestCustomer(fetch, url, bearerToken);\n };\n const { data, error, isLoading, mutate } = useSWR(\n buildUrl(DEFAULT_BASE_URL),\n fetcher,\n options.swr\n );\n\n return {\n customer: data ?? null,\n error,\n loading: isLoading,\n refet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