@makeswift/runtime 0.0.0-20230323143639 → 0.0.0-20230323144840
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.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +2 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1003,7 +1003,7 @@ function useCachedSite(siteId) {
|
|
|
1003
1003
|
const site = shim.useSyncExternalStore(client.subscribe, getSnapshot, getSnapshot);
|
|
1004
1004
|
return site;
|
|
1005
1005
|
}
|
|
1006
|
-
const version = "0.0.0-
|
|
1006
|
+
const version = "0.0.0-20230323144840";
|
|
1007
1007
|
class Makeswift {
|
|
1008
1008
|
constructor(apiKey, { apiOrigin = "https://api.makeswift.com" } = {}) {
|
|
1009
1009
|
__publicField(this, "apiKey");
|
|
@@ -3931,7 +3931,7 @@ class ElementImperativeHandle {
|
|
|
3931
3931
|
__publicField(this, "lastPropControllers", null);
|
|
3932
3932
|
}
|
|
3933
3933
|
callback(getCurrent) {
|
|
3934
|
-
const current =
|
|
3934
|
+
const current = getCurrent();
|
|
3935
3935
|
console.log("eih - callback", {
|
|
3936
3936
|
current,
|
|
3937
3937
|
lastPropControllers: this.lastPropControllers,
|