@lunora/svelte 1.0.0-alpha.2 → 1.0.0-alpha.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.mjs +9 -9
- package/dist/packem_shared/{auth-D8EV6u02.mjs → auth-DLPf_bK9.mjs} +1 -1
- package/dist/packem_shared/{connectionStatus-CROr6jbn.mjs → connectionStatus-CRsOMeYl.mjs} +1 -1
- package/dist/packem_shared/{hydratePreloaded-BUv3k4-s.mjs → hydratePreloaded-D5rUJdXy.mjs} +1 -1
- package/dist/packem_shared/{paginatedQuery-CfCSITZv.mjs → infiniteQuery-jPMQw8Vz.mjs} +1 -1
- package/dist/packem_shared/{mutation-CA3qEPCB.mjs → mutation-CnDkAaLH.mjs} +1 -1
- package/dist/packem_shared/{presence-Bf-y7QzR.mjs → presence-BQWixJ2T.mjs} +1 -1
- package/dist/packem_shared/{query-B14VE2Qg.mjs → query-D8Pct9Qe.mjs} +1 -1
- package/dist/packem_shared/{subscription-B3HDNcpq.mjs → subscription-twuBT_Wb.mjs} +1 -1
- package/package.json +3 -3
- /package/dist/packem_shared/{setLunoraClient--bwSz7F6.mjs → getLunoraClient--bwSz7F6.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { auth } from './packem_shared/auth-
|
|
2
|
-
export { connectionStatus } from './packem_shared/connectionStatus-
|
|
3
|
-
export { getLunoraClient, setLunoraClient } from './packem_shared/
|
|
4
|
-
export { hydratePreloaded } from './packem_shared/hydratePreloaded-
|
|
5
|
-
export { mutation } from './packem_shared/mutation-
|
|
6
|
-
export { infiniteQuery, paginatedQuery } from './packem_shared/
|
|
7
|
-
export { presence } from './packem_shared/presence-
|
|
8
|
-
export { query } from './packem_shared/query-
|
|
1
|
+
export { auth } from './packem_shared/auth-DLPf_bK9.mjs';
|
|
2
|
+
export { connectionStatus } from './packem_shared/connectionStatus-CRsOMeYl.mjs';
|
|
3
|
+
export { getLunoraClient, setLunoraClient } from './packem_shared/getLunoraClient--bwSz7F6.mjs';
|
|
4
|
+
export { hydratePreloaded } from './packem_shared/hydratePreloaded-D5rUJdXy.mjs';
|
|
5
|
+
export { mutation } from './packem_shared/mutation-CnDkAaLH.mjs';
|
|
6
|
+
export { infiniteQuery, paginatedQuery } from './packem_shared/infiniteQuery-jPMQw8Vz.mjs';
|
|
7
|
+
export { presence } from './packem_shared/presence-BQWixJ2T.mjs';
|
|
8
|
+
export { query } from './packem_shared/query-D8Pct9Qe.mjs';
|
|
9
9
|
export { rateLimit } from './packem_shared/rateLimit-Cdw1kp8t.mjs';
|
|
10
|
-
export { subscription } from './packem_shared/subscription-
|
|
10
|
+
export { subscription } from './packem_shared/subscription-twuBT_Wb.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getIdentityStore } from '@lunora/client/auth';
|
|
2
2
|
import { readable } from 'svelte/store';
|
|
3
|
-
import { getLunoraClient } from './
|
|
3
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
4
4
|
|
|
5
5
|
const auth = (explicitClient) => {
|
|
6
6
|
const client = explicitClient ?? getLunoraClient();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readable } from 'svelte/store';
|
|
2
|
-
import { getLunoraClient } from './
|
|
2
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
3
3
|
|
|
4
4
|
const hydratePreloaded = (preloaded, client) => {
|
|
5
5
|
const resolvedClient = client ?? getLunoraClient();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { initialPages, derivePaginationStatus, rebalance, applyLoadMore } from '@lunora/client/pagination';
|
|
2
2
|
import { derived, writable, readable } from 'svelte/store';
|
|
3
|
-
import { getLunoraClient } from './
|
|
3
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
4
4
|
import { i as isFunctionReference } from './is-function-reference-ycLAcI79.mjs';
|
|
5
5
|
|
|
6
6
|
const buildPageArgs = (page, baseArgs) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createMutationRunner } from '@lunora/client';
|
|
2
2
|
import { writable } from 'svelte/store';
|
|
3
|
-
import { getLunoraClient } from './
|
|
3
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
4
4
|
|
|
5
5
|
function mutation(clientOrFunction, maybeFunction) {
|
|
6
6
|
const hasExplicitClient = maybeFunction !== void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { readable } from 'svelte/store';
|
|
2
|
-
import { getLunoraClient } from './
|
|
2
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
3
3
|
|
|
4
4
|
const makeSessionId = () => {
|
|
5
5
|
if (typeof crypto !== "undefined" && typeof crypto.randomUUID === "function") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createQuerySubscription } from '@lunora/client/query';
|
|
2
2
|
import { readable } from 'svelte/store';
|
|
3
|
-
import { getLunoraClient } from './
|
|
3
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
4
4
|
import { i as isFunctionReference } from './is-function-reference-ycLAcI79.mjs';
|
|
5
5
|
|
|
6
6
|
function query(clientOrFunction, functionOrArguments, argumentsOrOptions, maybeOptions) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createQuerySubscription } from '@lunora/client/query';
|
|
2
2
|
import { writable, readable } from 'svelte/store';
|
|
3
|
-
import { getLunoraClient } from './
|
|
3
|
+
import { getLunoraClient } from './getLunoraClient--bwSz7F6.mjs';
|
|
4
4
|
import { i as isFunctionReference } from './is-function-reference-ycLAcI79.mjs';
|
|
5
5
|
|
|
6
6
|
function subscription(clientOrFunction, functionOrArgs, argsOrOptions, maybeOptions) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lunora/svelte",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.4",
|
|
4
4
|
"description": "Svelte adapter for Lunora — live stores, optimistic mutations, and reactive loaders",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cloudflare",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"access": "public"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@lunora/client": "1.0.0-alpha.
|
|
57
|
+
"@lunora/client": "1.0.0-alpha.2",
|
|
58
58
|
"@lunora/ratelimit": "1.0.0-alpha.2",
|
|
59
|
-
"@lunora/runtime": "1.0.0-alpha.
|
|
59
|
+
"@lunora/runtime": "1.0.0-alpha.2"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"svelte": "^5.0.0"
|
|
File without changes
|