@sentry/solidstart 9.0.0-alpha.0 → 9.0.0-alpha.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023-2024 Functional Software, Inc. dba Sentry
3
+ Copyright (c) 2024 Functional Software, Inc. dba Sentry
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of
6
6
  this software and associated documentation files (the "Software"), to deal in
@@ -1 +1 @@
1
- {"version":3,"file":"withSentry.js","sources":["../../../src/config/withSentry.ts"],"sourcesContent":["import { logger } from '@sentry/core';\nimport type { Nitro } from 'nitropack';\nimport { addSentryPluginToVite } from '../vite';\nimport type { SentrySolidStartPluginOptions } from '../vite/types';\nimport {\n addDynamicImportEntryFileWrapper,\n addInstrumentationFileToBuild,\n addSentryTopImport,\n} from './addInstrumentation';\nimport type { RollupConfig, SolidStartInlineConfig, SolidStartInlineServerConfig } from './types';\n\nconst defaultSentrySolidStartPluginOptions: Omit<\n SentrySolidStartPluginOptions,\n 'experimental_entrypointWrappedFunctions'\n> &\n Required<Pick<SentrySolidStartPluginOptions, 'experimental_entrypointWrappedFunctions'>> = {\n experimental_entrypointWrappedFunctions: ['default', 'handler', 'server'],\n};\n\n/**\n * Modifies the passed in Solid Start configuration with build-time enhancements such as\n * building the `instrument.server.ts` file into the appropriate build folder based on\n * build preset.\n *\n * @param solidStartConfig A Solid Start configuration object, as usually passed to `defineConfig` in `app.config.ts|js`\n * @param sentrySolidStartPluginOptions Options to configure the plugin\n * @returns The modified config to be exported and passed back into `defineConfig`\n */\nexport function withSentry(\n solidStartConfig: SolidStartInlineConfig = {},\n sentrySolidStartPluginOptions: SentrySolidStartPluginOptions,\n): SolidStartInlineConfig {\n const sentryPluginOptions = {\n ...sentrySolidStartPluginOptions,\n ...defaultSentrySolidStartPluginOptions,\n };\n\n const server = (solidStartConfig.server || {}) as SolidStartInlineServerConfig;\n const hooks = server.hooks || {};\n const vite =\n typeof solidStartConfig.vite === 'function'\n ? (...args: unknown[]) => addSentryPluginToVite(solidStartConfig.vite(...args), sentryPluginOptions)\n : addSentryPluginToVite(solidStartConfig.vite, sentryPluginOptions);\n\n return {\n ...solidStartConfig,\n vite,\n server: {\n ...server,\n hooks: {\n ...hooks,\n async 'rollup:before'(nitro: Nitro, config: RollupConfig) {\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'experimental_dynamic-import') {\n await addDynamicImportEntryFileWrapper({ nitro, rollupConfig: config, sentryPluginOptions });\n\n sentrySolidStartPluginOptions.debug &&\n logger.log(\n 'Wrapping the server entry file with a dynamic `import()`, so Sentry can be preloaded before the server initializes.',\n );\n } else {\n await addInstrumentationFileToBuild(nitro);\n\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'top-level-import') {\n await addSentryTopImport(nitro);\n }\n }\n\n // Run user provided hook\n if (hooks['rollup:before']) {\n hooks['rollup:before'](nitro);\n }\n },\n },\n },\n };\n}\n"],"names":["addSentryPluginToVite","addDynamicImportEntryFileWrapper","logger","addInstrumentationFileToBuild","addSentryTopImport"],"mappings":";;;;;;AAWA,MAAM;;AAIJ,GAA2F;AAC7F,EAAE,uCAAuC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,UAAU;AAC1B,EAAE,gBAAgB,GAA2B,EAAE;AAC/C,EAAE,6BAA6B;AAC/B,EAA0B;AAC1B,EAAE,MAAM,sBAAsB;AAC9B,IAAI,GAAG,6BAA6B;AACpC,IAAI,GAAG,oCAAoC;AAC3C,GAAG;;AAEH,EAAE,MAAM,MAAO,IAAG,gBAAgB,CAAC,MAAO,IAAG,EAAE,CAAE;AACjD,EAAE,MAAM,QAAQ,MAAM,CAAC,KAAM,IAAG,EAAE;AAClC,EAAE,MAAM,IAAK;AACb,IAAI,OAAO,gBAAgB,CAAC,IAAA,KAAS;AACrC,QAAQ,CAAC,GAAG,IAAI,KAAgBA,0CAAqB,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,mBAAmB;AACzG,QAAQA,0CAAqB,CAAC,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,CAAC;;AAEzE,EAAE,OAAO;AACT,IAAI,GAAG,gBAAgB;AACvB,IAAI,IAAI;AACR,IAAI,MAAM,EAAE;AACZ,MAAM,GAAG,MAAM;AACf,MAAM,KAAK,EAAE;AACb,QAAQ,GAAG,KAAK;AAChB,QAAQ,MAAM,eAAe,CAAC,KAAK,EAAS,MAAM,EAAgB;AAClE,UAAU,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,6BAA6B,EAAE;AACvG,YAAY,MAAMC,mDAAgC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,mBAAoB,EAAC,CAAC;;AAExG,YAAY,6BAA6B,CAAC,KAAM;AAChD,cAAcC,WAAM,CAAC,GAAG;AACxB,gBAAgB,qHAAqH;AACrI,eAAe;AACf,iBAAiB;AACjB,YAAY,MAAMC,gDAA6B,CAAC,KAAK,CAAC;;AAEtD,YAAY,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,kBAAkB,EAAE;AAC9F,cAAc,MAAMC,qCAAkB,CAAC,KAAK,CAAC;AAC7C;AACA;;AAEA;AACA,UAAU,IAAI,KAAK,CAAC,eAAe,CAAC,EAAE;AACtC,YAAY,KAAK,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC;AACzC;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG;AACH;;;;"}
1
+ {"version":3,"file":"withSentry.js","sources":["../../../src/config/withSentry.ts"],"sourcesContent":["import { logger } from '@sentry/core';\nimport type { Nitro } from 'nitropack';\nimport { addSentryPluginToVite } from '../vite/sentrySolidStartVite';\nimport type { SentrySolidStartPluginOptions } from '../vite/types';\nimport {\n addDynamicImportEntryFileWrapper,\n addInstrumentationFileToBuild,\n addSentryTopImport,\n} from './addInstrumentation';\nimport type { RollupConfig, SolidStartInlineConfig, SolidStartInlineServerConfig } from './types';\n\nconst defaultSentrySolidStartPluginOptions: Omit<\n SentrySolidStartPluginOptions,\n 'experimental_entrypointWrappedFunctions'\n> &\n Required<Pick<SentrySolidStartPluginOptions, 'experimental_entrypointWrappedFunctions'>> = {\n experimental_entrypointWrappedFunctions: ['default', 'handler', 'server'],\n};\n\n/**\n * Modifies the passed in Solid Start configuration with build-time enhancements such as\n * building the `instrument.server.ts` file into the appropriate build folder based on\n * build preset.\n *\n * @param solidStartConfig A Solid Start configuration object, as usually passed to `defineConfig` in `app.config.ts|js`\n * @param sentrySolidStartPluginOptions Options to configure the plugin\n * @returns The modified config to be exported and passed back into `defineConfig`\n */\nexport function withSentry(\n solidStartConfig: SolidStartInlineConfig = {},\n sentrySolidStartPluginOptions: SentrySolidStartPluginOptions,\n): SolidStartInlineConfig {\n const sentryPluginOptions = {\n ...sentrySolidStartPluginOptions,\n ...defaultSentrySolidStartPluginOptions,\n };\n\n const server = (solidStartConfig.server || {}) as SolidStartInlineServerConfig;\n const hooks = server.hooks || {};\n const vite =\n typeof solidStartConfig.vite === 'function'\n ? (...args: unknown[]) => addSentryPluginToVite(solidStartConfig.vite(...args), sentryPluginOptions)\n : addSentryPluginToVite(solidStartConfig.vite, sentryPluginOptions);\n\n return {\n ...solidStartConfig,\n vite,\n server: {\n ...server,\n hooks: {\n ...hooks,\n async 'rollup:before'(nitro: Nitro, config: RollupConfig) {\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'experimental_dynamic-import') {\n await addDynamicImportEntryFileWrapper({ nitro, rollupConfig: config, sentryPluginOptions });\n\n sentrySolidStartPluginOptions.debug &&\n logger.log(\n 'Wrapping the server entry file with a dynamic `import()`, so Sentry can be preloaded before the server initializes.',\n );\n } else {\n await addInstrumentationFileToBuild(nitro);\n\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'top-level-import') {\n await addSentryTopImport(nitro);\n }\n }\n\n // Run user provided hook\n if (hooks['rollup:before']) {\n hooks['rollup:before'](nitro);\n }\n },\n },\n },\n };\n}\n"],"names":["addSentryPluginToVite","addDynamicImportEntryFileWrapper","logger","addInstrumentationFileToBuild","addSentryTopImport"],"mappings":";;;;;;AAWA,MAAM;;AAIJ,GAA2F;AAC7F,EAAE,uCAAuC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,UAAU;AAC1B,EAAE,gBAAgB,GAA2B,EAAE;AAC/C,EAAE,6BAA6B;AAC/B,EAA0B;AAC1B,EAAE,MAAM,sBAAsB;AAC9B,IAAI,GAAG,6BAA6B;AACpC,IAAI,GAAG,oCAAoC;AAC3C,GAAG;;AAEH,EAAE,MAAM,MAAO,IAAG,gBAAgB,CAAC,MAAO,IAAG,EAAE,CAAE;AACjD,EAAE,MAAM,QAAQ,MAAM,CAAC,KAAM,IAAG,EAAE;AAClC,EAAE,MAAM,IAAK;AACb,IAAI,OAAO,gBAAgB,CAAC,IAAA,KAAS;AACrC,QAAQ,CAAC,GAAG,IAAI,KAAgBA,0CAAqB,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,mBAAmB;AACzG,QAAQA,0CAAqB,CAAC,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,CAAC;;AAEzE,EAAE,OAAO;AACT,IAAI,GAAG,gBAAgB;AACvB,IAAI,IAAI;AACR,IAAI,MAAM,EAAE;AACZ,MAAM,GAAG,MAAM;AACf,MAAM,KAAK,EAAE;AACb,QAAQ,GAAG,KAAK;AAChB,QAAQ,MAAM,eAAe,CAAC,KAAK,EAAS,MAAM,EAAgB;AAClE,UAAU,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,6BAA6B,EAAE;AACvG,YAAY,MAAMC,mDAAgC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,mBAAoB,EAAC,CAAC;;AAExG,YAAY,6BAA6B,CAAC,KAAM;AAChD,cAAcC,WAAM,CAAC,GAAG;AACxB,gBAAgB,qHAAqH;AACrI,eAAe;AACf,iBAAiB;AACjB,YAAY,MAAMC,gDAA6B,CAAC,KAAK,CAAC;;AAEtD,YAAY,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,kBAAkB,EAAE;AAC9F,cAAc,MAAMC,qCAAkB,CAAC,KAAK,CAAC;AAC7C;AACA;;AAEA;AACA,UAAU,IAAI,KAAK,CAAC,eAAe,CAAC,EAAE;AACtC,YAAY,KAAK,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC;AACzC;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG;AACH;;;;"}
@@ -5,7 +5,6 @@ const solid = require('@sentry/solid');
5
5
  const sdk = require('./server/sdk.js');
6
6
  const withServerActionInstrumentation = require('./server/withServerActionInstrumentation.js');
7
7
  const middleware = require('./server/middleware.js');
8
- const sentrySolidStartVite = require('./vite/sentrySolidStartVite.js');
9
8
  const withSentry = require('./config/withSentry.js');
10
9
 
11
10
 
@@ -123,8 +122,6 @@ exports.withSentryErrorBoundary = solid.withSentryErrorBoundary;
123
122
  exports.init = sdk.init;
124
123
  exports.withServerActionInstrumentation = withServerActionInstrumentation.withServerActionInstrumentation;
125
124
  exports.sentryBeforeResponseMiddleware = middleware.sentryBeforeResponseMiddleware;
126
- exports.addSentryPluginToVite = sentrySolidStartVite.addSentryPluginToVite;
127
- exports.sentrySolidStartVite = sentrySolidStartVite.sentrySolidStartVite;
128
125
  exports.withSentry = withSentry.withSentry;
129
126
  Object.prototype.hasOwnProperty.call(node, '__proto__') &&
130
127
  !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
@@ -1 +1 @@
1
- {"version":3,"file":"index.server.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.server.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"withSentry.js","sources":["../../../src/config/withSentry.ts"],"sourcesContent":["import { logger } from '@sentry/core';\nimport type { Nitro } from 'nitropack';\nimport { addSentryPluginToVite } from '../vite';\nimport type { SentrySolidStartPluginOptions } from '../vite/types';\nimport {\n addDynamicImportEntryFileWrapper,\n addInstrumentationFileToBuild,\n addSentryTopImport,\n} from './addInstrumentation';\nimport type { RollupConfig, SolidStartInlineConfig, SolidStartInlineServerConfig } from './types';\n\nconst defaultSentrySolidStartPluginOptions: Omit<\n SentrySolidStartPluginOptions,\n 'experimental_entrypointWrappedFunctions'\n> &\n Required<Pick<SentrySolidStartPluginOptions, 'experimental_entrypointWrappedFunctions'>> = {\n experimental_entrypointWrappedFunctions: ['default', 'handler', 'server'],\n};\n\n/**\n * Modifies the passed in Solid Start configuration with build-time enhancements such as\n * building the `instrument.server.ts` file into the appropriate build folder based on\n * build preset.\n *\n * @param solidStartConfig A Solid Start configuration object, as usually passed to `defineConfig` in `app.config.ts|js`\n * @param sentrySolidStartPluginOptions Options to configure the plugin\n * @returns The modified config to be exported and passed back into `defineConfig`\n */\nexport function withSentry(\n solidStartConfig: SolidStartInlineConfig = {},\n sentrySolidStartPluginOptions: SentrySolidStartPluginOptions,\n): SolidStartInlineConfig {\n const sentryPluginOptions = {\n ...sentrySolidStartPluginOptions,\n ...defaultSentrySolidStartPluginOptions,\n };\n\n const server = (solidStartConfig.server || {}) as SolidStartInlineServerConfig;\n const hooks = server.hooks || {};\n const vite =\n typeof solidStartConfig.vite === 'function'\n ? (...args: unknown[]) => addSentryPluginToVite(solidStartConfig.vite(...args), sentryPluginOptions)\n : addSentryPluginToVite(solidStartConfig.vite, sentryPluginOptions);\n\n return {\n ...solidStartConfig,\n vite,\n server: {\n ...server,\n hooks: {\n ...hooks,\n async 'rollup:before'(nitro: Nitro, config: RollupConfig) {\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'experimental_dynamic-import') {\n await addDynamicImportEntryFileWrapper({ nitro, rollupConfig: config, sentryPluginOptions });\n\n sentrySolidStartPluginOptions.debug &&\n logger.log(\n 'Wrapping the server entry file with a dynamic `import()`, so Sentry can be preloaded before the server initializes.',\n );\n } else {\n await addInstrumentationFileToBuild(nitro);\n\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'top-level-import') {\n await addSentryTopImport(nitro);\n }\n }\n\n // Run user provided hook\n if (hooks['rollup:before']) {\n hooks['rollup:before'](nitro);\n }\n },\n },\n },\n };\n}\n"],"names":[],"mappings":";;;;AAWA,MAAM;;AAIJ,GAA2F;AAC7F,EAAE,uCAAuC,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,CAAC;AAC3E,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAAS,UAAU;AAC1B,EAAE,gBAAgB,GAA2B,EAAE;AAC/C,EAAE,6BAA6B;AAC/B,EAA0B;AAC1B,EAAE,MAAM,sBAAsB;AAC9B,IAAI,GAAG,6BAA6B;AACpC,IAAI,GAAG,oCAAoC;AAC3C,GAAG;;AAEH,EAAE,MAAM,MAAO,IAAG,gBAAgB,CAAC,MAAO,IAAG,EAAE,CAAE;AACjD,EAAE,MAAM,QAAQ,MAAM,CAAC,KAAM,IAAG,EAAE;AAClC,EAAE,MAAM,IAAK;AACb,IAAI,OAAO,gBAAgB,CAAC,IAAA,KAAS;AACrC,QAAQ,CAAC,GAAG,IAAI,KAAgB,qBAAqB,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,mBAAmB;AACzG,QAAQ,qBAAqB,CAAC,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,CAAC;;AAEzE,EAAE,OAAO;AACT,IAAI,GAAG,gBAAgB;AACvB,IAAI,IAAI;AACR,IAAI,MAAM,EAAE;AACZ,MAAM,GAAG,MAAM;AACf,MAAM,KAAK,EAAE;AACb,QAAQ,GAAG,KAAK;AAChB,QAAQ,MAAM,eAAe,CAAC,KAAK,EAAS,MAAM,EAAgB;AAClE,UAAU,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,6BAA6B,EAAE;AACvG,YAAY,MAAM,gCAAgC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,mBAAoB,EAAC,CAAC;;AAExG,YAAY,6BAA6B,CAAC,KAAM;AAChD,cAAc,MAAM,CAAC,GAAG;AACxB,gBAAgB,qHAAqH;AACrI,eAAe;AACf,iBAAiB;AACjB,YAAY,MAAM,6BAA6B,CAAC,KAAK,CAAC;;AAEtD,YAAY,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,kBAAkB,EAAE;AAC9F,cAAc,MAAM,kBAAkB,CAAC,KAAK,CAAC;AAC7C;AACA;;AAEA;AACA,UAAU,IAAI,KAAK,CAAC,eAAe,CAAC,EAAE;AACtC,YAAY,KAAK,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC;AACzC;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG;AACH;;;;"}
1
+ {"version":3,"file":"withSentry.js","sources":["../../../src/config/withSentry.ts"],"sourcesContent":["import { logger } from '@sentry/core';\nimport type { Nitro } from 'nitropack';\nimport { addSentryPluginToVite } from '../vite/sentrySolidStartVite';\nimport type { SentrySolidStartPluginOptions } from '../vite/types';\nimport {\n addDynamicImportEntryFileWrapper,\n addInstrumentationFileToBuild,\n addSentryTopImport,\n} from './addInstrumentation';\nimport type { RollupConfig, SolidStartInlineConfig, SolidStartInlineServerConfig } from './types';\n\nconst defaultSentrySolidStartPluginOptions: Omit<\n SentrySolidStartPluginOptions,\n 'experimental_entrypointWrappedFunctions'\n> &\n Required<Pick<SentrySolidStartPluginOptions, 'experimental_entrypointWrappedFunctions'>> = {\n experimental_entrypointWrappedFunctions: ['default', 'handler', 'server'],\n};\n\n/**\n * Modifies the passed in Solid Start configuration with build-time enhancements such as\n * building the `instrument.server.ts` file into the appropriate build folder based on\n * build preset.\n *\n * @param solidStartConfig A Solid Start configuration object, as usually passed to `defineConfig` in `app.config.ts|js`\n * @param sentrySolidStartPluginOptions Options to configure the plugin\n * @returns The modified config to be exported and passed back into `defineConfig`\n */\nexport function withSentry(\n solidStartConfig: SolidStartInlineConfig = {},\n sentrySolidStartPluginOptions: SentrySolidStartPluginOptions,\n): SolidStartInlineConfig {\n const sentryPluginOptions = {\n ...sentrySolidStartPluginOptions,\n ...defaultSentrySolidStartPluginOptions,\n };\n\n const server = (solidStartConfig.server || {}) as SolidStartInlineServerConfig;\n const hooks = server.hooks || {};\n const vite =\n typeof solidStartConfig.vite === 'function'\n ? (...args: unknown[]) => addSentryPluginToVite(solidStartConfig.vite(...args), sentryPluginOptions)\n : addSentryPluginToVite(solidStartConfig.vite, sentryPluginOptions);\n\n return {\n ...solidStartConfig,\n vite,\n server: {\n ...server,\n hooks: {\n ...hooks,\n async 'rollup:before'(nitro: Nitro, config: RollupConfig) {\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'experimental_dynamic-import') {\n await addDynamicImportEntryFileWrapper({ nitro, rollupConfig: config, sentryPluginOptions });\n\n sentrySolidStartPluginOptions.debug &&\n logger.log(\n 'Wrapping the server entry file with a dynamic `import()`, so Sentry can be preloaded before the server initializes.',\n );\n } else {\n await addInstrumentationFileToBuild(nitro);\n\n if (sentrySolidStartPluginOptions?.autoInjectServerSentry === 'top-level-import') {\n await addSentryTopImport(nitro);\n }\n }\n\n // Run user provided hook\n if (h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AAgB,qHAAqH;AACrI,eAAe;AACf,iBAAiB;AACjB,YAAY,MAAM,6BAA6B,CAAC,KAAK,CAAC;;AAEtD,YAAY,IAAI,6BAA6B,EAAE,sBAAuB,KAAI,kBAAkB,EAAE;AAC9F,cAAc,MAAM,kBAAkB,CAAC,KAAK,CAAC;AAC7C;AACA;;AAEA;AACA,UAAU,IAAI,KAAK,CAAC,eAAe,CAAC,EAAE;AACtC,YAAY,KAAK,CAAC,eAAe,CAAC,CAAC,KAAK,CAAC;AACzC;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL,GAAG;AACH;;;;"}
@@ -4,6 +4,5 @@ export { withSentryErrorBoundary } from '@sentry/solid';
4
4
  export { init } from './server/sdk.js';
5
5
  export { withServerActionInstrumentation } from './server/withServerActionInstrumentation.js';
6
6
  export { sentryBeforeResponseMiddleware } from './server/middleware.js';
7
- export { addSentryPluginToVite, sentrySolidStartVite } from './vite/sentrySolidStartVite.js';
8
7
  export { withSentry } from './config/withSentry.js';
9
8
  //# sourceMappingURL=index.server.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.server.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index.server.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1 +1 @@
1
- {"type":"module","version":"9.0.0-alpha.0"}
1
+ {"type":"module","version":"9.0.0-alpha.1"}
@@ -1,4 +1,3 @@
1
1
  export * from './server';
2
- export * from './vite';
3
2
  export * from './config';
4
3
  //# sourceMappingURL=index.server.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/index.server.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC"}
1
+ {"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../../src/index.server.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC"}
@@ -1,6 +1,5 @@
1
1
  export * from './client';
2
2
  export * from './server';
3
- export * from './vite';
4
3
  export * from './config';
5
4
  import type { Client, Integration, Options, StackParser } from '@sentry/core';
6
5
  import type * as clientSdk from './client';
@@ -1 +1 @@
1
- {"version":3,"file":"index.types.d.ts","sourceRoot":"","sources":["../../src/index.types.ts"],"names":[],"mappings":"AAGA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AAEzB,OAAO,KAAK,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE9E,OAAO,KAAK,KAAK,SAAS,MAAM,UAAU,CAAC;AAC3C,OAAO,KAAK,KAAK,SAAS,MAAM,UAAU,CAAC;AAE3C,yCAAyC;AACzC,MAAM,CAAC,OAAO,UAAU,IAAI,CAAC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC,cAAc,GAAG,SAAS,CAAC,WAAW,GAAG,MAAM,GAAG,SAAS,CAAC;AAEtH,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,OAAO,SAAS,CAAC,uBAAuB,CAAC;AACvF,MAAM,CAAC,OAAO,CAAC,MAAM,uBAAuB,EAAE,OAAO,SAAS,CAAC,uBAAuB,CAAC;AAEvF,MAAM,CAAC,OAAO,CAAC,MAAM,sBAAsB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,WAAW,EAAE,CAAC;AACjF,MAAM,CAAC,OAAO,CAAC,MAAM,kBAAkB,EAAE,WAAW,CAAC;AAErD,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAClF,MAAM,CAAC,OAAO,UAAU,KAAK,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,WAAW,CAAC,OAAO,CAAC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
2
  "name": "@sentry/solidstart",
3
- "version": "9.0.0-alpha.0",
3
+ "version": "9.0.0-alpha.1",
4
4
  "description": "Official Sentry SDK for Solid Start",
5
5
  "repository": "git://github.com/getsentry/sentry-javascript.git",
6
6
  "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/solidstart",
@@ -66,10 +66,10 @@
66
66
  }
67
67
  },
68
68
  "dependencies": {
69
- "@sentry/core": "9.0.0-alpha.0",
70
- "@sentry/node": "9.0.0-alpha.0",
71
- "@sentry/opentelemetry": "9.0.0-alpha.0",
72
- "@sentry/solid": "9.0.0-alpha.0",
69
+ "@sentry/core": "9.0.0-alpha.1",
70
+ "@sentry/node": "9.0.0-alpha.1",
71
+ "@sentry/opentelemetry": "9.0.0-alpha.1",
72
+ "@sentry/solid": "9.0.0-alpha.1",
73
73
  "@sentry/vite-plugin": "2.22.6"
74
74
  },
75
75
  "devDependencies": {
@@ -1,2 +0,0 @@
1
- export * from './sentrySolidStartVite';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/vite/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}