@connectedxm/client 0.0.58 → 0.0.61
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.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +7203 -10429
- package/dist/index.mjs +6645 -8236
- package/package.json +3 -6
package/dist/index.d.mts
CHANGED
|
@@ -1151,6 +1151,7 @@ interface SubscriptionProductPrice extends BaseSubscriptionProductPrice {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
interface ConnectedXMClientContextState {
|
|
1154
|
+
queryClient: QueryClient;
|
|
1154
1155
|
organizationId: string;
|
|
1155
1156
|
apiUrl: "https://client-api.connectedxm.com" | "https://staging-client-api.connectedxm.com" | "http://localhost:4001";
|
|
1156
1157
|
token: string | undefined;
|
|
@@ -1165,9 +1166,9 @@ interface ConnectedXMClientContextState {
|
|
|
1165
1166
|
interface ConnectedXMProviderProps extends Omit<ConnectedXMClientContextState, "token" | "setToken" | "executeAs" | "setExecuteAs"> {
|
|
1166
1167
|
children: React.ReactNode;
|
|
1167
1168
|
}
|
|
1168
|
-
declare const ConnectedXMProvider: ({ children, ...state }: ConnectedXMProviderProps) => React.JSX.Element;
|
|
1169
|
+
declare const ConnectedXMProvider: ({ queryClient, children, ...state }: ConnectedXMProviderProps) => React.JSX.Element;
|
|
1169
1170
|
|
|
1170
|
-
declare const useConnectedXM: () => ConnectedXMClientContextState
|
|
1171
|
+
declare const useConnectedXM: () => Omit<ConnectedXMClientContextState, "queryClient">;
|
|
1171
1172
|
|
|
1172
1173
|
declare const getClientAPI: (apiUrl: "https://client-api.connectedxm.com" | "https://staging-client-api.connectedxm.com" | "http://localhost:4001", organizationId: string, token?: string, executeAs?: string, locale?: string) => AxiosInstance;
|
|
1173
1174
|
declare const useClientAPI: (locale?: string) => AxiosInstance;
|
package/dist/index.d.ts
CHANGED
|
@@ -1151,6 +1151,7 @@ interface SubscriptionProductPrice extends BaseSubscriptionProductPrice {
|
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
1153
|
interface ConnectedXMClientContextState {
|
|
1154
|
+
queryClient: QueryClient;
|
|
1154
1155
|
organizationId: string;
|
|
1155
1156
|
apiUrl: "https://client-api.connectedxm.com" | "https://staging-client-api.connectedxm.com" | "http://localhost:4001";
|
|
1156
1157
|
token: string | undefined;
|
|
@@ -1165,9 +1166,9 @@ interface ConnectedXMClientContextState {
|
|
|
1165
1166
|
interface ConnectedXMProviderProps extends Omit<ConnectedXMClientContextState, "token" | "setToken" | "executeAs" | "setExecuteAs"> {
|
|
1166
1167
|
children: React.ReactNode;
|
|
1167
1168
|
}
|
|
1168
|
-
declare const ConnectedXMProvider: ({ children, ...state }: ConnectedXMProviderProps) => React.JSX.Element;
|
|
1169
|
+
declare const ConnectedXMProvider: ({ queryClient, children, ...state }: ConnectedXMProviderProps) => React.JSX.Element;
|
|
1169
1170
|
|
|
1170
|
-
declare const useConnectedXM: () => ConnectedXMClientContextState
|
|
1171
|
+
declare const useConnectedXM: () => Omit<ConnectedXMClientContextState, "queryClient">;
|
|
1171
1172
|
|
|
1172
1173
|
declare const getClientAPI: (apiUrl: "https://client-api.connectedxm.com" | "https://staging-client-api.connectedxm.com" | "http://localhost:4001", organizationId: string, token?: string, executeAs?: string, locale?: string) => AxiosInstance;
|
|
1173
1174
|
declare const useClientAPI: (locale?: string) => AxiosInstance;
|