@xyo-network/sdk-js 3.0.6 → 3.0.8
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.d.ts +1 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +1 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/node/index.d.ts +1 -0
- package/dist/node/index.d.ts.map +1 -0
- package/jest.config.ts +1 -3
- package/package.json +85 -85
- package/xy.config.ts +1 -3
package/dist/browser/index.d.ts
CHANGED
|
@@ -0,0 +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"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -0,0 +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"}
|
package/dist/node/index.d.ts
CHANGED
|
@@ -0,0 +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"}
|
package/jest.config.ts
CHANGED
|
@@ -5,9 +5,7 @@ const generateJestConfig = ({ esModules }: { esModules: string[] }) => {
|
|
|
5
5
|
extensionsToTreatAsEsm: ['.ts'],
|
|
6
6
|
globalSetup: './jestSetup/globalSetup.ts',
|
|
7
7
|
globalTeardown: './jestSetup/globalTeardown.ts',
|
|
8
|
-
moduleNameMapper: {
|
|
9
|
-
'^(\\.{1,2}/.*)\\.js$': '$1',
|
|
10
|
-
},
|
|
8
|
+
moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1' },
|
|
11
9
|
preset: 'ts-jest',
|
|
12
10
|
setupFiles: ['dotenv/config'],
|
|
13
11
|
setupFilesAfterEnv: ['jest-sorted', 'jest-extended/all', './jestSetup/setupFiles.ts'],
|
package/package.json
CHANGED
|
@@ -1,67 +1,24 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
},
|
|
2
|
+
"name": "@xyo-network/sdk-js",
|
|
3
|
+
"version": "3.0.8",
|
|
4
|
+
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
|
+
"homepage": "https://xyo.network",
|
|
7
6
|
"bugs": {
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
},
|
|
11
|
-
"workspaces": [
|
|
12
|
-
"packages/**/*"
|
|
13
|
-
],
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"@xyo-network/core-payload-plugins": "^3.0.6",
|
|
16
|
-
"@xyo-network/manifest": "^3.0.6",
|
|
17
|
-
"@xyo-network/modules": "^3.0.6",
|
|
18
|
-
"@xyo-network/protocol": "^3.0.6",
|
|
19
|
-
"@xyo-network/sdk-utils": "^3.0.6",
|
|
20
|
-
"@xyo-network/shared": "^3.0.6"
|
|
7
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
|
|
8
|
+
"email": "support@xyo.network"
|
|
21
9
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"@stylistic/eslint-plugin": "^2.6.4",
|
|
26
|
-
"@types/jest": "^29.5.12",
|
|
27
|
-
"@types/supertest": "^6.0.2",
|
|
28
|
-
"@typescript-eslint/eslint-plugin": "^8.2.0",
|
|
29
|
-
"@typescript-eslint/parser": "^8.2.0",
|
|
30
|
-
"@xylabs/eslint-config-flat": "^4.0.0-rc.30",
|
|
31
|
-
"@xylabs/forget": "^4.0.2",
|
|
32
|
-
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.30",
|
|
33
|
-
"@xylabs/tsconfig": "^4.0.0-rc.30",
|
|
34
|
-
"@xylabs/tsconfig-dom-jest": "^4.0.0-rc.30",
|
|
35
|
-
"@xylabs/tsconfig-jest": "^4.0.0-rc.30",
|
|
36
|
-
"babel-jest": "^29.7.0",
|
|
37
|
-
"dotenv": "^16.4.5",
|
|
38
|
-
"eslint": "^9.9.0",
|
|
39
|
-
"eslint-import-resolver-typescript": "^3.6.1",
|
|
40
|
-
"jest": "^29.7.0",
|
|
41
|
-
"jest-docblock": "^29.7.0",
|
|
42
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
43
|
-
"jest-extended": "^4.0.2",
|
|
44
|
-
"jest-runner": "^29.7.0",
|
|
45
|
-
"jest-runner-groups": "^2.2.0",
|
|
46
|
-
"jest-sorted": "^1.0.15",
|
|
47
|
-
"jsdom": "^24.1.1",
|
|
48
|
-
"reflect-metadata": "^0.2.2",
|
|
49
|
-
"supertest": "^7.0.0",
|
|
50
|
-
"ts-jest": "^29.2.4",
|
|
51
|
-
"ts-node": "^10.9.2",
|
|
52
|
-
"tslib": "^2.6.3",
|
|
53
|
-
"typedoc": "^0.26.6",
|
|
54
|
-
"typedoc-material-theme": "^1.1.0",
|
|
55
|
-
"typescript": "^5.5.4",
|
|
56
|
-
"vitest": "^2.0.5"
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
57
13
|
},
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
14
|
+
"license": "LGPL-3.0-only",
|
|
15
|
+
"author": {
|
|
16
|
+
"name": "XYO Development Team",
|
|
17
|
+
"email": "support@xyo.network",
|
|
18
|
+
"url": "https://xyo.network"
|
|
63
19
|
},
|
|
64
|
-
"
|
|
20
|
+
"sideEffects": false,
|
|
21
|
+
"type": "module",
|
|
65
22
|
"exports": {
|
|
66
23
|
".": {
|
|
67
24
|
"browser": {
|
|
@@ -84,45 +41,88 @@
|
|
|
84
41
|
},
|
|
85
42
|
"module": "./dist/neutral/index.mjs",
|
|
86
43
|
"types": "./dist/neutral/index.d.ts",
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"publishConfig": {
|
|
91
|
-
"access": "public"
|
|
92
|
-
},
|
|
93
|
-
"repository": {
|
|
94
|
-
"type": "git",
|
|
95
|
-
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
|
|
96
|
-
},
|
|
44
|
+
"workspaces": [
|
|
45
|
+
"packages/**/*"
|
|
46
|
+
],
|
|
97
47
|
"scripts": {
|
|
98
|
-
"coverage": "yarn jest --coverage --forceExit",
|
|
99
|
-
"compile": "./scripts/clear-scrollback-buffer.sh && yarn xy compile",
|
|
100
48
|
"build": "xy build && xy statics",
|
|
49
|
+
"build-typedoc-site": "typedoc",
|
|
50
|
+
"compile": "./scripts/clear-scrollback-buffer.sh && yarn xy compile",
|
|
51
|
+
"coverage": "yarn jest --coverage --forceExit",
|
|
101
52
|
"deploy": "xy deploy",
|
|
53
|
+
"free-3033": "kill -9 $(lsof -t -i :3033)",
|
|
54
|
+
"free-8080": "kill -9 $(lsof -t -i :8080)",
|
|
55
|
+
"free-mongo": "kill -9 $(lsof -t -i :55391) && kill -9 $(lsof -t -i :55393)",
|
|
102
56
|
"lint-pkg": "npmPkgJsonLint .",
|
|
103
57
|
"perf": "yarn jest -c jest.config.perf.cjs",
|
|
104
|
-
"test-esm": "FORCE_COLOR=1 && node $(yarn jest --no-cache --forceExit)",
|
|
105
58
|
"test": "vitest --watch false",
|
|
106
|
-
"test
|
|
59
|
+
"test-esm": "FORCE_COLOR=1 && node $(yarn jest --no-cache --forceExit)",
|
|
60
|
+
"test:ci": "jest --runInBand --coverage --forceExit --passWithNoTests",
|
|
61
|
+
"test:hash-perf": "jest packages/protocol/packages/core/packages/hash/src/spec/PayloadHasher.bigobj.perf.spec.ts -c ./jest.config.no-mongo.ts",
|
|
62
|
+
"test:hash-perf-parallel": "jest packages/protocol/packages/core/packages/hash/src/spec/PayloadHasher.bigobj-parallel.perf.spec.ts -c ./jest.config.no-mongo.ts",
|
|
107
63
|
"test:module": "jest . --passWithNoTests --forceExit -- --group=module",
|
|
64
|
+
"test:no-mongo": "jest ${0} --passWithNoTests --forceExit -c ./jest.config.no-mongo.ts -- --group=-mongo",
|
|
65
|
+
"test:no-slow": "jest . --passWithNoTests --forceExit -- --group=-slow",
|
|
108
66
|
"test:sentinel": "jest . --passWithNoTests --forceExit -- --group=sentinel",
|
|
109
67
|
"test:thumbnail": "jest . --passWithNoTests --forceExit -- --group=thumbnail",
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
118
|
-
|
|
68
|
+
"testx": "jest ${0} --passWithNoTests --forceExit -c ./jest.config.no-mongo.ts -- --group=-mongo"
|
|
69
|
+
},
|
|
70
|
+
"resolutions": {
|
|
71
|
+
"axios": "^1",
|
|
72
|
+
"ethers": "^6",
|
|
73
|
+
"fake-indexeddb": "^4",
|
|
74
|
+
"quick-lru": "^5"
|
|
75
|
+
},
|
|
76
|
+
"dependencies": {
|
|
77
|
+
"@xyo-network/core-payload-plugins": "^3.0.8",
|
|
78
|
+
"@xyo-network/manifest": "^3.0.8",
|
|
79
|
+
"@xyo-network/modules": "^3.0.8",
|
|
80
|
+
"@xyo-network/protocol": "^3.0.8",
|
|
81
|
+
"@xyo-network/sdk-utils": "^3.0.8",
|
|
82
|
+
"@xyo-network/shared": "^3.0.8"
|
|
83
|
+
},
|
|
84
|
+
"devDependencies": {
|
|
85
|
+
"@babel/core": "^7.25.2",
|
|
86
|
+
"@stylistic/eslint-plugin": "^2.6.4",
|
|
87
|
+
"@types/jest": "^29.5.12",
|
|
88
|
+
"@types/supertest": "^6.0.2",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^8.2.0",
|
|
90
|
+
"@typescript-eslint/parser": "^8.2.0",
|
|
91
|
+
"@xylabs/eslint-config-flat": "^4.0.7",
|
|
92
|
+
"@xylabs/forget": "^4.0.3",
|
|
93
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.7",
|
|
94
|
+
"@xylabs/tsconfig": "^4.0.7",
|
|
95
|
+
"@xylabs/tsconfig-dom-jest": "^4.0.7",
|
|
96
|
+
"@xylabs/tsconfig-jest": "^4.0.7",
|
|
97
|
+
"babel-jest": "^29.7.0",
|
|
98
|
+
"dotenv": "^16.4.5",
|
|
99
|
+
"eslint": "^9.9.1",
|
|
100
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
101
|
+
"jest": "^29.7.0",
|
|
102
|
+
"jest-docblock": "^29.7.0",
|
|
103
|
+
"jest-environment-jsdom": "^29.7.0",
|
|
104
|
+
"jest-extended": "^4.0.2",
|
|
105
|
+
"jest-runner": "^29.7.0",
|
|
106
|
+
"jest-runner-groups": "^2.2.0",
|
|
107
|
+
"jest-sorted": "^1.0.15",
|
|
108
|
+
"jsdom": "^24.1.1",
|
|
109
|
+
"reflect-metadata": "^0.2.2",
|
|
110
|
+
"supertest": "^7.0.0",
|
|
111
|
+
"ts-jest": "^29.2.5",
|
|
112
|
+
"ts-node": "^10.9.2",
|
|
113
|
+
"tslib": "^2.7.0",
|
|
114
|
+
"typedoc": "^0.26.6",
|
|
115
|
+
"typedoc-material-theme": "^1.1.0",
|
|
116
|
+
"typescript": "^5.5.4",
|
|
117
|
+
"vitest": "^2.0.5"
|
|
119
118
|
},
|
|
120
|
-
"sideEffects": false,
|
|
121
|
-
"version": "3.0.6",
|
|
122
119
|
"packageManager": "yarn@4.4.0",
|
|
123
120
|
"volta": {
|
|
124
121
|
"node": "22.3.0",
|
|
125
122
|
"yarn": "1.22.22"
|
|
126
123
|
},
|
|
127
|
-
"
|
|
124
|
+
"publishConfig": {
|
|
125
|
+
"access": "public"
|
|
126
|
+
},
|
|
127
|
+
"resolutions_comment": "We set the above resolutions to make sure we pull in the latest versions of these packages even if some sub packages request earlier versions"
|
|
128
128
|
}
|