Skip to content

Commit

Permalink
Merge pull request #16 from kloudmate/develop
Browse files Browse the repository at this point in the history
release
  • Loading branch information
amitava82 authored Jul 23, 2024
2 parents 664c60d + 5447553 commit cc78a5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-cdn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
- name: Install dependencies
run: npm install
- name: Build
run: npm run compile
run: npm run compile -w @kloudmate/otel-web-session-recorder
- name: Build otel web
run: npm run compile -w @kloudmate/otel-web
- name: Deploy
run: npm run deploy
env:
Expand Down
3 changes: 1 addition & 2 deletions packages/session-recorder/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import { VERSION } from './version';
import { getGlobal } from './utils';

import type { Resource } from '@opentelemetry/resources';
import type { SplunkOtelWebType } from '@kloudmate/otel-web';

interface BasicTracerProvider extends TracerProvider {
readonly resource: Resource;
Expand Down Expand Up @@ -80,7 +79,7 @@ const SplunkRumRecorder = {
return;
}

const SplunkRum = getGlobal<SplunkOtelWebType>('splunk.rum');
const SplunkRum = getGlobal<any>('splunk.rum');

let tracerProvider: BasicTracerProvider | ProxyTracerProvider = trace.getTracerProvider() as BasicTracerProvider;
if (tracerProvider && 'getDelegate' in tracerProvider) {
Expand Down

0 comments on commit cc78a5e

Please sign in to comment.