@canton-network/core-signing-participant 1.13.0 → 1.15.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.
@@ -3,7 +3,7 @@ import type { AuthContext } from '@canton-network/core-wallet-auth';
3
3
  export declare class ParticipantSigningDriver implements SigningDriverInterface {
4
4
  partyMode: PartyMode;
5
5
  signingProvider: SigningProvider;
6
- controller: (_userId: AuthContext["userId"] | undefined) => {
6
+ controller: (_userId: AuthContext['userId'] | undefined) => {
7
7
  signTransaction: import("@canton-network/core-signing-lib").SignTransaction;
8
8
  signMessage: import("@canton-network/core-signing-lib").SignMessage;
9
9
  getTransaction: import("@canton-network/core-signing-lib").GetTransaction;
@@ -1 +1 @@
1
- {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../src/controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAOH,SAAS,EAET,KAAK,sBAAsB,EAC3B,eAAe,EAKlB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAGnE,qBAAa,wBAAyB,YAAW,sBAAsB;IAC5D,SAAS,YAAqB;IAC9B,eAAe,kBAA8B;IAE7C,UAAU,GACb,SAAS,WAAW,CAAC,QAAQ,CAAC,GAAG,SAAS;;;;;;;;;;MAyCxC;CACT"}
1
+ {"version":3,"file":"controller.d.ts","sourceRoot":"","sources":["../src/controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAOH,SAAS,EAET,KAAK,sBAAsB,EAC3B,eAAe,EAKlB,MAAM,kCAAkC,CAAA;AACzC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAA;AAEnE,qBAAa,wBAAyB,YAAW,sBAAsB;IAC5D,SAAS,YAAqB;IAC9B,eAAe,kBAA8B;IAE7C,UAAU,YAAa,WAAW,CAAC,QAAQ,CAAC,GAAG,SAAS;;;;;;;;;;MAwCzD;CACT"}
package/dist/index.cjs CHANGED
@@ -1,7 +1,6 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  let _canton_network_core_signing_lib = require("@canton-network/core-signing-lib");
3
- let node_crypto = require("node:crypto");
4
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/typeof.js
3
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
5
4
  function _typeof(o) {
6
5
  "@babel/helpers - typeof";
7
6
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -11,7 +10,7 @@ function _typeof(o) {
11
10
  }, _typeof(o);
12
11
  }
13
12
  //#endregion
14
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPrimitive.js
13
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
15
14
  function toPrimitive(t, r) {
16
15
  if ("object" != _typeof(t) || !t) return t;
17
16
  var e = t[Symbol.toPrimitive];
@@ -23,13 +22,13 @@ function toPrimitive(t, r) {
23
22
  return ("string" === r ? String : Number)(t);
24
23
  }
25
24
  //#endregion
26
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPropertyKey.js
25
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
27
26
  function toPropertyKey(t) {
28
27
  var i = toPrimitive(t, "string");
29
28
  return "symbol" == _typeof(i) ? i : i + "";
30
29
  }
31
30
  //#endregion
32
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/defineProperty.js
31
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
33
32
  function _defineProperty(e, r, t) {
34
33
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
35
34
  value: t,
@@ -47,7 +46,7 @@ var ParticipantSigningDriver = class {
47
46
  _defineProperty(this, "controller", (_userId) => (0, _canton_network_core_signing_lib.buildController)({
48
47
  signTransaction: async (params) => {
49
48
  return Promise.resolve({
50
- txId: params.internalTxId || (0, node_crypto.randomUUID)(),
49
+ txId: params.internalTxId || crypto.randomUUID(),
51
50
  status: "signed",
52
51
  signature: "none"
53
52
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["PartyMode","SigningProvider","buildController","randomUUID"],"sources":["../src/controller.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n buildController,\n type CreateKeyResult,\n type GetConfigurationResult,\n type GetKeysResult,\n type GetTransactionResult,\n type GetTransactionsResult,\n PartyMode,\n type SetConfigurationResult,\n type SigningDriverInterface,\n SigningProvider,\n type SignMessageResult,\n type SignTransactionParams,\n type SignTransactionResult,\n type SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport type { AuthContext } from '@canton-network/core-wallet-auth'\nimport { randomUUID } from 'node:crypto'\n\nexport class ParticipantSigningDriver implements SigningDriverInterface {\n public partyMode = PartyMode.INTERNAL\n public signingProvider = SigningProvider.PARTICIPANT\n\n public controller = (\n _userId: AuthContext['userId'] | undefined // eslint-disable-line @typescript-eslint/no-unused-vars\n ) =>\n buildController({\n signTransaction: async (\n params: SignTransactionParams\n ): Promise<SignTransactionResult> => {\n return Promise.resolve({\n txId: params.internalTxId || randomUUID(),\n status: 'signed',\n signature: 'none',\n })\n },\n signMessage: async (): Promise<SignMessageResult> => {\n return Promise.resolve({\n error: 'not_allowed',\n error_description:\n 'Signing messages is not supported with Participant.',\n })\n },\n getTransaction: function (): Promise<GetTransactionResult> {\n throw new Error('Function not implemented.')\n },\n getTransactions: function (): Promise<GetTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n getKeys: function (): Promise<GetKeysResult> {\n throw new Error('Function not implemented.')\n },\n createKey: function (): Promise<CreateKeyResult> {\n throw new Error('Function not implemented.')\n },\n getConfiguration: function (): Promise<GetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n setConfiguration: function (): Promise<SetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n subscribeTransactions:\n function (): Promise<SubscribeTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n })\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAa,2BAAb,MAAwE;;EAC7D,gBAAA,MAAA,aAAYA,iCAAAA,UAAU,QAAA;EACtB,gBAAA,MAAA,mBAAkBC,iCAAAA,gBAAgB,WAAA;EAElC,gBAAA,MAAA,eACH,aAAA,GAEAC,iCAAAA,gBAAAA,CAAgB;GACZ,iBAAiB,OACb,WACiC;IACjC,OAAO,QAAQ,QAAQ;KACnB,MAAM,OAAO,iBAAA,GAAgBC,YAAAA,WAAAA,CAAW;KACxC,QAAQ;KACR,WAAW;IACf,CAAC;GACL;GACA,aAAa,YAAwC;IACjD,OAAO,QAAQ,QAAQ;KACnB,OAAO;KACP,mBACI;IACR,CAAC;GACL;GACA,gBAAgB,WAA2C;IACvD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,iBAAiB,WAA4C;IACzD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,SAAS,WAAoC;IACzC,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,WAAW,WAAsC;IAC7C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,uBACI,WAAkD;IAC9C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;EACR,CAAC,CAAA;;AACT"}
1
+ {"version":3,"file":"index.cjs","names":["PartyMode","SigningProvider","buildController"],"sources":["../src/controller.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n buildController,\n type CreateKeyResult,\n type GetConfigurationResult,\n type GetKeysResult,\n type GetTransactionResult,\n type GetTransactionsResult,\n PartyMode,\n type SetConfigurationResult,\n type SigningDriverInterface,\n SigningProvider,\n type SignMessageResult,\n type SignTransactionParams,\n type SignTransactionResult,\n type SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport type { AuthContext } from '@canton-network/core-wallet-auth'\n\nexport class ParticipantSigningDriver implements SigningDriverInterface {\n public partyMode = PartyMode.INTERNAL\n public signingProvider = SigningProvider.PARTICIPANT\n\n public controller = (_userId: AuthContext['userId'] | undefined) =>\n buildController({\n signTransaction: async (\n params: SignTransactionParams\n ): Promise<SignTransactionResult> => {\n return Promise.resolve({\n txId: params.internalTxId || crypto.randomUUID(),\n status: 'signed',\n signature: 'none',\n })\n },\n signMessage: async (): Promise<SignMessageResult> => {\n return Promise.resolve({\n error: 'not_allowed',\n error_description:\n 'Signing messages is not supported with Participant.',\n })\n },\n getTransaction: function (): Promise<GetTransactionResult> {\n throw new Error('Function not implemented.')\n },\n getTransactions: function (): Promise<GetTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n getKeys: function (): Promise<GetKeysResult> {\n throw new Error('Function not implemented.')\n },\n createKey: function (): Promise<CreateKeyResult> {\n throw new Error('Function not implemented.')\n },\n getConfiguration: function (): Promise<GetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n setConfiguration: function (): Promise<SetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n subscribeTransactions:\n function (): Promise<SubscribeTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n })\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAa,2BAAb,MAAwE;;EAC7D,gBAAA,MAAA,aAAYA,iCAAAA,UAAU,QAAA;EACtB,gBAAA,MAAA,mBAAkBC,iCAAAA,gBAAgB,WAAA;EAElC,gBAAA,MAAA,eAAc,aAAA,GACjBC,iCAAAA,gBAAAA,CAAgB;GACZ,iBAAiB,OACb,WACiC;IACjC,OAAO,QAAQ,QAAQ;KACnB,MAAM,OAAO,gBAAgB,OAAO,WAAW;KAC/C,QAAQ;KACR,WAAW;IACf,CAAC;GACL;GACA,aAAa,YAAwC;IACjD,OAAO,QAAQ,QAAQ;KACnB,OAAO;KACP,mBACI;IACR,CAAC;GACL;GACA,gBAAgB,WAA2C;IACvD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,iBAAiB,WAA4C;IACzD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,SAAS,WAAoC;IACzC,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,WAAW,WAAsC;IAC7C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,uBACI,WAAkD;IAC9C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;EACR,CAAC,CAAA;;AACT"}
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { PartyMode, SigningProvider, buildController } from "@canton-network/core-signing-lib";
2
- import { randomUUID } from "node:crypto";
3
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/typeof.js
2
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/typeof.js
4
3
  function _typeof(o) {
5
4
  "@babel/helpers - typeof";
6
5
  return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
@@ -10,7 +9,7 @@ function _typeof(o) {
10
9
  }, _typeof(o);
11
10
  }
12
11
  //#endregion
13
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPrimitive.js
12
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPrimitive.js
14
13
  function toPrimitive(t, r) {
15
14
  if ("object" != _typeof(t) || !t) return t;
16
15
  var e = t[Symbol.toPrimitive];
@@ -22,13 +21,13 @@ function toPrimitive(t, r) {
22
21
  return ("string" === r ? String : Number)(t);
23
22
  }
24
23
  //#endregion
25
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/toPropertyKey.js
24
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/toPropertyKey.js
26
25
  function toPropertyKey(t) {
27
26
  var i = toPrimitive(t, "string");
28
27
  return "symbol" == _typeof(i) ? i : i + "";
29
28
  }
30
29
  //#endregion
31
- //#region \0@oxc-project+runtime@0.151.0/helpers/esm/defineProperty.js
30
+ //#region \0@oxc-project+runtime@0.154.0/helpers/esm/defineProperty.js
32
31
  function _defineProperty(e, r, t) {
33
32
  return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
34
33
  value: t,
@@ -46,7 +45,7 @@ var ParticipantSigningDriver = class {
46
45
  _defineProperty(this, "controller", (_userId) => buildController({
47
46
  signTransaction: async (params) => {
48
47
  return Promise.resolve({
49
- txId: params.internalTxId || randomUUID(),
48
+ txId: params.internalTxId || crypto.randomUUID(),
50
49
  status: "signed",
51
50
  signature: "none"
52
51
  });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../src/controller.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n buildController,\n type CreateKeyResult,\n type GetConfigurationResult,\n type GetKeysResult,\n type GetTransactionResult,\n type GetTransactionsResult,\n PartyMode,\n type SetConfigurationResult,\n type SigningDriverInterface,\n SigningProvider,\n type SignMessageResult,\n type SignTransactionParams,\n type SignTransactionResult,\n type SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport type { AuthContext } from '@canton-network/core-wallet-auth'\nimport { randomUUID } from 'node:crypto'\n\nexport class ParticipantSigningDriver implements SigningDriverInterface {\n public partyMode = PartyMode.INTERNAL\n public signingProvider = SigningProvider.PARTICIPANT\n\n public controller = (\n _userId: AuthContext['userId'] | undefined // eslint-disable-line @typescript-eslint/no-unused-vars\n ) =>\n buildController({\n signTransaction: async (\n params: SignTransactionParams\n ): Promise<SignTransactionResult> => {\n return Promise.resolve({\n txId: params.internalTxId || randomUUID(),\n status: 'signed',\n signature: 'none',\n })\n },\n signMessage: async (): Promise<SignMessageResult> => {\n return Promise.resolve({\n error: 'not_allowed',\n error_description:\n 'Signing messages is not supported with Participant.',\n })\n },\n getTransaction: function (): Promise<GetTransactionResult> {\n throw new Error('Function not implemented.')\n },\n getTransactions: function (): Promise<GetTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n getKeys: function (): Promise<GetKeysResult> {\n throw new Error('Function not implemented.')\n },\n createKey: function (): Promise<CreateKeyResult> {\n throw new Error('Function not implemented.')\n },\n getConfiguration: function (): Promise<GetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n setConfiguration: function (): Promise<SetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n subscribeTransactions:\n function (): Promise<SubscribeTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n })\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAa,2BAAb,MAAwE;;EAC7D,gBAAA,MAAA,aAAY,UAAU,QAAA;EACtB,gBAAA,MAAA,mBAAkB,gBAAgB,WAAA;EAElC,gBAAA,MAAA,eACH,YAEA,gBAAgB;GACZ,iBAAiB,OACb,WACiC;IACjC,OAAO,QAAQ,QAAQ;KACnB,MAAM,OAAO,gBAAgB,WAAW;KACxC,QAAQ;KACR,WAAW;IACf,CAAC;GACL;GACA,aAAa,YAAwC;IACjD,OAAO,QAAQ,QAAQ;KACnB,OAAO;KACP,mBACI;IACR,CAAC;GACL;GACA,gBAAgB,WAA2C;IACvD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,iBAAiB,WAA4C;IACzD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,SAAS,WAAoC;IACzC,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,WAAW,WAAsC;IAC7C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,uBACI,WAAkD;IAC9C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;EACR,CAAC,CAAA;;AACT"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../src/controller.ts"],"sourcesContent":["// Copyright (c) 2025-2026 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n buildController,\n type CreateKeyResult,\n type GetConfigurationResult,\n type GetKeysResult,\n type GetTransactionResult,\n type GetTransactionsResult,\n PartyMode,\n type SetConfigurationResult,\n type SigningDriverInterface,\n SigningProvider,\n type SignMessageResult,\n type SignTransactionParams,\n type SignTransactionResult,\n type SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport type { AuthContext } from '@canton-network/core-wallet-auth'\n\nexport class ParticipantSigningDriver implements SigningDriverInterface {\n public partyMode = PartyMode.INTERNAL\n public signingProvider = SigningProvider.PARTICIPANT\n\n public controller = (_userId: AuthContext['userId'] | undefined) =>\n buildController({\n signTransaction: async (\n params: SignTransactionParams\n ): Promise<SignTransactionResult> => {\n return Promise.resolve({\n txId: params.internalTxId || crypto.randomUUID(),\n status: 'signed',\n signature: 'none',\n })\n },\n signMessage: async (): Promise<SignMessageResult> => {\n return Promise.resolve({\n error: 'not_allowed',\n error_description:\n 'Signing messages is not supported with Participant.',\n })\n },\n getTransaction: function (): Promise<GetTransactionResult> {\n throw new Error('Function not implemented.')\n },\n getTransactions: function (): Promise<GetTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n getKeys: function (): Promise<GetKeysResult> {\n throw new Error('Function not implemented.')\n },\n createKey: function (): Promise<CreateKeyResult> {\n throw new Error('Function not implemented.')\n },\n getConfiguration: function (): Promise<GetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n setConfiguration: function (): Promise<SetConfigurationResult> {\n throw new Error('Function not implemented.')\n },\n subscribeTransactions:\n function (): Promise<SubscribeTransactionsResult> {\n throw new Error('Function not implemented.')\n },\n })\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,IAAa,2BAAb,MAAwE;;EAC7D,gBAAA,MAAA,aAAY,UAAU,QAAA;EACtB,gBAAA,MAAA,mBAAkB,gBAAgB,WAAA;EAElC,gBAAA,MAAA,eAAc,YACjB,gBAAgB;GACZ,iBAAiB,OACb,WACiC;IACjC,OAAO,QAAQ,QAAQ;KACnB,MAAM,OAAO,gBAAgB,OAAO,WAAW;KAC/C,QAAQ;KACR,WAAW;IACf,CAAC;GACL;GACA,aAAa,YAAwC;IACjD,OAAO,QAAQ,QAAQ;KACnB,OAAO;KACP,mBACI;IACR,CAAC;GACL;GACA,gBAAgB,WAA2C;IACvD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,iBAAiB,WAA4C;IACzD,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,SAAS,WAAoC;IACzC,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,WAAW,WAAsC;IAC7C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,kBAAkB,WAA6C;IAC3D,MAAM,IAAI,MAAM,2BAA2B;GAC/C;GACA,uBACI,WAAkD;IAC9C,MAAM,IAAI,MAAM,2BAA2B;GAC/C;EACR,CAAC,CAAA;;AACT"}
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@canton-network/core-signing-participant",
3
- "version": "1.13.0",
3
+ "version": "1.15.0",
4
4
  "type": "module",
5
5
  "description": "Wallet Gateway driver for Canton participant internal parties",
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/types/index.d.ts",
@@ -16,18 +17,17 @@
16
17
  }
17
18
  },
18
19
  "dependencies": {
19
- "@canton-network/core-ledger-client": "^1.13.0",
20
- "@canton-network/core-signing-lib": "^1.13.0",
21
- "@canton-network/core-wallet-auth": "^1.13.0"
20
+ "@canton-network/core-ledger-client": "2.1.0",
21
+ "@canton-network/core-signing-lib": "1.15.0",
22
+ "@canton-network/core-wallet-auth": "2.1.0"
22
23
  },
23
24
  "devDependencies": {
24
- "@types/fs-extra": "^11.0.4",
25
- "@types/lodash": "^4.17.24",
26
- "@types/node": "^25.9.4",
27
- "@vitest/coverage-v8": "^5.0.1",
28
- "tsdown": "^0.22.9",
29
- "typescript": "^5.9.3",
30
- "vitest": "^5.0.1"
25
+ "@types/lodash": "^4.17.26",
26
+ "@types/node": "^25.9.9",
27
+ "@vitest/coverage-v8": "^5.0.5",
28
+ "tsdown": "^0.23.1",
29
+ "typescript": "npm:@typescript/typescript6@^6.0.2",
30
+ "vitest": "^5.0.5"
31
31
  },
32
32
  "files": [
33
33
  "dist/**"
@@ -45,11 +45,9 @@
45
45
  "url": "https://github.com/canton-network/wallet/issues"
46
46
  },
47
47
  "scripts": {
48
- "build": "tsdown --onSuccess \"tsc\"",
49
- "dev": "tsdown --watch --onSuccess \"tsc\"",
50
- "clean": "tsc -b --clean && rm -rf ./dist",
51
- "flatpack": "pnpm pack --pack-destination \"$FLATPACK_OUTDIR\"",
52
- "test": "vitest run --project node --project browser",
53
- "test:coverage": "vitest run --project node --coverage"
48
+ "build": "tsdown --onSuccess \"tsc -p tsconfig.lib.json\"",
49
+ "dev": "tsdown --watch --onSuccess \"tsc -p tsconfig.lib.json\"",
50
+ "clean": "rm -rf dist",
51
+ "flatpack": "pnpm pack --pack-destination \"$FLATPACK_OUTDIR\""
54
52
  }
55
53
  }