@symbiote-native/crypto 3.0.0 → 3.0.2
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 +19 -3
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -10,14 +10,28 @@ 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
|
+
|
|
13
15
|
```bash
|
|
14
|
-
|
|
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
|
|
15
23
|
```
|
|
16
24
|
|
|
17
|
-
|
|
18
|
-
`add --crypto` in an existing app) installs and wires this for you — see
|
|
25
|
+
Either way: installs `@symbiote-native/crypto` and wires the native autolinking automatically — see
|
|
19
26
|
[`@symbiote-native/cli`](../cli).
|
|
20
27
|
|
|
28
|
+
<details>
|
|
29
|
+
<summary>Manual install (no CLI — installing and wiring native autolinking by hand)</summary>
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
npm install @symbiote-native/crypto
|
|
33
|
+
```
|
|
34
|
+
|
|
21
35
|
`expo-crypto` and `expo-modules-core` come along as regular dependencies, pinned to exact
|
|
22
36
|
versions — never install either yourself, and never add the `expo` meta-package to your project
|
|
23
37
|
(it bundles its own Metro/Babel pipeline, which conflicts with this project's own).
|
|
@@ -43,6 +57,8 @@ implementation: `examples/expo-react/ios/Podfile` and
|
|
|
43
57
|
No platform permission strings are needed for this package — random-byte generation and
|
|
44
58
|
digest hashing touch no protected device capability.
|
|
45
59
|
|
|
60
|
+
</details>
|
|
61
|
+
|
|
46
62
|
## Shape
|
|
47
63
|
|
|
48
64
|
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/crypto",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
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": "^3.
|
|
84
|
-
"@symbiote-native/engine": "^1.
|
|
85
|
-
"@symbiote-native/
|
|
86
|
-
"@symbiote-native/
|
|
87
|
-
"@symbiote-native/svelte": "^3.0.
|
|
88
|
-
"@symbiote-native/vue": "^3.0.
|
|
83
|
+
"@symbiote-native/angular": "^3.1.2",
|
|
84
|
+
"@symbiote-native/engine": "^1.3.1",
|
|
85
|
+
"@symbiote-native/react": "^3.0.4",
|
|
86
|
+
"@symbiote-native/solid": "^3.0.4",
|
|
87
|
+
"@symbiote-native/svelte": "^3.0.4",
|
|
88
|
+
"@symbiote-native/vue": "^3.0.4"
|
|
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": "3.
|
|
137
|
-
"@symbiote-native/engine": "1.
|
|
138
|
-
"@symbiote-native/react": "3.0.
|
|
139
|
-
"@symbiote-native/solid": "3.0.
|
|
140
|
-
"@symbiote-native/svelte": "3.0.
|
|
141
|
-
"@symbiote-native/test-utils": "0.
|
|
142
|
-
"@symbiote-native/vue": "3.0.
|
|
136
|
+
"@symbiote-native/angular": "3.1.2",
|
|
137
|
+
"@symbiote-native/engine": "1.3.1",
|
|
138
|
+
"@symbiote-native/react": "3.0.4",
|
|
139
|
+
"@symbiote-native/solid": "3.0.4",
|
|
140
|
+
"@symbiote-native/svelte": "3.0.4",
|
|
141
|
+
"@symbiote-native/test-utils": "0.4.4",
|
|
142
|
+
"@symbiote-native/vue": "3.0.4"
|
|
143
143
|
},
|
|
144
144
|
"scripts": {
|
|
145
145
|
"typecheck": "tsc --build",
|