@sesamy/sesamy-js 1.0.0 → 1.0.2

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.
@@ -1,11 +0,0 @@
1
- export interface Config {
2
- clientId: string;
3
- namespace?: string;
4
- analytics?: Partial<AnalyticsConfig>;
5
- }
6
-
7
- export interface AnalyticsConfig {
8
- clientId: string;
9
- enabled?: boolean;
10
- endpoint?: string;
11
- }
@@ -1,3 +0,0 @@
1
- export enum Events {
2
- READY = "sesamyReady",
3
- }
package/src/vite-env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="vite/client" />
package/tsconfig.json DELETED
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "useDefineForClassFields": true,
5
- "module": "ESNext",
6
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
7
- "skipLibCheck": true,
8
-
9
- /* Bundler mode */
10
- "moduleResolution": "bundler",
11
- "allowImportingTsExtensions": true,
12
- "resolveJsonModule": true,
13
- "isolatedModules": true,
14
- "noEmit": true,
15
-
16
- /* Linting */
17
- "strict": true,
18
- "noUnusedLocals": true,
19
- "noUnusedParameters": true,
20
- "noFallthroughCasesInSwitch": true
21
- },
22
- "include": ["src"]
23
- }
package/vite.config.js DELETED
@@ -1,18 +0,0 @@
1
- // vite.config.js
2
- import { defineConfig } from "vite";
3
-
4
- export default defineConfig({
5
- build: {
6
- lib: {
7
- entry: "src/main.ts",
8
- name: "sesamy-js",
9
- fileName: (format) => `sesamy-js.${format}.js`,
10
- },
11
- rollupOptions: {
12
- input: {
13
- main: "index.html",
14
- // article: "article.html",
15
- },
16
- },
17
- },
18
- });