@eyepop.ai/eyepop 0.19.0 → 0.19.1
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/eyepop.index.d.mts
CHANGED
|
@@ -206,7 +206,7 @@ declare class Endpoint {
|
|
|
206
206
|
popComp(): string | null;
|
|
207
207
|
postTransform(): string | null;
|
|
208
208
|
changePopComp(popComp: string): Promise<void>;
|
|
209
|
-
changePostTransform(postTransform: string): Promise<void>;
|
|
209
|
+
changePostTransform(postTransform: string | null): Promise<void>;
|
|
210
210
|
popId(): string | null;
|
|
211
211
|
onStateChanged(handler: (fromState: EndpointState, toState: EndpointState) => void): Endpoint;
|
|
212
212
|
onIngressEvent(handler: (event: IngressEvent) => void): Endpoint;
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -206,7 +206,7 @@ declare class Endpoint {
|
|
|
206
206
|
popComp(): string | null;
|
|
207
207
|
postTransform(): string | null;
|
|
208
208
|
changePopComp(popComp: string): Promise<void>;
|
|
209
|
-
changePostTransform(postTransform: string): Promise<void>;
|
|
209
|
+
changePostTransform(postTransform: string | null): Promise<void>;
|
|
210
210
|
popId(): string | null;
|
|
211
211
|
onStateChanged(handler: (fromState: EndpointState, toState: EndpointState) => void): Endpoint;
|
|
212
212
|
onIngressEvent(handler: (event: IngressEvent) => void): Endpoint;
|
package/dist/eyepop.index.js
CHANGED
|
@@ -9909,6 +9909,7 @@ var Endpoint = class {
|
|
|
9909
9909
|
if (!baseUrl || !client) {
|
|
9910
9910
|
return Promise.reject("endpoint not connected, use connect() before changePopComp()");
|
|
9911
9911
|
}
|
|
9912
|
+
postTransform = postTransform ? postTransform : null;
|
|
9912
9913
|
const body = {
|
|
9913
9914
|
"transform": postTransform
|
|
9914
9915
|
};
|