dynim-react 1.0.44 → 1.0.45
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.
|
@@ -33,13 +33,6 @@ export declare function createSharedContext(config: DynimSDKConfig): DynimGlobal
|
|
|
33
33
|
* @param config - Partial configuration to merge into existing context
|
|
34
34
|
*/
|
|
35
35
|
export declare function updateSharedContext(config: Partial<DynimSDKConfig>): void;
|
|
36
|
-
/**
|
|
37
|
-
* Gets the current shared context instance from the window object.
|
|
38
|
-
* Useful for tenant bundles to access the SDK.
|
|
39
|
-
*
|
|
40
|
-
* @returns The shared context instance or undefined if not initialized
|
|
41
|
-
*/
|
|
42
|
-
export declare function getSharedContext(): DynimGlobal | undefined;
|
|
43
36
|
/**
|
|
44
37
|
* Checks if the shared context has been initialized.
|
|
45
38
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sharedContext.d.ts","sourceRoot":"","sources":["../../src/inference/sharedContext.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"sharedContext.d.ts","sourceRoot":"","sources":["../../src/inference/sharedContext.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAkB,MAAM,YAAY,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAK9C;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,cAAc,GAAG,WAAW,CA8BvE;AAED;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,IAAI,CAYzE;AAED;;;;GAIG;AACH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createSharedRegistry,
|
|
1
|
+
import { createSharedRegistry, isSharedRegistryReady, } from 'dynim-core';
|
|
2
2
|
// Keep a reference to the current registry for updates
|
|
3
3
|
let currentRegistry = null;
|
|
4
4
|
/**
|
|
@@ -72,15 +72,6 @@ export function updateSharedContext(config) {
|
|
|
72
72
|
globals: config.globals,
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
|
-
/**
|
|
76
|
-
* Gets the current shared context instance from the window object.
|
|
77
|
-
* Useful for tenant bundles to access the SDK.
|
|
78
|
-
*
|
|
79
|
-
* @returns The shared context instance or undefined if not initialized
|
|
80
|
-
*/
|
|
81
|
-
export function getSharedContext() {
|
|
82
|
-
return getSharedRegistry();
|
|
83
|
-
}
|
|
84
75
|
/**
|
|
85
76
|
* Checks if the shared context has been initialized.
|
|
86
77
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/inference/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gDAAgD;IAChD,KAAK,EAAE,cAAc,OAAO,CAAC,CAAC;IAC9B,mDAAmD;IACnD,QAAQ,EAAE,cAAc,WAAW,CAAC,CAAC;IACrC,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/inference/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B,gDAAgD;IAChD,KAAK,EAAE,cAAc,OAAO,CAAC,CAAC;IAC9B,mDAAmD;IACnD,QAAQ,EAAE,cAAc,WAAW,CAAC,CAAC;IACrC,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,+EAA+E;IAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACnC"}
|