@fairmint/open-captable-protocol-daml-js 0.2.37 → 0.2.39

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.
Files changed (83) hide show
  1. package/generated/paymentStreams-factory-contract-id.json +6 -6
  2. package/lib/CantonPayments/Airdrop/Airdrop/module.d.ts +108 -0
  3. package/lib/CantonPayments/Airdrop/Airdrop/module.js +161 -0
  4. package/lib/CantonPayments/Airdrop/index.d.ts +2 -0
  5. package/lib/{DA/Date → CantonPayments/Airdrop}/index.js +2 -2
  6. package/lib/CantonPayments/PaymentStream/ActivePaymentStream/module.js +2 -2
  7. package/lib/CantonPayments/PaymentStream/PartyMigrationProposal/module.js +1 -1
  8. package/lib/CantonPayments/PaymentStream/PaymentStreamFactory/module.js +1 -1
  9. package/lib/CantonPayments/PaymentStream/ProposedPaymentStream/module.js +1 -1
  10. package/lib/CantonPayments/index.d.ts +2 -0
  11. package/lib/CantonPayments/index.js +2 -0
  12. package/package.json +2 -2
  13. package/lib/DA/Date/Types/module.d.ts +0 -47
  14. package/lib/DA/Date/Types/module.js +0 -48
  15. package/lib/DA/Date/index.d.ts +0 -2
  16. package/lib/DA/Exception/ArithmeticError/index.d.ts +0 -1
  17. package/lib/DA/Exception/ArithmeticError/index.js +0 -8
  18. package/lib/DA/Exception/ArithmeticError/module.d.ts +0 -18
  19. package/lib/DA/Exception/ArithmeticError/module.js +0 -25
  20. package/lib/DA/Exception/AssertionFailed/index.d.ts +0 -1
  21. package/lib/DA/Exception/AssertionFailed/index.js +0 -8
  22. package/lib/DA/Exception/AssertionFailed/module.d.ts +0 -18
  23. package/lib/DA/Exception/AssertionFailed/module.js +0 -25
  24. package/lib/DA/Exception/GeneralError/index.d.ts +0 -1
  25. package/lib/DA/Exception/GeneralError/index.js +0 -8
  26. package/lib/DA/Exception/GeneralError/module.d.ts +0 -18
  27. package/lib/DA/Exception/GeneralError/module.js +0 -25
  28. package/lib/DA/Exception/PreconditionFailed/index.d.ts +0 -1
  29. package/lib/DA/Exception/PreconditionFailed/index.js +0 -8
  30. package/lib/DA/Exception/PreconditionFailed/module.d.ts +0 -18
  31. package/lib/DA/Exception/PreconditionFailed/module.js +0 -25
  32. package/lib/DA/Exception/index.d.ts +0 -2
  33. package/lib/DA/Exception/index.js +0 -9
  34. package/lib/DA/Internal/Down/index.d.ts +0 -1
  35. package/lib/DA/Internal/Down/index.js +0 -8
  36. package/lib/DA/Internal/Down/module.d.ts +0 -17
  37. package/lib/DA/Internal/Down/module.js +0 -25
  38. package/lib/DA/Logic/Types/index.d.ts +0 -1
  39. package/lib/DA/Logic/Types/index.js +0 -8
  40. package/lib/DA/Logic/Types/module.d.ts +0 -20
  41. package/lib/DA/Logic/Types/module.js +0 -29
  42. package/lib/DA/Logic/index.d.ts +0 -2
  43. package/lib/DA/Logic/index.js +0 -9
  44. package/lib/DA/Monoid/Types/index.d.ts +0 -1
  45. package/lib/DA/Monoid/Types/index.js +0 -8
  46. package/lib/DA/Monoid/Types/module.d.ts +0 -46
  47. package/lib/DA/Monoid/Types/module.js +0 -61
  48. package/lib/DA/Monoid/index.d.ts +0 -2
  49. package/lib/DA/Monoid/index.js +0 -9
  50. package/lib/DA/NonEmpty/Types/index.d.ts +0 -1
  51. package/lib/DA/NonEmpty/Types/index.js +0 -8
  52. package/lib/DA/NonEmpty/Types/module.d.ts +0 -18
  53. package/lib/DA/NonEmpty/Types/module.js +0 -26
  54. package/lib/DA/NonEmpty/index.d.ts +0 -2
  55. package/lib/DA/NonEmpty/index.js +0 -9
  56. package/lib/DA/Random/Types/index.d.ts +0 -1
  57. package/lib/DA/Random/Types/index.js +0 -8
  58. package/lib/DA/Random/Types/module.d.ts +0 -18
  59. package/lib/DA/Random/Types/module.js +0 -26
  60. package/lib/DA/Random/index.d.ts +0 -2
  61. package/lib/DA/Random/index.js +0 -9
  62. package/lib/DA/Semigroup/Types/index.d.ts +0 -1
  63. package/lib/DA/Semigroup/Types/index.js +0 -8
  64. package/lib/DA/Semigroup/Types/module.d.ts +0 -26
  65. package/lib/DA/Semigroup/Types/module.js +0 -37
  66. package/lib/DA/Semigroup/index.d.ts +0 -2
  67. package/lib/DA/Semigroup/index.js +0 -9
  68. package/lib/DA/Stack/Types/index.d.ts +0 -1
  69. package/lib/DA/Stack/Types/index.js +0 -8
  70. package/lib/DA/Stack/Types/module.d.ts +0 -24
  71. package/lib/DA/Stack/Types/module.js +0 -31
  72. package/lib/DA/Stack/index.d.ts +0 -2
  73. package/lib/DA/Stack/index.js +0 -9
  74. package/lib/DA/Validation/Types/index.d.ts +0 -1
  75. package/lib/DA/Validation/Types/index.js +0 -8
  76. package/lib/DA/Validation/Types/module.d.ts +0 -20
  77. package/lib/DA/Validation/Types/module.js +0 -29
  78. package/lib/DA/Validation/index.d.ts +0 -2
  79. package/lib/DA/Validation/index.js +0 -9
  80. package/lib/Splice/Api/Token/index.d.ts +0 -2
  81. package/lib/Splice/Api/Token/index.js +0 -9
  82. /package/lib/{DA/Date/Types → CantonPayments/Airdrop/Airdrop}/index.d.ts +0 -0
  83. /package/lib/{DA/Date/Types → CantonPayments/Airdrop/Airdrop}/index.js +0 -0
@@ -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
-
@@ -1,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { 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 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,2 +0,0 @@
1
- import * as Types from './Types';
2
- export { 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 Types = require('./Types');
9
- exports.Types = Types;
@@ -1,2 +0,0 @@
1
- import * as TransferInstructionV1 from './TransferInstructionV1';
2
- export { TransferInstructionV1 } ;
@@ -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;