@sentry/wasm 7.67.0-beta.0 → 7.68.0
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": "@sentry/wasm",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.68.0",
|
|
4
4
|
"description": "Support for WASM.",
|
|
5
5
|
"repository": "git://github.com/getsentry/sentry-javascript.git",
|
|
6
6
|
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/wasm",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"types": "types/index.d.ts",
|
|
15
15
|
"typesVersions": {
|
|
16
16
|
"<4.9": {
|
|
17
|
-
"
|
|
17
|
+
"types/index.d.ts": [
|
|
18
18
|
"types-ts3.8/index.d.ts"
|
|
19
19
|
]
|
|
20
20
|
}
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"access": "public"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@sentry/browser": "7.
|
|
27
|
-
"@sentry/types": "7.
|
|
28
|
-
"@sentry/utils": "7.
|
|
26
|
+
"@sentry/browser": "7.68.0",
|
|
27
|
+
"@sentry/types": "7.68.0",
|
|
28
|
+
"@sentry/utils": "7.68.0",
|
|
29
29
|
"tslib": "^2.4.1 || ^1.9.3"
|
|
30
30
|
},
|
|
31
31
|
"sideEffects": false
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventProcessor, Hub, Integration } from '@sentry/types';
|
|
2
|
+
/**
|
|
3
|
+
* Process WASM stack traces to support server-side symbolication.
|
|
4
|
+
*
|
|
5
|
+
* This also hooks the WebAssembly loading browser API so that module
|
|
6
|
+
* registraitons are intercepted.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Wasm implements Integration {
|
|
9
|
+
/**
|
|
10
|
+
* @inheritDoc
|
|
11
|
+
*/
|
|
12
|
+
static id: string;
|
|
13
|
+
/**
|
|
14
|
+
* @inheritDoc
|
|
15
|
+
*/
|
|
16
|
+
name: string;
|
|
17
|
+
constructor();
|
|
18
|
+
/**
|
|
19
|
+
* @inheritDoc
|
|
20
|
+
*/
|
|
21
|
+
setupOnce(addGlobalEventProcessor: (callback: EventProcessor) => void, _getCurrentHub: () => Hub): void;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { DebugImage } from '@sentry/types';
|
|
2
|
+
export declare const IMAGES: Array<DebugImage>;
|
|
3
|
+
export interface ModuleInfo {
|
|
4
|
+
buildId: string | null;
|
|
5
|
+
debugFile: string | null;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Returns the extracted meta information from a web assembly module that
|
|
9
|
+
* Sentry uses to identify debug images.
|
|
10
|
+
*
|
|
11
|
+
* @param module
|
|
12
|
+
*/
|
|
13
|
+
export declare function getModuleInfo(module: WebAssembly.Module): ModuleInfo;
|
|
14
|
+
/**
|
|
15
|
+
* Records a module
|
|
16
|
+
*/
|
|
17
|
+
export declare function registerModule(module: WebAssembly.Module, url: string): void;
|
|
18
|
+
/**
|
|
19
|
+
* Returns all known images.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getImages(): Array<DebugImage>;
|
|
22
|
+
/**
|
|
23
|
+
* Looks up an image by URL.
|
|
24
|
+
*
|
|
25
|
+
* @param url the URL of the WebAssembly module.
|
|
26
|
+
*/
|
|
27
|
+
export declare function getImage(url: string): number;
|
|
28
|
+
//# sourceMappingURL=registry.d.ts.map
|