@secondts/bark-react-native 0.1.0-beta.6 → 0.1.2-beta.12
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 +19 -0
- package/README.md +29 -1
- package/cpp/generated/bark.cpp +443 -12
- package/cpp/generated/bark.hpp +24 -2
- package/lib/commonjs/generated/bark-ffi.js.map +1 -1
- package/lib/commonjs/generated/bark.js +204 -9
- package/lib/commonjs/generated/bark.js.map +1 -1
- package/lib/module/generated/bark-ffi.js.map +1 -1
- package/lib/module/generated/bark.js +204 -9
- package/lib/module/generated/bark.js.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts +24 -2
- package/lib/typescript/commonjs/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/generated/bark.d.ts +342 -152
- package/lib/typescript/commonjs/src/generated/bark.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark-ffi.d.ts +24 -2
- package/lib/typescript/module/src/generated/bark-ffi.d.ts.map +1 -1
- package/lib/typescript/module/src/generated/bark.d.ts +342 -152
- package/lib/typescript/module/src/generated/bark.d.ts.map +1 -1
- package/package.json +8 -4
- package/plugin/tsconfig.tsbuildinfo +1 -1
- package/scripts/postinstall.js +10 -5
- package/src/generated/bark-ffi.ts +59 -2
- package/src/generated/bark.ts +456 -15
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
|
@@ -29,6 +29,8 @@ npx expo install @secondts/bark-react-native
|
|
|
29
29
|
}
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
+
Warning: If you are using pnpm v10+, run `pnpm approve-builds` and select `@secondts/bark-react-native` to allow the postinstall script to download the prebuilt native binaries.
|
|
33
|
+
|
|
32
34
|
3. Run prebuild
|
|
33
35
|
|
|
34
36
|
```bash
|
|
@@ -42,5 +44,31 @@ Note: `bark-react-native` contains native code and requires a development build.
|
|
|
42
44
|
1. Install the package
|
|
43
45
|
|
|
44
46
|
```bash
|
|
45
|
-
|
|
47
|
+
npm install @secondts/bark-react-native
|
|
46
48
|
```
|
|
49
|
+
|
|
50
|
+
Note: If you are running on iOS, navigate into the `ios` folder and run `pod install`.
|
|
51
|
+
|
|
52
|
+
### Beta/Pre-release Versions
|
|
53
|
+
|
|
54
|
+
To install a beta or pre-release version:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Install latest beta
|
|
58
|
+
npx expo install @secondts/bark-react-native@beta
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
# Or install a specific beta version
|
|
63
|
+
npx expo install @secondts/bark-react-native@0.1.1-beta.1
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
For bare React Native projects, use:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm install @secondts/bark-react-native@beta
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## License
|
|
73
|
+
|
|
74
|
+
Released under the **MIT** license — see the [LICENSE](LICENSE) file for details.
|