@salesforce/agents 0.17.5 → 0.17.6
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/lib/agent.js +1 -1
- package/package.json +16 -2
package/lib/agent.js
CHANGED
|
@@ -146,7 +146,7 @@ class Agent {
|
|
|
146
146
|
* @returns the list of agents
|
|
147
147
|
*/
|
|
148
148
|
static async listRemote(connection) {
|
|
149
|
-
const agentsQuery = await connection.query('SELECT FIELDS(ALL), (SELECT FIELDS(ALL) FROM BotVersions LIMIT 10) FROM BotDefinition LIMIT
|
|
149
|
+
const agentsQuery = await connection.query('SELECT FIELDS(ALL), (SELECT FIELDS(ALL) FROM BotVersions LIMIT 10) FROM BotDefinition LIMIT 200');
|
|
150
150
|
return agentsQuery.records;
|
|
151
151
|
}
|
|
152
152
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/agents",
|
|
3
3
|
"description": "Client side APIs for working with Salesforce agents",
|
|
4
|
-
"version": "0.17.
|
|
4
|
+
"version": "0.17.6",
|
|
5
5
|
"license": "BSD-3-Clause",
|
|
6
6
|
"author": "Salesforce",
|
|
7
7
|
"main": "lib/index",
|
|
@@ -59,7 +59,8 @@
|
|
|
59
59
|
"postcompile": "tsc -p test",
|
|
60
60
|
"test": "wireit",
|
|
61
61
|
"test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --retries 0 --jobs 10",
|
|
62
|
-
"test:only": "wireit"
|
|
62
|
+
"test:only": "wireit",
|
|
63
|
+
"test:bundle": "wireit"
|
|
63
64
|
},
|
|
64
65
|
"publishConfig": {
|
|
65
66
|
"access": "public"
|
|
@@ -71,6 +72,18 @@
|
|
|
71
72
|
"lint"
|
|
72
73
|
]
|
|
73
74
|
},
|
|
75
|
+
"test:bundle": {
|
|
76
|
+
"command": "node scripts/esbuild.config.mjs",
|
|
77
|
+
"dependencies": [
|
|
78
|
+
"compile"
|
|
79
|
+
],
|
|
80
|
+
"files": [
|
|
81
|
+
"lib/**/*"
|
|
82
|
+
],
|
|
83
|
+
"output": [
|
|
84
|
+
"dist/index.js"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
74
87
|
"compile": {
|
|
75
88
|
"command": "tspc -p . --pretty --incremental",
|
|
76
89
|
"files": [
|
|
@@ -116,6 +129,7 @@
|
|
|
116
129
|
},
|
|
117
130
|
"test": {
|
|
118
131
|
"dependencies": [
|
|
132
|
+
"test:bundle",
|
|
119
133
|
"test:only",
|
|
120
134
|
"test:compile",
|
|
121
135
|
"link-check"
|