@signaldb/usignal 2.0.0-beta.21 → 2.0.0-beta.22

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 +1 @@
1
- {"version":3,"file":"index.umd.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { signal } from 'usignal'\nimport { createReactivityAdapter } from '@signaldb/core'\n\nconst usignalReactivityAdapter = createReactivityAdapter({\n create: () => {\n const dep = signal(0)\n return {\n depend: () => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n dep.value\n },\n notify: () => {\n dep.value = dep.peek() + 1\n },\n }\n },\n isInScope: undefined,\n onDispose: undefined,\n})\n\nexport default usignalReactivityAdapter\n"],"mappings":"yTAGM,EAAA,EAAA,yBAAmD,CACvD,WAAc,CACZ,IAAM,GAAA,EAAA,EAAA,QAAa,CAAC,EACpB,MAAO,CACL,WAAc,CAEZ,EAAI,KACN,EACA,WAAc,CACZ,EAAI,MAAQ,EAAI,KAAK,EAAI,CAC3B,CACF,CACF,EACA,UAAW,IAAA,GACX,UAAW,IAAA,EACb"}
1
+ {"version":3,"file":"index.umd.js","names":[],"sources":["../src/index.ts"],"sourcesContent":["import { signal } from 'usignal'\nimport { createReactivityAdapter } from '@signaldb/core'\n\nconst usignalReactivityAdapter = createReactivityAdapter({\n create: () => {\n const dep = signal(0)\n return {\n depend: () => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n dep.value\n },\n notify: () => {\n dep.value = dep.peek() + 1\n },\n }\n },\n isInScope: undefined,\n onDispose: undefined,\n})\n\nexport default usignalReactivityAdapter\n"],"mappings":"yTAGM,EAA2B,EAAA,wBAAA,CAAwB,CACvD,WAAc,CACZ,IAAM,GAAA,EAAM,EAAA,OAAA,CAAO,CAAC,EACpB,MAAO,CACL,WAAc,CAEZ,EAAI,KACN,EACA,WAAc,CACZ,EAAI,MAAQ,EAAI,KAAK,EAAI,CAC3B,CACF,CACF,EACA,UAAW,IAAA,GACX,UAAW,IAAA,EACb"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@signaldb/usignal",
3
- "version": "2.0.0-beta.21",
3
+ "version": "2.0.0-beta.22",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rimraf dist && vite build",