@stream-io/node-sdk 0.7.60 → 0.7.62
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.js +2 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.mjs +3 -4
- package/dist/index.es.mjs.map +1 -1
- package/package.json +3 -4
- package/src/ApiClient.ts +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
var jwt = require('jsonwebtoken');
|
|
4
4
|
var crypto = require('crypto');
|
|
5
5
|
var zlib = require('zlib');
|
|
6
|
-
var uuid = require('uuid');
|
|
7
6
|
|
|
8
7
|
function _interopNamespaceDefault(e) {
|
|
9
8
|
var n = Object.create(null);
|
|
@@ -8167,11 +8166,11 @@ class ApiClient {
|
|
|
8167
8166
|
});
|
|
8168
8167
|
}
|
|
8169
8168
|
url += `?${encodedParams}`;
|
|
8170
|
-
const clientRequestId =
|
|
8169
|
+
const clientRequestId = crypto.randomUUID();
|
|
8171
8170
|
const headers = {
|
|
8172
8171
|
Authorization: this.apiConfig.token,
|
|
8173
8172
|
'stream-auth-type': 'jwt',
|
|
8174
|
-
'X-Stream-Client': 'stream-node-' + "0.7.
|
|
8173
|
+
'X-Stream-Client': 'stream-node-' + "0.7.62",
|
|
8175
8174
|
'Accept-Encoding': 'gzip',
|
|
8176
8175
|
'x-client-request-id': clientRequestId,
|
|
8177
8176
|
};
|