@opentelemetry/web-common 0.211.0 → 0.213.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.
Files changed (94) hide show
  1. package/build/esm/DefaultIdGenerator.js +1 -12
  2. package/build/esm/DefaultIdGenerator.js.map +1 -1
  3. package/build/esm/LocalStorageSessionStore.js +1 -12
  4. package/build/esm/LocalStorageSessionStore.js.map +1 -1
  5. package/build/esm/SessionLogRecordProcessor.js +1 -12
  6. package/build/esm/SessionLogRecordProcessor.js.map +1 -1
  7. package/build/esm/SessionManager.js +1 -12
  8. package/build/esm/SessionManager.js.map +1 -1
  9. package/build/esm/SessionSpanProcessor.js +1 -12
  10. package/build/esm/SessionSpanProcessor.js.map +1 -1
  11. package/build/esm/index.js +1 -12
  12. package/build/esm/index.js.map +1 -1
  13. package/build/esm/semconv.js +1 -12
  14. package/build/esm/semconv.js.map +1 -1
  15. package/build/esm/types/Session.js +1 -12
  16. package/build/esm/types/Session.js.map +1 -1
  17. package/build/esm/types/SessionIdGenerator.js +1 -12
  18. package/build/esm/types/SessionIdGenerator.js.map +1 -1
  19. package/build/esm/types/SessionObserver.js +1 -12
  20. package/build/esm/types/SessionObserver.js.map +1 -1
  21. package/build/esm/types/SessionProvider.js +1 -12
  22. package/build/esm/types/SessionProvider.js.map +1 -1
  23. package/build/esm/types/SessionPublisher.js +1 -12
  24. package/build/esm/types/SessionPublisher.js.map +1 -1
  25. package/build/esm/types/SessionStore.js +1 -12
  26. package/build/esm/types/SessionStore.js.map +1 -1
  27. package/build/esm/utils.js +1 -12
  28. package/build/esm/utils.js.map +1 -1
  29. package/build/esm/version.d.ts +1 -1
  30. package/build/esm/version.js +1 -1
  31. package/build/esm/version.js.map +1 -1
  32. package/build/esnext/DefaultIdGenerator.js +1 -12
  33. package/build/esnext/DefaultIdGenerator.js.map +1 -1
  34. package/build/esnext/LocalStorageSessionStore.js +1 -12
  35. package/build/esnext/LocalStorageSessionStore.js.map +1 -1
  36. package/build/esnext/SessionLogRecordProcessor.js +1 -12
  37. package/build/esnext/SessionLogRecordProcessor.js.map +1 -1
  38. package/build/esnext/SessionManager.js +1 -12
  39. package/build/esnext/SessionManager.js.map +1 -1
  40. package/build/esnext/SessionSpanProcessor.js +1 -12
  41. package/build/esnext/SessionSpanProcessor.js.map +1 -1
  42. package/build/esnext/index.js +1 -12
  43. package/build/esnext/index.js.map +1 -1
  44. package/build/esnext/semconv.js +1 -12
  45. package/build/esnext/semconv.js.map +1 -1
  46. package/build/esnext/types/Session.js +1 -12
  47. package/build/esnext/types/Session.js.map +1 -1
  48. package/build/esnext/types/SessionIdGenerator.js +1 -12
  49. package/build/esnext/types/SessionIdGenerator.js.map +1 -1
  50. package/build/esnext/types/SessionObserver.js +1 -12
  51. package/build/esnext/types/SessionObserver.js.map +1 -1
  52. package/build/esnext/types/SessionProvider.js +1 -12
  53. package/build/esnext/types/SessionProvider.js.map +1 -1
  54. package/build/esnext/types/SessionPublisher.js +1 -12
  55. package/build/esnext/types/SessionPublisher.js.map +1 -1
  56. package/build/esnext/types/SessionStore.js +1 -12
  57. package/build/esnext/types/SessionStore.js.map +1 -1
  58. package/build/esnext/utils.js +1 -12
  59. package/build/esnext/utils.js.map +1 -1
  60. package/build/esnext/version.d.ts +1 -1
  61. package/build/esnext/version.js +1 -1
  62. package/build/esnext/version.js.map +1 -1
  63. package/build/src/DefaultIdGenerator.js +1 -12
  64. package/build/src/DefaultIdGenerator.js.map +1 -1
  65. package/build/src/LocalStorageSessionStore.js +1 -12
  66. package/build/src/LocalStorageSessionStore.js.map +1 -1
  67. package/build/src/SessionLogRecordProcessor.js +1 -12
  68. package/build/src/SessionLogRecordProcessor.js.map +1 -1
  69. package/build/src/SessionManager.js +1 -12
  70. package/build/src/SessionManager.js.map +1 -1
  71. package/build/src/SessionSpanProcessor.js +1 -12
  72. package/build/src/SessionSpanProcessor.js.map +1 -1
  73. package/build/src/index.js +1 -12
  74. package/build/src/index.js.map +1 -1
  75. package/build/src/semconv.js +1 -12
  76. package/build/src/semconv.js.map +1 -1
  77. package/build/src/types/Session.js +1 -12
  78. package/build/src/types/Session.js.map +1 -1
  79. package/build/src/types/SessionIdGenerator.js +1 -12
  80. package/build/src/types/SessionIdGenerator.js.map +1 -1
  81. package/build/src/types/SessionObserver.js +1 -12
  82. package/build/src/types/SessionObserver.js.map +1 -1
  83. package/build/src/types/SessionProvider.js +1 -12
  84. package/build/src/types/SessionProvider.js.map +1 -1
  85. package/build/src/types/SessionPublisher.js +1 -12
  86. package/build/src/types/SessionPublisher.js.map +1 -1
  87. package/build/src/types/SessionStore.js +1 -12
  88. package/build/src/types/SessionStore.js.map +1 -1
  89. package/build/src/utils.js +1 -12
  90. package/build/src/utils.js.map +1 -1
  91. package/build/src/version.d.ts +1 -1
  92. package/build/src/version.js +1 -1
  93. package/build/src/version.js.map +1 -1
  94. package/package.json +6 -6
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  exports.ATTR_SESSION_ID = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"semconv.js","sourceRoot":"","sources":["../../src/semconv.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH;;;;GAIG;AACU,QAAA,eAAe,GAAG,YAAqB,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/**\n * A unique id to identify a session.\n *\n * @example \"00112233-4455-6677-8899-aabbccddeeff\"\n */\nexport const ATTR_SESSION_ID = 'session.id' as const;\n"]}
1
+ {"version":3,"file":"semconv.js","sourceRoot":"","sources":["../../src/semconv.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAEH;;;;GAIG;AACU,QAAA,eAAe,GAAG,YAAqB,CAAC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\n/**\n * A unique id to identify a session.\n *\n * @example \"00112233-4455-6677-8899-aabbccddeeff\"\n */\nexport const ATTR_SESSION_ID = 'session.id' as const;\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  //# sourceMappingURL=Session.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../src/types/Session.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","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 interface Session {\n id: string;\n startTimestamp: number; // epoch milliseconds\n}\n"]}
1
+ {"version":3,"file":"Session.js","sourceRoot":"","sources":["../../../src/types/Session.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport interface Session {\n id: string;\n startTimestamp: number; // epoch milliseconds\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  //# sourceMappingURL=SessionIdGenerator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionIdGenerator.js","sourceRoot":"","sources":["../../../src/types/SessionIdGenerator.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","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 interface SessionIdGenerator {\n generateSessionId(): string;\n}\n"]}
1
+ {"version":3,"file":"SessionIdGenerator.js","sourceRoot":"","sources":["../../../src/types/SessionIdGenerator.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport interface SessionIdGenerator {\n generateSessionId(): string;\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  //# sourceMappingURL=SessionObserver.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionObserver.js","sourceRoot":"","sources":["../../../src/types/SessionObserver.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","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 { Session } from './Session';\n\nexport interface SessionObserver {\n onSessionStarted(newSession: Session, previousSession?: Session): void;\n onSessionEnded(session: Session): void;\n}\n"]}
1
+ {"version":3,"file":"SessionObserver.js","sourceRoot":"","sources":["../../../src/types/SessionObserver.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Session } from './Session';\n\nexport interface SessionObserver {\n onSessionStarted(newSession: Session, previousSession?: Session): void;\n onSessionEnded(session: Session): void;\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  //# sourceMappingURL=SessionProvider.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionProvider.js","sourceRoot":"","sources":["../../../src/types/SessionProvider.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","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 interface SessionProvider {\n getSessionId(): string | null;\n}\n"]}
1
+ {"version":3,"file":"SessionProvider.js","sourceRoot":"","sources":["../../../src/types/SessionProvider.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nexport interface SessionProvider {\n getSessionId(): string | null;\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  //# sourceMappingURL=SessionPublisher.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionPublisher.js","sourceRoot":"","sources":["../../../src/types/SessionPublisher.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","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 { SessionObserver } from './SessionObserver';\n\nexport interface SessionPublisher {\n addObserver(observer: SessionObserver): void;\n}\n"]}
1
+ {"version":3,"file":"SessionPublisher.js","sourceRoot":"","sources":["../../../src/types/SessionPublisher.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { SessionObserver } from './SessionObserver';\n\nexport interface SessionPublisher {\n addObserver(observer: SessionObserver): void;\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  //# sourceMappingURL=SessionStore.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SessionStore.js","sourceRoot":"","sources":["../../../src/types/SessionStore.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG","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 { Session } from './Session';\n\nexport interface SessionStore {\n save(session: Session): Promise<void>;\n get(): Promise<Session | null>;\n}\n"]}
1
+ {"version":3,"file":"SessionStore.js","sourceRoot":"","sources":["../../../src/types/SessionStore.ts"],"names":[],"mappings":";AAAA;;;GAGG","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { Session } from './Session';\n\nexport interface SessionStore {\n save(session: Session): Promise<void>;\n get(): Promise<Session | null>;\n}\n"]}
@@ -1,18 +1,7 @@
1
1
  "use strict";
2
2
  /*
3
3
  * Copyright The OpenTelemetry Authors
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * https://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
4
+ * SPDX-License-Identifier: Apache-2.0
16
5
  */
17
6
  Object.defineProperty(exports, "__esModule", { value: true });
18
7
  exports.createLocalStorageSessionStore = exports.createDefaultSessionIdGenerator = exports.createSessionManager = exports.createSessionLogRecordProcessor = exports.createSessionSpanProcessor = void 0;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,iEAA8D;AAE9D,2EAAwE;AACxE,qDAAwE;AAExE,6DAA0D;AAE1D,yEAAsE;AAEtE,SAAgB,0BAA0B,CACxC,eAAgC;IAEhC,OAAO,IAAI,2CAAoB,CAAC,eAAe,CAAC,CAAC;AACnD,CAAC;AAJD,gEAIC;AAED,SAAgB,+BAA+B,CAC7C,eAAgC;IAEhC,OAAO,IAAI,qDAAyB,CAAC,eAAe,CAAC,CAAC;AACxD,CAAC;AAJD,0EAIC;AAED,SAAgB,oBAAoB,CAClC,MAA4B;IAE5B,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,MAAM,CAAC,CAAC;IAC3C,OAAO,OAAO,CAAC;AACjB,CAAC;AALD,oDAKC;AAED,SAAgB,+BAA+B;IAC7C,OAAO,IAAI,uCAAkB,EAAE,CAAC;AAClC,CAAC;AAFD,0EAEC;AAED,SAAgB,8BAA8B;IAC5C,OAAO,IAAI,mDAAwB,EAAE,CAAC;AACxC,CAAC;AAFD,wEAEC","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 { SessionProvider } from './types/SessionProvider';\nimport { SpanProcessor } from '@opentelemetry/sdk-trace-base';\nimport { SessionSpanProcessor } from './SessionSpanProcessor';\nimport { LogRecordProcessor } from '@opentelemetry/sdk-logs';\nimport { SessionLogRecordProcessor } from './SessionLogRecordProcessor';\nimport { SessionManager, SessionManagerConfig } from './SessionManager';\nimport { SessionIdGenerator } from './types/SessionIdGenerator';\nimport { DefaultIdGenerator } from './DefaultIdGenerator';\nimport { SessionStore } from './types/SessionStore';\nimport { LocalStorageSessionStore } from './LocalStorageSessionStore';\n\nexport function createSessionSpanProcessor(\n sessionProvider: SessionProvider\n): SpanProcessor {\n return new SessionSpanProcessor(sessionProvider);\n}\n\nexport function createSessionLogRecordProcessor(\n sessionProvider: SessionProvider\n): LogRecordProcessor {\n return new SessionLogRecordProcessor(sessionProvider);\n}\n\nexport function createSessionManager(\n config: SessionManagerConfig\n): SessionManager {\n const manager = new SessionManager(config);\n return manager;\n}\n\nexport function createDefaultSessionIdGenerator(): SessionIdGenerator {\n return new DefaultIdGenerator();\n}\n\nexport function createLocalStorageSessionStore(): SessionStore {\n return new LocalStorageSessionStore();\n}\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":";AAAA;;;GAGG;;;AAIH,iEAA8D;AAE9D,2EAAwE;AACxE,qDAAwE;AAExE,6DAA0D;AAE1D,yEAAsE;AAEtE,SAAgB,0BAA0B,CACxC,eAAgC;IAEhC,OAAO,IAAI,2CAAoB,CAAC,eAAe,CAAC,CAAC;AACnD,CAAC;AAJD,gEAIC;AAED,SAAgB,+BAA+B,CAC7C,eAAgC;IAEhC,OAAO,IAAI,qDAAyB,CAAC,eAAe,CAAC,CAAC;AACxD,CAAC;AAJD,0EAIC;AAED,SAAgB,oBAAoB,CAClC,MAA4B;IAE5B,MAAM,OAAO,GAAG,IAAI,+BAAc,CAAC,MAAM,CAAC,CAAC;IAC3C,OAAO,OAAO,CAAC;AACjB,CAAC;AALD,oDAKC;AAED,SAAgB,+BAA+B;IAC7C,OAAO,IAAI,uCAAkB,EAAE,CAAC;AAClC,CAAC;AAFD,0EAEC;AAED,SAAgB,8BAA8B;IAC5C,OAAO,IAAI,mDAAwB,EAAE,CAAC;AACxC,CAAC;AAFD,wEAEC","sourcesContent":["/*\n * Copyright The OpenTelemetry Authors\n * SPDX-License-Identifier: Apache-2.0\n */\n\nimport { SessionProvider } from './types/SessionProvider';\nimport { SpanProcessor } from '@opentelemetry/sdk-trace-base';\nimport { SessionSpanProcessor } from './SessionSpanProcessor';\nimport { LogRecordProcessor } from '@opentelemetry/sdk-logs';\nimport { SessionLogRecordProcessor } from './SessionLogRecordProcessor';\nimport { SessionManager, SessionManagerConfig } from './SessionManager';\nimport { SessionIdGenerator } from './types/SessionIdGenerator';\nimport { DefaultIdGenerator } from './DefaultIdGenerator';\nimport { SessionStore } from './types/SessionStore';\nimport { LocalStorageSessionStore } from './LocalStorageSessionStore';\n\nexport function createSessionSpanProcessor(\n sessionProvider: SessionProvider\n): SpanProcessor {\n return new SessionSpanProcessor(sessionProvider);\n}\n\nexport function createSessionLogRecordProcessor(\n sessionProvider: SessionProvider\n): LogRecordProcessor {\n return new SessionLogRecordProcessor(sessionProvider);\n}\n\nexport function createSessionManager(\n config: SessionManagerConfig\n): SessionManager {\n const manager = new SessionManager(config);\n return manager;\n}\n\nexport function createDefaultSessionIdGenerator(): SessionIdGenerator {\n return new DefaultIdGenerator();\n}\n\nexport function createLocalStorageSessionStore(): SessionStore {\n return new LocalStorageSessionStore();\n}\n"]}
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.211.0";
1
+ export declare const VERSION = "0.213.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -17,5 +17,5 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  exports.VERSION = void 0;
19
19
  // this is autogenerated file, see scripts/version-update.js
20
- exports.VERSION = '0.211.0';
20
+ exports.VERSION = '0.213.0';
21
21
  //# sourceMappingURL=version.js.map
@@ -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.211.0';\n"]}
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.213.0';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentelemetry/web-common",
3
- "version": "0.211.0",
3
+ "version": "0.213.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -63,14 +63,14 @@
63
63
  "@opentelemetry/api": ">=1.4.0 <1.10.0"
64
64
  },
65
65
  "dependencies": {
66
- "@opentelemetry/sdk-logs": "0.211.0",
67
- "@opentelemetry/sdk-trace-base": "2.5.0",
66
+ "@opentelemetry/sdk-logs": "0.213.0",
67
+ "@opentelemetry/sdk-trace-base": "2.6.0",
68
68
  "@opentelemetry/semantic-conventions": "^1.29.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@babel/core": "7.27.1",
72
72
  "@opentelemetry/api": "1.9.0",
73
- "@opentelemetry/api-logs": "0.211.0",
73
+ "@opentelemetry/api-logs": "0.213.0",
74
74
  "@types/mocha": "10.0.10",
75
75
  "@types/node": "18.19.130",
76
76
  "@types/sinon": "17.0.4",
@@ -88,8 +88,8 @@
88
88
  "sinon": "18.0.1",
89
89
  "ts-loader": "9.5.4",
90
90
  "typescript": "5.0.4",
91
- "webpack": "5.101.3",
91
+ "webpack": "5.104.1",
92
92
  "webpack-cli": "6.0.1"
93
93
  },
94
- "gitHead": "38924cbff2a6e924ce8a2a227d3a72de52fbcd35"
94
+ "gitHead": "541e1b4ad83ad2093459794a18283228fe58d199"
95
95
  }