@workos-inc/node 7.27.4 → 7.27.5
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/lib/index.d.ts +2 -0
- package/lib/index.js +4 -0
- package/lib/workos.js +3 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -64,5 +64,9 @@ class WorkOSNode extends workos_1.WorkOS {
|
|
|
64
64
|
createIronSessionProvider() {
|
|
65
65
|
return new web_iron_session_provider_1.WebIronSessionProvider();
|
|
66
66
|
}
|
|
67
|
+
/** @override */
|
|
68
|
+
emitWarning(warning) {
|
|
69
|
+
return process.emitWarning(warning, 'WorkOS');
|
|
70
|
+
}
|
|
67
71
|
}
|
|
68
72
|
exports.WorkOS = WorkOSNode;
|
package/lib/workos.js
CHANGED
|
@@ -27,7 +27,7 @@ const bad_request_exception_1 = require("./common/exceptions/bad-request.excepti
|
|
|
27
27
|
const http_client_1 = require("./common/net/http-client");
|
|
28
28
|
const subtle_crypto_provider_1 = require("./common/crypto/subtle-crypto-provider");
|
|
29
29
|
const fetch_client_1 = require("./common/net/fetch-client");
|
|
30
|
-
const VERSION = '7.27.
|
|
30
|
+
const VERSION = '7.27.5';
|
|
31
31
|
const DEFAULT_HOSTNAME = 'api.workos.com';
|
|
32
32
|
const HEADER_AUTHORIZATION = 'Authorization';
|
|
33
33
|
const HEADER_IDEMPOTENCY_KEY = 'Idempotency-Key';
|
|
@@ -170,7 +170,8 @@ class WorkOS {
|
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
172
|
emitWarning(warning) {
|
|
173
|
-
|
|
173
|
+
// tslint:disable-next-line:no-console
|
|
174
|
+
console.warn(`WorkOS: ${warning}`);
|
|
174
175
|
}
|
|
175
176
|
handleHttpError({ path, error }) {
|
|
176
177
|
var _a;
|
package/package.json
CHANGED