@effect/platform-browser
Advanced tools
Comparing version
@@ -58,7 +58,4 @@ "use strict"; | ||
}) | ||
}).pipe(Effect.map(status => ({ | ||
...status, | ||
name | ||
}))) | ||
}) | ||
})); | ||
//# sourceMappingURL=Permissions.js.map |
@@ -48,7 +48,4 @@ /** | ||
}) | ||
}).pipe(Effect.map(status => ({ | ||
...status, | ||
name | ||
}))) | ||
}) | ||
})); | ||
//# sourceMappingURL=Permissions.js.map |
{ | ||
"name": "@effect/platform-browser", | ||
"version": "0.59.8", | ||
"version": "0.60.0", | ||
"description": "Platform specific implementations for the browser", | ||
@@ -16,4 +16,4 @@ "license": "MIT", | ||
"peerDependencies": { | ||
"@effect/platform": "^0.80.8", | ||
"effect": "^3.14.8" | ||
"@effect/platform": "^0.80.9", | ||
"effect": "^3.14.9" | ||
}, | ||
@@ -20,0 +20,0 @@ "publishConfig": { |
@@ -90,3 +90,3 @@ /** | ||
Effect.tryPromise({ | ||
try: () => navigator.permissions.query({ name }), | ||
try: () => navigator.permissions.query({ name }) as Promise<any>, | ||
catch: (cause) => | ||
@@ -97,6 +97,4 @@ new PermissionsError({ | ||
}) | ||
}).pipe( | ||
Effect.map((status) => ({ ...status, name })) | ||
) | ||
}) | ||
}) | ||
) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
214436
-0.19%3226
-0.25%