@nocios/crudify-ui 1.2.4 → 1.2.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.
|
@@ -1000,7 +1000,7 @@ var CrudifyDataProvider = ({
|
|
|
1000
1000
|
const [tokenExpiration, setTokenExpiration] = useState(null);
|
|
1001
1001
|
const initializeConfiguration = useCallback(() => {
|
|
1002
1002
|
try {
|
|
1003
|
-
console.log("\u{1F30D} CrudifyDataProvider - Initializing configuration");
|
|
1003
|
+
console.log("\u{1F30D} CrudifyDataProvider - VERSION 1.2.4+ - Initializing configuration");
|
|
1004
1004
|
const propsConfig = {
|
|
1005
1005
|
env,
|
|
1006
1006
|
publicApiKey,
|
package/dist/index.js
CHANGED
|
@@ -1084,7 +1084,7 @@ var init_CrudifyDataProvider = __esm({
|
|
|
1084
1084
|
const [tokenExpiration, setTokenExpiration] = (0, import_react5.useState)(null);
|
|
1085
1085
|
const initializeConfiguration = (0, import_react5.useCallback)(() => {
|
|
1086
1086
|
try {
|
|
1087
|
-
console.log("\u{1F30D} CrudifyDataProvider - Initializing configuration");
|
|
1087
|
+
console.log("\u{1F30D} CrudifyDataProvider - VERSION 1.2.4+ - Initializing configuration");
|
|
1088
1088
|
const propsConfig = {
|
|
1089
1089
|
env,
|
|
1090
1090
|
publicApiKey,
|
package/dist/index.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
secureSessionStorage,
|
|
11
11
|
tokenManager,
|
|
12
12
|
useCrudifyDataContext
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GPZAW2UF.mjs";
|
|
14
14
|
|
|
15
15
|
// src/index.ts
|
|
16
16
|
import { default as default2 } from "@nocios/crudify-browser";
|
|
@@ -2370,7 +2370,7 @@ var useCrudifyInstance = () => {
|
|
|
2370
2370
|
}
|
|
2371
2371
|
try {
|
|
2372
2372
|
console.log("\u{1F504} useCrudifyInstance - waitForReady: Using CrudifyInitializer.waitForInitialization()");
|
|
2373
|
-
const { crudifyInitializer: crudifyInitializer2 } = await import("./CrudifyDataProvider-
|
|
2373
|
+
const { crudifyInitializer: crudifyInitializer2 } = await import("./CrudifyDataProvider-B5OQT63Q.mjs");
|
|
2374
2374
|
await crudifyInitializer2.waitForInitialization();
|
|
2375
2375
|
console.log("\u2705 useCrudifyInstance - waitForReady: CrudifyInitializer completed");
|
|
2376
2376
|
if (!crudifyInitializer2.isReady()) {
|
|
@@ -2512,7 +2512,7 @@ var useCrudifyInstance = () => {
|
|
|
2512
2512
|
};
|
|
2513
2513
|
var getCrudifyInstanceAsync = async () => {
|
|
2514
2514
|
console.log("\u{1F504} getCrudifyInstanceAsync - Starting");
|
|
2515
|
-
const { crudifyInitializer: crudifyInitializer2 } = await import("./CrudifyDataProvider-
|
|
2515
|
+
const { crudifyInitializer: crudifyInitializer2 } = await import("./CrudifyDataProvider-B5OQT63Q.mjs");
|
|
2516
2516
|
console.log("\u{1F504} getCrudifyInstanceAsync - Checking if ready");
|
|
2517
2517
|
console.log(" - crudifyInitializer.isReady():", crudifyInitializer2.isReady());
|
|
2518
2518
|
console.log(" - crudifyInitializer.getStatus():", crudifyInitializer2.getStatus());
|
|
@@ -2531,7 +2531,7 @@ var getCrudifyInstanceAsync = async () => {
|
|
|
2531
2531
|
return crudify5;
|
|
2532
2532
|
};
|
|
2533
2533
|
var getCrudifyInstanceSync = async () => {
|
|
2534
|
-
const { crudifyInitializer: crudifyInitializer2 } = await import("./CrudifyDataProvider-
|
|
2534
|
+
const { crudifyInitializer: crudifyInitializer2 } = await import("./CrudifyDataProvider-B5OQT63Q.mjs");
|
|
2535
2535
|
if (!crudifyInitializer2.isReady()) {
|
|
2536
2536
|
throw new Error("Crudify not ready. Use getCrudifyInstanceAsync() or call this from within a React component using useCrudifyInstance()");
|
|
2537
2537
|
}
|