@open-captable-protocol/canton 0.2.283 → 0.2.285

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,6 +1,6 @@
1
1
  /** Utilities for retrieving paymentStream factory contract IDs */
2
2
  import type { DisclosedContract } from '@fairmint/canton-node-sdk/build/src/clients/ledger-json-api/schemas/api/commands';
3
- export type Network = 'devnet' | 'mainnet';
3
+ export type Network = 'devnet' | 'mainnet' | 'staging';
4
4
  export interface FactoryContractInfo {
5
5
  paymentStreamsFactoryContractId: string;
6
6
  templateId: string;
@@ -9,7 +9,7 @@ export interface FactoryContractInfo {
9
9
  /**
10
10
  * Get the paymentStream factory contract ID for a given network
11
11
  *
12
- * @param network - The network to get the factory contract ID for ('devnet' or 'mainnet')
12
+ * @param network - The network to get the factory contract ID for ('devnet', 'mainnet', or 'staging')
13
13
  * @returns The factory contract information including contract ID and template ID
14
14
  * @throws Error if the network is not found in the configuration
15
15
  */
@@ -1 +1 @@
1
- {"version":3,"file":"factoryContractId.d.ts","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAElE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kFAAkF,CAAC;AAI1H,MAAM,MAAM,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAE3C,MAAM,WAAW,mBAAmB;IAClC,+BAA+B,EAAE,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,mBAAmB,CAW1E"}
1
+ {"version":3,"file":"factoryContractId.d.ts","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAElE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kFAAkF,CAAC;AAI1H,MAAM,MAAM,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,mBAAmB;IAClC,+BAA+B,EAAE,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,GAAG,mBAAmB,CAa1E"}
@@ -10,7 +10,7 @@ const errors_1 = require("../../../errors");
10
10
  /**
11
11
  * Get the paymentStream factory contract ID for a given network
12
12
  *
13
- * @param network - The network to get the factory contract ID for ('devnet' or 'mainnet')
13
+ * @param network - The network to get the factory contract ID for ('devnet', 'mainnet', or 'staging')
14
14
  * @returns The factory contract information including contract ID and template ID
15
15
  * @throws Error if the network is not found in the configuration
16
16
  */
@@ -1 +1 @@
1
- {"version":3,"file":"factoryContractId.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;AAqBlE,oDAWC;AA7BD,+JAA2H;AAC3H,4CAAoE;AAUpE;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,OAAgB;IACnD,MAAM,MAAM,GAAG,iDAA2B,CAAC,OAAO,CAAoC,CAAC;IAEvF,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,2BAAkB,CAAC,SAAS,EAAE,4DAA4D,OAAO,EAAE,EAAE;YAC7G,IAAI,EAAE,sBAAa,CAAC,cAAc;YAClC,aAAa,EAAE,OAAO;SACvB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
1
+ {"version":3,"file":"factoryContractId.js","sourceRoot":"","sources":["../../../../src/functions/PaymentStreams/utils/factoryContractId.ts"],"names":[],"mappings":";AAAA,kEAAkE;;;;;AAqBlE,oDAaC;AA/BD,+JAA2H;AAC3H,4CAAoE;AAUpE;;;;;;GAMG;AACH,SAAgB,oBAAoB,CAAC,OAAgB;IACnD,MAAM,MAAM,GAAI,iDAAmE,CAAC,OAAO,CAE9E,CAAC;IAEd,IAAI,CAAC,MAAM,EAAE,CAAC;QACZ,MAAM,IAAI,2BAAkB,CAAC,SAAS,EAAE,4DAA4D,OAAO,EAAE,EAAE;YAC7G,IAAI,EAAE,sBAAa,CAAC,cAAc;YAClC,aAAa,EAAE,OAAO;SACvB,CAAC,CAAC;IACL,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-captable-protocol/canton",
3
- "version": "0.2.283",
3
+ "version": "0.2.285",
4
4
  "description": "A TypeScript SDK for interacting with the Open CapTable Protocol (OCP) Factory contract on Canton blockchain",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -50,8 +50,8 @@
50
50
  "devDependencies": {
51
51
  "@apidevtools/json-schema-ref-parser": "15.3.1",
52
52
  "@eslint/eslintrc": "3.3.5",
53
- "@fairmint/canton-node-sdk": "0.0.189",
54
- "@fairmint/open-captable-protocol-daml-js": "0.2.139",
53
+ "@fairmint/canton-node-sdk": "0.0.191",
54
+ "@fairmint/open-captable-protocol-daml-js": "0.2.143",
55
55
  "@types/jest": "30.0.0",
56
56
  "@types/jsonwebtoken": "9.0.10",
57
57
  "@types/node": "25.3.5",