@xyo-network/plugins 3.0.3 → 3.0.5

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,2 +1,3 @@
1
1
  export * from '@xyo-network/payload-plugins';
2
2
  export * from '@xyo-network/payloadset-plugins';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  export * from '@xyo-network/payload-plugins';
2
2
  export * from '@xyo-network/payloadset-plugins';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
@@ -1,2 +1,3 @@
1
1
  export * from '@xyo-network/payload-plugins';
2
2
  export * from '@xyo-network/payloadset-plugins';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,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,115 +1,107 @@
1
1
  {
2
2
  "name": "@xyo-network/plugins",
3
+ "version": "3.0.5",
4
+ "description": "Typescript/Javascript Plugins for XYO Platform",
5
+ "homepage": "https://xyo.network",
6
+ "bugs": {
7
+ "url": "git+https://github.com/XYOracleNetwork/plugins/issues",
8
+ "email": "support@xyo.network"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/XYOracleNetwork/plugins.git"
13
+ },
14
+ "license": "LGPL-3.0-only",
3
15
  "author": {
4
- "email": "support@xyo.network",
5
16
  "name": "XYO Development Team",
17
+ "email": "support@xyo.network",
6
18
  "url": "https://xyo.network"
7
19
  },
8
- "bugs": {
9
- "email": "support@xyo.network",
10
- "url": "git+https://github.com/XYOracleNetwork/plugins/issues"
20
+ "sideEffects": false,
21
+ "type": "module",
22
+ "exports": {
23
+ ".": {
24
+ "types": "./dist/neutral/index.d.ts",
25
+ "default": "./dist/neutral/index.mjs"
26
+ },
27
+ "./package.json": "./package.json"
11
28
  },
29
+ "module": "dist/neutral/index.mjs",
30
+ "types": "dist/neutral/index.d.ts",
12
31
  "workspaces": [
13
32
  "packages/**/*"
14
33
  ],
34
+ "scripts": {
35
+ "build": "xy build && xy statics",
36
+ "build-typedoc-site": "typedoc",
37
+ "compile": "./scripts/clear-scrollback-buffer.sh && yarn xy compile",
38
+ "coverage": "yarn jest --coverage --forceExit",
39
+ "deploy": "xy deploy",
40
+ "lint-pkg": "npmPkgJsonLint .",
41
+ "test": "jest --no-cache --forceExit",
42
+ "test-esm": "node $(yarn jest --no-cache --forceExit)"
43
+ },
44
+ "resolutions": {
45
+ "axios": "^1",
46
+ "eslint": "^8",
47
+ "ethers": "^6",
48
+ "quick-lru": "^5"
49
+ },
15
50
  "dependencies": {
16
- "@xyo-network/payload-plugins": "^3.0.3",
17
- "@xyo-network/payloadset-plugins": "^3.0.3"
51
+ "@xyo-network/payload-plugins": "^3.0.5",
52
+ "@xyo-network/payloadset-plugins": "^3.0.5"
18
53
  },
19
54
  "devDependencies": {
20
55
  "@babel/core": "^7.25.2",
56
+ "@ethersproject/address": "^5.7.0",
57
+ "@ethersproject/bignumber": "^5.7.0",
21
58
  "@stylistic/eslint-plugin": "^2.6.4",
22
59
  "@types/jest": "^29.5.12",
23
60
  "@types/supertest": "^6.0.2",
24
- "@typescript-eslint/eslint-plugin": "^8.1.0",
25
- "@typescript-eslint/parser": "^8.1.0",
26
- "@xylabs/eslint-config-flat": "^4.0.0-rc.20",
27
- "@xylabs/forget": "^4.0.2",
28
- "@xylabs/platform": "^4.0.2",
29
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
30
- "@xylabs/tsconfig": "^4.0.0-rc.20",
31
- "@xylabs/tsconfig-dom-jest": "^4.0.0-rc.20",
32
- "@xylabs/tsconfig-jest": "^4.0.0-rc.20",
33
- "@xyo-network/account": "^3.0.3",
34
- "@xyo-network/archivist-memory": "^3.0.3",
35
- "@xyo-network/boundwitness-builder": "^3.0.3",
36
- "@xyo-network/hash": "^3.0.3",
37
- "@xyo-network/manifest": "^3.0.3",
38
- "@xyo-network/manifest-wrapper": "^3.0.3",
39
- "@xyo-network/node-memory": "^3.0.3",
40
- "@xyo-network/payload-builder": "^3.0.3",
41
- "babel-jest": "^29.7.0",
61
+ "@typescript-eslint/eslint-plugin": "^8.2.0",
62
+ "@typescript-eslint/parser": "^8.2.0",
63
+ "@xylabs/eslint-config-flat": "^4.0.7",
64
+ "@xylabs/forget": "^4.0.5",
65
+ "@xylabs/platform": "^4.0.5",
66
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
67
+ "@xylabs/tsconfig": "^4.0.7",
68
+ "@xylabs/tsconfig-dom-jest": "^4.0.7",
69
+ "@xylabs/tsconfig-jest": "^4.0.7",
70
+ "@xyo-network/account": "^3.0.11",
71
+ "@xyo-network/archivist-memory": "^3.0.11",
72
+ "@xyo-network/boundwitness-builder": "^3.0.11",
73
+ "@xyo-network/hash": "^3.0.11",
74
+ "@xyo-network/manifest": "^3.0.11",
75
+ "@xyo-network/manifest-wrapper": "^3.0.11",
76
+ "@xyo-network/node-memory": "^3.0.11",
77
+ "@xyo-network/payload-builder": "^3.0.11",
42
78
  "dotenv": "^16.4.5",
43
- "eslint": "^9.9.0",
44
- "eslint-import-resolver-typescript": "^3.6.1",
79
+ "eslint": "^9.9.1",
80
+ "eslint-import-resolver-typescript": "^3.6.3",
45
81
  "eslint-plugin-import": "^2.29.1",
46
- "eslint-plugin-prettier": "^5.2.1",
47
- "eslint-plugin-simple-import-sort": "^12.1.1",
48
- "eslint-plugin-sonarjs": "^1.0.4",
49
- "eslint-plugin-workspaces": "^0.10.1",
50
- "jest": "^29.7.0",
51
82
  "jest-docblock": "^29.7.0",
52
83
  "jest-environment-jsdom": "^29.7.0",
53
84
  "jest-extended": "^4.0.2",
54
- "jest-runner": "^29.7.0",
55
- "jest-runner-groups": "^2.2.0",
56
85
  "jest-sorted": "^1.0.15",
57
86
  "jsbi": "^3.2.5",
58
- "jsdom": "^24.1.1",
87
+ "jsdom": "^25.0.0",
59
88
  "lodash": "^4.17.21",
60
89
  "lodash-es": "^4.17.21",
61
90
  "nodemon": "^3.1.4",
62
91
  "reflect-metadata": "^0.2.2",
63
92
  "supertest": "^7.0.0",
64
- "ts-jest": "^29.2.4",
65
- "ts-node": "^10.9.2",
66
- "tslib": "^2.6.3",
67
- "typedoc": "^0.26.5",
93
+ "tslib": "^2.7.0",
94
+ "typedoc": "^0.26.6",
68
95
  "typescript": "^5.5.4",
69
96
  "vitest": "^2.0.5"
70
97
  },
71
- "resolutions": {
72
- "axios": "^1",
73
- "eslint": "^8",
74
- "ethers": "^6",
75
- "quick-lru": "^5"
76
- },
77
- "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",
78
- "description": "Typescript/Javascript Plugins for XYO Platform",
79
- "exports": {
80
- ".": {
81
- "types": "./dist/neutral/index.d.ts",
82
- "default": "./dist/neutral/index.mjs"
83
- },
84
- "./package.json": "./package.json"
85
- },
86
- "module": "dist/neutral/index.mjs",
87
- "types": "dist/neutral/index.d.ts",
88
- "homepage": "https://xyo.network",
89
- "license": "LGPL-3.0-only",
90
- "publishConfig": {
91
- "access": "public"
92
- },
93
- "repository": {
94
- "type": "git",
95
- "url": "git+https://github.com/XYOracleNetwork/plugins.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
- "test-esm": "node $(yarn jest --no-cache --forceExit)",
104
- "test": "jest --no-cache --forceExit",
105
- "build-typedoc-site": "typedoc"
106
- },
107
- "sideEffects": false,
108
- "version": "3.0.3",
109
98
  "packageManager": "yarn@4.4.0",
110
99
  "volta": {
111
100
  "node": "22.3.0",
112
101
  "yarn": "1.22.22"
113
102
  },
114
- "type": "module"
103
+ "publishConfig": {
104
+ "access": "public"
105
+ },
106
+ "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"
115
107
  }
@@ -1,18 +0,0 @@
1
- import { config } from 'dotenv'
2
- config()
3
- import type { Config } from 'jest'
4
- import type { SuperTest, Test } from 'supertest'
5
-
6
- // Augment global scope with shared variables (must be var)
7
- declare global {
8
- // eslint-disable-next-line no-var
9
- var req: SuperTest<Test>
10
- }
11
-
12
- /**
13
- * Jest global setup method runs before any tests are run
14
- * https://jestjs.io/docs/configuration#globalsetup-string
15
- */
16
- const setup = async (_globalConfig: Config, _projectConfig: Config) => {}
17
- // eslint-disable-next-line id-denylist
18
- module.exports = setup
@@ -1,12 +0,0 @@
1
- import { config } from 'dotenv'
2
- config()
3
- import type { Config } from 'jest'
4
-
5
- /**
6
- * Jest global teardown method runs after all tests are run
7
- * https://jestjs.io/docs/configuration#globalteardown-string
8
- */
9
-
10
- const teardown = async (_globalConfig: Config, _projectConfig: Config) => {}
11
- // eslint-disable-next-line id-denylist
12
- module.exports = teardown
@@ -1,10 +0,0 @@
1
- import { ForgetPromise } from '@xylabs/forget'
2
-
3
- beforeAll(() => {
4
- // Can be async, before each test file
5
- })
6
-
7
- afterAll(async () => {
8
- // Can be async, after each test file
9
- await ForgetPromise.awaitInactive()
10
- })