@tapthrough/expo 0.1.0 → 0.1.1

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/app.plugin.d.ts CHANGED
@@ -3,7 +3,7 @@ export interface TapthroughPluginProps {
3
3
  enabled?: boolean
4
4
  /** Your seed hook, e.g. `https://<ref>.supabase.co/functions/v1/tapthrough-seed`. */
5
5
  seedHookUrl?: string
6
- /** Tapthrough's base URL, where in-app reports go. Defaults to `https://tapthrough.dev`. */
6
+ /** Tapthrough's base URL, where in-app reports go. Defaults to `https://tapthrough-cloud.vercel.app`. */
7
7
  apiUrl?: string
8
8
  /**
9
9
  * Staging and TestFlight builds: shows a feedback button outside PR previews,
package/app.plugin.js CHANGED
@@ -21,7 +21,7 @@ function withTapthrough(config, props = {}) {
21
21
  const enabled = props.enabled ?? true
22
22
  const staff = props.staff === true
23
23
  const seedHookUrl = props.seedHookUrl
24
- const apiUrl = props.apiUrl ?? 'https://tapthrough.dev'
24
+ const apiUrl = props.apiUrl ?? 'https://tapthrough-cloud.vercel.app'
25
25
 
26
26
  if (enabled || staff) {
27
27
  if (!isAllowedUrl(apiUrl)) {
package/dist/runtime.d.ts CHANGED
@@ -8,7 +8,7 @@ export declare const controller: {
8
8
  lastScenarioId: () => string | undefined;
9
9
  subscribe(listener: () => void): () => void;
10
10
  };
11
- export declare const DEFAULT_API_URL = "https://tapthrough.dev";
11
+ export declare const DEFAULT_API_URL = "https://tapthrough-cloud.vercel.app";
12
12
  export interface PluginConfig {
13
13
  enabled: boolean;
14
14
  seedHookUrl: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAGA,iFAAiF;AACjF,eAAO,MAAM,UAAU;;;;;;;;CAA2B,CAAA;AAElD,eAAO,MAAM,eAAe,2BAA2B,CAAA;AAEvD,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAA;IACd,4EAA4E;IAC5E,KAAK,EAAE,OAAO,CAAA;IACd,kEAAkE;IAClE,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B;AAED,0EAA0E;AAC1E,wBAAgB,YAAY,IAAI,YAAY,CAS3C"}
1
+ {"version":3,"file":"runtime.d.ts","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAGA,iFAAiF;AACjF,eAAO,MAAM,UAAU;;;;;;;;CAA2B,CAAA;AAElD,eAAO,MAAM,eAAe,wCAAwC,CAAA;AAEpE,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,OAAO,CAAA;IAChB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,qDAAqD;IACrD,MAAM,EAAE,MAAM,CAAA;IACd,4EAA4E;IAC5E,KAAK,EAAE,OAAO,CAAA;IACd,kEAAkE;IAClE,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;CAC3B;AAED,0EAA0E;AAC1E,wBAAgB,YAAY,IAAI,YAAY,CAS3C"}
package/dist/runtime.js CHANGED
@@ -2,7 +2,7 @@ import Constants from 'expo-constants';
2
2
  import { createLaunchController } from './core/controller.js';
3
3
  /** One controller per app, shared by `<Tapthrough>` and `redirectSystemPath`. */
4
4
  export const controller = createLaunchController();
5
- export const DEFAULT_API_URL = 'https://tapthrough.dev';
5
+ export const DEFAULT_API_URL = 'https://tapthrough-cloud.vercel.app';
6
6
  /** What the config plugin wrote into `extra.tapthrough` at build time. */
7
7
  export function pluginConfig() {
8
8
  const extra = Constants.expoConfig?.extra?.tapthrough;
@@ -1 +1 @@
1
- {"version":3,"file":"runtime.js","sourceRoot":"","sources":["../src/runtime.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAA;AACtC,OAAO,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AAE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AAO,KAAK,EAAE,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS;QACnF,MAAM,EAAE,OAAO,KAAK,EAAE,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,eAAe;QAC1E,KAAK,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,IAAI,OAAO,KAAK,CAAC,MAAM,KAAK,QAAQ;QAChE,MAAM,EAAE,OAAO,KAAK,EAAE,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS;KACrE,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapthrough/expo",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Tapthrough SDK for Expo: opens a pull request preview on the right screen, logged in with seeded data",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/runtime.ts CHANGED
@@ -4,7 +4,7 @@ import { createLaunchController } from './core/controller.js'
4
4
  /** One controller per app, shared by `<Tapthrough>` and `redirectSystemPath`. */
5
5
  export const controller = createLaunchController()
6
6
 
7
- export const DEFAULT_API_URL = 'https://tapthrough.dev'
7
+ export const DEFAULT_API_URL = 'https://tapthrough-cloud.vercel.app'
8
8
 
9
9
  export interface PluginConfig {
10
10
  enabled: boolean