@agent-api/sdk 1.0.8 → 1.1.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/CHANGELOG.md +16 -0
- package/README.md +87 -0
- package/dist/local/context.d.ts +49 -0
- package/dist/local/context.js +154 -0
- package/dist/local/core.d.ts +382 -0
- package/dist/local/core.js +1057 -0
- package/dist/local/index.d.ts +2 -0
- package/dist/local/index.js +2 -0
- package/dist/version.d.ts +2 -2
- package/dist/version.js +1 -1
- package/package.json +7 -2
package/dist/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.0
|
|
2
|
-
export declare const USER_AGENT = "@agent-api/sdk/1.0
|
|
1
|
+
export declare const VERSION = "1.1.0";
|
|
2
|
+
export declare const USER_AGENT = "@agent-api/sdk/1.1.0";
|
package/dist/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = "1.0
|
|
1
|
+
export const VERSION = "1.1.0";
|
|
2
2
|
export const USER_AGENT = `@agent-api/sdk/${VERSION}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agent-api/sdk",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Production JavaScript SDK for the Managed Agent API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -26,6 +26,10 @@
|
|
|
26
26
|
".": {
|
|
27
27
|
"types": "./dist/index.d.ts",
|
|
28
28
|
"import": "./dist/index.js"
|
|
29
|
+
},
|
|
30
|
+
"./local": {
|
|
31
|
+
"types": "./dist/local/index.d.ts",
|
|
32
|
+
"import": "./dist/local/index.js"
|
|
29
33
|
}
|
|
30
34
|
},
|
|
31
35
|
"files": [
|
|
@@ -42,7 +46,7 @@
|
|
|
42
46
|
"build": "tsc -p tsconfig.json",
|
|
43
47
|
"sync-version": "node scripts/sync-version.mjs",
|
|
44
48
|
"prepack": "npm run sync-version && npm run build",
|
|
45
|
-
"test": "npm run sync-version && npm run build && node --test test/index.test.mjs test/local-function-integration.test.mjs",
|
|
49
|
+
"test": "npm run sync-version && npm run build && node --test test/index.test.mjs test/local-function-integration.test.mjs test/local-runtime.test.mjs",
|
|
46
50
|
"test:integration": "npm run sync-version && npm run build && node --test test/integration.test.mjs",
|
|
47
51
|
"test:integration:local-functions": "npm run sync-version && npm run build && node --test test/local-function-integration.test.mjs",
|
|
48
52
|
"check:routes": "node scripts/check-routes.mjs"
|
|
@@ -51,6 +55,7 @@
|
|
|
51
55
|
"node": ">=18"
|
|
52
56
|
},
|
|
53
57
|
"devDependencies": {
|
|
58
|
+
"@types/node": "^24.0.0",
|
|
54
59
|
"typescript": "^5.0.0"
|
|
55
60
|
}
|
|
56
61
|
}
|