@symbiote-native/web-browser 0.1.0 → 0.2.0

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.
@@ -0,0 +1 @@
1
+ export * from '../core';
@@ -0,0 +1,8 @@
1
+ // @symbiote-native/web-browser/svelte: the Svelte entry over the framework-agnostic core.
2
+ // Every export is a stateless free function. The one piece of live state — the Android
3
+ // auth-session polyfill's redirect subscription — belongs to a single in-flight promise inside
4
+ // the core and never surfaces as something a caller subscribes to or tears down, so there is
5
+ // nothing for a rune to wrap. Hence a plain re-export. Svelte's lifecycle bucket is `runes/`
6
+ // (adapters/svelte/src/runes — never React's `hooks` or Vue's `composables`), and this package
7
+ // has none to fill.
8
+ export * from '../core/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/web-browser",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "expo-web-browser wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, and Angular adapters. In-app browser (SFSafariViewController / Android Custom Tabs) and the OAuth auth-session flow.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -30,6 +30,10 @@
30
30
  "types": "./build/react/index.d.ts",
31
31
  "default": "./build/react/index.js"
32
32
  },
33
+ "./svelte": {
34
+ "types": "./build/svelte/index.d.ts",
35
+ "default": "./build/svelte/index.js"
36
+ },
33
37
  "./angular": {
34
38
  "types": "./build-ngc/angular/index.d.ts",
35
39
  "react-native": "./build-ngc/angular/index.js",
@@ -53,15 +57,17 @@
53
57
  "expo-modules-core": "57.0.5"
54
58
  },
55
59
  "peerDependencies": {
60
+ "@symbiote-native/angular": ">=0.6.2",
56
61
  "@symbiote-native/engine": ">=0.1.7",
62
+ "@symbiote-native/react": ">=0.2.8",
63
+ "@symbiote-native/svelte": ">=0.1.0",
64
+ "@symbiote-native/vue": ">=0.3.8",
57
65
  "@angular/core": ">=20",
58
66
  "@vue/runtime-core": "^3.5.13",
59
67
  "react": ">=19.0.0",
60
68
  "react-native": ">=0.86",
61
- "vue": ">=3.5.0",
62
- "@symbiote-native/react": "0.2.8",
63
- "@symbiote-native/vue": "0.3.8",
64
- "@symbiote-native/angular": "0.6.2"
69
+ "svelte": ">=5.56.0",
70
+ "vue": ">=3.5.0"
65
71
  },
66
72
  "peerDependenciesMeta": {
67
73
  "@symbiote-native/angular": {
@@ -70,6 +76,9 @@
70
76
  "@symbiote-native/react": {
71
77
  "optional": true
72
78
  },
79
+ "@symbiote-native/svelte": {
80
+ "optional": true
81
+ },
73
82
  "@symbiote-native/vue": {
74
83
  "optional": true
75
84
  },
@@ -82,24 +91,29 @@
82
91
  "react": {
83
92
  "optional": true
84
93
  },
94
+ "svelte": {
95
+ "optional": true
96
+ },
85
97
  "vue": {
86
98
  "optional": true
87
99
  }
88
100
  },
89
101
  "devDependencies": {
90
- "@angular/compiler": "^22",
91
- "@angular/compiler-cli": "^22",
92
- "@angular/core": "^22",
102
+ "@angular/compiler": "~22.0.8",
103
+ "@angular/compiler-cli": "~22.0.8",
104
+ "@angular/core": "~22.0.8",
93
105
  "@types/node": "^26.0.0",
94
106
  "@types/react": "^19.2.0",
95
107
  "@vue/runtime-core": "^3.5.13",
96
108
  "react": "19.2.3",
109
+ "svelte": "^5.56.0",
97
110
  "typescript": "~6.0.0",
98
- "@symbiote-native/angular": "0.6.2",
99
- "@symbiote-native/react": "0.2.8",
111
+ "@symbiote-native/engine": "0.2.0",
112
+ "@symbiote-native/angular": "0.7.0",
113
+ "@symbiote-native/svelte": "0.2.0",
100
114
  "@symbiote-native/test-utils": "0.1.6",
101
- "@symbiote-native/engine": "0.1.7",
102
- "@symbiote-native/vue": "0.3.8"
115
+ "@symbiote-native/react": "0.3.0",
116
+ "@symbiote-native/vue": "0.4.0"
103
117
  },
104
118
  "scripts": {
105
119
  "typecheck": "tsc --build",
@@ -0,0 +1,8 @@
1
+ // @symbiote-native/web-browser/svelte: the Svelte entry over the framework-agnostic core.
2
+ // Every export is a stateless free function. The one piece of live state — the Android
3
+ // auth-session polyfill's redirect subscription — belongs to a single in-flight promise inside
4
+ // the core and never surfaces as something a caller subscribes to or tears down, so there is
5
+ // nothing for a rune to wrap. Hence a plain re-export. Svelte's lifecycle bucket is `runes/`
6
+ // (adapters/svelte/src/runes — never React's `hooks` or Vue's `composables`), and this package
7
+ // has none to fill.
8
+ export * from '../core';