@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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/* eslint-disable no-restricted-imports */\nexport * 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":";AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
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":["/* eslint-disable no-restricted-imports */\nexport * 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":";AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
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":["/* eslint-disable no-restricted-imports */\nexport * 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":";AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
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":"AACA,cAAc,mCAAmC,CAAA;AACjD,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,uBAAuB,CAAA;AACrC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA"}
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
- ...importConfig.rules,
65
- 'import-x/no-internal-modules': [
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.34",
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/browser/index.d.ts",
25
+ "types": "./dist/types/index.d.ts",
26
26
  "default": "./dist/browser/index.mjs"
27
27
  },
28
28
  "node": {
29
- "types": "./dist/node/index.d.ts",
29
+ "types": "./dist/types/index.d.ts",
30
30
  "default": "./dist/node/index.mjs"
31
31
  },
32
- "types": "./dist/neutral/index.d.ts",
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/neutral/index.d.ts",
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.34",
66
- "@xyo-network/manifest": "^3.9.34",
67
- "@xyo-network/modules": "^3.9.34",
68
- "@xyo-network/protocol": "^3.9.34",
69
- "@xyo-network/sdk-utils": "^3.9.34",
70
- "@xyo-network/shared": "^3.9.34"
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.0",
78
- "@typescript-eslint/parser": "^8.26.0",
79
- "@vitest/coverage-v8": "^3.0.7",
80
- "@xylabs/eslint-config-flat": "^5.0.39",
81
- "@xylabs/forget": "^4.5.7",
82
- "@xylabs/ts-scripts-yarn3": "^5.0.39",
83
- "@xylabs/tsconfig": "^5.0.39",
84
- "@xylabs/vitest-extended": "^4.5.7",
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.21.0",
87
- "eslint-import-resolver-typescript": "^3.8.3",
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.7"
96
+ "vitest": "^3.0.8"
97
97
  },
98
98
  "packageManager": "yarn@4.6.0",
99
99
  "volta": {
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- /* eslint-disable no-restricted-imports */
2
1
  export * from '@xyo-network/core-payload-plugins'
3
2
  export * from '@xyo-network/manifest'
4
3
  export * from '@xyo-network/modules'
@@ -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"}
@@ -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"}
@@ -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