@enbox/browser 0.1.1 → 0.1.3
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/esm/web-features.js
CHANGED
|
@@ -490,7 +490,7 @@ function resetContextMenuTarget(e) {
|
|
|
490
490
|
});
|
|
491
491
|
}
|
|
492
492
|
/**
|
|
493
|
-
* Activates various polyfills to enable
|
|
493
|
+
* Activates various polyfills to enable Enbox features in Web environments.
|
|
494
494
|
*
|
|
495
495
|
* @param options - Configuration options to control the activation of polyfills.
|
|
496
496
|
*
|
|
@@ -47,7 +47,7 @@ export declare function fetchResource(event: FetchEvent, did: string, drl: strin
|
|
|
47
47
|
/** @internal Exported for testing. Caches a DRL response with metadata headers. */
|
|
48
48
|
export declare function cacheResponse(drl: string, url: string, response: Response, cache: Cache): Promise<void>;
|
|
49
49
|
/**
|
|
50
|
-
* Activates various polyfills to enable
|
|
50
|
+
* Activates various polyfills to enable Enbox features in Web environments.
|
|
51
51
|
*
|
|
52
52
|
* @param options - Configuration options to control the activation of polyfills.
|
|
53
53
|
*
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enbox/browser",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.3",
|
|
4
|
+
"description": "Enbox tools and features to use in the browser",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/esm/index.js",
|
|
7
7
|
"module": "./dist/esm/index.js",
|
|
8
8
|
"types": "./dist/types/index.d.ts",
|
|
9
9
|
"scripts": {
|
|
10
|
-
"clean": "
|
|
11
|
-
"build:esm": "
|
|
10
|
+
"clean": "rm -rf dist",
|
|
11
|
+
"build:esm": "rm -rf dist/esm dist/types && bun tsc -p tsconfig.json",
|
|
12
12
|
"build:browser": "bun run build:esm",
|
|
13
13
|
"build": "bun run clean && bun run build:esm",
|
|
14
14
|
"lint": "eslint . --max-warnings 0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"access": "public"
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
|
-
"@enbox/dids": "0.0
|
|
58
|
+
"@enbox/dids": "0.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@typescript-eslint/eslint-plugin": "8.32.1",
|
|
@@ -63,8 +63,7 @@
|
|
|
63
63
|
"@vitest/browser-playwright": "4.0.18",
|
|
64
64
|
"@vitest/coverage-istanbul": "4.0.18",
|
|
65
65
|
"eslint": "9.7.0",
|
|
66
|
-
"
|
|
67
|
-
"typescript": "5.5.4",
|
|
66
|
+
"typescript": "5.9.3",
|
|
68
67
|
"vitest": "4.0.18"
|
|
69
68
|
}
|
|
70
69
|
}
|
package/src/web-features.ts
CHANGED
|
@@ -545,7 +545,7 @@ async function resetContextMenuTarget(e?: Event): Promise<void> {
|
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
|
-
* Activates various polyfills to enable
|
|
548
|
+
* Activates various polyfills to enable Enbox features in Web environments.
|
|
549
549
|
*
|
|
550
550
|
* @param options - Configuration options to control the activation of polyfills.
|
|
551
551
|
*
|