@xyo-network/sdk-js 3.9.34 → 3.9.36
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/dist/browser/index.mjs.map +1 -1
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/node/index.mjs.map +1 -1
- package/dist/{node → types}/index.d.ts.map +1 -1
- package/eslint.config.mjs +5 -65
- package/package.json +22 -22
- package/src/index.ts +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/neutral/index.d.ts +0 -7
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/node/index.d.ts +0 -7
- /package/dist/{browser → types}/index.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/core-payload-plugins'\nexport * from '@xyo-network/manifest'\nexport * from '@xyo-network/modules'\nexport * from '@xyo-network/protocol'\nexport * from '@xyo-network/sdk-utils'\nexport * from '@xyo-network/shared'\n"],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/core-payload-plugins'\nexport * from '@xyo-network/manifest'\nexport * from '@xyo-network/modules'\nexport * from '@xyo-network/protocol'\nexport * from '@xyo-network/sdk-utils'\nexport * from '@xyo-network/shared'\n"],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
package/dist/node/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/core-payload-plugins'\nexport * from '@xyo-network/manifest'\nexport * from '@xyo-network/modules'\nexport * from '@xyo-network/protocol'\nexport * from '@xyo-network/sdk-utils'\nexport * from '@xyo-network/shared'\n"],"mappings":";AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAA;AACjD,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}
|
package/eslint.config.mjs
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
// eslint.config.mjs
|
|
2
|
-
|
|
3
1
|
import {
|
|
4
2
|
typescriptConfig,
|
|
5
3
|
unicornConfig,
|
|
@@ -10,75 +8,17 @@ import {
|
|
|
10
8
|
} from '@xylabs/eslint-config-flat'
|
|
11
9
|
|
|
12
10
|
export default [
|
|
13
|
-
{
|
|
14
|
-
ignores: [
|
|
15
|
-
'.yarn/**',
|
|
16
|
-
'**/dist/**',
|
|
17
|
-
'dist',
|
|
18
|
-
'build/**',
|
|
19
|
-
'node_modules/**',
|
|
20
|
-
'public',
|
|
21
|
-
'.storybook',
|
|
22
|
-
'storybook-static',
|
|
23
|
-
'**/docs/**/*.js',
|
|
24
|
-
],
|
|
25
|
-
},
|
|
11
|
+
{ ignores: ['.yarn', 'dist', '**/dist/**', 'build', '**/build/**', 'node_modules/**', 'public', 'storybook-static', 'eslint.config.mjs'] },
|
|
26
12
|
unicornConfig,
|
|
27
13
|
workspacesConfig,
|
|
28
14
|
rulesConfig,
|
|
15
|
+
typescriptConfig,
|
|
16
|
+
importConfig,
|
|
29
17
|
sonarConfig,
|
|
30
18
|
{
|
|
31
|
-
...typescriptConfig,
|
|
32
|
-
rules: { ...typescriptConfig.rules },
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
rules: {
|
|
36
|
-
'no-restricted-imports': [
|
|
37
|
-
'warn',
|
|
38
|
-
{
|
|
39
|
-
paths: [
|
|
40
|
-
...rulesConfig.rules['no-restricted-imports'][1].paths,
|
|
41
|
-
'@types/node',
|
|
42
|
-
'@xylabs/lodash',
|
|
43
|
-
'@xyo-network/archivist',
|
|
44
|
-
'@xyo-network/bridge',
|
|
45
|
-
'@xyo-network/core',
|
|
46
|
-
'@xyo-network/diviner',
|
|
47
|
-
'@xyo-network/module',
|
|
48
|
-
'@xyo-network/modules',
|
|
49
|
-
'@xyo-network/node',
|
|
50
|
-
'@xyo-network/sdk',
|
|
51
|
-
'@xyo-network/plugins',
|
|
52
|
-
'@xyo-network/protocol',
|
|
53
|
-
'@xyo-network/sentinel',
|
|
54
|
-
'@xyo-network/witness',
|
|
55
|
-
'@xyo-network/core-payload-plugins',
|
|
56
|
-
],
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
...importConfig,
|
|
63
19
|
rules: {
|
|
64
|
-
|
|
65
|
-
'import-x/no-
|
|
66
|
-
'warn',
|
|
67
|
-
{
|
|
68
|
-
allow: [
|
|
69
|
-
'**/*.json', // Allow JSON imports
|
|
70
|
-
'vitest/**', // Allow vitest internal imports
|
|
71
|
-
'@*/**', // Allow imports from any @scoped package
|
|
72
|
-
// Allow imports to any index.js file
|
|
73
|
-
'**/index.js',
|
|
74
|
-
'**/index.ts',
|
|
75
|
-
'**/index.jsx',
|
|
76
|
-
'**/index.tsx',
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
],
|
|
80
|
-
'import-x/no-cycle': ['warn', { maxDepth: 5 }],
|
|
20
|
+
'sonarjs/prefer-single-boolean-return': ['off'],
|
|
21
|
+
'import-x/no-unresolved': ['off'],
|
|
81
22
|
},
|
|
82
23
|
},
|
|
83
|
-
{ rules: { '@typescript-eslint/consistent-type-imports': ['warn', { prefer: 'type-imports' }] } },
|
|
84
24
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/sdk-js",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.36",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"browser": {
|
|
25
|
-
"types": "./dist/
|
|
25
|
+
"types": "./dist/types/index.d.ts",
|
|
26
26
|
"default": "./dist/browser/index.mjs"
|
|
27
27
|
},
|
|
28
28
|
"node": {
|
|
29
|
-
"types": "./dist/
|
|
29
|
+
"types": "./dist/types/index.d.ts",
|
|
30
30
|
"default": "./dist/node/index.mjs"
|
|
31
31
|
},
|
|
32
|
-
"types": "./dist/
|
|
32
|
+
"types": "./dist/types/index.d.ts",
|
|
33
33
|
"default": "./dist/neutral/index.mjs"
|
|
34
34
|
},
|
|
35
35
|
"./package.json": "./package.json",
|
|
36
36
|
"./README.md": "./README.md"
|
|
37
37
|
},
|
|
38
38
|
"module": "./dist/neutral/index.mjs",
|
|
39
|
-
"types": "./dist/
|
|
39
|
+
"types": "./dist/types/index.d.ts",
|
|
40
40
|
"workspaces": [
|
|
41
41
|
"packages/**/*"
|
|
42
42
|
],
|
|
@@ -62,29 +62,29 @@
|
|
|
62
62
|
"quick-lru": "^5"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@xyo-network/core-payload-plugins": "^3.9.
|
|
66
|
-
"@xyo-network/manifest": "^3.9.
|
|
67
|
-
"@xyo-network/modules": "^3.9.
|
|
68
|
-
"@xyo-network/protocol": "^3.9.
|
|
69
|
-
"@xyo-network/sdk-utils": "^3.9.
|
|
70
|
-
"@xyo-network/shared": "^3.9.
|
|
65
|
+
"@xyo-network/core-payload-plugins": "^3.9.36",
|
|
66
|
+
"@xyo-network/manifest": "^3.9.36",
|
|
67
|
+
"@xyo-network/modules": "^3.9.36",
|
|
68
|
+
"@xyo-network/protocol": "^3.9.36",
|
|
69
|
+
"@xyo-network/sdk-utils": "^3.9.36",
|
|
70
|
+
"@xyo-network/shared": "^3.9.36"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@firebase/app": "^0.11.2",
|
|
74
74
|
"@firebase/app-compat": "^0.2.51",
|
|
75
75
|
"@stylistic/eslint-plugin": "^4.2.0",
|
|
76
76
|
"@types/supertest": "^6.0.2",
|
|
77
|
-
"@typescript-eslint/eslint-plugin": "^8.26.
|
|
78
|
-
"@typescript-eslint/parser": "^8.26.
|
|
79
|
-
"@vitest/coverage-v8": "^3.0.
|
|
80
|
-
"@xylabs/eslint-config-flat": "^
|
|
81
|
-
"@xylabs/forget": "^4.
|
|
82
|
-
"@xylabs/ts-scripts-yarn3": "^
|
|
83
|
-
"@xylabs/tsconfig": "^
|
|
84
|
-
"@xylabs/vitest-extended": "^4.
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "^8.26.1",
|
|
78
|
+
"@typescript-eslint/parser": "^8.26.1",
|
|
79
|
+
"@vitest/coverage-v8": "^3.0.8",
|
|
80
|
+
"@xylabs/eslint-config-flat": "^6.0.5",
|
|
81
|
+
"@xylabs/forget": "^4.6.0",
|
|
82
|
+
"@xylabs/ts-scripts-yarn3": "^6.0.5",
|
|
83
|
+
"@xylabs/tsconfig": "^6.0.5",
|
|
84
|
+
"@xylabs/vitest-extended": "^4.6.0",
|
|
85
85
|
"dotenv": "^16.4.7",
|
|
86
|
-
"eslint": "^9.
|
|
87
|
-
"eslint-import-resolver-typescript": "^3.8.
|
|
86
|
+
"eslint": "^9.22.0",
|
|
87
|
+
"eslint-import-resolver-typescript": "^3.8.5",
|
|
88
88
|
"jsdom": "^26.0.0",
|
|
89
89
|
"knip": "^5.45.0",
|
|
90
90
|
"reflect-metadata": "^0.2.2",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"typedoc": "^0.27.9",
|
|
94
94
|
"typedoc-material-theme": "^1.3.0",
|
|
95
95
|
"typescript": "^5.8.2",
|
|
96
|
-
"vitest": "^3.0.
|
|
96
|
+
"vitest": "^3.0.8"
|
|
97
97
|
},
|
|
98
98
|
"packageManager": "yarn@4.6.0",
|
|
99
99
|
"volta": {
|
package/src/index.ts
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}
|
package/dist/neutral/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from '@xyo-network/core-payload-plugins';
|
|
2
|
-
export * from '@xyo-network/manifest';
|
|
3
|
-
export * from '@xyo-network/modules';
|
|
4
|
-
export * from '@xyo-network/protocol';
|
|
5
|
-
export * from '@xyo-network/sdk-utils';
|
|
6
|
-
export * from '@xyo-network/shared';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}
|
package/dist/node/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from '@xyo-network/core-payload-plugins';
|
|
2
|
-
export * from '@xyo-network/manifest';
|
|
3
|
-
export * from '@xyo-network/modules';
|
|
4
|
-
export * from '@xyo-network/protocol';
|
|
5
|
-
export * from '@xyo-network/sdk-utils';
|
|
6
|
-
export * from '@xyo-network/shared';
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
File without changes
|