@opentelemetry/web-common 0.201.1 → 0.203.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/build/esm/SessionLogRecordProcessor.d.ts +2 -2
- package/build/esm/SessionLogRecordProcessor.js.map +1 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.js.map +1 -1
- package/build/esm/version.d.ts +1 -1
- package/build/esm/version.js +1 -1
- package/build/esm/version.js.map +1 -1
- package/build/esnext/SessionLogRecordProcessor.d.ts +2 -2
- package/build/esnext/SessionLogRecordProcessor.js.map +1 -1
- package/build/esnext/index.d.ts +1 -1
- package/build/esnext/index.js.map +1 -1
- package/build/esnext/version.d.ts +1 -1
- package/build/esnext/version.js +1 -1
- package/build/esnext/version.js.map +1 -1
- package/build/src/SessionLogRecordProcessor.d.ts +2 -2
- package/build/src/SessionLogRecordProcessor.js.map +1 -1
- package/build/src/index.d.ts +1 -1
- package/build/src/index.js.map +1 -1
- package/build/src/version.d.ts +1 -1
- package/build/src/version.js +1 -1
- package/build/src/version.js.map +1 -1
- package/package.json +7 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from '@opentelemetry/api';
|
|
2
|
-
import {
|
|
2
|
+
import { SdkLogRecord, LogRecordProcessor } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import { SessionProvider } from './types/SessionProvider';
|
|
4
4
|
/**
|
|
5
5
|
* SessionLogRecordProcessor is a {@link SpanProcessor} adds the session.id attribute
|
|
@@ -7,7 +7,7 @@ import { SessionProvider } from './types/SessionProvider';
|
|
|
7
7
|
export declare class SessionLogRecordProcessor implements LogRecordProcessor {
|
|
8
8
|
private _sessionIdProvider;
|
|
9
9
|
constructor(sessionIdProvider: SessionProvider);
|
|
10
|
-
onEmit(logRecord:
|
|
10
|
+
onEmit(logRecord: SdkLogRecord, _context?: Context | undefined): void;
|
|
11
11
|
/**
|
|
12
12
|
* Forces to export all finished spans
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionLogRecordProcessor.js","sourceRoot":"","sources":["../../src/SessionLogRecordProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAG5C;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAC5B,kBAAkB,CAAkB;IAE5C,YAAY,iBAAkC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"SessionLogRecordProcessor.js","sourceRoot":"","sources":["../../src/SessionLogRecordProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAG5C;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAC5B,kBAAkB,CAAkB;IAE5C,YAAY,iBAAkC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,SAAuB,EAAE,QAA8B;QAC5D,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,YAAY,EAAE,CAAC;QAC1D,IAAI,SAAS,EAAE;YACb,SAAS,CAAC,YAAY,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;SACpD;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,KAAmB,CAAC;IAEpC;;;OAGG;IACH,KAAK,CAAC,QAAQ,KAAmB,CAAC;CACnC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Context } from '@opentelemetry/api';\nimport { SdkLogRecord, LogRecordProcessor } from '@opentelemetry/sdk-logs';\nimport { ATTR_SESSION_ID } from './semconv';\nimport { SessionProvider } from './types/SessionProvider';\n\n/**\n * SessionLogRecordProcessor is a {@link SpanProcessor} adds the session.id attribute\n */\nexport class SessionLogRecordProcessor implements LogRecordProcessor {\n private _sessionIdProvider: SessionProvider;\n\n constructor(sessionIdProvider: SessionProvider) {\n this._sessionIdProvider = sessionIdProvider;\n }\n\n onEmit(logRecord: SdkLogRecord, _context?: Context | undefined): void {\n const sessionId = this._sessionIdProvider?.getSessionId();\n if (sessionId) {\n logRecord.setAttribute(ATTR_SESSION_ID, sessionId);\n }\n }\n\n /**\n * Forces to export all finished spans\n */\n async forceFlush(): Promise<void> {}\n\n /**\n * Shuts down the processor. Called when SDK is shut down. This is an\n * opportunity for processor to do any cleanup required.\n */\n async shutdown(): Promise<void> {}\n}\n"]}
|
package/build/esm/index.d.ts
CHANGED
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { SessionProvider } from './types/SessionProvider';\nexport {\n createSessionSpanProcessor,\n createSessionLogRecordProcessor,\n} from './utils';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { SessionProvider } from './types/SessionProvider';\nexport {\n createSessionSpanProcessor,\n createSessionLogRecordProcessor,\n} from './utils';\n"]}
|
package/build/esm/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.203.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/build/esm/version.js
CHANGED
package/build/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.203.0';\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from '@opentelemetry/api';
|
|
2
|
-
import {
|
|
2
|
+
import { SdkLogRecord, LogRecordProcessor } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import { SessionProvider } from './types/SessionProvider';
|
|
4
4
|
/**
|
|
5
5
|
* SessionLogRecordProcessor is a {@link SpanProcessor} adds the session.id attribute
|
|
@@ -7,7 +7,7 @@ import { SessionProvider } from './types/SessionProvider';
|
|
|
7
7
|
export declare class SessionLogRecordProcessor implements LogRecordProcessor {
|
|
8
8
|
private _sessionIdProvider;
|
|
9
9
|
constructor(sessionIdProvider: SessionProvider);
|
|
10
|
-
onEmit(logRecord:
|
|
10
|
+
onEmit(logRecord: SdkLogRecord, _context?: Context | undefined): void;
|
|
11
11
|
/**
|
|
12
12
|
* Forces to export all finished spans
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionLogRecordProcessor.js","sourceRoot":"","sources":["../../src/SessionLogRecordProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAG5C;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAC5B,kBAAkB,CAAkB;IAE5C,YAAY,iBAAkC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"SessionLogRecordProcessor.js","sourceRoot":"","sources":["../../src/SessionLogRecordProcessor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAIH,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAG5C;;GAEG;AACH,MAAM,OAAO,yBAAyB;IAC5B,kBAAkB,CAAkB;IAE5C,YAAY,iBAAkC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,SAAuB,EAAE,QAA8B;QAC5D,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,YAAY,EAAE,CAAC;QAC1D,IAAI,SAAS,EAAE;YACb,SAAS,CAAC,YAAY,CAAC,eAAe,EAAE,SAAS,CAAC,CAAC;SACpD;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,KAAmB,CAAC;IAEpC;;;OAGG;IACH,KAAK,CAAC,QAAQ,KAAmB,CAAC;CACnC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Context } from '@opentelemetry/api';\nimport { SdkLogRecord, LogRecordProcessor } from '@opentelemetry/sdk-logs';\nimport { ATTR_SESSION_ID } from './semconv';\nimport { SessionProvider } from './types/SessionProvider';\n\n/**\n * SessionLogRecordProcessor is a {@link SpanProcessor} adds the session.id attribute\n */\nexport class SessionLogRecordProcessor implements LogRecordProcessor {\n private _sessionIdProvider: SessionProvider;\n\n constructor(sessionIdProvider: SessionProvider) {\n this._sessionIdProvider = sessionIdProvider;\n }\n\n onEmit(logRecord: SdkLogRecord, _context?: Context | undefined): void {\n const sessionId = this._sessionIdProvider?.getSessionId();\n if (sessionId) {\n logRecord.setAttribute(ATTR_SESSION_ID, sessionId);\n }\n }\n\n /**\n * Forces to export all finished spans\n */\n async forceFlush(): Promise<void> {}\n\n /**\n * Shuts down the processor. Called when SDK is shut down. This is an\n * opportunity for processor to do any cleanup required.\n */\n async shutdown(): Promise<void> {}\n}\n"]}
|
package/build/esnext/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { SessionProvider } from './types/SessionProvider';\nexport {\n createSessionSpanProcessor,\n createSessionLogRecordProcessor,\n} from './utils';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,0BAA0B,EAC1B,+BAA+B,GAChC,MAAM,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { SessionProvider } from './types/SessionProvider';\nexport {\n createSessionSpanProcessor,\n createSessionLogRecordProcessor,\n} from './utils';\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.203.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/build/esnext/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,4DAA4D;AAC5D,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.203.0';\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Context } from '@opentelemetry/api';
|
|
2
|
-
import {
|
|
2
|
+
import { SdkLogRecord, LogRecordProcessor } from '@opentelemetry/sdk-logs';
|
|
3
3
|
import { SessionProvider } from './types/SessionProvider';
|
|
4
4
|
/**
|
|
5
5
|
* SessionLogRecordProcessor is a {@link SpanProcessor} adds the session.id attribute
|
|
@@ -7,7 +7,7 @@ import { SessionProvider } from './types/SessionProvider';
|
|
|
7
7
|
export declare class SessionLogRecordProcessor implements LogRecordProcessor {
|
|
8
8
|
private _sessionIdProvider;
|
|
9
9
|
constructor(sessionIdProvider: SessionProvider);
|
|
10
|
-
onEmit(logRecord:
|
|
10
|
+
onEmit(logRecord: SdkLogRecord, _context?: Context | undefined): void;
|
|
11
11
|
/**
|
|
12
12
|
* Forces to export all finished spans
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SessionLogRecordProcessor.js","sourceRoot":"","sources":["../../src/SessionLogRecordProcessor.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,uCAA4C;AAG5C;;GAEG;AACH,MAAa,yBAAyB;IAC5B,kBAAkB,CAAkB;IAE5C,YAAY,iBAAkC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"SessionLogRecordProcessor.js","sourceRoot":"","sources":["../../src/SessionLogRecordProcessor.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,uCAA4C;AAG5C;;GAEG;AACH,MAAa,yBAAyB;IAC5B,kBAAkB,CAAkB;IAE5C,YAAY,iBAAkC;QAC5C,IAAI,CAAC,kBAAkB,GAAG,iBAAiB,CAAC;IAC9C,CAAC;IAED,MAAM,CAAC,SAAuB,EAAE,QAA8B;QAC5D,MAAM,SAAS,GAAG,IAAI,CAAC,kBAAkB,EAAE,YAAY,EAAE,CAAC;QAC1D,IAAI,SAAS,EAAE;YACb,SAAS,CAAC,YAAY,CAAC,yBAAe,EAAE,SAAS,CAAC,CAAC;SACpD;IACH,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,UAAU,KAAmB,CAAC;IAEpC;;;OAGG;IACH,KAAK,CAAC,QAAQ,KAAmB,CAAC;CACnC;AAxBD,8DAwBC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { Context } from '@opentelemetry/api';\nimport { SdkLogRecord, LogRecordProcessor } from '@opentelemetry/sdk-logs';\nimport { ATTR_SESSION_ID } from './semconv';\nimport { SessionProvider } from './types/SessionProvider';\n\n/**\n * SessionLogRecordProcessor is a {@link SpanProcessor} adds the session.id attribute\n */\nexport class SessionLogRecordProcessor implements LogRecordProcessor {\n private _sessionIdProvider: SessionProvider;\n\n constructor(sessionIdProvider: SessionProvider) {\n this._sessionIdProvider = sessionIdProvider;\n }\n\n onEmit(logRecord: SdkLogRecord, _context?: Context | undefined): void {\n const sessionId = this._sessionIdProvider?.getSessionId();\n if (sessionId) {\n logRecord.setAttribute(ATTR_SESSION_ID, sessionId);\n }\n }\n\n /**\n * Forces to export all finished spans\n */\n async forceFlush(): Promise<void> {}\n\n /**\n * Shuts down the processor. Called when SDK is shut down. This is an\n * opportunity for processor to do any cleanup required.\n */\n async shutdown(): Promise<void> {}\n}\n"]}
|
package/build/src/index.d.ts
CHANGED
package/build/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,iCAGiB;AAFf,mHAAA,0BAA0B,OAAA;AAC1B,wHAAA,+BAA+B,OAAA","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { SessionProvider } from './types/SessionProvider';\nexport {\n createSessionSpanProcessor,\n createSessionLogRecordProcessor,\n} from './utils';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,iCAGiB;AAFf,mHAAA,0BAA0B,OAAA;AAC1B,wHAAA,+BAA+B,OAAA","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport type { SessionProvider } from './types/SessionProvider';\nexport {\n createSessionSpanProcessor,\n createSessionLogRecordProcessor,\n} from './utils';\n"]}
|
package/build/src/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.203.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/build/src/version.js
CHANGED
package/build/src/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4DAA4D;AAC/C,QAAA,OAAO,GAAG,SAAS,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// this is autogenerated file, see scripts/version-update.js\nexport const VERSION = '0.203.0';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentelemetry/web-common",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.203.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -66,15 +66,14 @@
|
|
|
66
66
|
"@opentelemetry/api": ">=1.4.0 <1.10.0"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@opentelemetry/sdk-logs": "0.
|
|
69
|
+
"@opentelemetry/sdk-logs": "0.203.0",
|
|
70
70
|
"@opentelemetry/sdk-trace-base": "2.0.1",
|
|
71
71
|
"@opentelemetry/semantic-conventions": "^1.29.0"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@babel/core": "7.
|
|
74
|
+
"@babel/core": "7.27.1",
|
|
75
75
|
"@opentelemetry/api": "1.9.0",
|
|
76
|
-
"@opentelemetry/api-
|
|
77
|
-
"@opentelemetry/api-logs": "0.201.1",
|
|
76
|
+
"@opentelemetry/api-logs": "0.203.0",
|
|
78
77
|
"@types/mocha": "10.0.10",
|
|
79
78
|
"@types/node": "18.6.5",
|
|
80
79
|
"@types/sinon": "17.0.4",
|
|
@@ -91,11 +90,11 @@
|
|
|
91
90
|
"lerna": "6.6.2",
|
|
92
91
|
"mocha": "11.1.0",
|
|
93
92
|
"nyc": "17.1.0",
|
|
94
|
-
"sinon": "
|
|
93
|
+
"sinon": "18.0.1",
|
|
95
94
|
"ts-loader": "9.5.2",
|
|
96
95
|
"typescript": "5.0.4",
|
|
97
|
-
"webpack": "5.99.
|
|
96
|
+
"webpack": "5.99.9",
|
|
98
97
|
"webpack-cli": "6.0.1"
|
|
99
98
|
},
|
|
100
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "93187f022457da152becc03dd00db8b2500702db"
|
|
101
100
|
}
|