@app-connect/core 1.7.22 → 1.7.23
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/docs/libraries.md +1 -1
- package/handlers/auth.js +10 -4
- package/handlers/log.js +217 -109
- package/handlers/plugin.js +183 -1
- package/handlers/user.js +1 -1
- package/index.js +152 -7
- package/lib/callLogComposer.js +36 -36
- package/lib/util.js +0 -18
- package/package.json +1 -1
- package/releaseNotes.json +8 -0
- package/test/handlers/admin.test.js +1 -2
- package/test/handlers/log.test.js +60 -0
- package/test/handlers/plugin.test.js +93 -0
- package/test/lib/callLogComposer.test.js +21 -21
- package/test/lib/util.test.js +1 -332
- package/test/routes/managedAuthRoutes.test.js +0 -3
|
@@ -47,7 +47,6 @@ describe('Managed Auth Routes', () => {
|
|
|
47
47
|
adminCore.validateRcUserToken.mockResolvedValue({
|
|
48
48
|
rcAccountId: 'validated-account-id',
|
|
49
49
|
rcExtensionId: 'validated-extension-id',
|
|
50
|
-
rcUserName: 'Validated User',
|
|
51
50
|
});
|
|
52
51
|
managedAuthCore.getManagedAuthState.mockResolvedValue({
|
|
53
52
|
hasManagedAuth: true,
|
|
@@ -95,7 +94,6 @@ describe('Managed Auth Routes', () => {
|
|
|
95
94
|
adminCore.validateRcUserToken.mockResolvedValue({
|
|
96
95
|
rcAccountId: 'validated-account-id',
|
|
97
96
|
rcExtensionId: 'validated-extension-id',
|
|
98
|
-
rcUserName: 'Validated User',
|
|
99
97
|
});
|
|
100
98
|
authCore.onApiKeyLogin.mockResolvedValue({
|
|
101
99
|
userInfo: {
|
|
@@ -125,7 +123,6 @@ describe('Managed Auth Routes', () => {
|
|
|
125
123
|
platform: 'testCRM',
|
|
126
124
|
rcAccountId: 'validated-account-id',
|
|
127
125
|
rcExtensionId: 'validated-extension-id',
|
|
128
|
-
rcUserName: 'Validated User',
|
|
129
126
|
}));
|
|
130
127
|
});
|
|
131
128
|
});
|