@livestore/adapter-node 0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b → 0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.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.
@@ -1,2 +1,4 @@
1
- export declare const makeShutdownChannel: (storeId: string) => import("effect/Effect").Effect<import("@livestore/utils/dist/effect/WebChannel/common.js").WebChannel<import("@livestore/common/dist/adapter-types.js").IntentionalShutdownCause | import("@livestore/common/dist/adapter-types.js").UnexpectedError, import("@livestore/common/dist/adapter-types.js").IntentionalShutdownCause | import("@livestore/common/dist/adapter-types.js").UnexpectedError, never>, never, import("effect/Scope").Scope>;
1
+ import type { ShutdownChannel } from '@livestore/common/leader-thread';
2
+ import type { Effect } from '@livestore/utils/effect';
3
+ export declare const makeShutdownChannel: (storeId: string) => Effect.Effect<ShutdownChannel.ShutdownChannel>;
2
4
  //# sourceMappingURL=shutdown-channel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shutdown-channel.d.ts","sourceRoot":"","sources":["../src/shutdown-channel.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,ubAI/C,CAAA"}
1
+ {"version":3,"file":"shutdown-channel.d.ts","sourceRoot":"","sources":["../src/shutdown-channel.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AACtE,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAA;AAKrD,eAAO,MAAM,mBAAmB,GAAI,SAAS,MAAM,KACrB,MAAM,CAAC,MAAM,CAAC,eAAe,CAAC,eAAe,CAAC,CAAA"}
@@ -1,7 +1,7 @@
1
- import { ShutdownChannel } from '@livestore/common/leader-thread';
2
- import { makeBroadcastChannel } from './webchannel.js';
3
- export const makeShutdownChannel = (storeId) => makeBroadcastChannel({
4
- channelName: `livestore.shutdown.${storeId}`,
5
- schema: ShutdownChannel.All,
6
- });
1
+ import { WebChannel } from '@livestore/utils/effect';
2
+ export const makeShutdownChannel = (storeId) => WebChannel.noopChannel();
3
+ // makeBroadcastChannel({
4
+ // channelName: `livestore.shutdown.${storeId}`,
5
+ // schema: ShutdownChannel.All,
6
+ // })
7
7
  //# sourceMappingURL=shutdown-channel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shutdown-channel.js","sourceRoot":"","sources":["../src/shutdown-channel.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA;AAEjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEtD,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAE,EAAE,CACrD,oBAAoB,CAAC;IACnB,WAAW,EAAE,sBAAsB,OAAO,EAAE;IAC5C,MAAM,EAAE,eAAe,CAAC,GAAG;CAC5B,CAAC,CAAA"}
1
+ {"version":3,"file":"shutdown-channel.js","sourceRoot":"","sources":["../src/shutdown-channel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAIpD,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAE,EAAE,CACrD,UAAU,CAAC,WAAW,EAAoD,CAAA;AAC5E,yBAAyB;AACzB,kDAAkD;AAClD,iCAAiC;AACjC,KAAK"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livestore/adapter-node",
3
- "version": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b",
3
+ "version": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {
@@ -31,12 +31,12 @@
31
31
  "@opentelemetry/otlp-exporter-base": "0.200.0",
32
32
  "vite": "6.2.1",
33
33
  "ws": "8.18.0",
34
- "@livestore/adapter-web": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b",
35
- "@livestore/common": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b",
36
- "@livestore/devtools-node-common": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b",
37
- "@livestore/sqlite-wasm": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b",
38
- "@livestore/utils": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b",
39
- "@livestore/webmesh": "0.0.0-snapshot-2a3ba4e86ce747d9ef59d22aabc4de9e0528846b"
34
+ "@livestore/common": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1",
35
+ "@livestore/utils": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1",
36
+ "@livestore/devtools-node-common": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1",
37
+ "@livestore/webmesh": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1",
38
+ "@livestore/adapter-web": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1",
39
+ "@livestore/sqlite-wasm": "0.0.0-snapshot-5a6440f111a5a7c2441a649866587d5d51e22820.1"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@rollup/plugin-commonjs": "^28.0.3",
@@ -1,9 +1,12 @@
1
- import { ShutdownChannel } from '@livestore/common/leader-thread'
1
+ import type { ShutdownChannel } from '@livestore/common/leader-thread'
2
+ import type { Effect } from '@livestore/utils/effect'
3
+ import { WebChannel } from '@livestore/utils/effect'
2
4
 
3
5
  import { makeBroadcastChannel } from './webchannel.js'
4
6
 
5
7
  export const makeShutdownChannel = (storeId: string) =>
6
- makeBroadcastChannel({
7
- channelName: `livestore.shutdown.${storeId}`,
8
- schema: ShutdownChannel.All,
9
- })
8
+ WebChannel.noopChannel() as Effect.Effect<ShutdownChannel.ShutdownChannel>
9
+ // makeBroadcastChannel({
10
+ // channelName: `livestore.shutdown.${storeId}`,
11
+ // schema: ShutdownChannel.All,
12
+ // })
package/tmp/pack.tgz ADDED
Binary file