@daml/types 2.7.9 → 2.8.0-adhoc.20240328.12431.0.vf144d058

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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  ## Documentation
8
8
 
9
9
  Comprehensive documentation for `@daml/types` can be found
10
- [here](https://docs.daml.com/2.7.9/app-dev/bindings-ts/daml-types/index.html).
10
+ [here](https://docs.daml.com/2.8.0-adhoc.20240328.12431.0.vf144d058/app-dev/bindings-ts/daml-types/index.html).
11
11
 
12
12
  <!-- END_BACKLINK -->
13
13
 
package/index.d.ts CHANGED
@@ -27,7 +27,7 @@ export interface ContractTypeCompanion<T extends object, K, I extends string> {
27
27
  /**
28
28
  * @internal
29
29
  */
30
- sdkVersion: "2.7.9";
30
+ sdkVersion: "2.8.0-adhoc.20240328.12431.0.vf144d058";
31
31
  /**
32
32
  * @internal
33
33
  */
@@ -348,4 +348,15 @@ export declare const emptyMap: <K, V>() => Map<K, V>;
348
348
  * Companion function of the [[GenMap]] type.
349
349
  */
350
350
  export declare const Map: <K, V>(kd: Serializable<K>, vd: Serializable<V>) => Serializable<Map<K, V>>;
351
+ /**
352
+ * A disclosed contract that can be passed on a command submission.
353
+ * @property contractId the contract id of the contract.
354
+ * @property templateId the template id of the contract.
355
+ * @property createdEventBlob The created_event_blob obtained from the CreatedEvent.
356
+ */
357
+ export declare type DisclosedContract = {
358
+ contractId: ContractId<unknown>;
359
+ templateId: string;
360
+ createdEventBlob: string;
361
+ };
351
362
  export {};
package/index.js CHANGED
@@ -95,7 +95,7 @@ exports.assembleTemplate = assembleTemplate;
95
95
  * @internal
96
96
  */
97
97
  function assembleInterface(templateId, decoderSource, choices) {
98
- return __assign({ templateId: templateId, sdkVersion: "2.7.9",
98
+ return __assign({ templateId: templateId, sdkVersion: "2.8.0-adhoc.20240328.12431.0.vf144d058",
99
99
  // `Interface<I> &` is a phantom intersection
100
100
  decoder: lazyMemo(function () { return decoderSource().decoder; }), keyDecoder: jtv.succeed(undefined) }, choices);
101
101
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "private": false,
3
3
  "name": "@daml/types",
4
- "version": "2.7.9",
4
+ "version": "2.8.0-adhoc.20240328.12431.0.vf144d058",
5
5
  "description": "Primitive types of the Daml language and their serialization.",
6
6
  "keywords": [
7
7
  "daml",