This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Sentry = require("@sentry/node"); | |
const { nodeProfilingIntegration } = require("@sentry/profiling-node"); | |
Sentry.init({ | |
dsn: "", | |
integrations: [ | |
nodeProfilingIntegration(), | |
], | |
tracesSampleRate: 1.0, | |
profilesSampleRate: 1.0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useMemo } from 'react'; | |
import { ApolloClient, InMemoryCache, split, HttpLink } from '@apollo/client'; | |
let apolloClient; | |
const BFF = new HttpLink({ | |
uri: '/graphql', | |
headers: { 'schema-variant': 'integration' } | |
}); | |
const ContentPerf = new HttpLink({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class HockeyAppClient | |
ANDROID_HPTPM_V1 = '/download/HPTPM_v1-0.apk' | |
ANDROID_APP_VERSION = '1.4.11' | |
attr_reader :platform | |
def initialize(platform = 'Android', fallback_url = ANDROID_HPTPM_V1) | |
@platform = platform | |
@fallback_url = fallback_url | |
@connection = HockeyApp.build_client(token: KeyManagement.HockeyAppAPIToken) |