@meistrari/tela-sdk-js 2.4.0 → 2.4.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/dist/index.cjs +3 -2
- package/dist/index.mjs +3 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -24,7 +24,7 @@ const z__default = /*#__PURE__*/_interopDefaultCompat(z);
|
|
|
24
24
|
const z__namespace = /*#__PURE__*/_interopNamespaceCompat(z);
|
|
25
25
|
const Emittery__default = /*#__PURE__*/_interopDefaultCompat(Emittery);
|
|
26
26
|
|
|
27
|
-
const version = "2.4.
|
|
27
|
+
const version = "2.4.1";
|
|
28
28
|
|
|
29
29
|
var __defProp$7 = Object.defineProperty;
|
|
30
30
|
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -824,7 +824,8 @@ class BaseClient {
|
|
|
824
824
|
return headers;
|
|
825
825
|
}
|
|
826
826
|
getUserAgent() {
|
|
827
|
-
|
|
827
|
+
const serviceName = typeof process !== "undefined" && process?.env?.SERVICE_NAME ? `@${process.env.SERVICE_NAME}` : "";
|
|
828
|
+
return `tela-sdk-node:${version}${serviceName}`;
|
|
828
829
|
}
|
|
829
830
|
get(path, opts) {
|
|
830
831
|
return this.methodRequest("GET", path, opts);
|
package/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import * as z from 'zod';
|
|
|
4
4
|
import z__default, { z as z$1, ZodError } from 'zod';
|
|
5
5
|
import Emittery from 'emittery';
|
|
6
6
|
|
|
7
|
-
const version = "2.4.
|
|
7
|
+
const version = "2.4.1";
|
|
8
8
|
|
|
9
9
|
var __defProp$7 = Object.defineProperty;
|
|
10
10
|
var __defNormalProp$7 = (obj, key, value) => key in obj ? __defProp$7(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
@@ -804,7 +804,8 @@ class BaseClient {
|
|
|
804
804
|
return headers;
|
|
805
805
|
}
|
|
806
806
|
getUserAgent() {
|
|
807
|
-
|
|
807
|
+
const serviceName = typeof process !== "undefined" && process?.env?.SERVICE_NAME ? `@${process.env.SERVICE_NAME}` : "";
|
|
808
|
+
return `tela-sdk-node:${version}${serviceName}`;
|
|
808
809
|
}
|
|
809
810
|
get(path, opts) {
|
|
810
811
|
return this.methodRequest("GET", path, opts);
|