New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@yuants/protocol

Package Overview
Dependencies
Maintainers
2
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yuants/protocol - npm Package Compare versions

Comparing version 0.0.1 to 0.1.0

28

lib/services/data-record.d.ts

@@ -30,2 +30,25 @@ import { IDataRecord } from '../model';

}
/**
* Request to copy data records to receiver terminal.
*
* Response when all data records arrived the target.
*
* 1. The source terminal asks the target terminal to copy data records to the receiver terminal.
* 2. The target terminal push data records to the receiver terminal.
* the receiver terminal MUST implement `UpdateDataRecords`.
* the target terminal serially micro-batching calls `UpdateDataRecords` to the receiver terminal.
* 3. After all data records arrived the receiver terminal, the target terminal responses to the source terminal.
*
* E1. the target terminal SHOULD response error if any error occurred during the process.
*
* Recommended if the source terminal does not care about the content of data records.
*
* @public
*/
export interface ICopyDataRecordsRequest extends IQueryDataRecordsRequest {
/**
* the receiver terminal that will receive `UpdateDataRecords` messages.
*/
receiver_terminal_id: string;
}
declare module '.' {

@@ -52,4 +75,9 @@ /**

};
CopyDataRecords: {
req: ICopyDataRecordsRequest;
res: IResponse;
frame: void;
};
}
}
//# sourceMappingURL=data-record.d.ts.map

2

package.json
{
"name": "@yuants/protocol",
"version": "0.0.1",
"version": "0.1.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

@@ -15,3 +15,3 @@ {

"libraries/protocol/src/model.ts": "98098db6e2808d8314fbb72092abc6aa205a1efd",
"libraries/protocol/src/services/data-record.ts": "1dfe0b9b4833559d689f5b89325deda68a32259e",
"libraries/protocol/src/services/data-record.ts": "1d8c03e3d5705067cdc40c7cd203cf1dfe6f2fe5",
"libraries/protocol/src/services/deprecated.ts": "bc48d7d5c281367be976ee68ab18c718790fbad6",

@@ -18,0 +18,0 @@ "libraries/protocol/src/services/index.ts": "5ce6fb1d8c021683281bd9480f57c21ae51086d1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc