@symbiote-native/crypto 2.0.0 → 3.0.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.
- package/README.md +21 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -10,6 +10,24 @@ no hook/composable/service to wrap — every adapter's entry point is a plain re
|
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
13
|
+
**New app:**
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npx @symbiote-native/cli new my-app --crypto
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
**Existing SymbioteNative app:**
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npx @symbiote-native/cli add --crypto
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Either way: installs `@symbiote-native/crypto` and wires the native autolinking automatically — see
|
|
26
|
+
[`@symbiote-native/cli`](../cli).
|
|
27
|
+
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
|
|
30
|
+
|
|
13
31
|
```bash
|
|
14
32
|
npm install @symbiote-native/crypto
|
|
15
33
|
```
|
|
@@ -39,6 +57,8 @@ implementation: `examples/expo-react/ios/Podfile` and
|
|
|
39
57
|
No platform permission strings are needed for this package — random-byte generation and
|
|
40
58
|
digest hashing touch no protected device capability.
|
|
41
59
|
|
|
60
|
+
</details>
|
|
61
|
+
|
|
42
62
|
## Shape
|
|
43
63
|
|
|
44
64
|
```
|
|
@@ -227,7 +247,7 @@ export class CryptoScreen {
|
|
|
227
247
|
|
|
228
248
|
There's no per-instance service to `inject()` in the Angular case — every function is a plain
|
|
229
249
|
free function off the core package, called straight from the component body (or the constructor,
|
|
230
|
-
on Angular). All
|
|
250
|
+
on Angular). All six examples mirror the real canary demo screens —
|
|
231
251
|
`examples/expo-react/screens/CryptoScreen.tsx`, `examples/expo-vue-sfc/screens/CryptoScreen.vue`,
|
|
232
252
|
`examples/expo-vue-tsx/screens/CryptoScreen.tsx`, `examples/expo-svelte/screens/CryptoScreen.svelte`,
|
|
233
253
|
`examples/expo-solid/screens/CryptoScreen.tsx`, `examples/expo-angular/src/screens/CryptoScreen.ts`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/crypto",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "expo-crypto wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Cryptographically secure random bytes, randomUUID, and string/buffer digest hashing (SHA-1/256/384/512, MD2/MD4/MD5).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -80,12 +80,12 @@
|
|
|
80
80
|
"solid-js": ">=1.9.0",
|
|
81
81
|
"svelte": ">=5.56.0",
|
|
82
82
|
"vue": ">=3.5.0",
|
|
83
|
-
"@symbiote-native/angular": "^
|
|
84
|
-
"@symbiote-native/engine": "^
|
|
85
|
-
"@symbiote-native/react": "^
|
|
86
|
-
"@symbiote-native/solid": "^
|
|
87
|
-
"@symbiote-native/svelte": "^
|
|
88
|
-
"@symbiote-native/vue": "^
|
|
83
|
+
"@symbiote-native/angular": "^3.1.1",
|
|
84
|
+
"@symbiote-native/engine": "^1.3.0",
|
|
85
|
+
"@symbiote-native/react": "^3.0.3",
|
|
86
|
+
"@symbiote-native/solid": "^3.0.3",
|
|
87
|
+
"@symbiote-native/svelte": "^3.0.3",
|
|
88
|
+
"@symbiote-native/vue": "^3.0.3"
|
|
89
89
|
},
|
|
90
90
|
"peerDependenciesMeta": {
|
|
91
91
|
"@symbiote-native/angular": {
|
|
@@ -133,13 +133,13 @@
|
|
|
133
133
|
"solid-js": "^1.9.14",
|
|
134
134
|
"svelte": "^5.56.0",
|
|
135
135
|
"typescript": "~6.0.0",
|
|
136
|
-
"@symbiote-native/angular": "
|
|
137
|
-
"@symbiote-native/engine": "
|
|
138
|
-
"@symbiote-native/react": "
|
|
139
|
-
"@symbiote-native/solid": "
|
|
140
|
-
"@symbiote-native/svelte": "
|
|
141
|
-
"@symbiote-native/test-utils": "0.3
|
|
142
|
-
"@symbiote-native/vue": "
|
|
136
|
+
"@symbiote-native/angular": "3.1.1",
|
|
137
|
+
"@symbiote-native/engine": "1.3.0",
|
|
138
|
+
"@symbiote-native/react": "3.0.3",
|
|
139
|
+
"@symbiote-native/solid": "3.0.3",
|
|
140
|
+
"@symbiote-native/svelte": "3.0.3",
|
|
141
|
+
"@symbiote-native/test-utils": "0.4.3",
|
|
142
|
+
"@symbiote-native/vue": "3.0.3"
|
|
143
143
|
},
|
|
144
144
|
"scripts": {
|
|
145
145
|
"typecheck": "tsc --build",
|