@hatchet-dev/typescript-sdk 1.3.0 → 1.3.1
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/package.json +1 -1
- package/v1/client/client.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/package.json
CHANGED
package/v1/client/client.js
CHANGED
|
@@ -60,6 +60,11 @@ class HatchetClient {
|
|
|
60
60
|
logConstructor = hatchet_logger_1.DEFAULT_LOGGER;
|
|
61
61
|
}
|
|
62
62
|
const clientConfig = Object.assign(Object.assign({}, valid), { logger: logConstructor });
|
|
63
|
+
if (clientConfig.namespace) {
|
|
64
|
+
clientConfig.namespace = clientConfig.namespace.endsWith('_')
|
|
65
|
+
? clientConfig.namespace.slice(0, -1)
|
|
66
|
+
: clientConfig.namespace;
|
|
67
|
+
}
|
|
63
68
|
this.tenantId = clientConfig.tenant_id;
|
|
64
69
|
this._api = (0, rest_1.default)(clientConfig.api_url, clientConfig.token, axiosConfig);
|
|
65
70
|
this._v0 = new hatchet_client_1.InternalHatchetClient(clientConfig, options, axiosConfig, this.runs);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const HATCHET_VERSION = "1.3.
|
|
1
|
+
export declare const HATCHET_VERSION = "1.3.1";
|
package/version.js
CHANGED