@simpoobusiness/sdk 2.0.38 → 2.0.40
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/.tsbuildinfo +1 -1
- package/dist/embed.d.ts +1 -2
- package/dist/simpoo-sdk.js +9 -9
- package/dist/simpoo-sdk.js.map +1 -1
- package/package.json +1 -1
- package/dist/simpoo-sdk.css +0 -2
package/dist/embed.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "./styles/tailwind.css";
|
|
2
1
|
/**
|
|
3
2
|
* Initializes the Simpoo SDK with your configuration.
|
|
4
3
|
* @param config - Object containing API key and other options.
|
|
@@ -15,4 +14,4 @@ export declare function init(config: {
|
|
|
15
14
|
* @example
|
|
16
15
|
* SimpooSDK.renderWidget("inventory", "#inventory-widget");
|
|
17
16
|
*/
|
|
18
|
-
export declare function renderWidget(widgetName: string, selector: string, props?: Record<string, any>): void
|
|
17
|
+
export declare function renderWidget(widgetName: string, selector: string, props?: Record<string, any>): Promise<void>;
|