@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.cjs
CHANGED
|
@@ -24581,6 +24581,9 @@ var SesameClient = class extends import_events3.EventEmitter {
|
|
|
24581
24581
|
await this.rpc.service.executeCommandList(cl.getCommandListMsg());
|
|
24582
24582
|
}
|
|
24583
24583
|
}
|
|
24584
|
+
async publishMetadata(nodeId, metadataId, payload, dataType = DataType.DATA_TYPE_JSON) {
|
|
24585
|
+
await this.rpc.service.publishMetadata({ nodeId, metadataId, payload, dataType });
|
|
24586
|
+
}
|
|
24584
24587
|
disconnect() {
|
|
24585
24588
|
this.conn.disconnect();
|
|
24586
24589
|
}
|