@spooled/sdk 1.0.14 → 1.0.15
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-C1TpK-_a.d.cts → index-52WBv4Ct.d.cts} +3 -3
- package/dist/{index-C1TpK-_a.d.ts → index-52WBv4Ct.d.ts} +3 -3
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/worker/index.cjs +1 -1
- package/dist/worker/index.cjs.map +1 -1
- package/dist/worker/index.d.cts +1 -1
- package/dist/worker/index.d.ts +1 -1
- package/dist/worker/index.js +1 -1
- package/dist/worker/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -107,11 +107,11 @@ declare const DEFAULT_CONFIG: {
|
|
|
107
107
|
successThreshold: number;
|
|
108
108
|
timeout: number;
|
|
109
109
|
};
|
|
110
|
-
readonly userAgent: "@spooled/sdk-nodejs/1.0.
|
|
110
|
+
readonly userAgent: "@spooled/sdk-nodejs/1.0.15";
|
|
111
111
|
readonly autoRefreshToken: true;
|
|
112
112
|
};
|
|
113
113
|
/** SDK version */
|
|
114
|
-
declare const SDK_VERSION = "1.0.
|
|
114
|
+
declare const SDK_VERSION = "1.0.15";
|
|
115
115
|
/** API version prefix */
|
|
116
116
|
declare const API_VERSION = "v1";
|
|
117
117
|
/**
|
|
@@ -2794,7 +2794,7 @@ declare class GrpcWorkerOperations {
|
|
|
2794
2794
|
* @example
|
|
2795
2795
|
* ```typescript
|
|
2796
2796
|
* const client = new SpooledGrpcClient({
|
|
2797
|
-
* address: 'grpc.spooled.cloud:
|
|
2797
|
+
* address: 'grpc.spooled.cloud:443',
|
|
2798
2798
|
* apiKey: 'sk_live_...',
|
|
2799
2799
|
* });
|
|
2800
2800
|
*
|
|
@@ -107,11 +107,11 @@ declare const DEFAULT_CONFIG: {
|
|
|
107
107
|
successThreshold: number;
|
|
108
108
|
timeout: number;
|
|
109
109
|
};
|
|
110
|
-
readonly userAgent: "@spooled/sdk-nodejs/1.0.
|
|
110
|
+
readonly userAgent: "@spooled/sdk-nodejs/1.0.15";
|
|
111
111
|
readonly autoRefreshToken: true;
|
|
112
112
|
};
|
|
113
113
|
/** SDK version */
|
|
114
|
-
declare const SDK_VERSION = "1.0.
|
|
114
|
+
declare const SDK_VERSION = "1.0.15";
|
|
115
115
|
/** API version prefix */
|
|
116
116
|
declare const API_VERSION = "v1";
|
|
117
117
|
/**
|
|
@@ -2794,7 +2794,7 @@ declare class GrpcWorkerOperations {
|
|
|
2794
2794
|
* @example
|
|
2795
2795
|
* ```typescript
|
|
2796
2796
|
* const client = new SpooledGrpcClient({
|
|
2797
|
-
* address: 'grpc.spooled.cloud:
|
|
2797
|
+
* address: 'grpc.spooled.cloud:443',
|
|
2798
2798
|
* apiKey: 'sk_live_...',
|
|
2799
2799
|
* });
|
|
2800
2800
|
*
|
package/dist/index.cjs
CHANGED
|
@@ -56,10 +56,10 @@ var DEFAULT_CONFIG = {
|
|
|
56
56
|
successThreshold: 3,
|
|
57
57
|
timeout: 3e4
|
|
58
58
|
},
|
|
59
|
-
userAgent: "@spooled/sdk-nodejs/1.0.
|
|
59
|
+
userAgent: "@spooled/sdk-nodejs/1.0.15",
|
|
60
60
|
autoRefreshToken: true
|
|
61
61
|
};
|
|
62
|
-
var SDK_VERSION = "1.0.
|
|
62
|
+
var SDK_VERSION = "1.0.15";
|
|
63
63
|
var API_VERSION = "v1";
|
|
64
64
|
var API_BASE_PATH = `/api/${API_VERSION}`;
|
|
65
65
|
function resolveConfig(options) {
|
|
@@ -2977,7 +2977,7 @@ var SpooledWorker = class {
|
|
|
2977
2977
|
...DEFAULT_OPTIONS,
|
|
2978
2978
|
hostname: os.hostname(),
|
|
2979
2979
|
workerType: "nodejs",
|
|
2980
|
-
version: "1.0.
|
|
2980
|
+
version: "1.0.15",
|
|
2981
2981
|
metadata: {},
|
|
2982
2982
|
...options
|
|
2983
2983
|
};
|