@authsignal/browser
Advanced tools
@@ -15,9 +15,20 @@ import { A11yDialogEvent } from "a11y-dialog"; | ||
| private resizeListener; | ||
| private fallbackTimer; | ||
| private iframeReady; | ||
| private containerEl; | ||
| private contentEl; | ||
| private styleEl; | ||
| private iframeEl; | ||
| private previousOverflow; | ||
| constructor({ width, height, isClosable }: PopupHandlerOptions); | ||
| create({ width, height, isClosable }: PopupHandlerOptions): void; | ||
| destroy(): void; | ||
| private init; | ||
| private destroy; | ||
| show({ url, expectedOrigin }: PopupShowInput): void; | ||
| close(): void; | ||
| on(event: A11yDialogEvent, listener: EventListener): void; | ||
| /** | ||
| * Resize the iframe to the height of the pre-built UI's (#widget_container) | ||
| */ | ||
| private resizeIframe; | ||
| } | ||
| export {}; |
+2
-1
@@ -73,3 +73,4 @@ import { WebAuthnError } from "@simplewebauthn/browser"; | ||
| AUTHSIGNAL_CLOSE_POPUP = "AUTHSIGNAL_CLOSE_POPUP", | ||
| AUTHSIGNAL_API_ERROR = "AUTHSIGNAL_API_ERROR" | ||
| AUTHSIGNAL_API_ERROR = "AUTHSIGNAL_API_ERROR", | ||
| AUTHSIGNAL_READY = "AUTHSIGNAL_READY" | ||
| } | ||
@@ -76,0 +77,0 @@ export type AuthsignalWindowMessageData = { |
+6
-3
| { | ||
| "name": "@authsignal/browser", | ||
| "version": "1.15.0", | ||
| "version": "1.16.0", | ||
| "type": "module", | ||
@@ -32,3 +32,4 @@ "main": "dist/index.js", | ||
| "lint": "eslint \"{cli,config,src,test}/**/*.ts\"", | ||
| "build": "rollup -c rollup.config.js" | ||
| "build": "rollup -c rollup.config.js", | ||
| "test": "vitest run" | ||
| }, | ||
@@ -52,6 +53,8 @@ "dependencies": { | ||
| "eslint-plugin-prettier": "^4.2.1", | ||
| "jsdom": "^29.0.0", | ||
| "prettier": "^2.7.1", | ||
| "rollup": "^2.79.2", | ||
| "tslib": "^2.4.0", | ||
| "typescript": "^5.6.2" | ||
| "typescript": "^5.6.2", | ||
| "vitest": "^4.1.0" | ||
| }, | ||
@@ -58,0 +61,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
282064
3.06%4944
2.34%16
14.29%