@authme/core 2.4.4-rc.7 → 2.4.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/index.cjs +2 -6
- package/index.js +4 -4
- package/package.json +2 -2
- package/src/index.d.ts +0 -1
- package/src/lib/authme-log.d.ts +0 -1
package/index.cjs
CHANGED
|
@@ -49,7 +49,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
var name = "@authme/core";
|
|
52
|
-
var version$1 = "2.4.
|
|
52
|
+
var version$1 = "2.4.5";
|
|
53
53
|
var peerDependencies = {
|
|
54
54
|
"core-js": "^3.6.0"
|
|
55
55
|
};
|
|
@@ -133,7 +133,7 @@ function sendRequest(url, method = 'GET', {
|
|
|
133
133
|
try {
|
|
134
134
|
const normalizedUrl = baseUrl ? new URL(url, baseUrl).toString() : url;
|
|
135
135
|
resp = requestLoggingFunction ? yield requestLoggingFunction(() => fetch(normalizedUrl.toString(), options), {
|
|
136
|
-
runFunction:
|
|
136
|
+
runFunction: util.RUN_FUNCTION_NAME.API_REQUEST,
|
|
137
137
|
message: {
|
|
138
138
|
url: normalizedUrl.toString(),
|
|
139
139
|
options
|
|
@@ -586,10 +586,6 @@ Object.defineProperty(exports, 'ErrorCode', {
|
|
|
586
586
|
enumerable: true,
|
|
587
587
|
get: function () { return util.ErrorCode; }
|
|
588
588
|
});
|
|
589
|
-
Object.defineProperty(exports, 'debugLog', {
|
|
590
|
-
enumerable: true,
|
|
591
|
-
get: function () { return util.debugLog; }
|
|
592
|
-
});
|
|
593
589
|
exports.EventListenerService = EventListenerService;
|
|
594
590
|
exports.TrackingEvent = TrackingEvent;
|
|
595
591
|
exports.core = core;
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Storage, getUserAgent, AuthmeError, ErrorCode, STORAGE_KEY, decodeToken, useState, getDeviceInfo, getSystemInfo } from '@authme/util';
|
|
2
|
-
export { AuthmeError, ErrorCode
|
|
1
|
+
import { Storage, getUserAgent, RUN_FUNCTION_NAME, AuthmeError, ErrorCode, STORAGE_KEY, decodeToken, useState, getDeviceInfo, getSystemInfo } from '@authme/util';
|
|
2
|
+
export { AuthmeError, ErrorCode } from '@authme/util';
|
|
3
3
|
import 'core-js/modules/es.object.assign.js';
|
|
4
4
|
import 'core-js/modules/es.regexp.to-string.js';
|
|
5
5
|
import 'core-js/modules/es.array.iterator.js';
|
|
@@ -46,7 +46,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
|
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
var name = "@authme/core";
|
|
49
|
-
var version$1 = "2.4.
|
|
49
|
+
var version$1 = "2.4.5";
|
|
50
50
|
var peerDependencies = {
|
|
51
51
|
"core-js": "^3.6.0"
|
|
52
52
|
};
|
|
@@ -130,7 +130,7 @@ function sendRequest(url, method = 'GET', {
|
|
|
130
130
|
try {
|
|
131
131
|
const normalizedUrl = baseUrl ? new URL(url, baseUrl).toString() : url;
|
|
132
132
|
resp = requestLoggingFunction ? yield requestLoggingFunction(() => fetch(normalizedUrl.toString(), options), {
|
|
133
|
-
runFunction:
|
|
133
|
+
runFunction: RUN_FUNCTION_NAME.API_REQUEST,
|
|
134
134
|
message: {
|
|
135
135
|
url: normalizedUrl.toString(),
|
|
136
136
|
options
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export * from './lib/core';
|
|
|
2
2
|
export * from './lib/model';
|
|
3
3
|
export * from './lib/data-access';
|
|
4
4
|
export * from './lib/translate';
|
|
5
|
-
export * from './lib/authme-log';
|
|
6
5
|
export * from './lib/enum/language.enum';
|
|
7
6
|
export * from './lib/features';
|
|
8
7
|
export { version } from './lib/version';
|
package/src/lib/authme-log.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { debugLog } from '@authme/util';
|