@canton-network/core-signing-participant 0.17.0 → 0.19.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.
- package/dist/index.cjs.map +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/controller.ts"],"names":["PartyMode","SigningProvider","buildController","randomUUID"],"mappings":";;;;;;;;AAqBO,IAAM,2BAAN,MAAiE;AAAA,EAAjE,WAAA,GAAA;AACH,IAAA,aAAA,CAAA,IAAA,EAAO,aAAYA,wBAAA,CAAU,QAAA,CAAA;AAC7B,IAAA,aAAA,CAAA,IAAA,EAAO,mBAAkBC,8BAAA,CAAgB,WAAA,CAAA;AAEzC,IAAA,aAAA,CAAA,IAAA,EAAO,YAAA,EAAa,CAChB,OAAA,KAEAC,8BAAA,CAAgB;AAAA,MACZ,eAAA,EAAiB,OACb,MAAA,KACiC;AACjC,QAAA,OAAO,QAAQ,OAAA,CAAQ;AAAA,UACnB,IAAA,EAAM,MAAA,CAAO,YAAA,IAAgBC,iBAAA,EAAW;AAAA,UACxC,MAAA,EAAQ;AAAA,SACX,CAAA;AAAA,MACL,CAAA;AAAA,MACA,gBAAgB,WAA2C;AACvD,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,iBAAiB,WAA4C;AACzD,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,SAAS,WAAoC;AACzC,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,WAAW,WAAsC;AAC7C,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,kBAAkB,WAA6C;AAC3D,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,kBAAkB,WAA6C;AAC3D,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,uBACI,WAAkD;AAC9C,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C;AAAA,KACP,CAAA,CAAA;AAAA,EAAA;AACT","file":"index.cjs","sourcesContent":["// Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n buildController,\n CreateKeyResult,\n GetConfigurationResult,\n GetKeysResult,\n GetTransactionResult,\n GetTransactionsResult,\n PartyMode,\n SetConfigurationResult,\n SigningDriverInterface,\n SigningProvider,\n SignTransactionParams,\n SignTransactionResult,\n SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport { 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 })\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 })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AA;AACT","file":"index.cjs","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 CreateKeyResult,\n GetConfigurationResult,\n GetKeysResult,\n GetTransactionResult,\n GetTransactionsResult,\n PartyMode,\n SetConfigurationResult,\n SigningDriverInterface,\n SigningProvider,\n SignTransactionParams,\n SignTransactionResult,\n SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport { 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 })\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"]}
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/controller.ts"],"names":[],"mappings":";;;;;;AAqBO,IAAM,2BAAN,MAAiE;AAAA,EAAjE,WAAA,GAAA;AACH,IAAA,aAAA,CAAA,IAAA,EAAO,aAAY,SAAA,CAAU,QAAA,CAAA;AAC7B,IAAA,aAAA,CAAA,IAAA,EAAO,mBAAkB,eAAA,CAAgB,WAAA,CAAA;AAEzC,IAAA,aAAA,CAAA,IAAA,EAAO,YAAA,EAAa,CAChB,OAAA,KAEA,eAAA,CAAgB;AAAA,MACZ,eAAA,EAAiB,OACb,MAAA,KACiC;AACjC,QAAA,OAAO,QAAQ,OAAA,CAAQ;AAAA,UACnB,IAAA,EAAM,MAAA,CAAO,YAAA,IAAgB,UAAA,EAAW;AAAA,UACxC,MAAA,EAAQ;AAAA,SACX,CAAA;AAAA,MACL,CAAA;AAAA,MACA,gBAAgB,WAA2C;AACvD,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,iBAAiB,WAA4C;AACzD,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,SAAS,WAAoC;AACzC,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,WAAW,WAAsC;AAC7C,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,kBAAkB,WAA6C;AAC3D,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,kBAAkB,WAA6C;AAC3D,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,uBACI,WAAkD;AAC9C,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C;AAAA,KACP,CAAA,CAAA;AAAA,EAAA;AACT","file":"index.js","sourcesContent":["// Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport {\n buildController,\n CreateKeyResult,\n GetConfigurationResult,\n GetKeysResult,\n GetTransactionResult,\n GetTransactionsResult,\n PartyMode,\n SetConfigurationResult,\n SigningDriverInterface,\n SigningProvider,\n SignTransactionParams,\n SignTransactionResult,\n SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport { 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 })\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"]}
|
|
1
|
+
{"version":3,"sources":["../src/controller.ts"],"names":[],"mappings":";;;;;;AAqBO,IAAM,2BAAN,MAAiE;AAAA,EAAjE,WAAA,GAAA;AACH,IAAA,aAAA,CAAA,IAAA,EAAO,aAAY,SAAA,CAAU,QAAA,CAAA;AAC7B,IAAA,aAAA,CAAA,IAAA,EAAO,mBAAkB,eAAA,CAAgB,WAAA,CAAA;AAEzC,IAAA,aAAA,CAAA,IAAA,EAAO,YAAA,EAAa,CAChB,OAAA,KAEA,eAAA,CAAgB;AAAA,MACZ,eAAA,EAAiB,OACb,MAAA,KACiC;AACjC,QAAA,OAAO,QAAQ,OAAA,CAAQ;AAAA,UACnB,IAAA,EAAM,MAAA,CAAO,YAAA,IAAgB,UAAA,EAAW;AAAA,UACxC,MAAA,EAAQ;AAAA,SACX,CAAA;AAAA,MACL,CAAA;AAAA,MACA,gBAAgB,WAA2C;AACvD,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,iBAAiB,WAA4C;AACzD,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,SAAS,WAAoC;AACzC,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,WAAW,WAAsC;AAC7C,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,kBAAkB,WAA6C;AAC3D,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,kBAAkB,WAA6C;AAC3D,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C,CAAA;AAAA,MACA,uBACI,WAAkD;AAC9C,QAAA,MAAM,IAAI,MAAM,2BAA2B,CAAA;AAAA,MAC/C;AAAA,KACP,CAAA,CAAA;AAAA,EAAA;AACT","file":"index.js","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 CreateKeyResult,\n GetConfigurationResult,\n GetKeysResult,\n GetTransactionResult,\n GetTransactionsResult,\n PartyMode,\n SetConfigurationResult,\n SigningDriverInterface,\n SigningProvider,\n SignTransactionParams,\n SignTransactionResult,\n SubscribeTransactionsResult,\n} from '@canton-network/core-signing-lib'\nimport { 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 })\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"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canton-network/core-signing-participant",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"packageManager": "yarn@4.9.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Wallet Gateway driver for Canton participant internal parties",
|
|
@@ -24,18 +24,18 @@
|
|
|
24
24
|
"test": "jest --passWithNoTests"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@canton-network/core-ledger-client": "^0.
|
|
28
|
-
"@canton-network/core-signing-lib": "^0.
|
|
29
|
-
"@canton-network/core-wallet-auth": "^0.
|
|
27
|
+
"@canton-network/core-ledger-client": "^0.24.0",
|
|
28
|
+
"@canton-network/core-signing-lib": "^0.20.0",
|
|
29
|
+
"@canton-network/core-wallet-auth": "^0.17.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@jest/globals": "^30.2.0",
|
|
33
|
-
"@swc/core": "^1.15.
|
|
33
|
+
"@swc/core": "^1.15.8",
|
|
34
34
|
"@swc/jest": "^0.2.39",
|
|
35
35
|
"@types/fs-extra": "^11.0.4",
|
|
36
36
|
"@types/jest": "^30.0.0",
|
|
37
37
|
"@types/lodash": "^4.17.21",
|
|
38
|
-
"@types/node": "^24.10.
|
|
38
|
+
"@types/node": "^24.10.4",
|
|
39
39
|
"jest": "^30.2.0",
|
|
40
40
|
"ts-jest-resolver": "^2.0.1",
|
|
41
41
|
"tsup": "^8.5.1",
|