@xyo-network/xl1-test 1.26.11 → 1.26.13
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/package.json +36 -10
- package/src/getTestProviderContext.ts +0 -17
- package/src/index.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/xl1-test",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.13",
|
|
4
4
|
"description": "XYO Layer One Test Utilities",
|
|
5
5
|
"homepage": "https://xylabs.com",
|
|
6
6
|
"bugs": {
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
"exports": {
|
|
23
23
|
".": {
|
|
24
24
|
"types": "./dist/neutral/index.d.ts",
|
|
25
|
-
"source": "./src/index.ts",
|
|
26
25
|
"default": "./dist/neutral/index.mjs"
|
|
27
26
|
},
|
|
28
27
|
"./package.json": "./package.json"
|
|
@@ -32,26 +31,53 @@
|
|
|
32
31
|
"types": "./dist/neutral/index.d.ts",
|
|
33
32
|
"files": [
|
|
34
33
|
"dist",
|
|
35
|
-
"src",
|
|
36
34
|
"!**/*.bench.*",
|
|
37
35
|
"!**/*.spec.*",
|
|
38
|
-
"!**/*.test.*"
|
|
36
|
+
"!**/*.test.*",
|
|
37
|
+
"README.md"
|
|
39
38
|
],
|
|
40
39
|
"dependencies": {
|
|
41
|
-
"@xyo-network/xl1-protocol-sdk": "~1.26.
|
|
40
|
+
"@xyo-network/xl1-protocol-sdk": "~1.26.13"
|
|
42
41
|
},
|
|
43
42
|
"devDependencies": {
|
|
43
|
+
"@firebase/app": "0.x",
|
|
44
|
+
"@firebase/app-compat": "0.x",
|
|
45
|
+
"@firebase/app-types": "0.x",
|
|
46
|
+
"@firebase/util": "1.x",
|
|
47
|
+
"@metamask/providers": "^22",
|
|
48
|
+
"@opentelemetry/api": "^1",
|
|
44
49
|
"@types/node": "^25.5.0",
|
|
45
|
-
"@xylabs/
|
|
46
|
-
"@xylabs/
|
|
47
|
-
"@xylabs/ts-scripts-
|
|
48
|
-
"@xylabs/
|
|
50
|
+
"@xylabs/geo": "^5",
|
|
51
|
+
"@xylabs/sdk-js": "^5.0.91",
|
|
52
|
+
"@xylabs/ts-scripts-common": "~7.6.13",
|
|
53
|
+
"@xylabs/ts-scripts-yarn3": "~7.6.13",
|
|
54
|
+
"@xylabs/tsconfig": "~7.6.13",
|
|
55
|
+
"@xyo-network/sdk-js": "^5",
|
|
56
|
+
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0",
|
|
57
|
+
"ajv": "^8",
|
|
58
|
+
"axios": "^1",
|
|
59
|
+
"cosmiconfig": ">=9",
|
|
60
|
+
"esbuild": ">=0.18",
|
|
61
|
+
"eslint": "^6.0.0 || ^7.0.0 || >=8.0.0",
|
|
62
|
+
"ethers": "^6",
|
|
63
|
+
"firebase": "^12",
|
|
64
|
+
"lru-cache": "^11",
|
|
65
|
+
"mapbox-gl": "^3",
|
|
66
|
+
"mongodb": "^6 || ^7",
|
|
67
|
+
"rollup": "^3.29.4 || ^4",
|
|
68
|
+
"tslib": "^2.8.1",
|
|
49
69
|
"typescript": "~5.9.3",
|
|
50
|
-
"
|
|
70
|
+
"webextension-polyfill": "^0.10.0 || ^0.11.0 || ^0.12.0",
|
|
51
71
|
"zod": "~4.3.6"
|
|
52
72
|
},
|
|
53
73
|
"peerDependencies": {
|
|
74
|
+
"@opentelemetry/api": "^1",
|
|
54
75
|
"@xylabs/sdk-js": "^5",
|
|
76
|
+
"@xyo-network/sdk-js": "^5",
|
|
77
|
+
"axios": "^1",
|
|
78
|
+
"ethers": "^6",
|
|
79
|
+
"mongodb": "^6 || ^7",
|
|
80
|
+
"typescript": ">=4.9.5",
|
|
55
81
|
"zod": "^4"
|
|
56
82
|
},
|
|
57
83
|
"engines": {
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Config } from '@xyo-network/xl1-protocol-sdk'
|
|
2
|
-
import { ConfigZod, ProviderFactoryLocator } from '@xyo-network/xl1-protocol-sdk'
|
|
3
|
-
|
|
4
|
-
/** Result of getTestProviderContext with concrete locator type */
|
|
5
|
-
export interface TestProviderContext {
|
|
6
|
-
locator: ProviderFactoryLocator
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
/** Creates a test provider context with a fresh ProviderFactoryLocator */
|
|
10
|
-
export function getTestProviderContext(config: Config = ConfigZod.parse({})): TestProviderContext {
|
|
11
|
-
const singletons = {}
|
|
12
|
-
const caches = {}
|
|
13
|
-
const locator = new ProviderFactoryLocator({
|
|
14
|
-
config, singletons, caches, logger: console,
|
|
15
|
-
})
|
|
16
|
-
return { locator }
|
|
17
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './getTestProviderContext.ts'
|