@flareapp/js 1.0.0-beta.3 → 1.0.0-beta.4

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
@@ -38,7 +38,7 @@ module.exports = __toCommonJS(src_exports);
38
38
  // src/build.ts
39
39
  var build_default = {
40
40
  // Injected during build
41
- clientVersion: false ? "?" : '"1.0.0-beta.3"',
41
+ clientVersion: false ? "?" : '"1.0.0-beta.4"',
42
42
  // Optionally injected by flare-vite-plugin-sourcemap-uploader
43
43
  flareJsKey: typeof FLARE_JS_KEY === "undefined" ? "" : FLARE_JS_KEY,
44
44
  sourcemapVersion: typeof FLARE_SOURCEMAP_VERSION === "undefined" ? "" : FLARE_SOURCEMAP_VERSION
package/dist/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/build.ts
2
2
  var build_default = {
3
3
  // Injected during build
4
- clientVersion: false ? "?" : '"1.0.0-beta.3"',
4
+ clientVersion: false ? "?" : '"1.0.0-beta.4"',
5
5
  // Optionally injected by flare-vite-plugin-sourcemap-uploader
6
6
  flareJsKey: typeof FLARE_JS_KEY === "undefined" ? "" : FLARE_JS_KEY,
7
7
  sourcemapVersion: typeof FLARE_SOURCEMAP_VERSION === "undefined" ? "" : FLARE_SOURCEMAP_VERSION
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flareapp/js",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.4",
4
4
  "description": "JavaScript client for flareapp.io",
5
5
  "homepage": "https://flareapp.io",
6
6
  "bugs": {
@@ -15,6 +15,12 @@
15
15
  "main": "./dist/index.js",
16
16
  "module": "./dist/index.mjs",
17
17
  "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "require": "./dist/index.js",
21
+ "import": "./dist/index.mjs"
22
+ }
23
+ },
18
24
  "scripts": {
19
25
  "prepublishOnly": "npm run build",
20
26
  "build": "tsup src/index.ts --format cjs,esm --dts --env.FLARE_JS_CLIENT_VERSION=\\\"$(node -p \"require('./package.json').version\")\\\" --clean",