@lix-js/sdk 0.4.5 → 0.4.6

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.
@@ -64,7 +64,7 @@ async function captureOpened(args) {
64
64
  .where("key", "=", "lix_id")
65
65
  .executeTakeFirstOrThrow();
66
66
  const fileExtensions = await usedFileExtensions(args.db);
67
- if (Math.random() > 0.5) {
67
+ if (Math.random() > 0.1) {
68
68
  await capture("LIX-SDK lix opened", {
69
69
  accountId: activeAccount.id,
70
70
  lixId: lixId.value,
@@ -1,5 +1,5 @@
1
1
  export const ENV_VARIABLES = {
2
2
  LIX_SDK_POSTHOG_TOKEN: "phc_6492KFrhZMsb2HOZiloRb6R9tJQWZWVVAiebkwfWATT",
3
- LIX_SDK_VERSION: "0.4.5",
3
+ LIX_SDK_VERSION: "0.4.6",
4
4
  };
5
5
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lix-js/sdk",
3
3
  "type": "module",
4
- "version": "0.4.5",
4
+ "version": "0.4.6",
5
5
  "license": "Apache-2.0",
6
6
  "types": "./dist/index.d.ts",
7
7
  "exports": {
@@ -23,8 +23,8 @@
23
23
  "js-sha256": "^0.11.0",
24
24
  "kysely": "^0.27.4",
25
25
  "uuid": "^10.0.0",
26
- "sqlite-wasm-kysely": "0.3.0",
27
- "@lix-js/server-protocol-schema": "0.1.1"
26
+ "@lix-js/server-protocol-schema": "0.1.1",
27
+ "sqlite-wasm-kysely": "0.3.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@eslint/js": "^9.12.0",
@@ -135,7 +135,7 @@ async function captureOpened(args: { db: Kysely<LixDatabaseSchema> }) {
135
135
  .executeTakeFirstOrThrow();
136
136
 
137
137
  const fileExtensions = await usedFileExtensions(args.db);
138
- if (Math.random() > 0.5) {
138
+ if (Math.random() > 0.1) {
139
139
  await capture("LIX-SDK lix opened", {
140
140
  accountId: activeAccount.id,
141
141
  lixId: lixId.value,