@sonisoft/now-sdk-ext-core 2.5.2 → 3.0.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/README.md +27 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -53,6 +53,32 @@ npm install -g @servicenow/sdk
|
|
|
53
53
|
snc configure profile set
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
+
## ⚠️ Breaking Change — v3.0.0 (ServiceNow SDK 4.3.0)
|
|
57
|
+
|
|
58
|
+
> **If you are upgrading from v2.x, read this first.**
|
|
59
|
+
>
|
|
60
|
+
> This version upgrades the underlying ServiceNow SDK dependencies from **4.2.x to 4.3.0**. ServiceNow 4.3.0 **changed how credential aliases are stored**, replacing the previous `keytar`-based credential store with a new implementation.
|
|
61
|
+
>
|
|
62
|
+
> **What this means for you:**
|
|
63
|
+
> - Credential aliases created with ServiceNow SDK 4.2.x **cannot be read** by SDK 4.3.x
|
|
64
|
+
> - You **must re-create all instance aliases** after upgrading
|
|
65
|
+
>
|
|
66
|
+
> **Migration steps:**
|
|
67
|
+
> ```bash
|
|
68
|
+
> # 1. Update the global CLI
|
|
69
|
+
> npm install -g @servicenow/sdk@4.3.0
|
|
70
|
+
>
|
|
71
|
+
> # 2. Re-add each instance alias
|
|
72
|
+
> snc configure profile set
|
|
73
|
+
> # — or —
|
|
74
|
+
> npx @servicenow/sdk auth --add <your-alias>
|
|
75
|
+
>
|
|
76
|
+
> # 3. Verify your aliases work
|
|
77
|
+
> npx @servicenow/sdk auth --list
|
|
78
|
+
> ```
|
|
79
|
+
>
|
|
80
|
+
> All API surfaces in this library remain unchanged — only the underlying authentication storage has changed.
|
|
81
|
+
|
|
56
82
|
## 🚀 Quick Start
|
|
57
83
|
|
|
58
84
|
### Basic Connection
|
|
@@ -631,7 +657,7 @@ try {
|
|
|
631
657
|
|
|
632
658
|
## 📦 Dependencies
|
|
633
659
|
|
|
634
|
-
- `@servicenow/sdk` / `@servicenow/sdk-cli` / `@servicenow/sdk-core` - ServiceNow SDK and CLI tools
|
|
660
|
+
- `@servicenow/sdk` 4.3.0 / `@servicenow/sdk-cli` 4.3.0 / `@servicenow/sdk-core` 4.3.0 - ServiceNow SDK and CLI tools
|
|
635
661
|
- `axios` - HTTP client
|
|
636
662
|
- `cometd` / `cometd-nodejs-client` - WebSocket support for AMB
|
|
637
663
|
- `winston` - Logging
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sonisoft/now-sdk-ext-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Comprehensive TypeScript library extending ServiceNow SDK with application management, ATF testing, real-time log monitoring, AMB event subscriptions, and automation tools",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"servicenow",
|
|
@@ -57,11 +57,11 @@
|
|
|
57
57
|
"types": "./dist/index.d.ts",
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"@servicenow/glide": "^26.0.1",
|
|
60
|
-
"@servicenow/sdk": "4.
|
|
61
|
-
"@servicenow/sdk-build-core": "4.0
|
|
62
|
-
"@servicenow/sdk-cli": "4.
|
|
63
|
-
"@servicenow/sdk-cli-core": "3.0.
|
|
64
|
-
"@servicenow/sdk-core": "4.
|
|
60
|
+
"@servicenow/sdk": "4.3.0",
|
|
61
|
+
"@servicenow/sdk-build-core": "4.3.0",
|
|
62
|
+
"@servicenow/sdk-cli": "4.3.0",
|
|
63
|
+
"@servicenow/sdk-cli-core": "3.0.3",
|
|
64
|
+
"@servicenow/sdk-core": "4.3.0",
|
|
65
65
|
"@ts-morph/common": "^0.24.0",
|
|
66
66
|
"@types/mock-fs": "^4.13.4",
|
|
67
67
|
"@types/node-gzip": "^1.1.3",
|
|
@@ -125,6 +125,7 @@
|
|
|
125
125
|
"@types/ws": "^8.5.12",
|
|
126
126
|
"chai": "5.1.1",
|
|
127
127
|
"concurrently": "8.2.2",
|
|
128
|
+
"conventional-changelog-conventionalcommits": "^9.1.0",
|
|
128
129
|
"create-ts-index": "^1.14.0",
|
|
129
130
|
"ctix": "^2.6.4",
|
|
130
131
|
"diff": "^5.1.0",
|