@fairmint/canton-node-sdk 0.0.255 → 0.0.257
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/README.md +6 -3
- package/package.json +8 -11
package/README.md
CHANGED
|
@@ -47,20 +47,23 @@ npm run build
|
|
|
47
47
|
### LocalNet (owned by `@fairmint/canton-dev-tools`)
|
|
48
48
|
|
|
49
49
|
LocalNet lifecycle and shared test helpers live in
|
|
50
|
-
[`@fairmint/canton-dev-tools@0.1.
|
|
50
|
+
[`@fairmint/canton-dev-tools@0.1.7`](https://www.npmjs.com/package/@fairmint/canton-dev-tools)
|
|
51
51
|
(see its [COMPATIBILITY.md](https://github.com/Fairmint/canton-dev-tools/blob/main/COMPATIBILITY.md)).
|
|
52
52
|
This SDK does not publish a LocalNet CLI or `scripts/localnet-cloud.sh`.
|
|
53
53
|
|
|
54
54
|
```bash
|
|
55
55
|
npm install # installs @fairmint/canton-dev-tools as an exact-pinned devDependency
|
|
56
56
|
npm run localnet:start
|
|
57
|
-
npm run localnet:smoke
|
|
58
|
-
npm run localnet:stop
|
|
57
|
+
npm run localnet:readiness # alias: localnet:smoke
|
|
58
|
+
npm run localnet:teardown # alias: localnet:stop
|
|
59
59
|
|
|
60
60
|
# Or call the Dev Tools CLI directly:
|
|
61
61
|
npx @fairmint/canton-dev-tools start
|
|
62
|
+
npx @fairmint/canton-dev-tools readiness
|
|
63
|
+
npx @fairmint/canton-dev-tools teardown
|
|
62
64
|
```
|
|
63
65
|
|
|
66
|
+
|
|
64
67
|
Integration helpers:
|
|
65
68
|
|
|
66
69
|
```ts
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/canton-node-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.257",
|
|
4
4
|
"description": "Canton Node SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"canton",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"build/src/**"
|
|
26
26
|
],
|
|
27
27
|
"scripts": {
|
|
28
|
-
"artifacts:manifest": "mkdir -p artifacts && npm pack --dry-run --json --ignore-scripts > /tmp/npm-pack.json 2>/dev/null && jq -r '.[0].files[].path' /tmp/npm-pack.json | sort |
|
|
28
|
+
"artifacts:manifest": "mkdir -p artifacts && npm pack --dry-run --json --ignore-scripts > /tmp/npm-pack.json 2>/dev/null && jq -r '.[0].files[].path' /tmp/npm-pack.json | sort | canton-dev-tools collapse-manifest > artifacts/npm-manifest.txt",
|
|
29
29
|
"build": "npm run build:core && npm run build:lint",
|
|
30
30
|
"build:core": "npm run generate:openapi-types && npm run build:core:generate-client-methods && npm run tsc7",
|
|
31
31
|
"build:core:generate-client-methods": "tsx scripts/generate-all-client-methods.ts",
|
|
@@ -43,18 +43,15 @@
|
|
|
43
43
|
"lint:npm": "npmPkgJsonLint . --fix",
|
|
44
44
|
"lint:npm:check": "npmPkgJsonLint .",
|
|
45
45
|
"localnet:diagnostics": "canton-dev-tools diagnostics",
|
|
46
|
-
"localnet:logs": "canton-dev-tools
|
|
47
|
-
"localnet:quickstart": "canton-dev-tools setup",
|
|
46
|
+
"localnet:logs": "canton-dev-tools diagnostics",
|
|
48
47
|
"localnet:readiness": "canton-dev-tools readiness",
|
|
49
|
-
"localnet:
|
|
50
|
-
"localnet:smoke": "canton-dev-tools smoke",
|
|
48
|
+
"localnet:smoke": "canton-dev-tools readiness",
|
|
51
49
|
"localnet:start": "canton-dev-tools start",
|
|
52
|
-
"localnet:
|
|
53
|
-
"localnet:stop": "canton-dev-tools stop",
|
|
50
|
+
"localnet:stop": "canton-dev-tools teardown",
|
|
54
51
|
"localnet:teardown": "canton-dev-tools teardown",
|
|
55
|
-
"localnet:verify": "
|
|
52
|
+
"localnet:verify": "npm run localnet:start && npm run localnet:readiness && npm run test:localnet",
|
|
56
53
|
"prepack": "npm run clean && npm run build:core",
|
|
57
|
-
"prepare-release": "
|
|
54
|
+
"prepare-release": "canton-dev-tools prepare-release",
|
|
58
55
|
"prepublishOnly": "npm run prepack",
|
|
59
56
|
"revoke-user-rights": "tsx scripts/revoke-user-rights.ts",
|
|
60
57
|
"test": "jest",
|
|
@@ -79,7 +76,7 @@
|
|
|
79
76
|
"zod": "4.4.3"
|
|
80
77
|
},
|
|
81
78
|
"devDependencies": {
|
|
82
|
-
"@fairmint/canton-dev-tools": "0.1.
|
|
79
|
+
"@fairmint/canton-dev-tools": "0.1.7",
|
|
83
80
|
"@types/jest": "30.0.0",
|
|
84
81
|
"@types/node": "26.1.2",
|
|
85
82
|
"@types/ws": "8.18.1",
|