@symbiote-native/standard-web-crypto 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.
- package/build/svelte/index.d.ts +2 -0
- package/build/svelte/index.js +8 -0
- package/package.json +27 -13
- package/src/svelte/index.ts +8 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @symbiote-native/standard-web-crypto/svelte: the Svelte entry over the framework-agnostic
|
|
2
|
+
// core. The polyfill has no per-instance state or event stream — nothing for a rune to wrap —
|
|
3
|
+
// so this is a plain re-export. Svelte's lifecycle bucket is `runes/` (adapters/svelte/src/runes
|
|
4
|
+
// — never React's `hooks` or Vue's `composables`), and this package has none to fill.
|
|
5
|
+
// `export *` never forwards a default export (ES module semantics), so `webCrypto` needs its own
|
|
6
|
+
// explicit named re-export alongside it.
|
|
7
|
+
export * from '../core/index.js';
|
|
8
|
+
export { default as webCrypto } from '../core/index.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/standard-web-crypto",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "expo-standard-web-crypto ported for SymbioteNative — a Web Crypto API getRandomValues polyfill built on @symbiote-native/crypto's native random source.",
|
|
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",
|
|
@@ -48,18 +52,20 @@
|
|
|
48
52
|
"access": "public"
|
|
49
53
|
},
|
|
50
54
|
"dependencies": {
|
|
51
|
-
"@symbiote-native/crypto": "0.
|
|
55
|
+
"@symbiote-native/crypto": "0.2.0"
|
|
52
56
|
},
|
|
53
57
|
"peerDependencies": {
|
|
58
|
+
"@symbiote-native/angular": ">=0.6.2",
|
|
54
59
|
"@symbiote-native/engine": ">=0.1.7",
|
|
60
|
+
"@symbiote-native/react": ">=0.2.8",
|
|
61
|
+
"@symbiote-native/svelte": ">=0.1.0",
|
|
62
|
+
"@symbiote-native/vue": ">=0.3.8",
|
|
55
63
|
"@angular/core": ">=20",
|
|
56
64
|
"@vue/runtime-core": "^3.5.13",
|
|
57
65
|
"react": ">=19.0.0",
|
|
58
66
|
"react-native": ">=0.86",
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"@symbiote-native/react": "0.2.8",
|
|
62
|
-
"@symbiote-native/vue": "0.3.8"
|
|
67
|
+
"svelte": ">=5.56.0",
|
|
68
|
+
"vue": ">=3.5.0"
|
|
63
69
|
},
|
|
64
70
|
"peerDependenciesMeta": {
|
|
65
71
|
"@symbiote-native/angular": {
|
|
@@ -68,6 +74,9 @@
|
|
|
68
74
|
"@symbiote-native/react": {
|
|
69
75
|
"optional": true
|
|
70
76
|
},
|
|
77
|
+
"@symbiote-native/svelte": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
71
80
|
"@symbiote-native/vue": {
|
|
72
81
|
"optional": true
|
|
73
82
|
},
|
|
@@ -80,24 +89,29 @@
|
|
|
80
89
|
"react": {
|
|
81
90
|
"optional": true
|
|
82
91
|
},
|
|
92
|
+
"svelte": {
|
|
93
|
+
"optional": true
|
|
94
|
+
},
|
|
83
95
|
"vue": {
|
|
84
96
|
"optional": true
|
|
85
97
|
}
|
|
86
98
|
},
|
|
87
99
|
"devDependencies": {
|
|
88
|
-
"@angular/compiler": "
|
|
89
|
-
"@angular/compiler-cli": "
|
|
90
|
-
"@angular/core": "
|
|
100
|
+
"@angular/compiler": "~22.0.8",
|
|
101
|
+
"@angular/compiler-cli": "~22.0.8",
|
|
102
|
+
"@angular/core": "~22.0.8",
|
|
91
103
|
"@types/node": "^26.0.0",
|
|
92
104
|
"@types/react": "^19.2.0",
|
|
93
105
|
"@vue/runtime-core": "^3.5.13",
|
|
94
106
|
"react": "19.2.3",
|
|
107
|
+
"svelte": "^5.56.0",
|
|
95
108
|
"typescript": "~6.0.0",
|
|
96
|
-
"@symbiote-native/angular": "0.
|
|
97
|
-
"@symbiote-native/engine": "0.
|
|
98
|
-
"@symbiote-native/react": "0.
|
|
109
|
+
"@symbiote-native/angular": "0.7.0",
|
|
110
|
+
"@symbiote-native/engine": "0.2.0",
|
|
111
|
+
"@symbiote-native/react": "0.3.0",
|
|
112
|
+
"@symbiote-native/svelte": "0.2.0",
|
|
99
113
|
"@symbiote-native/test-utils": "0.1.6",
|
|
100
|
-
"@symbiote-native/vue": "0.
|
|
114
|
+
"@symbiote-native/vue": "0.4.0"
|
|
101
115
|
},
|
|
102
116
|
"scripts": {
|
|
103
117
|
"typecheck": "tsc --build",
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
// @symbiote-native/standard-web-crypto/svelte: the Svelte entry over the framework-agnostic
|
|
2
|
+
// core. The polyfill has no per-instance state or event stream — nothing for a rune to wrap —
|
|
3
|
+
// so this is a plain re-export. Svelte's lifecycle bucket is `runes/` (adapters/svelte/src/runes
|
|
4
|
+
// — never React's `hooks` or Vue's `composables`), and this package has none to fill.
|
|
5
|
+
// `export *` never forwards a default export (ES module semantics), so `webCrypto` needs its own
|
|
6
|
+
// explicit named re-export alongside it.
|
|
7
|
+
export * from '../core';
|
|
8
|
+
export { default as webCrypto } from '../core';
|