@xyo-network/plugins 2.99.6 → 3.0.1
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 +0 -1
- package/dist/neutral/index.d.ts +0 -1
- package/dist/node/index.d.ts +0 -1
- package/package.json +30 -46
- package/vitest.config.ts +12 -0
- package/vitest.startup.ts +8 -0
- package/dist/browser/index.cjs +0 -22
- package/dist/browser/index.cjs.map +0 -1
- package/dist/browser/index.d.cts +0 -3
- package/dist/browser/index.d.cts.map +0 -1
- package/dist/browser/index.d.mts +0 -3
- package/dist/browser/index.d.mts.map +0 -1
- package/dist/browser/index.d.ts.map +0 -1
- package/dist/neutral/index.cjs +0 -22
- package/dist/neutral/index.cjs.map +0 -1
- package/dist/neutral/index.d.cts +0 -3
- package/dist/neutral/index.d.cts.map +0 -1
- package/dist/neutral/index.d.mts +0 -3
- package/dist/neutral/index.d.mts.map +0 -1
- package/dist/neutral/index.d.ts.map +0 -1
- package/dist/node/index.cjs +0 -27
- package/dist/node/index.cjs.map +0 -1
- package/dist/node/index.d.cts +0 -3
- package/dist/node/index.d.cts.map +0 -1
- package/dist/node/index.d.mts +0 -3
- package/dist/node/index.d.mts.map +0 -1
- package/dist/node/index.d.ts.map +0 -1
package/dist/browser/index.d.ts
CHANGED
package/dist/neutral/index.d.ts
CHANGED
package/dist/node/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -13,34 +13,34 @@
|
|
|
13
13
|
"packages/**/*"
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xyo-network/payload-plugins": "^
|
|
17
|
-
"@xyo-network/payloadset-plugins": "^
|
|
16
|
+
"@xyo-network/payload-plugins": "^3.0.1",
|
|
17
|
+
"@xyo-network/payloadset-plugins": "^3.0.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@babel/core": "^7.25.2",
|
|
21
|
-
"@stylistic/eslint-plugin": "^2.6.
|
|
21
|
+
"@stylistic/eslint-plugin": "^2.6.3",
|
|
22
22
|
"@types/jest": "^29.5.12",
|
|
23
23
|
"@types/supertest": "^6.0.2",
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "^8.0
|
|
25
|
-
"@typescript-eslint/parser": "^8.0
|
|
26
|
-
"@xylabs/eslint-config": "^
|
|
27
|
-
"@xylabs/
|
|
28
|
-
"@xylabs/
|
|
29
|
-
"@xylabs/
|
|
30
|
-
"@xylabs/
|
|
31
|
-
"@xylabs/tsconfig": "^
|
|
32
|
-
"@xylabs/tsconfig-
|
|
33
|
-
"@xyo-network/account": "^
|
|
34
|
-
"@xyo-network/archivist-memory": "^
|
|
35
|
-
"@xyo-network/boundwitness-builder": "^
|
|
36
|
-
"@xyo-network/hash": "^
|
|
37
|
-
"@xyo-network/manifest": "^
|
|
38
|
-
"@xyo-network/manifest-wrapper": "^
|
|
39
|
-
"@xyo-network/node-memory": "^
|
|
40
|
-
"@xyo-network/payload-builder": "^
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
25
|
+
"@typescript-eslint/parser": "^8.1.0",
|
|
26
|
+
"@xylabs/eslint-config-flat": "^4.0.0-rc.15",
|
|
27
|
+
"@xylabs/forget": "^4.0.1",
|
|
28
|
+
"@xylabs/platform": "^4.0.1",
|
|
29
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
|
|
30
|
+
"@xylabs/tsconfig": "^4.0.0-rc.15",
|
|
31
|
+
"@xylabs/tsconfig-dom-jest": "^4.0.0-rc.15",
|
|
32
|
+
"@xylabs/tsconfig-jest": "^4.0.0-rc.15",
|
|
33
|
+
"@xyo-network/account": "^3.0.2",
|
|
34
|
+
"@xyo-network/archivist-memory": "^3.0.2",
|
|
35
|
+
"@xyo-network/boundwitness-builder": "^3.0.2",
|
|
36
|
+
"@xyo-network/hash": "^3.0.2",
|
|
37
|
+
"@xyo-network/manifest": "^3.0.2",
|
|
38
|
+
"@xyo-network/manifest-wrapper": "^3.0.2",
|
|
39
|
+
"@xyo-network/node-memory": "^3.0.2",
|
|
40
|
+
"@xyo-network/payload-builder": "^3.0.2",
|
|
41
41
|
"babel-jest": "^29.7.0",
|
|
42
42
|
"dotenv": "^16.4.5",
|
|
43
|
-
"eslint": "^9.
|
|
43
|
+
"eslint": "^9.9.0",
|
|
44
44
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
45
45
|
"eslint-plugin-import": "^2.29.1",
|
|
46
46
|
"eslint-plugin-prettier": "^5.2.1",
|
|
@@ -55,7 +55,9 @@
|
|
|
55
55
|
"jest-runner-groups": "^2.2.0",
|
|
56
56
|
"jest-sorted": "^1.0.15",
|
|
57
57
|
"jsbi": "^3.2.5",
|
|
58
|
+
"jsdom": "^24.1.1",
|
|
58
59
|
"lodash": "^4.17.21",
|
|
60
|
+
"lodash-es": "^4.17.21",
|
|
59
61
|
"nodemon": "^3.1.4",
|
|
60
62
|
"reflect-metadata": "^0.2.2",
|
|
61
63
|
"supertest": "^7.0.0",
|
|
@@ -63,7 +65,8 @@
|
|
|
63
65
|
"ts-node": "^10.9.2",
|
|
64
66
|
"tslib": "^2.6.3",
|
|
65
67
|
"typedoc": "^0.26.5",
|
|
66
|
-
"typescript": "^5.5.4"
|
|
68
|
+
"typescript": "^5.5.4",
|
|
69
|
+
"vitest": "^2.0.5"
|
|
67
70
|
},
|
|
68
71
|
"resolutions": {
|
|
69
72
|
"axios": "^1",
|
|
@@ -75,32 +78,13 @@
|
|
|
75
78
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
76
79
|
"exports": {
|
|
77
80
|
".": {
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
"types": "./dist/browser/index.d.cts",
|
|
81
|
-
"default": "./dist/browser/index.cjs"
|
|
82
|
-
},
|
|
83
|
-
"import": {
|
|
84
|
-
"types": "./dist/browser/index.d.mts",
|
|
85
|
-
"default": "./dist/browser/index.mjs"
|
|
86
|
-
}
|
|
87
|
-
},
|
|
88
|
-
"node": {
|
|
89
|
-
"require": {
|
|
90
|
-
"types": "./dist/node/index.d.cts",
|
|
91
|
-
"default": "./dist/node/index.cjs"
|
|
92
|
-
},
|
|
93
|
-
"import": {
|
|
94
|
-
"types": "./dist/node/index.d.mts",
|
|
95
|
-
"default": "./dist/node/index.mjs"
|
|
96
|
-
}
|
|
97
|
-
}
|
|
81
|
+
"types": "./dist/neutral/index.d.ts",
|
|
82
|
+
"default": "./dist/neutral/index.mjs"
|
|
98
83
|
},
|
|
99
84
|
"./package.json": "./package.json"
|
|
100
85
|
},
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"types": "dist/node/index.d.ts",
|
|
86
|
+
"module": "dist/neutral/index.mjs",
|
|
87
|
+
"types": "dist/neutral/index.d.ts",
|
|
104
88
|
"homepage": "https://xyo.network",
|
|
105
89
|
"license": "LGPL-3.0-only",
|
|
106
90
|
"publishConfig": {
|
|
@@ -121,7 +105,7 @@
|
|
|
121
105
|
"build-typedoc-site": "typedoc"
|
|
122
106
|
},
|
|
123
107
|
"sideEffects": false,
|
|
124
|
-
"version": "
|
|
108
|
+
"version": "3.0.1",
|
|
125
109
|
"packageManager": "yarn@4.4.0",
|
|
126
110
|
"volta": {
|
|
127
111
|
"node": "22.3.0",
|
package/vitest.config.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import dotenv from 'dotenv'
|
|
2
|
+
// eslint-disable-next-line import-x/no-internal-modules
|
|
3
|
+
import { defineConfig } from 'vitest/config'
|
|
4
|
+
|
|
5
|
+
dotenv.config()
|
|
6
|
+
|
|
7
|
+
export default defineConfig({
|
|
8
|
+
test: {
|
|
9
|
+
globals: true,
|
|
10
|
+
setupFiles: ['./vitest.startup.ts'],
|
|
11
|
+
},
|
|
12
|
+
})
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as matchers from 'jest-extended'
|
|
2
|
+
import { expect, vi } from 'vitest'
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5
|
+
(globalThis as any).jest = vi // replace jest with vi
|
|
6
|
+
|
|
7
|
+
// Extend Vitest's expect with jest-extended matchers
|
|
8
|
+
expect.extend(matchers)
|
package/dist/browser/index.cjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
|
|
17
|
-
// src/index.ts
|
|
18
|
-
var src_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(src_exports);
|
|
20
|
-
__reExport(src_exports, require("@xyo-network/payload-plugins"), module.exports);
|
|
21
|
-
__reExport(src_exports, require("@xyo-network/payloadset-plugins"), module.exports);
|
|
22
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/payload-plugins'\nexport * from '@xyo-network/payloadset-plugins'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,yCAAd;AACA,wBAAc,4CADd;","names":[]}
|
package/dist/browser/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/dist/browser/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/dist/neutral/index.cjs
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
|
|
17
|
-
// src/index.ts
|
|
18
|
-
var src_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(src_exports);
|
|
20
|
-
__reExport(src_exports, require("@xyo-network/payload-plugins"), module.exports);
|
|
21
|
-
__reExport(src_exports, require("@xyo-network/payloadset-plugins"), module.exports);
|
|
22
|
-
//# sourceMappingURL=index.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/payload-plugins'\nexport * from '@xyo-network/payloadset-plugins'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,yCAAd;AACA,wBAAc,4CADd;","names":[]}
|
package/dist/neutral/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/dist/neutral/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/dist/node/index.cjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __copyProps = (to, from, except, desc) => {
|
|
7
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
-
for (let key of __getOwnPropNames(from))
|
|
9
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
|
|
17
|
-
// src/index.ts
|
|
18
|
-
var src_exports = {};
|
|
19
|
-
module.exports = __toCommonJS(src_exports);
|
|
20
|
-
__reExport(src_exports, require("@xyo-network/payload-plugins"), module.exports);
|
|
21
|
-
__reExport(src_exports, require("@xyo-network/payloadset-plugins"), module.exports);
|
|
22
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
23
|
-
0 && (module.exports = {
|
|
24
|
-
...require("@xyo-network/payload-plugins"),
|
|
25
|
-
...require("@xyo-network/payloadset-plugins")
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/node/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@xyo-network/payload-plugins'\nexport * from '@xyo-network/payloadset-plugins'\n"],"mappings":";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,yCAAd;AACA,wBAAc,4CADd;","names":[]}
|
package/dist/node/index.d.cts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/dist/node/index.d.mts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/dist/node/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|