@replanejs/svelte 1.0.2 → 1.0.3

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/README.md CHANGED
@@ -67,29 +67,29 @@ npm install @replanejs/svelte
67
67
 
68
68
  ## Provider Props
69
69
 
70
- | Prop | Type | Required | Description |
71
- | ------------ | --------------------------- | -------- | ------------------------------------------------------- |
72
- | `connection` | `ConnectOptions \| null` | Yes | Connection options (see below), or `null` to skip connection |
73
- | `defaults` | `Record<string, unknown>` | No | Default values if server is unavailable |
74
- | `context` | `Record<string, unknown>` | No | Default context for override evaluations |
75
- | `snapshot` | `ReplaneSnapshot` | No | Snapshot for SSR hydration |
76
- | `logger` | `ReplaneLogger` | No | Custom logger (default: console) |
77
- | `loader` | `Snippet` | No | Snippet to show while loading |
78
- | `async` | `boolean` | No | Connect asynchronously (renders immediately with defaults) |
70
+ | Prop | Type | Required | Description |
71
+ | ------------ | ------------------------- | -------- | ------------------------------------------------------------ |
72
+ | `connection` | `ConnectOptions \| null` | Yes | Connection options (see below), or `null` to skip connection |
73
+ | `defaults` | `Record<string, unknown>` | No | Default values if server is unavailable |
74
+ | `context` | `Record<string, unknown>` | No | Default context for override evaluations |
75
+ | `snapshot` | `ReplaneSnapshot` | No | Snapshot for SSR hydration |
76
+ | `logger` | `ReplaneLogger` | No | Custom logger (default: console) |
77
+ | `loader` | `Snippet` | No | Snippet to show while loading |
78
+ | `async` | `boolean` | No | Connect asynchronously (renders immediately with defaults) |
79
79
 
80
80
  ## Connection Options
81
81
 
82
82
  The `connection` prop accepts the following options:
83
83
 
84
- | Option | Type | Required | Description |
85
- | --------------------- | --------------------- | -------- | ---------------------------------------- |
86
- | `baseUrl` | `string` | Yes | Replane server URL |
87
- | `sdkKey` | `string` | Yes | SDK key for authentication |
88
- | `connectTimeoutMs` | `number` | No | SDK connection timeout (default: 5000) |
89
- | `requestTimeoutMs` | `number` | No | Timeout for SSE requests (default: 2000) |
90
- | `retryDelayMs` | `number` | No | Base delay between retries (default: 200)|
91
- | `inactivityTimeoutMs` | `number` | No | SSE inactivity timeout (default: 30000) |
92
- | `fetchFn` | `typeof fetch` | No | Custom fetch implementation |
84
+ | Option | Type | Required | Description |
85
+ | --------------------- | -------------- | -------- | ----------------------------------------- |
86
+ | `baseUrl` | `string` | Yes | Replane server URL |
87
+ | `sdkKey` | `string` | Yes | SDK key for authentication |
88
+ | `connectTimeoutMs` | `number` | No | SDK connection timeout (default: 5000) |
89
+ | `requestTimeoutMs` | `number` | No | Timeout for SSE requests (default: 2000) |
90
+ | `retryDelayMs` | `number` | No | Base delay between retries (default: 200) |
91
+ | `inactivityTimeoutMs` | `number` | No | SSE inactivity timeout (default: 30000) |
92
+ | `fetchFn` | `typeof fetch` | No | Custom fetch implementation |
93
93
 
94
94
  See [`@replanejs/sdk` documentation](https://github.com/replane-dev/replane-javascript/tree/main/packages/sdk#api) for more details.
95
95
 
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export declare const VERSION = "1.0.2";
2
- export declare const DEFAULT_AGENT = "replane-js-svelte/1.0.2";
1
+ export declare const VERSION = "1.0.3";
2
+ export declare const DEFAULT_AGENT = "replane-js-svelte/1.0.3";
3
3
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  // Auto-generated - do not edit manually
2
- export const VERSION = "1.0.2";
2
+ export const VERSION = "1.0.3";
3
3
  export const DEFAULT_AGENT = `replane-js-svelte/${VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replanejs/svelte",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Svelte SDK for Replane - feature flags and remote configuration",
5
5
  "type": "module",
6
6
  "svelte": "./dist/index.js",
@@ -39,7 +39,7 @@
39
39
  "svelte": ">=4.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@replanejs/sdk": "^1.0.2"
42
+ "@replanejs/sdk": "^1.0.3"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@sveltejs/package": "^2.3.10",