@canton-network/core-token-standard 1.12.1 → 1.14.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.
@@ -1 +1 @@
1
- {"version":3,"file":"interface-ids.const.d.ts","sourceRoot":"","sources":["../src/interface-ids.const.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,+BAA+B,2GACgE,CAAA;AAC5G,eAAO,MAAM,mCAAmC,+GACgE,CAAA;AAChH,eAAO,MAAM,+BAA+B,mGACwD,CAAA;AACpG,eAAO,MAAM,uBAAuB,6EAC0C,CAAA;AAC9E,eAAO,MAAM,oBAAoB,oEACoC,CAAA;AACrE,eAAO,MAAM,qBAAqB,0EACyC,CAAA;AAC3E,eAAO,MAAM,6BAA6B,qGAC4D,CAAA;AACtG,eAAO,MAAM,iCAAiC,yGAC4D,CAAA;AAC1G,eAAO,MAAM,wCAAwC,0FACsC,CAAA;AAC3F,eAAO,MAAM,qCAAqC,wGACuD,CAAA;AACzG,eAAO,MAAM,4BAA4B,gGACwD,CAAA;AACjG,eAAO,MAAM,oCAAoC,kGACkD,CAAA"}
1
+ {"version":3,"file":"interface-ids.const.d.ts","sourceRoot":"","sources":["../src/interface-ids.const.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,+BAA+B,2GAC8G,CAAA;AAC1J,eAAO,MAAM,mCAAmC,+GACkH,CAAA;AAClK,eAAO,MAAM,+BAA+B,mGACsG,CAAA;AAClJ,eAAO,MAAM,uBAAuB,6EACiF,CAAA;AACrH,eAAO,MAAM,oBAAoB,oEACwE,CAAA;AACzG,eAAO,MAAM,qBAAqB,0EACiF,CAAA;AACnH,eAAO,MAAM,6BAA6B,qGACwG,CAAA;AAClJ,eAAO,MAAM,iCAAiC,yGAC4G,CAAA;AAC1J,eAAO,MAAM,wCAAwC,0FACsC,CAAA;AAC3F,eAAO,MAAM,qCAAqC,wGACuD,CAAA;AACzG,eAAO,MAAM,4BAA4B,gGACwD,CAAA;AACjG,eAAO,MAAM,oCAAoC,kGACkD,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as AllocationInstructionV1 from '@daml.js/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/module.js';
2
+ import * as AllocationRequestV1 from '@daml.js/splice-api-token-allocation-request-v1-1.0.0/lib/Splice/Api/Token/AllocationRequestV1/module.js';
3
+ import * as AllocationV1 from '@daml.js/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/Token/AllocationV1/module.js';
4
+ import * as HoldingV1 from '@daml.js/splice-api-token-holding-v1-1.0.0/lib/Splice/Api/Token/HoldingV1/module.js';
5
+ import * as MetadataV1 from '@daml.js/splice-api-token-metadata-v1-1.0.0/lib/Splice/Api/Token/MetadataV1/module.js';
6
+ import * as TransferInstructionV1 from '@daml.js/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/module.js';
7
+ export { AllocationInstructionV1, AllocationRequestV1, AllocationV1, HoldingV1, MetadataV1, TransferInstructionV1, };
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/models/Splice/Api/Token/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,uBAAuB,MAAM,kHAAkH,CAAA;AAC3J,OAAO,KAAK,mBAAmB,MAAM,0GAA0G,CAAA;AAC/I,OAAO,KAAK,YAAY,MAAM,2FAA2F,CAAA;AACzH,OAAO,KAAK,SAAS,MAAM,qFAAqF,CAAA;AAChH,OAAO,KAAK,UAAU,MAAM,uFAAuF,CAAA;AACnH,OAAO,KAAK,qBAAqB,MAAM,8GAA8G,CAAA;AAErJ,OAAO,EACH,uBAAuB,EACvB,mBAAmB,EACnB,YAAY,EACZ,SAAS,EACT,UAAU,EACV,qBAAqB,GACxB,CAAA"}
@@ -0,0 +1,3 @@
1
+ import * as Token from './Token/index.js';
2
+ export { Token };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/models/Splice/Api/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,CAAA"}
@@ -0,0 +1,3 @@
1
+ import * as Api from './Api/index.js';
2
+ export { Api };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/models/Splice/index.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,GAAG,MAAM,gBAAgB,CAAA;AAErC,OAAO,EAAE,GAAG,EAAE,CAAA"}
@@ -0,0 +1,8 @@
1
+ import * as Splice from './Splice/index.js';
2
+ export { Splice };
3
+ /**
4
+ * @deprecated ID of the former merged codegen package, which is not deployed on any ledger.
5
+ * Each token standard interface lives in its own `splice-api-token-*` package.
6
+ */
7
+ export declare const packageId = "b4189e44cae2054f1df6bdfa92139c27f71fd862f20408ccd219cc62616356a4";
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAA;AAE3C,OAAO,EAAE,MAAM,EAAE,CAAA;AAEjB;;;GAGG;AACH,eAAO,MAAM,SAAS,qEACgD,CAAA"}
@@ -1,9 +1,9 @@
1
- import { Logger } from '@canton-network/core-types';
2
- import { paths as allocationPaths } from './generated-clients/splice-api-token-allocation-v1/allocation-v1.js';
3
- import { paths as allocationInstructionPaths } from './generated-clients/splice-api-token-allocation-instruction-v1/allocation-instruction-v1.js';
4
- import { paths as metadataPaths } from './generated-clients/splice-api-token-metadata-v1/token-metadata-v1.js';
5
- import { paths as transferInstructionPaths } from './generated-clients/splice-api-token-transfer-instruction-v1/transfer-instruction-v1.js';
6
- import { AccessTokenProvider } from '@canton-network/core-wallet-auth';
1
+ import type { Logger } from '@canton-network/core-types';
2
+ import type { paths as allocationPaths } from './generated-clients/splice-api-token-allocation-v1/allocation-v1.js';
3
+ import type { paths as allocationInstructionPaths } from './generated-clients/splice-api-token-allocation-instruction-v1/allocation-instruction-v1.js';
4
+ import type { paths as metadataPaths } from './generated-clients/splice-api-token-metadata-v1/token-metadata-v1.js';
5
+ import type { paths as transferInstructionPaths } from './generated-clients/splice-api-token-transfer-instruction-v1/transfer-instruction-v1.js';
6
+ import type { AccessTokenProvider } from '@canton-network/core-wallet-auth';
7
7
  type paths = allocationPaths & metadataPaths & transferInstructionPaths & allocationInstructionPaths;
8
8
  type PostEndpoint = {
9
9
  [Pathname in keyof paths]: paths[Pathname] extends {
@@ -1 +1 @@
1
- {"version":3,"file":"token-standard-client.d.ts","sourceRoot":"","sources":["../src/token-standard-client.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEnD,OAAO,EAAE,KAAK,IAAI,eAAe,EAAE,MAAM,qEAAqE,CAAA;AAC9G,OAAO,EAAE,KAAK,IAAI,0BAA0B,EAAE,MAAM,6FAA6F,CAAA;AACjJ,OAAO,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uEAAuE,CAAA;AAC9G,OAAO,EAAE,KAAK,IAAI,wBAAwB,EAAE,MAAM,yFAAyF,CAAA;AAC3I,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAA;AAEtE,KAAK,KAAK,GAAG,eAAe,GACxB,aAAa,GACb,wBAAwB,GACxB,0BAA0B,CAAA;AAI9B,KAAK,YAAY,GAAG;KACf,QAAQ,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,QAAQ,CAAC,SAAS;QAC/C,IAAI,EAAE,OAAO,CAAA;KAChB,GACK,QAAQ,GACR,KAAK;CACd,CAAC,MAAM,KAAK,CAAC,CAAA;AAGd,MAAM,MAAM,WAAW,CAAC,IAAI,SAAS,YAAY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EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,mBAAmB,EAAE,mBAAmB;IAyB/B,IAAI,CAAC,IAAI,SAAS,YAAY,EACvC,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,WAAW,CAAC,IAAI,CAAC,EACvB,MAAM,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC7B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;KAC1C,GACF,OAAO,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;IASjB,GAAG,CAAC,IAAI,SAAS,WAAW,EACrC,IAAI,EAAE,IAAI,EACV,MAAM,CAAC,EAAE;QACL,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;QAC7B,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAA;KAC1C,GACF,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;YAYf,YAAY;CAU7B"}
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Splice } from '@daml.js/token-standard-models-1.0.0';
2
- import { PartyId } from '@canton-network/core-types';
1
+ import { Splice } from './models/index.js';
2
+ import type { PartyId } from '@canton-network/core-types';
3
3
  export * from './interface-ids.const.js';
4
4
  export declare const TransferInstructionV1: typeof Splice.Api.Token.TransferInstructionV1;
5
5
  export declare const AllocationInstructionV1: typeof Splice.Api.Token.AllocationInstructionV1;
@@ -7,15 +7,15 @@ export declare const AllocationRequestV1: typeof Splice.Api.Token.AllocationRequ
7
7
  export declare const AllocationV1: typeof Splice.Api.Token.AllocationV1;
8
8
  export declare const HoldingV1: typeof Splice.Api.Token.HoldingV1;
9
9
  export declare const MetadataV1: typeof Splice.Api.Token.MetadataV1;
10
- export type { Holding, HoldingView, Lock, InstrumentId, HoldingInterface, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/HoldingV1/module.js';
11
- export type { Transfer, TransferInstructionView, TransferInstruction_Accept, TransferInstruction_Reject, TransferInstruction_Withdraw, TransferInstruction_Update, TransferFactoryView, TransferFactory_PublicFetch, TransferFactory_Transfer, TransferInstructionResult, TransferInstructionResult_Output, TransferInstructionStatus, TransferFactoryInterface, TransferInstructionInterface, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/module.js';
12
- export { TransferInstruction, TransferFactory, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/module.js';
13
- export type { AllocationFactory_Allocate, AllocationFactoryView, AllocationFactory_PublicFetch, AllocationInstruction_Update, AllocationInstruction_Withdraw, AllocationInstructionView, AllocationInstructionResult, AllocationInstructionResult_Output, AllocationFactoryInterface, AllocationInstructionInterface, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/module.js';
14
- export { AllocationFactory, AllocationInstruction, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/module.js';
15
- export type { AllocationRequest, AllocationRequestView, AllocationRequest_Reject, AllocationRequest_Withdraw, AllocationRequestInterface, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/AllocationRequestV1/module.js';
16
- export type { AllocationSpecification, TransferLeg, SettlementInfo, Reference, AllocationView, AllocationInterface, Allocation_Withdraw, Allocation_Cancel, Allocation_ExecuteTransfer, Allocation_WithdrawResult, Allocation_CancelResult, Allocation_ExecuteTransferResult, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/AllocationV1/module.js';
17
- export { Allocation } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/AllocationV1/module.js';
18
- export type { ExtraArgs, Metadata, ChoiceExecutionMetadata, AnyContract, AnyContractInterface, AnyContractView, ChoiceContext, AnyValue, } from '@daml.js/token-standard-models-1.0.0/lib/Splice/Api/Token/MetadataV1/module.js';
10
+ export type { Holding, HoldingView, Lock, InstrumentId, HoldingInterface, } from '@daml.js/splice-api-token-holding-v1-1.0.0/lib/Splice/Api/Token/HoldingV1/module.js';
11
+ export type { Transfer, TransferInstructionView, TransferInstruction_Accept, TransferInstruction_Reject, TransferInstruction_Withdraw, TransferInstruction_Update, TransferFactoryView, TransferFactory_PublicFetch, TransferFactory_Transfer, TransferInstructionResult, TransferInstructionResult_Output, TransferInstructionStatus, TransferFactoryInterface, TransferInstructionInterface, } from '@daml.js/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/module.js';
12
+ export { TransferInstruction, TransferFactory, } from '@daml.js/splice-api-token-transfer-instruction-v1-1.0.0/lib/Splice/Api/Token/TransferInstructionV1/module.js';
13
+ export type { AllocationFactory_Allocate, AllocationFactoryView, AllocationFactory_PublicFetch, AllocationInstruction_Update, AllocationInstruction_Withdraw, AllocationInstructionView, AllocationInstructionResult, AllocationInstructionResult_Output, AllocationFactoryInterface, AllocationInstructionInterface, } from '@daml.js/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/module.js';
14
+ export { AllocationFactory, AllocationInstruction, } from '@daml.js/splice-api-token-allocation-instruction-v1-1.0.0/lib/Splice/Api/Token/AllocationInstructionV1/module.js';
15
+ export type { AllocationRequest, AllocationRequestView, AllocationRequest_Reject, AllocationRequest_Withdraw, AllocationRequestInterface, } from '@daml.js/splice-api-token-allocation-request-v1-1.0.0/lib/Splice/Api/Token/AllocationRequestV1/module.js';
16
+ export type { AllocationSpecification, TransferLeg, SettlementInfo, Reference, AllocationView, AllocationInterface, Allocation_Withdraw, Allocation_Cancel, Allocation_ExecuteTransfer, Allocation_WithdrawResult, Allocation_CancelResult, Allocation_ExecuteTransferResult, } from '@daml.js/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/Token/AllocationV1/module.js';
17
+ export { Allocation } from '@daml.js/splice-api-token-allocation-v1-1.0.0/lib/Splice/Api/Token/AllocationV1/module.js';
18
+ export type { ExtraArgs, Metadata, ChoiceExecutionMetadata, AnyContract, AnyContractInterface, AnyContractView, ChoiceContext, AnyValue, } from '@daml.js/splice-api-token-metadata-v1-1.0.0/lib/Splice/Api/Token/MetadataV1/module.js';
19
19
  export type Beneficiaries = {
20
20
  beneficiary: PartyId;
21
21
  weight: number;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,sCAAsC,CAAA;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEpD,cAAc,0BAA0B,CAAA;AAExC,eAAO,MAAM,qBAAqB,+CAAyC,CAAA;AAC3E,eAAO,MAAM,uBAAuB,iDAA2C,CAAA;AAC/E,eAAO,MAAM,mBAAmB,6CAAuC,CAAA;AACvE,eAAO,MAAM,YAAY,sCAAgC,CAAA;AACzD,eAAO,MAAM,SAAS,mCAA6B,CAAA;AACnD,eAAO,MAAM,UAAU,oCAA8B,CAAA;AAErD,YAAY,EACR,OAAO,EACP,WAAW,EACX,IAAI,EACJ,YAAY,EACZ,gBAAgB,GACnB,MAAM,+EAA+E,CAAA;AAEtF,YAAY,EACR,QAAQ,EACR,uBAAuB,EACvB,0BAA0B,EAC1B,0BAA0B,EAC1B,4BAA4B,EAC5B,0BAA0B,EAC1B,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,gCAAgC,EAChC,yBAAyB,EACzB,wBAAwB,EACxB,4BAA4B,GAC/B,MAAM,2FAA2F,CAAA;AAGlG,OAAO,EACH,mBAAmB,EACnB,eAAe,GAClB,MAAM,2FAA2F,CAAA;AAElG,YAAY,EACR,0BAA0B,EAC1B,qBAAqB,EACrB,6BAA6B,EAC7B,4BAA4B,EAC5B,8BAA8B,EAC9B,yBAAyB,EACzB,2BAA2B,EAC3B,kCAAkC,EAClC,0BAA0B,EAC1B,8BAA8B,G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/core-token-standard",
3
- "version": "1.12.1",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "description": "daml codegen js for core token standard",
6
6
  "license": "Apache-2.0",
7
+ "sideEffects": false,
7
8
  "main": "dist/index.cjs",
8
9
  "module": "dist/index.js",
9
10
  "types": "dist/index.d.ts",
@@ -17,8 +18,8 @@
17
18
  }
18
19
  },
19
20
  "dependencies": {
20
- "@canton-network/core-types": "^1.12.1",
21
- "@canton-network/core-wallet-auth": "^1.12.1",
21
+ "@canton-network/core-types": "1.14.0",
22
+ "@canton-network/core-wallet-auth": "1.14.0",
22
23
  "@daml/types": "^3.5.2",
23
24
  "@mojotech/json-type-validation": "^3.1.0",
24
25
  "lodash": "^4.18.1",
@@ -32,11 +33,11 @@
32
33
  "@rollup/plugin-json": "^6.1.0",
33
34
  "@rollup/plugin-node-resolve": "^16.0.3",
34
35
  "@rollup/plugin-typescript": "^12.3.0",
35
- "playwright": "^1.61.1",
36
- "rollup": "^4.62.2",
36
+ "playwright": "^1.63.0",
37
+ "rollup": "^4.62.0",
37
38
  "rollup-plugin-dts": "^6.4.1",
38
39
  "tslib": "^2.8.1",
39
- "typescript": "^5.9.3"
40
+ "typescript": "^6.0.3"
40
41
  },
41
42
  "files": [
42
43
  "dist/**"