@xyo-network/sdk-js 3.0.5 → 3.0.7

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.
Files changed (1) hide show
  1. package/package.json +83 -83
package/package.json CHANGED
@@ -1,38 +1,99 @@
1
1
  {
2
+ "name": "@xyo-network/sdk-js",
3
+ "version": "3.0.7",
4
+ "description": "Primary SDK for using XYO Protocol 2.0",
5
+ "homepage": "https://xyo.network",
6
+ "bugs": {
7
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues",
8
+ "email": "support@xyo.network"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
13
+ },
14
+ "license": "LGPL-3.0-only",
2
15
  "author": {
3
- "email": "support@xyo.network",
4
16
  "name": "XYO Development Team",
17
+ "email": "support@xyo.network",
5
18
  "url": "https://xyo.network"
6
19
  },
7
- "bugs": {
8
- "email": "support@xyo.network",
9
- "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
20
+ "sideEffects": false,
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "browser": {
25
+ "import": {
26
+ "types": "./dist/browser/index.d.ts",
27
+ "default": "./dist/browser/index.mjs"
28
+ }
29
+ },
30
+ "node": {
31
+ "import": {
32
+ "types": "./dist/node/index.d.ts",
33
+ "default": "./dist/node/index.mjs"
34
+ }
35
+ },
36
+ "types": "./dist/neutral/index.d.ts",
37
+ "default": "./dist/neutral/index.mjs"
38
+ },
39
+ "./package.json": "./package.json",
40
+ "./README.md": "./README.md"
10
41
  },
42
+ "module": "./dist/neutral/index.mjs",
43
+ "types": "./dist/neutral/index.d.ts",
11
44
  "workspaces": [
12
45
  "packages/**/*"
13
46
  ],
47
+ "scripts": {
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",
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)",
56
+ "lint-pkg": "npmPkgJsonLint .",
57
+ "perf": "yarn jest -c jest.config.perf.cjs",
58
+ "test": "vitest --watch false",
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",
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",
66
+ "test:sentinel": "jest . --passWithNoTests --forceExit -- --group=sentinel",
67
+ "test:thumbnail": "jest . --passWithNoTests --forceExit -- --group=thumbnail",
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
+ },
14
76
  "dependencies": {
15
- "@xyo-network/core-payload-plugins": "^3.0.5",
16
- "@xyo-network/manifest": "^3.0.5",
17
- "@xyo-network/modules": "^3.0.5",
18
- "@xyo-network/protocol": "^3.0.5",
19
- "@xyo-network/sdk-utils": "^3.0.5",
20
- "@xyo-network/shared": "^3.0.5"
77
+ "@xyo-network/core-payload-plugins": "^3.0.7",
78
+ "@xyo-network/manifest": "^3.0.7",
79
+ "@xyo-network/modules": "^3.0.7",
80
+ "@xyo-network/protocol": "^3.0.7",
81
+ "@xyo-network/sdk-utils": "^3.0.7",
82
+ "@xyo-network/shared": "^3.0.7"
21
83
  },
22
- "description": "Primary SDK for using XYO Protocol 2.0",
23
84
  "devDependencies": {
24
85
  "@babel/core": "^7.25.2",
25
86
  "@stylistic/eslint-plugin": "^2.6.4",
26
87
  "@types/jest": "^29.5.12",
27
88
  "@types/supertest": "^6.0.2",
28
- "@typescript-eslint/eslint-plugin": "^8.1.0",
29
- "@typescript-eslint/parser": "^8.1.0",
30
- "@xylabs/eslint-config-flat": "^4.0.0-rc.20",
89
+ "@typescript-eslint/eslint-plugin": "^8.2.0",
90
+ "@typescript-eslint/parser": "^8.2.0",
91
+ "@xylabs/eslint-config-flat": "^4.0.0",
31
92
  "@xylabs/forget": "^4.0.2",
32
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
33
- "@xylabs/tsconfig": "^4.0.0-rc.20",
34
- "@xylabs/tsconfig-dom-jest": "^4.0.0-rc.20",
35
- "@xylabs/tsconfig-jest": "^4.0.0-rc.20",
93
+ "@xylabs/ts-scripts-yarn3": "^4.0.0",
94
+ "@xylabs/tsconfig": "^4.0.0",
95
+ "@xylabs/tsconfig-dom-jest": "^4.0.0",
96
+ "@xylabs/tsconfig-jest": "^4.0.0",
36
97
  "babel-jest": "^29.7.0",
37
98
  "dotenv": "^16.4.5",
38
99
  "eslint": "^9.9.0",
@@ -55,74 +116,13 @@
55
116
  "typescript": "^5.5.4",
56
117
  "vitest": "^2.0.5"
57
118
  },
58
- "resolutions": {
59
- "axios": "^1",
60
- "ethers": "^6",
61
- "fake-indexeddb": "^4",
62
- "quick-lru": "^5"
63
- },
64
- "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",
65
- "exports": {
66
- ".": {
67
- "browser": {
68
- "import": {
69
- "types": "./dist/browser/index.d.ts",
70
- "default": "./dist/browser/index.mjs"
71
- }
72
- },
73
- "node": {
74
- "import": {
75
- "types": "./dist/node/index.d.ts",
76
- "default": "./dist/node/index.mjs"
77
- }
78
- },
79
- "types": "./dist/neutral/index.d.ts",
80
- "default": "./dist/neutral/index.mjs"
81
- },
82
- "./package.json": "./package.json",
83
- "./README.md": "./README.md"
84
- },
85
- "module": "./dist/neutral/index.mjs",
86
- "types": "./dist/neutral/index.d.ts",
87
- "homepage": "https://xyo.network",
88
- "license": "LGPL-3.0-only",
89
- "name": "@xyo-network/sdk-js",
90
- "publishConfig": {
91
- "access": "public"
92
- },
93
- "repository": {
94
- "type": "git",
95
- "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
96
- },
97
- "scripts": {
98
- "coverage": "yarn jest --coverage --forceExit",
99
- "compile": "./scripts/clear-scrollback-buffer.sh && yarn xy compile",
100
- "build": "xy build && xy statics",
101
- "deploy": "xy deploy",
102
- "lint-pkg": "npmPkgJsonLint .",
103
- "perf": "yarn jest -c jest.config.perf.cjs",
104
- "test-esm": "FORCE_COLOR=1 && node $(yarn jest --no-cache --forceExit)",
105
- "test": "vitest --watch false",
106
- "test:no-slow": "jest . --passWithNoTests --forceExit -- --group=-slow",
107
- "test:module": "jest . --passWithNoTests --forceExit -- --group=module",
108
- "test:sentinel": "jest . --passWithNoTests --forceExit -- --group=sentinel",
109
- "test:thumbnail": "jest . --passWithNoTests --forceExit -- --group=thumbnail",
110
- "test:no-mongo": "jest ${0} --passWithNoTests --forceExit -c ./jest.config.no-mongo.ts -- --group=-mongo",
111
- "testx": "jest ${0} --passWithNoTests --forceExit -c ./jest.config.no-mongo.ts -- --group=-mongo",
112
- "test:hash-perf": "jest packages/protocol/packages/core/packages/hash/src/spec/PayloadHasher.bigobj.perf.spec.ts -c ./jest.config.no-mongo.ts",
113
- "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",
114
- "test:ci": "jest --runInBand --coverage --forceExit --passWithNoTests",
115
- "free-8080": "kill -9 $(lsof -t -i :8080)",
116
- "free-3033": "kill -9 $(lsof -t -i :3033)",
117
- "free-mongo": "kill -9 $(lsof -t -i :55391) && kill -9 $(lsof -t -i :55393)",
118
- "build-typedoc-site": "typedoc"
119
- },
120
- "sideEffects": false,
121
- "version": "3.0.5",
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
- "type": "module"
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
  }