@canton-network/core-ledger-proto 0.3.1 → 0.5.0

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.
@@ -19,9 +19,8 @@ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
19
19
  export interface IStateServiceClient {
20
20
  /**
21
21
  * Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset.
22
- * Once the stream of GetActiveContractsResponses completes,
23
- * the client SHOULD begin streaming updates from the update service,
24
- * starting at the GetActiveContractsRequest.active_at_offset specified in this request.
22
+ * If there are no active contracts, the stream returns a single response message with the offset at which the snapshot has been taken.
23
+ * Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the update service.
25
24
  * Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end.
26
25
  *
27
26
  * @generated from protobuf rpc: GetActiveContracts
@@ -62,9 +61,8 @@ export declare class StateServiceClient implements IStateServiceClient, ServiceI
62
61
  constructor(_transport: RpcTransport);
63
62
  /**
64
63
  * Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset.
65
- * Once the stream of GetActiveContractsResponses completes,
66
- * the client SHOULD begin streaming updates from the update service,
67
- * starting at the GetActiveContractsRequest.active_at_offset specified in this request.
64
+ * If there are no active contracts, the stream returns a single response message with the offset at which the snapshot has been taken.
65
+ * Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the update service.
68
66
  * Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end.
69
67
  *
70
68
  * @generated from protobuf rpc: GetActiveContracts
@@ -1 +1 @@
1
- {"version":3,"file":"state_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/state_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAA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CAAA;CAC9E;AACD;;;;GAIG;AACH,qBAAa,kBAAmB,YAAW,mBAAmB,EAAE,WAAW;IAI3D,OAAO,CAAC,QAAQ,CAAC,UAAU;IAHvC,QAAQ,SAAwB;IAChC,OAAO,4DAAuB;IAC9B,OAAO;;MAAuB;gBACD,UAAU,EAAE,YAAY;IACrD;;;;;;;;OAQG;IACH,kBAAkB,CACd,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,UAAU,GACrB,mBAAmB,CAClB,yBAAyB,EACzB,0BAA0B,CAC7B;IAQD;;;;OAIG;IACH,yBAAyB,CACrB,KAAK,EAAE,gCAAgC,EACvC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,gCAAgC,EAChC,iCAAiC,CACpC;IAQD;;;;;OAKG;IACH,YAAY,CACR,KAAK,EAAE,mBAAmB,EAC1B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;IAWvD;;;;OAIG;IACH,sBAAsB,CAClB,KAAK,EAAE,6BAA6B,EACpC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,6BAA6B,EAC7B,8BAA8B,CACjC;CAQJ"}
1
+ {"version":3,"file":"state_service.client.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/daml/ledger/api/v2/state_service.client.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAA;AAE3D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAA;AACxE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AACvE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAA;AAC9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAC7D,OAAO,KAAK,EAAE,iCAA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EAChC,OAAO,CAAC,EAAE,UAAU,GACrB,mBAAmB,CAClB,yBAAyB,EACzB,0BAA0B,CAC7B;IAQD;;;;OAIG;IACH,yBAAyB,CACrB,KAAK,EAAE,gCAAgC,EACvC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,gCAAgC,EAChC,iCAAiC,CACpC;IAQD;;;;;OAKG;IACH,YAAY,CACR,KAAK,EAAE,mBAAmB,EAC1B,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CAAC,mBAAmB,EAAE,oBAAoB,CAAC;IAWvD;;;;OAIG;IACH,sBAAsB,CAClB,KAAK,EAAE,6BAA6B,EACpC,OAAO,CAAC,EAAE,UAAU,GACrB,SAAS,CACR,6BAA6B,EAC7B,8BAA8B,CACjC;CAQJ"}
@@ -15,9 +15,8 @@ export class StateServiceClient {
15
15
  }
16
16
  /**
17
17
  * Returns a stream of the snapshot of the active contracts and incomplete (un)assignments at a ledger offset.
18
- * Once the stream of GetActiveContractsResponses completes,
19
- * the client SHOULD begin streaming updates from the update service,
20
- * starting at the GetActiveContractsRequest.active_at_offset specified in this request.
18
+ * If there are no active contracts, the stream returns a single response message with the offset at which the snapshot has been taken.
19
+ * Clients SHOULD use the offset in the last GetActiveContractsResponse message to continue streaming transactions with the update service.
21
20
  * Clients SHOULD NOT assume that the set of active contracts they receive reflects the state at the ledger end.
22
21
  *
23
22
  * @generated from protobuf rpc: GetActiveContracts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canton-network/core-ledger-proto",
3
- "version": "0.3.1",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "description": "Provides TypeScript protobuf bindings for Canton",
6
6
  "repository": "github:hyperledger-labs/splice-wallet-kernel",