solid-logic 3.0.9-f51524a8 → 3.0.9-fa4d7e8
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/eslint.config.js +24 -23
- package/jest.config.js +8 -15
- package/lib/acl/aclLogic.d.ts +2 -2
- package/lib/acl/aclLogic.d.ts.map +1 -1
- package/lib/acl/aclLogic.js +168 -0
- package/lib/acl/aclLogic.js.map +1 -0
- package/lib/authSession/authSession.js +8 -0
- package/lib/authSession/authSession.js.map +1 -0
- package/lib/authn/SolidAuthnLogic.d.ts +3 -3
- package/lib/authn/SolidAuthnLogic.d.ts.map +1 -1
- package/lib/authn/SolidAuthnLogic.js +191 -0
- package/lib/authn/SolidAuthnLogic.js.map +1 -0
- package/lib/authn/authUtil.d.ts +1 -1
- package/lib/authn/authUtil.js +105 -0
- package/lib/authn/authUtil.js.map +1 -0
- package/lib/chat/chatLogic.d.ts +1 -1
- package/lib/chat/chatLogic.js +272 -0
- package/lib/chat/chatLogic.js.map +1 -0
- package/lib/inbox/inboxLogic.d.ts +1 -1
- package/lib/inbox/inboxLogic.d.ts.map +1 -1
- package/lib/inbox/inboxLogic.js +139 -0
- package/lib/inbox/inboxLogic.js.map +1 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +31 -0
- package/lib/index.js.map +1 -0
- package/lib/issuer/issuerLogic.js +52 -0
- package/lib/issuer/issuerLogic.js.map +1 -0
- package/lib/logic/CustomError.d.ts.map +1 -1
- package/lib/logic/CustomError.js +89 -0
- package/lib/logic/CustomError.js.map +1 -0
- package/lib/logic/solidLogic.d.ts +2 -2
- package/lib/logic/solidLogic.d.ts.map +1 -1
- package/lib/logic/solidLogic.js +102 -0
- package/lib/logic/solidLogic.js.map +1 -0
- package/lib/logic/solidLogicSingleton.js +94 -0
- package/lib/logic/solidLogicSingleton.js.map +1 -0
- package/lib/profile/profileLogic.d.ts +1 -1
- package/lib/profile/profileLogic.js +259 -0
- package/lib/profile/profileLogic.js.map +1 -0
- package/lib/typeIndex/typeIndexLogic.js +399 -0
- package/lib/typeIndex/typeIndexLogic.js.map +1 -0
- package/lib/types.d.ts +2 -2
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/lib/util/containerLogic.d.ts +1 -1
- package/lib/util/containerLogic.d.ts.map +1 -1
- package/lib/util/containerLogic.js +102 -0
- package/lib/util/containerLogic.js.map +1 -0
- package/lib/util/debug.d.ts.map +1 -1
- package/lib/util/debug.js +40 -0
- package/lib/util/debug.js.map +1 -0
- package/lib/util/ns.js +44 -0
- package/lib/util/ns.js.map +1 -0
- package/lib/util/utilityLogic.d.ts +1 -1
- package/lib/util/utilityLogic.d.ts.map +1 -1
- package/lib/util/utilityLogic.js +284 -0
- package/lib/util/utilityLogic.js.map +1 -0
- package/lib/util/utils.d.ts +1 -1
- package/lib/util/utils.d.ts.map +1 -1
- package/lib/util/utils.js +47 -0
- package/lib/util/utils.js.map +1 -0
- package/package.json +15 -38
- package/src/acl/aclLogic.ts +8 -8
- package/src/authn/SolidAuthnLogic.ts +6 -6
- package/src/authn/authUtil.ts +1 -1
- package/src/chat/chatLogic.ts +75 -75
- package/src/inbox/inboxLogic.ts +19 -19
- package/src/index.ts +2 -1
- package/src/logic/CustomError.ts +6 -6
- package/src/logic/solidLogic.ts +22 -22
- package/src/logic/solidLogicSingleton.ts +3 -3
- package/src/profile/profileLogic.ts +22 -22
- package/src/typeIndex/typeIndexLogic.ts +7 -7
- package/src/types.ts +2 -2
- package/src/util/containerLogic.ts +15 -15
- package/src/util/debug.ts +8 -4
- package/src/util/utilityLogic.ts +18 -18
- package/src/util/utils.ts +12 -12
- package/test/aclLogic.test.ts +5 -5
- package/test/authUtil.test.ts +1 -1
- package/test/chatLogic.test.ts +154 -160
- package/test/container.test.ts +23 -23
- package/test/helpers/dataSetup.ts +1 -2
- package/test/helpers/setup.ts +3 -8
- package/test/inboxLogic.test.ts +110 -101
- package/test/logic.test.ts +2 -2
- package/test/profileLogic.test.ts +33 -35
- package/test/solidAuthLogic.test.ts +1 -1
- package/test/typeIndexLogic.test.ts +71 -71
- package/test/utilityLogic.test.ts +45 -46
- package/test/utils.test.ts +11 -11
- package/tsconfig.json +3 -5
- package/babel.config.js +0 -6
- package/lib/solid-logic.js +0 -107
- package/lib/solid-logic.js.map +0 -1
- package/rollup.config.js +0 -29
- package/src/versionInfo.ts +0 -32
- package/timestamp.sh +0 -13
- package/tsconfig.test.json +0 -8
package/rollup.config.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import resolve from '@rollup/plugin-node-resolve'
|
|
2
|
-
import commonjs from '@rollup/plugin-commonjs'
|
|
3
|
-
import typescript from '@rollup/plugin-typescript'
|
|
4
|
-
import { terser } from 'rollup-plugin-terser'
|
|
5
|
-
import fs from 'fs'
|
|
6
|
-
import json from '@rollup/plugin-json'
|
|
7
|
-
|
|
8
|
-
const license = fs.readFileSync('./LICENSE', 'utf8')
|
|
9
|
-
|
|
10
|
-
export default {
|
|
11
|
-
input: 'src/index.ts',
|
|
12
|
-
output: {
|
|
13
|
-
file: 'lib/solid-logic.js',
|
|
14
|
-
format: 'esm',
|
|
15
|
-
banner: `/*!\n${license}\n*/`,
|
|
16
|
-
sourcemap: true
|
|
17
|
-
},
|
|
18
|
-
plugins: [
|
|
19
|
-
resolve({ preferBuiltins: true }), // best practice to be true, chooses node.js buildins
|
|
20
|
-
commonjs(),
|
|
21
|
-
typescript({
|
|
22
|
-
declaration: false, // this is false so it does not generate types for the versionInfo file
|
|
23
|
-
declarationMap: false
|
|
24
|
-
}),
|
|
25
|
-
json(),
|
|
26
|
-
terser()
|
|
27
|
-
],
|
|
28
|
-
inlineDynamicImports: true // dissables multiple chunk creation, why we use rollup in the first place
|
|
29
|
-
}
|
package/src/versionInfo.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
buildTime: '2025-09-03T13:27:53Z',
|
|
3
|
-
commit: 'f51524a8b2838675def41063a67f073e76c5f8d7',
|
|
4
|
-
npmInfo: {
|
|
5
|
-
'\'solid-logic\'': '\'3.0.9\',',
|
|
6
|
-
'npm': '\'10.8.2\',',
|
|
7
|
-
'node': '\'20.19.4\',',
|
|
8
|
-
'acorn': '\'8.14.0\',',
|
|
9
|
-
'ada': '\'2.9.2\',',
|
|
10
|
-
'ares': '\'1.34.5\',',
|
|
11
|
-
'brotli': '\'1.1.0\',',
|
|
12
|
-
'cjs_module_lexer': '\'1.4.1\',',
|
|
13
|
-
'cldr': '\'47.0\',',
|
|
14
|
-
'icu': '\'77.1\',',
|
|
15
|
-
'llhttp': '\'9.2.1\',',
|
|
16
|
-
'modules': '\'115\',',
|
|
17
|
-
'napi': '\'9\',',
|
|
18
|
-
'nghttp2': '\'1.61.0\',',
|
|
19
|
-
'nghttp3': '\'0.7.0\',',
|
|
20
|
-
'ngtcp2': '\'1.1.0\',',
|
|
21
|
-
'openssl': '\'3.0.15+quic\',',
|
|
22
|
-
'simdutf': '\'6.4.2\',',
|
|
23
|
-
'tz': '\'2025b\',',
|
|
24
|
-
'undici': '\'6.21.2\',',
|
|
25
|
-
'unicode': '\'16.0\',',
|
|
26
|
-
'uv': '\'1.46.0\',',
|
|
27
|
-
'uvwasi': '\'0.0.21\',',
|
|
28
|
-
'v8': '\'11.3.244.8-node.29\',',
|
|
29
|
-
'zlib': '\'1.3.0.1-motley-82a5fec\'',
|
|
30
|
-
'}': '}',
|
|
31
|
-
}
|
|
32
|
-
}
|
package/timestamp.sh
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
echo "export default {"
|
|
4
|
-
date -u '+buildTime: "%Y-%m-%dT%H:%M:%SZ",'
|
|
5
|
-
git log | grep commit | head -1 | sed -e 's/ /: "/' | sed -e 's/$/",/'
|
|
6
|
-
echo " npmInfo: {"
|
|
7
|
-
npm version | sed 's/\x1b\[[0-9;:]*[mG]//g' | grep -v '^{' | while read line; do
|
|
8
|
-
key=$(echo "$line" | cut -d ':' -f 1 | tr -d ' ')
|
|
9
|
-
value=$(echo "$line" | cut -d ':' -f 2- | tr -d ' ')
|
|
10
|
-
echo " \"${key}\": \"${value}\","
|
|
11
|
-
done
|
|
12
|
-
echo " }"
|
|
13
|
-
echo "};"
|