@gpt-core/admin 0.7.67 → 0.7.68
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/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -3
- package/dist/index.mjs +1 -3
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -27268,6 +27268,7 @@ declare class GptCoreError extends Error {
|
|
|
27268
27268
|
readonly requestId?: string;
|
|
27269
27269
|
readonly headers?: Record<string, string>;
|
|
27270
27270
|
readonly body?: any;
|
|
27271
|
+
cause?: Error;
|
|
27271
27272
|
constructor(message: string, options?: {
|
|
27272
27273
|
statusCode?: number;
|
|
27273
27274
|
code?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -27268,6 +27268,7 @@ declare class GptCoreError extends Error {
|
|
|
27268
27268
|
readonly requestId?: string;
|
|
27269
27269
|
readonly headers?: Record<string, string>;
|
|
27270
27270
|
readonly body?: any;
|
|
27271
|
+
cause?: Error;
|
|
27271
27272
|
constructor(message: string, options?: {
|
|
27272
27273
|
statusCode?: number;
|
|
27273
27274
|
code?: string;
|
package/dist/index.js
CHANGED
|
@@ -1466,9 +1466,7 @@ var GptCoreError = class extends Error {
|
|
|
1466
1466
|
this.requestId = options?.requestId;
|
|
1467
1467
|
this.headers = options?.headers;
|
|
1468
1468
|
this.body = options?.body;
|
|
1469
|
-
|
|
1470
|
-
this.cause = options.cause;
|
|
1471
|
-
}
|
|
1469
|
+
this.cause = options?.cause;
|
|
1472
1470
|
if (Error.captureStackTrace) {
|
|
1473
1471
|
Error.captureStackTrace(this, this.constructor);
|
|
1474
1472
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1418,9 +1418,7 @@ var GptCoreError = class extends Error {
|
|
|
1418
1418
|
this.requestId = options?.requestId;
|
|
1419
1419
|
this.headers = options?.headers;
|
|
1420
1420
|
this.body = options?.body;
|
|
1421
|
-
|
|
1422
|
-
this.cause = options.cause;
|
|
1423
|
-
}
|
|
1421
|
+
this.cause = options?.cause;
|
|
1424
1422
|
if (Error.captureStackTrace) {
|
|
1425
1423
|
Error.captureStackTrace(this, this.constructor);
|
|
1426
1424
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gpt-core/admin",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.68",
|
|
4
4
|
"description": "TypeScript SDK for GPT Core Admin API - Platform administration and ISV management",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -56,7 +56,8 @@
|
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"generate": "openapi-ts",
|
|
59
|
-
"
|
|
59
|
+
"typecheck": "tsc --noEmit",
|
|
60
|
+
"build": "npm run typecheck && tsup src/index.ts --format cjs,esm --dts",
|
|
60
61
|
"test": "vitest run",
|
|
61
62
|
"test:watch": "vitest",
|
|
62
63
|
"test:ui": "vitest --ui",
|