snapback4-expo 0.2.21 → 0.2.22

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.
@@ -10,7 +10,7 @@
10
10
  <key>HeadersPath</key>
11
11
  <string>Headers</string>
12
12
  <key>LibraryIdentifier</key>
13
- <string>ios-arm64</string>
13
+ <string>ios-arm64-simulator</string>
14
14
  <key>LibraryPath</key>
15
15
  <string>libsnapback4_device.a</string>
16
16
  <key>SupportedArchitectures</key>
@@ -19,6 +19,8 @@
19
19
  </array>
20
20
  <key>SupportedPlatform</key>
21
21
  <string>ios</string>
22
+ <key>SupportedPlatformVariant</key>
23
+ <string>simulator</string>
22
24
  </dict>
23
25
  <dict>
24
26
  <key>BinaryPath</key>
@@ -26,7 +28,7 @@
26
28
  <key>HeadersPath</key>
27
29
  <string>Headers</string>
28
30
  <key>LibraryIdentifier</key>
29
- <string>ios-arm64-simulator</string>
31
+ <string>ios-arm64</string>
30
32
  <key>LibraryPath</key>
31
33
  <string>libsnapback4_device.a</string>
32
34
  <key>SupportedArchitectures</key>
@@ -35,8 +37,6 @@
35
37
  </array>
36
38
  <key>SupportedPlatform</key>
37
39
  <string>ios</string>
38
- <key>SupportedPlatformVariant</key>
39
- <string>simulator</string>
40
40
  </dict>
41
41
  </array>
42
42
  <key>CFBundlePackageType</key>
@@ -26,7 +26,10 @@ extern "C" {
26
26
 
27
27
  typedef struct sb4_device sb4_device;
28
28
 
29
- /* Open the device's store at `path` for the backend; NULL when it refuses
29
+ /* Backend may be GET /schema JSON, null for the kept backend, or
30
+ * {"initial_backend": <backend>} to install only if still empty (otherwise
31
+ * open the kept backend). Older modules refuse that envelope.
32
+ * Open the device's store at `path` for the backend; NULL when it refuses
30
33
  * (ask `sb4_open_reason` why). */
31
34
  sb4_device *sb4_open(const char *path, const char *backend_json);
32
35
 
@@ -26,7 +26,10 @@ extern "C" {
26
26
 
27
27
  typedef struct sb4_device sb4_device;
28
28
 
29
- /* Open the device's store at `path` for the backend; NULL when it refuses
29
+ /* Backend may be GET /schema JSON, null for the kept backend, or
30
+ * {"initial_backend": <backend>} to install only if still empty (otherwise
31
+ * open the kept backend). Older modules refuse that envelope.
32
+ * Open the device's store at `path` for the backend; NULL when it refuses
30
33
  * (ask `sb4_open_reason` why). */
31
34
  sb4_device *sb4_open(const char *path, const char *backend_json);
32
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snapback4-expo",
3
- "version": "0.2.21",
3
+ "version": "0.2.22",
4
4
  "type": "module",
5
5
  "description": "Snapback 4's native module for Expo: the device in Rust (the partition in its own SQLite, the stream applied, the outbox kept, queries and predictions answered) behind one JSON call, and the opener `snapback4/native` takes.",
6
6
  "main": "src/index.ts",