@stinkycomputing/sesame-api-client 1.5.0-alpha.4 → 1.5.0-alpha.5
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.browser.mjs +3 -0
- package/dist/index.browser.mjs.map +2 -2
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +2 -2
- package/dist/sesame-api-client.d.ts +1 -0
- package/dist/sesame-api-client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.mjs
CHANGED
|
@@ -24914,6 +24914,9 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
24914
24914
|
await this.rpc.service.executeCommandList(cl.getCommandListMsg());
|
|
24915
24915
|
}
|
|
24916
24916
|
}
|
|
24917
|
+
async publishMetadata(nodeId, metadataId, payload, dataType = DataType.DATA_TYPE_JSON) {
|
|
24918
|
+
await this.rpc.service.publishMetadata({ nodeId, metadataId, payload, dataType });
|
|
24919
|
+
}
|
|
24917
24920
|
disconnect() {
|
|
24918
24921
|
this.conn.disconnect();
|
|
24919
24922
|
}
|