@enactprotocol/shared 2.1.31 → 2.1.33
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enactprotocol/shared",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.33",
|
|
4
4
|
"description": "Core business logic and utilities for Enact",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"typecheck": "tsc --noEmit"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@enactprotocol/trust": "2.1.
|
|
21
|
+
"@enactprotocol/trust": "2.1.33",
|
|
22
22
|
"js-yaml": "^4.1.1",
|
|
23
23
|
"zod": "^4.1.13"
|
|
24
24
|
},
|
|
@@ -10,7 +10,8 @@ import { checkForUpdates } from "../src/update-checker";
|
|
|
10
10
|
function createMockFetch(handler: () => Promise<Partial<Response>>): typeof globalThis.fetch {
|
|
11
11
|
const mockFn = (() => handler()) as unknown as typeof globalThis.fetch;
|
|
12
12
|
// Add preconnect property required by Bun's fetch type
|
|
13
|
-
//
|
|
13
|
+
// biome-ignore lint/suspicious/noExplicitAny: Required for mocking Bun's fetch type
|
|
14
|
+
// biome-ignore lint/suspicious/noEmptyBlockStatements: Intentional no-op for mock
|
|
14
15
|
(mockFn as any).preconnect = () => {};
|
|
15
16
|
return mockFn;
|
|
16
17
|
}
|