@fairmint/open-captable-protocol-daml-js 0.2.37 → 0.2.38
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/generated/paymentStreams-factory-contract-id.json +6 -6
- package/package.json +1 -1
- package/lib/DA/Date/Types/index.d.ts +0 -1
- package/lib/DA/Date/Types/index.js +0 -8
- package/lib/DA/Date/Types/module.d.ts +0 -47
- package/lib/DA/Date/Types/module.js +0 -48
- package/lib/DA/Date/index.d.ts +0 -2
- package/lib/DA/Date/index.js +0 -9
- package/lib/DA/Exception/ArithmeticError/index.d.ts +0 -1
- package/lib/DA/Exception/ArithmeticError/index.js +0 -8
- package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
- package/lib/DA/Exception/ArithmeticError/module.js +0 -25
- package/lib/DA/Exception/AssertionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/AssertionFailed/index.js +0 -8
- package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/AssertionFailed/module.js +0 -25
- package/lib/DA/Exception/GeneralError/index.d.ts +0 -1
- package/lib/DA/Exception/GeneralError/index.js +0 -8
- package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
- package/lib/DA/Exception/GeneralError/module.js +0 -25
- package/lib/DA/Exception/PreconditionFailed/index.d.ts +0 -1
- package/lib/DA/Exception/PreconditionFailed/index.js +0 -8
- package/lib/DA/Exception/PreconditionFailed/module.d.ts +0 -18
- package/lib/DA/Exception/PreconditionFailed/module.js +0 -25
- package/lib/DA/Exception/index.d.ts +0 -2
- package/lib/DA/Exception/index.js +0 -9
- package/lib/DA/Internal/Down/index.d.ts +0 -1
- package/lib/DA/Internal/Down/index.js +0 -8
- package/lib/DA/Internal/Down/module.d.ts +0 -17
- package/lib/DA/Internal/Down/module.js +0 -25
- package/lib/DA/Logic/Types/index.d.ts +0 -1
- package/lib/DA/Logic/Types/index.js +0 -8
- package/lib/DA/Logic/Types/module.d.ts +0 -20
- package/lib/DA/Logic/Types/module.js +0 -29
- package/lib/DA/Logic/index.d.ts +0 -2
- package/lib/DA/Logic/index.js +0 -9
- package/lib/DA/Monoid/Types/index.d.ts +0 -1
- package/lib/DA/Monoid/Types/index.js +0 -8
- package/lib/DA/Monoid/Types/module.d.ts +0 -46
- package/lib/DA/Monoid/Types/module.js +0 -61
- package/lib/DA/Monoid/index.d.ts +0 -2
- package/lib/DA/Monoid/index.js +0 -9
- package/lib/DA/NonEmpty/Types/index.d.ts +0 -1
- package/lib/DA/NonEmpty/Types/index.js +0 -8
- package/lib/DA/NonEmpty/Types/module.d.ts +0 -18
- package/lib/DA/NonEmpty/Types/module.js +0 -26
- package/lib/DA/NonEmpty/index.d.ts +0 -2
- package/lib/DA/NonEmpty/index.js +0 -9
- package/lib/DA/Random/Types/index.d.ts +0 -1
- package/lib/DA/Random/Types/index.js +0 -8
- package/lib/DA/Random/Types/module.d.ts +0 -18
- package/lib/DA/Random/Types/module.js +0 -26
- package/lib/DA/Random/index.d.ts +0 -2
- package/lib/DA/Random/index.js +0 -9
- package/lib/DA/Semigroup/Types/index.d.ts +0 -1
- package/lib/DA/Semigroup/Types/index.js +0 -8
- package/lib/DA/Semigroup/Types/module.d.ts +0 -26
- package/lib/DA/Semigroup/Types/module.js +0 -37
- package/lib/DA/Semigroup/index.d.ts +0 -2
- package/lib/DA/Semigroup/index.js +0 -9
- package/lib/DA/Stack/Types/index.d.ts +0 -1
- package/lib/DA/Stack/Types/index.js +0 -8
- package/lib/DA/Stack/Types/module.d.ts +0 -24
- package/lib/DA/Stack/Types/module.js +0 -31
- package/lib/DA/Stack/index.d.ts +0 -2
- package/lib/DA/Stack/index.js +0 -9
- package/lib/DA/Validation/Types/index.d.ts +0 -1
- package/lib/DA/Validation/Types/index.js +0 -8
- package/lib/DA/Validation/Types/module.d.ts +0 -20
- package/lib/DA/Validation/Types/module.js +0 -29
- package/lib/DA/Validation/index.d.ts +0 -2
- package/lib/DA/Validation/index.js +0 -9
- package/lib/Splice/Api/Token/index.d.ts +0 -2
- package/lib/Splice/Api/Token/index.js +0 -9
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"devnet": {
|
|
3
|
-
"paymentStreamsFactoryContractId": "
|
|
3
|
+
"paymentStreamsFactoryContractId": "008c3c3bceb49706121563693c31abd81c21c0ff436b6bfc80d499937187d4f09fca111220067ad3c0ac3b44ac1ba790bab957d07519f1f856e0bea91710e8e8c17f01ec4b",
|
|
4
4
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
5
5
|
"disclosedContract": {
|
|
6
6
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
7
|
-
"contractId": "
|
|
8
|
-
"createdEventBlob": "
|
|
7
|
+
"contractId": "008c3c3bceb49706121563693c31abd81c21c0ff436b6bfc80d499937187d4f09fca111220067ad3c0ac3b44ac1ba790bab957d07519f1f856e0bea91710e8e8c17f01ec4b",
|
|
8
|
+
"createdEventBlob": "CgMyLjESxAQKRQCMPDvOtJcGEhVjaTwxq9gcIcD/Q2tr/IDUmZNxh9Twn8oREiAGetPArDtErBunkLq5V9B1GfH4VuC+qRcQ6OjBfwHsSxIOQ2FudG9uUGF5bWVudHMajQEKQDFlNWM4ODc4MjBlNjgzMDQ1M2U0NGNjYTY2MDNhMGM2ZmI5YTUyMWJmYTA0ZDU2MTQ1ZTI1ZjVlNWMzZWNmMWMSDkNhbnRvblBheW1lbnRzEg1QYXltZW50U3RyZWFtEhRQYXltZW50U3RyZWFtRmFjdG9yeRoUUGF5bWVudFN0cmVhbUZhY3RvcnkiwgFqvwEKvAEKuQFqtgEKZQpjOmF0ZXN0LXN1YnNjcmlwdGlvbi1wcm9jZXNzb3I6OjEyMjBlYTcwZWEyY2JmZTZiZTQzMWYzNGM3MzIzZTI0OWM2MjRhMDJmYjIyMDlkMmI3M2ZhYmQ3ZWVhMWZlODRkZjM0Ck0KSzpJRFNPOjoxMjIwYmU1OGMyOWU2NWRlNDBiZjI3M2JlMWRjMmIyNjZkNDNhOWEwMDJlYTViMTg5NTVhZWVmN2FhYzg4MWJiNDcxYSphdGVzdC1zdWJzY3JpcHRpb24tcHJvY2Vzc29yOjoxMjIwZWE3MGVhMmNiZmU2YmU0MzFmMzRjNzMyM2UyNDljNjI0YTAyZmIyMjA5ZDJiNzNmYWJkN2VlYTFmZTg0ZGYzNDkuIul7X0EGAEIqCiYKJAgBEiBT36l4jL2joI4RW93MWGfHEAE1n/4zAkheN9mTsFEzvxAe",
|
|
9
9
|
"synchronizerId": "global-domain::1220be58c29e65de40bf273be1dc2b266d43a9a002ea5b18955aeef7aac881bb471a"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"mainnet": {
|
|
13
|
-
"paymentStreamsFactoryContractId": "
|
|
13
|
+
"paymentStreamsFactoryContractId": "00890490d890238a197a7c3ee10591900aee57128f19ba6572bb97413ad7a96864ca111220501ef680b0ff03b3d063d2dcffbe356d891df7a9d65a1443171fb2557d64514f",
|
|
14
14
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
15
15
|
"disclosedContract": {
|
|
16
16
|
"templateId": "1e5c887820e6830453e44cca6603a0c6fb9a521bfa04d56145e25f5e5c3ecf1c:CantonPayments.PaymentStream.PaymentStreamFactory:PaymentStreamFactory",
|
|
17
|
-
"contractId": "
|
|
18
|
-
"createdEventBlob": "
|
|
17
|
+
"contractId": "00890490d890238a197a7c3ee10591900aee57128f19ba6572bb97413ad7a96864ca111220501ef680b0ff03b3d063d2dcffbe356d891df7a9d65a1443171fb2557d64514f",
|
|
18
|
+
"createdEventBlob": "CgMyLjESuAQKRQCJBJDYkCOKGXp8PuEFkZAK7lcSjxm6ZXK7l0E616loZMoREiBQHvaAsP8Ds9Bj0tz/vjVtiR33qdZaFEMXH7JVfWRRTxIOQ2FudG9uUGF5bWVudHMajQEKQDFlNWM4ODc4MjBlNjgzMDQ1M2U0NGNjYTY2MDNhMGM2ZmI5YTUyMWJmYTA0ZDU2MTQ1ZTI1ZjVlNWMzZWNmMWMSDkNhbnRvblBheW1lbnRzEg1QYXltZW50U3RyZWFtEhRQYXltZW50U3RyZWFtRmFjdG9yeRoUUGF5bWVudFN0cmVhbUZhY3RvcnkivAFquQEKtgEKswFqsAEKXwpdOltTdWJzY3JpcHRpb25Qcm9jZXNzb3I6OjEyMjA0YTAzOTMyMmMwMWU5ZjcxNGI1NjI1OWMzZTY4YjY5MDU4YmY1ZGZlMWRlYmJlOTU2YzY5OGY5MDVjZWJhOWQ3Ck0KSzpJRFNPOjoxMjIwYjE0MzFlZjIxNzM0MmRiNDRkNTE2YmI5YmVmZGU4MDJiZTdkODg5OTYzN2QyOTA4OTVmYTU4ODgwZjE5YWNjYypbU3Vic2NyaXB0aW9uUHJvY2Vzc29yOjoxMjIwNGEwMzkzMjJjMDFlOWY3MTRiNTYyNTljM2U2OGI2OTA1OGJmNWRmZTFkZWJiZTk1NmM2OThmOTA1Y2ViYTlkNzl76El8X0EGAEIqCiYKJAgBEiA3Uovb+LjoXh3G3cFRWuMpPgUZJvKttwT8WTIdK44TZRAe",
|
|
19
19
|
"synchronizerId": "global-domain::1220b1431ef217342db44d516bb9befde802be7d8899637d290895fa58880f19accc"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Date/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type DayOfWeek =
|
|
11
|
-
| 'Monday'
|
|
12
|
-
| 'Tuesday'
|
|
13
|
-
| 'Wednesday'
|
|
14
|
-
| 'Thursday'
|
|
15
|
-
| 'Friday'
|
|
16
|
-
| 'Saturday'
|
|
17
|
-
| 'Sunday'
|
|
18
|
-
;
|
|
19
|
-
|
|
20
|
-
export declare const DayOfWeek:
|
|
21
|
-
damlTypes.Serializable<DayOfWeek> & {
|
|
22
|
-
}
|
|
23
|
-
& { readonly keys: DayOfWeek[] } & { readonly [e in DayOfWeek]: e }
|
|
24
|
-
;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export declare type Month =
|
|
28
|
-
| 'Jan'
|
|
29
|
-
| 'Feb'
|
|
30
|
-
| 'Mar'
|
|
31
|
-
| 'Apr'
|
|
32
|
-
| 'May'
|
|
33
|
-
| 'Jun'
|
|
34
|
-
| 'Jul'
|
|
35
|
-
| 'Aug'
|
|
36
|
-
| 'Sep'
|
|
37
|
-
| 'Oct'
|
|
38
|
-
| 'Nov'
|
|
39
|
-
| 'Dec'
|
|
40
|
-
;
|
|
41
|
-
|
|
42
|
-
export declare const Month:
|
|
43
|
-
damlTypes.Serializable<Month> & {
|
|
44
|
-
}
|
|
45
|
-
& { readonly keys: Month[] } & { readonly [e in Month]: e }
|
|
46
|
-
;
|
|
47
|
-
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.DayOfWeek = {
|
|
17
|
-
Monday: 'Monday',
|
|
18
|
-
Tuesday: 'Tuesday',
|
|
19
|
-
Wednesday: 'Wednesday',
|
|
20
|
-
Thursday: 'Thursday',
|
|
21
|
-
Friday: 'Friday',
|
|
22
|
-
Saturday: 'Saturday',
|
|
23
|
-
Sunday: 'Sunday',
|
|
24
|
-
keys: ['Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday',],
|
|
25
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.DayOfWeek.Monday), jtv.constant(exports.DayOfWeek.Tuesday), jtv.constant(exports.DayOfWeek.Wednesday), jtv.constant(exports.DayOfWeek.Thursday), jtv.constant(exports.DayOfWeek.Friday), jtv.constant(exports.DayOfWeek.Saturday), jtv.constant(exports.DayOfWeek.Sunday)); }),
|
|
26
|
-
encode: function (__typed__) { return __typed__; },
|
|
27
|
-
};
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
exports.Month = {
|
|
32
|
-
Jan: 'Jan',
|
|
33
|
-
Feb: 'Feb',
|
|
34
|
-
Mar: 'Mar',
|
|
35
|
-
Apr: 'Apr',
|
|
36
|
-
May: 'May',
|
|
37
|
-
Jun: 'Jun',
|
|
38
|
-
Jul: 'Jul',
|
|
39
|
-
Aug: 'Aug',
|
|
40
|
-
Sep: 'Sep',
|
|
41
|
-
Oct: 'Oct',
|
|
42
|
-
Nov: 'Nov',
|
|
43
|
-
Dec: 'Dec',
|
|
44
|
-
keys: ['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec',],
|
|
45
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.constant(exports.Month.Jan), jtv.constant(exports.Month.Feb), jtv.constant(exports.Month.Mar), jtv.constant(exports.Month.Apr), jtv.constant(exports.Month.May), jtv.constant(exports.Month.Jun), jtv.constant(exports.Month.Jul), jtv.constant(exports.Month.Aug), jtv.constant(exports.Month.Sep), jtv.constant(exports.Month.Oct), jtv.constant(exports.Month.Nov), jtv.constant(exports.Month.Dec)); }),
|
|
46
|
-
encode: function (__typed__) { return __typed__; },
|
|
47
|
-
};
|
|
48
|
-
|
package/lib/DA/Date/index.d.ts
DELETED
package/lib/DA/Date/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/ArithmeticError.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type ArithmeticError = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const ArithmeticError:
|
|
15
|
-
damlTypes.Serializable<ArithmeticError> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.ArithmeticError = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/AssertionFailed.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type AssertionFailed = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const AssertionFailed:
|
|
15
|
-
damlTypes.Serializable<AssertionFailed> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.AssertionFailed = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/GeneralError.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type GeneralError = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const GeneralError:
|
|
15
|
-
damlTypes.Serializable<GeneralError> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.GeneralError = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Exception/PreconditionFailed.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type PreconditionFailed = {
|
|
11
|
-
message: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const PreconditionFailed:
|
|
15
|
-
damlTypes.Serializable<PreconditionFailed> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.PreconditionFailed = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({message: damlTypes.Text.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
message: damlTypes.Text.encode(__typed__.message),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var PreconditionFailed = require('./PreconditionFailed');
|
|
9
|
-
exports.PreconditionFailed = PreconditionFailed;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Internal/Down.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type Down<a> = {
|
|
11
|
-
unpack: a;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const Down :
|
|
15
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Down<a>>) & {
|
|
16
|
-
};
|
|
17
|
-
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Down = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
unpack: a.encode(__typed__.unpack),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
}); };
|
|
25
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Logic/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type Formula<a> =
|
|
11
|
-
| { tag: 'Proposition'; value: a }
|
|
12
|
-
| { tag: 'Negation'; value: Formula<a> }
|
|
13
|
-
| { tag: 'Conjunction'; value: Formula<a>[] }
|
|
14
|
-
| { tag: 'Disjunction'; value: Formula<a>[] }
|
|
15
|
-
;
|
|
16
|
-
|
|
17
|
-
export declare const Formula :
|
|
18
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Formula<a>>) & {
|
|
19
|
-
};
|
|
20
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Formula = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('Proposition'), value: a.decoder, }), jtv.object({tag: jtv.constant('Negation'), value: exports.Formula(a).decoder, }), jtv.object({tag: jtv.constant('Conjunction'), value: damlTypes.List(exports.Formula(a)).decoder, }), jtv.object({tag: jtv.constant('Disjunction'), value: damlTypes.List(exports.Formula(a)).decoder, })); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
switch(__typed__.tag) {
|
|
20
|
-
case 'Proposition': return {tag: __typed__.tag, value: a.encode(__typed__.value)};
|
|
21
|
-
case 'Negation': return {tag: __typed__.tag, value: exports.Formula(a).encode(__typed__.value)};
|
|
22
|
-
case 'Conjunction': return {tag: __typed__.tag, value: damlTypes.List(exports.Formula(a)).encode(__typed__.value)};
|
|
23
|
-
case 'Disjunction': return {tag: __typed__.tag, value: damlTypes.List(exports.Formula(a)).encode(__typed__.value)};
|
|
24
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type Formula';
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
,
|
|
28
|
-
}); };
|
|
29
|
-
|
package/lib/DA/Logic/index.d.ts
DELETED
package/lib/DA/Logic/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Monoid/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type All = {
|
|
11
|
-
getAll: boolean;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const All:
|
|
15
|
-
damlTypes.Serializable<All> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export declare type Any = {
|
|
21
|
-
getAny: boolean;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export declare const Any:
|
|
25
|
-
damlTypes.Serializable<Any> & {
|
|
26
|
-
}
|
|
27
|
-
;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export declare type Sum<a> = {
|
|
31
|
-
unpack: a;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
export declare const Sum :
|
|
35
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Sum<a>>) & {
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
export declare type Product<a> = {
|
|
40
|
-
unpack: a;
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
export declare const Product :
|
|
44
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Product<a>>) & {
|
|
45
|
-
};
|
|
46
|
-
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.All = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({getAll: damlTypes.Bool.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
getAll: damlTypes.Bool.encode(__typed__.getAll),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.Any = {
|
|
29
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({getAny: damlTypes.Bool.decoder, }); }),
|
|
30
|
-
encode: function (__typed__) {
|
|
31
|
-
return {
|
|
32
|
-
getAny: damlTypes.Bool.encode(__typed__.getAny),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
,
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
exports.Sum = function (a) { return ({
|
|
41
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
42
|
-
encode: function (__typed__) {
|
|
43
|
-
return {
|
|
44
|
-
unpack: a.encode(__typed__.unpack),
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
,
|
|
48
|
-
}); };
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
exports.Product = function (a) { return ({
|
|
53
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
54
|
-
encode: function (__typed__) {
|
|
55
|
-
return {
|
|
56
|
-
unpack: a.encode(__typed__.unpack),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
,
|
|
60
|
-
}); };
|
|
61
|
-
|
package/lib/DA/Monoid/index.d.ts
DELETED
package/lib/DA/Monoid/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/NonEmpty/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type NonEmpty<a> = {
|
|
11
|
-
hd: a;
|
|
12
|
-
tl: a[];
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export declare const NonEmpty :
|
|
16
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<NonEmpty<a>>) & {
|
|
17
|
-
};
|
|
18
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.NonEmpty = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({hd: a.decoder, tl: damlTypes.List(a).decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
hd: a.encode(__typed__.hd),
|
|
21
|
-
tl: damlTypes.List(a).encode(__typed__.tl),
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
,
|
|
25
|
-
}); };
|
|
26
|
-
|
package/lib/DA/NonEmpty/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Random/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type Minstd =
|
|
11
|
-
| { tag: 'Minstd'; value: damlTypes.Int }
|
|
12
|
-
;
|
|
13
|
-
|
|
14
|
-
export declare const Minstd:
|
|
15
|
-
damlTypes.Serializable<Minstd> & {
|
|
16
|
-
}
|
|
17
|
-
;
|
|
18
|
-
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Minstd = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('Minstd'), value: damlTypes.Int.decoder, })); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
switch(__typed__.tag) {
|
|
20
|
-
case 'Minstd': return {tag: __typed__.tag, value: damlTypes.Int.encode(__typed__.value)};
|
|
21
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type Minstd';
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
,
|
|
25
|
-
};
|
|
26
|
-
|
package/lib/DA/Random/index.d.ts
DELETED
package/lib/DA/Random/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Semigroup/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type Min<a> = {
|
|
11
|
-
unpack: a;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
export declare const Min :
|
|
15
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Min<a>>) & {
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export declare type Max<a> = {
|
|
20
|
-
unpack: a;
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export declare const Max :
|
|
24
|
-
(<a>(a: damlTypes.Serializable<a>) => damlTypes.Serializable<Max<a>>) & {
|
|
25
|
-
};
|
|
26
|
-
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.Min = function (a) { return ({
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
unpack: a.encode(__typed__.unpack),
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
,
|
|
24
|
-
}); };
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
exports.Max = function (a) { return ({
|
|
29
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({unpack: a.decoder, }); }),
|
|
30
|
-
encode: function (__typed__) {
|
|
31
|
-
return {
|
|
32
|
-
unpack: a.encode(__typed__.unpack),
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
,
|
|
36
|
-
}); };
|
|
37
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Stack/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
export declare type SrcLoc = {
|
|
11
|
-
srcLocPackage: string;
|
|
12
|
-
srcLocModule: string;
|
|
13
|
-
srcLocFile: string;
|
|
14
|
-
srcLocStartLine: damlTypes.Int;
|
|
15
|
-
srcLocStartCol: damlTypes.Int;
|
|
16
|
-
srcLocEndLine: damlTypes.Int;
|
|
17
|
-
srcLocEndCol: damlTypes.Int;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export declare const SrcLoc:
|
|
21
|
-
damlTypes.Serializable<SrcLoc> & {
|
|
22
|
-
}
|
|
23
|
-
;
|
|
24
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
exports.SrcLoc = {
|
|
17
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.object({srcLocPackage: damlTypes.Text.decoder, srcLocModule: damlTypes.Text.decoder, srcLocFile: damlTypes.Text.decoder, srcLocStartLine: damlTypes.Int.decoder, srcLocStartCol: damlTypes.Int.decoder, srcLocEndLine: damlTypes.Int.decoder, srcLocEndCol: damlTypes.Int.decoder, }); }),
|
|
18
|
-
encode: function (__typed__) {
|
|
19
|
-
return {
|
|
20
|
-
srcLocPackage: damlTypes.Text.encode(__typed__.srcLocPackage),
|
|
21
|
-
srcLocModule: damlTypes.Text.encode(__typed__.srcLocModule),
|
|
22
|
-
srcLocFile: damlTypes.Text.encode(__typed__.srcLocFile),
|
|
23
|
-
srcLocStartLine: damlTypes.Int.encode(__typed__.srcLocStartLine),
|
|
24
|
-
srcLocStartCol: damlTypes.Int.encode(__typed__.srcLocStartCol),
|
|
25
|
-
srcLocEndLine: damlTypes.Int.encode(__typed__.srcLocEndLine),
|
|
26
|
-
srcLocEndCol: damlTypes.Int.encode(__typed__.srcLocEndCol),
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
,
|
|
30
|
-
};
|
|
31
|
-
|
package/lib/DA/Stack/index.d.ts
DELETED
package/lib/DA/Stack/index.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './module';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
__export(require('./module'));
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// Generated from DA/Validation/Types.daml
|
|
2
|
-
/* eslint-disable @typescript-eslint/camelcase */
|
|
3
|
-
/* eslint-disable @typescript-eslint/no-namespace */
|
|
4
|
-
/* eslint-disable @typescript-eslint/no-use-before-define */
|
|
5
|
-
import * as jtv from '@mojotech/json-type-validation';
|
|
6
|
-
import * as damlTypes from '@daml/types';
|
|
7
|
-
/* eslint-disable-next-line @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as damlLedger from '@daml/ledger';
|
|
9
|
-
|
|
10
|
-
import * as pkgbde4bd30749e99603e5afa354706608601029e225d4983324d617825b634253a from '@daml.js/daml-stdlib-DA-NonEmpty-Types-1.0.0';
|
|
11
|
-
|
|
12
|
-
export declare type Validation<errs, a> =
|
|
13
|
-
| { tag: 'Errors'; value: pkgbde4bd30749e99603e5afa354706608601029e225d4983324d617825b634253a.DA.NonEmpty.Types.NonEmpty<errs> }
|
|
14
|
-
| { tag: 'Success'; value: a }
|
|
15
|
-
;
|
|
16
|
-
|
|
17
|
-
export declare const Validation :
|
|
18
|
-
(<errs, a>(errs: damlTypes.Serializable<errs>, a: damlTypes.Serializable<a>) => damlTypes.Serializable<Validation<errs, a>>) & {
|
|
19
|
-
};
|
|
20
|
-
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
9
|
-
var jtv = require('@mojotech/json-type-validation');
|
|
10
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
11
|
-
var damlTypes = require('@daml/types');
|
|
12
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
13
|
-
var damlLedger = require('@daml/ledger');
|
|
14
|
-
|
|
15
|
-
var pkgbde4bd30749e99603e5afa354706608601029e225d4983324d617825b634253a = require('@daml.js/daml-stdlib-DA-NonEmpty-Types-1.0.0');
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.Validation = function (errs, a) { return ({
|
|
19
|
-
decoder: damlTypes.lazyMemo(function () { return jtv.oneOf(jtv.object({tag: jtv.constant('Errors'), value: pkgbde4bd30749e99603e5afa354706608601029e225d4983324d617825b634253a.DA.NonEmpty.Types.NonEmpty(errs).decoder, }), jtv.object({tag: jtv.constant('Success'), value: a.decoder, })); }),
|
|
20
|
-
encode: function (__typed__) {
|
|
21
|
-
switch(__typed__.tag) {
|
|
22
|
-
case 'Errors': return {tag: __typed__.tag, value: pkgbde4bd30749e99603e5afa354706608601029e225d4983324d617825b634253a.DA.NonEmpty.Types.NonEmpty(errs).encode(__typed__.value)};
|
|
23
|
-
case 'Success': return {tag: __typed__.tag, value: a.encode(__typed__.value)};
|
|
24
|
-
default: throw 'unrecognized type tag: ' + __typed__.tag + ' while serializing a value of type Validation';
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
,
|
|
28
|
-
}); };
|
|
29
|
-
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var Types = require('./Types');
|
|
9
|
-
exports.Types = Types;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* eslint-disable-next-line no-unused-vars */
|
|
3
|
-
function __export(m) {
|
|
4
|
-
/* eslint-disable-next-line no-prototype-builtins */
|
|
5
|
-
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
|
|
6
|
-
}
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
var TransferInstructionV1 = require('./TransferInstructionV1');
|
|
9
|
-
exports.TransferInstructionV1 = TransferInstructionV1;
|