solid-logic 1.3.16 → 1.3.17-0abe2b84
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/.babelrc +0 -0
- package/.eslintrc.js +0 -0
- package/.github/workflows/ci.yml +0 -0
- package/.github/workflows/release.yml +0 -0
- package/.nvmrc +0 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/jest.config.js +1 -1
- package/lib/acl/aclLogic.d.ts +0 -0
- package/lib/acl/aclLogic.d.ts.map +0 -0
- package/lib/acl/aclLogic.js +0 -0
- package/lib/acl/aclLogic.js.map +0 -0
- package/lib/authSession/authSession.d.ts +0 -0
- package/lib/authSession/authSession.d.ts.map +0 -0
- package/lib/authSession/authSession.js +0 -0
- package/lib/authSession/authSession.js.map +0 -0
- package/lib/authn/SolidAuthnLogic.d.ts +0 -0
- package/lib/authn/SolidAuthnLogic.d.ts.map +0 -0
- package/lib/authn/SolidAuthnLogic.js +1 -1
- package/lib/authn/SolidAuthnLogic.js.map +1 -1
- package/lib/authn/authUtil.d.ts +0 -0
- package/lib/authn/authUtil.d.ts.map +0 -0
- package/lib/authn/authUtil.js +1 -1
- package/lib/authn/authUtil.js.map +1 -1
- package/lib/chat/ChatLogic.d.ts +0 -0
- package/lib/chat/ChatLogic.d.ts.map +0 -0
- package/lib/chat/ChatLogic.js +0 -0
- package/lib/chat/ChatLogic.js.map +0 -0
- package/lib/chat/determineChatContainer.d.ts +0 -0
- package/lib/chat/determineChatContainer.d.ts.map +0 -0
- package/lib/chat/determineChatContainer.js +0 -0
- package/lib/chat/determineChatContainer.js.map +0 -0
- package/lib/discovery/discoveryLogic.d.ts +33 -6
- package/lib/discovery/discoveryLogic.d.ts.map +1 -1
- package/lib/discovery/discoveryLogic.js +377 -86
- package/lib/discovery/discoveryLogic.js.map +1 -1
- package/lib/inbox/InboxLogic.d.ts +0 -0
- package/lib/inbox/InboxLogic.d.ts.map +0 -0
- package/lib/inbox/InboxLogic.js +0 -0
- package/lib/inbox/InboxLogic.js.map +0 -0
- package/lib/index.d.ts +0 -0
- package/lib/index.d.ts.map +0 -0
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/lib/issuer/issuerLogic.d.ts +0 -0
- package/lib/issuer/issuerLogic.d.ts.map +0 -0
- package/lib/issuer/issuerLogic.js +0 -0
- package/lib/issuer/issuerLogic.js.map +0 -0
- package/lib/logic/CustomError.d.ts +0 -0
- package/lib/logic/CustomError.d.ts.map +0 -0
- package/lib/logic/CustomError.js +0 -0
- package/lib/logic/CustomError.js.map +0 -0
- package/lib/logic/SolidLogic.d.ts +0 -0
- package/lib/logic/SolidLogic.d.ts.map +0 -0
- package/lib/logic/SolidLogic.js +0 -0
- package/lib/logic/SolidLogic.js.map +0 -0
- package/lib/logic/solidLogicSingleton.d.ts +0 -0
- package/lib/logic/solidLogicSingleton.d.ts.map +0 -0
- package/lib/logic/solidLogicSingleton.js +1 -1
- package/lib/logic/solidLogicSingleton.js.map +1 -1
- package/lib/profile/ProfileLogic.d.ts +0 -0
- package/lib/profile/ProfileLogic.d.ts.map +0 -0
- package/lib/profile/ProfileLogic.js +0 -0
- package/lib/profile/ProfileLogic.js.map +0 -0
- package/lib/typeIndex/typeIndexLogic.d.ts +2 -2
- package/lib/typeIndex/typeIndexLogic.d.ts.map +0 -0
- package/lib/typeIndex/typeIndexLogic.js +4 -4
- package/lib/typeIndex/typeIndexLogic.js.map +1 -1
- package/lib/types.d.ts +0 -0
- package/lib/types.d.ts.map +0 -0
- package/lib/types.js +0 -0
- package/lib/types.js.map +0 -0
- package/lib/util/UtilityLogic.d.ts +0 -0
- package/lib/util/UtilityLogic.d.ts.map +0 -0
- package/lib/util/UtilityLogic.js +2 -2
- package/lib/util/UtilityLogic.js.map +1 -1
- package/lib/util/debug.d.ts +0 -0
- package/lib/util/debug.d.ts.map +0 -0
- package/lib/util/debug.js +0 -0
- package/lib/util/debug.js.map +0 -0
- package/lib/util/uri.d.ts +0 -0
- package/lib/util/uri.d.ts.map +0 -0
- package/lib/util/uri.js +0 -0
- package/lib/util/uri.js.map +0 -0
- package/package.json +8 -8
- package/src/acl/aclLogic.ts +0 -0
- package/src/authSession/authSession.ts +0 -0
- package/src/authn/SolidAuthnLogic.ts +5 -5
- package/src/authn/authUtil.ts +1 -1
- package/src/chat/ChatLogic.ts +0 -0
- package/src/chat/determineChatContainer.ts +0 -0
- package/src/discovery/discoveryLogic.ts +269 -48
- package/src/inbox/InboxLogic.ts +0 -0
- package/src/index.ts +0 -0
- package/src/issuer/issuerLogic.ts +0 -0
- package/src/logic/CustomError.ts +0 -0
- package/src/logic/SolidLogic.ts +0 -0
- package/src/logic/solidLogicSingleton.ts +1 -1
- package/src/profile/ProfileLogic.ts +0 -0
- package/src/typeIndex/typeIndexLogic.ts +5 -5
- package/src/types.ts +0 -0
- package/src/util/UtilityLogic.ts +3 -3
- package/src/util/debug.ts +0 -0
- package/src/util/uri.ts +0 -0
- package/test/aclLogic.test.ts +0 -0
- package/test/authUtil.test.ts +0 -0
- package/test/chatLogic.test.ts +0 -0
- package/test/discoveryLogic.test.ts +740 -0
- package/test/helpers/setup.ts +3 -0
- package/test/inboxLogic.test.ts +0 -0
- package/test/logic.test.ts +0 -0
- package/test/solidAuthLogic.test.ts +0 -0
- package/test/typeIndexLogic.test.ts +5 -4
- package/test/utilityLogic.test.ts +0 -0
- package/tsconfig.json +0 -0
package/test/helpers/setup.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { error, log, trace, warn } from '../../src/util/debug'
|
|
2
2
|
import fetchMock from "jest-fetch-mock";
|
|
3
|
+
import { TextEncoder, TextDecoder } from 'util'
|
|
4
|
+
global.TextEncoder = TextEncoder
|
|
5
|
+
global.TextDecoder = TextDecoder
|
|
3
6
|
|
|
4
7
|
fetchMock.enableMocks();
|
|
5
8
|
// We don't want to output debug messages to console as part of the tests
|
package/test/inboxLogic.test.ts
CHANGED
|
File without changes
|
package/test/logic.test.ts
CHANGED
|
File without changes
|
|
File without changes
|
|
@@ -20,12 +20,13 @@ describe('loadTypeIndexes', () => {
|
|
|
20
20
|
it('exists', () => {
|
|
21
21
|
expect(typeIndexLogic.loadTypeIndexes).toBeInstanceOf(Function)
|
|
22
22
|
})
|
|
23
|
-
it('runs', () => {
|
|
24
|
-
|
|
23
|
+
it.skip('runs', async () => {
|
|
24
|
+
const result = await typeIndexLogic.loadTypeIndexes({})
|
|
25
|
+
expect(result).toBeInstanceOf(Object)
|
|
25
26
|
})
|
|
26
27
|
})
|
|
27
28
|
|
|
28
|
-
describe('registerInTypeIndex', () =>
|
|
29
|
+
describe('registerInTypeIndex', () => {
|
|
29
30
|
it('exists', () => {
|
|
30
31
|
expect(typeIndexLogic.registerInTypeIndex).toBeInstanceOf(Function)
|
|
31
32
|
})
|
|
@@ -38,4 +39,4 @@ describe('registerInTypeIndex', () => {
|
|
|
38
39
|
)).rejects
|
|
39
40
|
.toThrow('@@ ensureLoadedPreferences: no user specified')
|
|
40
41
|
})
|
|
41
|
-
})
|
|
42
|
+
})
|
|
File without changes
|
package/tsconfig.json
CHANGED
|
File without changes
|