@hubspot/cms-dev-server 1.2.68 → 1.2.69

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/dist/index.js CHANGED
@@ -1651,7 +1651,7 @@ function trackUsage(action) {
1651
1651
  eventName: EVENT_NAME,
1652
1652
  action,
1653
1653
  nodeVersion: getNodeVersionData(),
1654
- version: "1.2.68",
1654
+ version: "1.2.69",
1655
1655
  os: getPlatform()
1656
1656
  };
1657
1657
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
package/dist/run.js CHANGED
@@ -2256,7 +2256,7 @@ function trackUsage(action) {
2256
2256
  eventName: EVENT_NAME,
2257
2257
  action,
2258
2258
  nodeVersion: getNodeVersionData(),
2259
- version: "1.2.68",
2259
+ version: "1.2.69",
2260
2260
  os: getPlatform()
2261
2261
  };
2262
2262
  const url3 = isAuthedWithPersonalAccessKey ? DEV_SERVER_USAGE_ENDPOINT_AUTHENTICATED : DEV_SERVER_USAGE_ENDPOINT;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "1.2.68",
3
+ "version": "1.2.69",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "engines": {
@@ -29,7 +29,7 @@
29
29
  "@babel/parser": "^7.25.3",
30
30
  "@babel/traverse": "^7.25.3",
31
31
  "@babel/types": "^7.25.2",
32
- "@hubspot/cms-components": "^1.2.68",
32
+ "@hubspot/cms-components": "^1.2.69",
33
33
  "@hubspot/local-dev-lib": "5.10.1",
34
34
  "@inquirer/select": "^2.0.0",
35
35
  "@originjs/vite-plugin-commonjs": "^1.0.3",
@@ -1,8 +0,0 @@
1
- export declare function debugAuthContext(
2
- authedPortalId: number,
3
- cookieValue: string
4
- ): Promise<void>;
5
- export declare function compareUrls(
6
- originalUrl: string,
7
- signedUrl: string
8
- ): void;
@@ -1,2 +0,0 @@
1
- export declare function getLocalComponentsPath(): string;
2
- export declare function shouldUseLocalComponents(): boolean;
@@ -1,18 +0,0 @@
1
- import { ViteDevServer } from 'vite';
2
- /**
3
- * Processes HTML to find remote assets and replace with Vite-managed URLs
4
- */
5
- export declare function processRemoteAssets(
6
- html: string,
7
- viteServer: ViteDevServer
8
- ): Promise<string>;
9
- /**
10
- * Vite plugin to handle remote assets
11
- */
12
- export declare function remoteAssetsPlugin(): {
13
- name: string;
14
- apply: 'serve';
15
- configResolved(config: any): void;
16
- resolveId(id: string): string;
17
- load(id: string): Promise<string>;
18
- };
@@ -1,2 +0,0 @@
1
- import type { Plugin } from 'vite';
2
- export declare function hubspotStaticAssetsPlugin(): Plugin;
@@ -1,10 +0,0 @@
1
- import { ViteDevServer, Plugin } from 'vite';
2
- /**
3
- * Create a self-contained plugin with proper caching
4
- */
5
- export declare function remoteAssetsPlugin(): Plugin & {
6
- processRemoteAssets: (
7
- html: string,
8
- viteServer: ViteDevServer
9
- ) => Promise<string>;
10
- };
@@ -1,6 +0,0 @@
1
- import type { Plugin } from 'vite';
2
- /**
3
- * Plugin that provides URL signing capabilities
4
- * Uses internal signing mechanisms when available, with fallback for public environments
5
- */
6
- export default function requestSigningPlugin(): Plugin;
@@ -1,13 +0,0 @@
1
- import { Request, Response, NextFunction } from 'express';
2
- export declare function handleGetModulePages(
3
- req: Request,
4
- res: Response,
5
- next: NextFunction
6
- ): Promise<Response<any, Record<string, any>>>;
7
- export declare function handleOpenFile(
8
- req: Request,
9
- res: Response,
10
- next: NextFunction
11
- ): Response<any, Record<string, any>>;
12
- export declare function createAppServerRoutes(): import('express-serve-static-core').Router;
13
- export default createAppServerRoutes;
@@ -1,7 +0,0 @@
1
- import { Request, Response } from 'express';
2
- declare const homeRouteHandler: (
3
- request: Request,
4
- response: Response,
5
- next: Function
6
- ) => Promise<void>;
7
- export default homeRouteHandler;