@canton-network/core-token-standard 1.13.0 → 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"}
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Splice } from '@daml.js/token-standard-models-1.0.0';
1
+ import { Splice } from './models/index.js';
2
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;
@@ -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,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,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,0BA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AAa,GAAG;IACxB,WAAW,EAAE,OAAO,CAAA;IACpB,MAAM,EAAE,MAAM,CAAA;CACjB,CAAA"}
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@canton-network/core-token-standard",
3
- "version": "1.13.0",
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.13.0",
21
- "@canton-network/core-wallet-auth": "^1.13.0",
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",
@@ -36,7 +37,7 @@
36
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/**"