@secondts/bark-react-native 0.1.0-beta.6 → 0.1.0-beta.7

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/LICENSE ADDED
@@ -0,0 +1,19 @@
1
+ Copyright (c) 2026 The Bark Contributors
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in all
11
+ copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
+ SOFTWARE.
package/README.md CHANGED
@@ -42,5 +42,9 @@ Note: `bark-react-native` contains native code and requires a development build.
42
42
  1. Install the package
43
43
 
44
44
  ```bash
45
- npx expo install @secondts/bark-react-native
45
+ npm install @secondts/bark-react-native
46
46
  ```
47
+
48
+ ## License
49
+
50
+ Released under the **MIT** license — see the [LICENSE](LICENSE) file for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondts/bark-react-native",
3
- "version": "0.1.0-beta.6",
3
+ "version": "0.1.0-beta.7",
4
4
  "description": "Bark FFI bindings for React Native",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -41,7 +41,8 @@
41
41
  "!**/__tests__",
42
42
  "!**/__fixtures__",
43
43
  "!**/__mocks__",
44
- "!**/.*"
44
+ "!**/.*",
45
+ "LICENSE"
45
46
  ],
46
47
  "scripts": {
47
48
  "ubrn:ios": "ubrn build ios --release --config ubrn.config.yaml --and-generate",
@@ -82,8 +83,8 @@
82
83
  "access": "public"
83
84
  },
84
85
  "checksums": {
85
- "android": "c9dc684f874452ffbd939f3211635796ec91db8cfbf7e5130f7174cf00aced47",
86
- "ios": "9162a161cff980c64607b2ae5bb460112626ebe6091f2d4ba48de5a46ed56770"
86
+ "android": "595729c8857f2ba75ce762e301f122c12b72538357d7d458b564d36152e7c824",
87
+ "ios": "9dd5643f764e0473ed059729be15f6aabc1967fb05d2bdf4548bfc21eea93295"
87
88
  },
88
89
  "dependencies": {
89
90
  "uniffi-bindgen-react-native": "^0.29.3-1"
@@ -17,9 +17,8 @@ const { execSync } = require("child_process");
17
17
 
18
18
  const MAX_REDIRECTS = 5;
19
19
  const PACKAGE_ROOT = path.resolve(__dirname, "..");
20
- const GITLAB_PROJECT = "ark-bitcoin%2Fbark-ffi-bindings";
21
- const GITLAB_PACKAGE = "bark-react-native";
22
- const BASE_URL = `https://gitlab.com/api/v4/projects/${GITLAB_PROJECT}/packages/generic/${GITLAB_PACKAGE}`;
20
+ const BASE_URL =
21
+ "https://gitlab.com/ark-bitcoin/bark-ffi-bindings/-/releases";
23
22
 
24
23
  const ARTIFACTS = [
25
24
  {
@@ -209,7 +208,7 @@ async function main() {
209
208
  }
210
209
 
211
210
  const zipPath = path.join(PACKAGE_ROOT, artifact.zipName);
212
- const url = `${BASE_URL}/${version}/${artifact.zipName}`;
211
+ const url = `${BASE_URL}/rn-${version}/downloads/${artifact.zipName}`;
213
212
 
214
213
  try {
215
214
  await downloadAndExtract(artifact.name, url, zipPath, checksum);