use-vibes 2.6.0 → 2.6.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/LICENSE.md CHANGED
@@ -1,32 +1,3 @@
1
- The contents of this repository are Copyright (c) corresponding authors and
2
- contributors, licensed under the `Permissive License Stack` meaning either of:
3
-
4
- - Apache-2.0 Software License: https://www.apache.org/licenses/LICENSE-2.0
5
- ([...4tr2kfsq](https://dweb.link/ipfs/bafkreiankqxazcae4onkp436wag2lj3ccso4nawxqkkfckd6cg4tr2kfsq))
6
-
7
- - MIT Software License: https://opensource.org/licenses/MIT
8
- ([...vljevcba](https://dweb.link/ipfs/bafkreiepofszg4gfe2gzuhojmksgemsub2h4uy2gewdnr35kswvljevcba))
9
-
10
- You may not use the contents of this repository except in compliance
11
- with one of the listed Licenses. For an extended clarification of the
12
- intent behind the choice of Licensing please refer to
13
- https://protocol.ai/blog/announcing-the-permissive-license-stack/
14
-
15
- Unless required by applicable law or agreed to in writing, software
16
- distributed under the terms listed in this notice is distributed on
17
- an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
18
- either express or implied. See each License for the specific language
19
- governing permissions and limitations under that License.
20
-
21
- <!--- SPDX-License-Identifier: Apache-2.0 OR MIT -->
22
-
23
- `SPDX-License-Identifier: Apache-2.0 OR MIT`
24
-
25
- Verbatim copies of both licenses are included below:
26
-
27
- <details><summary>Apache-2.0 Software License</summary>
28
-
29
- ```
30
1
  Apache License
31
2
  Version 2.0, January 2004
32
3
  http://www.apache.org/licenses/
@@ -203,30 +174,28 @@ Verbatim copies of both licenses are included below:
203
174
  of your accepting any such warranty or additional liability.
204
175
 
205
176
  END OF TERMS AND CONDITIONS
206
- ```
207
177
 
208
- </details>
178
+ APPENDIX: How to apply the Apache License to your work.
209
179
 
210
- <details><summary>MIT Software License</summary>
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
211
188
 
212
- ```
213
- Permission is hereby granted, free of charge, to any person obtaining a copy
214
- of this software and associated documentation files (the "Software"), to deal
215
- in the Software without restriction, including without limitation the rights
216
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
217
- copies of the Software, and to permit persons to whom the Software is
218
- furnished to do so, subject to the following conditions:
189
+ Copyright [yyyy] [name of copyright owner]
219
190
 
220
- The above copyright notice and this permission notice shall be included in
221
- all copies or substantial portions of the Software.
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
222
194
 
223
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
224
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
225
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
226
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
227
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
228
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
229
- THE SOFTWARE.
230
- ```
195
+ http://www.apache.org/licenses/LICENSE-2.0
231
196
 
232
- </details>
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md CHANGED
@@ -613,4 +613,4 @@ This library is compatible with all modern browsers that support React 18+ and E
613
613
 
614
614
  ## License
615
615
 
616
- MIT+Apache
616
+ Apache-2.0
package/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { useFireproof, fireproof, type FireproofOpts, ImgFile, toCloud, type Fireproof, callAI, callAi, type CallAI, useVibes, type UseVibesOptions, type UseVibesResult, type VibeDocument, useViewer, type UseViewerResult, generateInstallId, useMobile, } from "@vibes.diy/use-vibes-base";
1
+ export { useFireproof, fireproof, type FireproofOpts, ImgFile, toCloud, type Fireproof, callAI, callAi, type CallAI, useViewer, type UseViewerResult, generateInstallId, useMobile, } from "@vibes.diy/use-vibes-base";
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { useFireproof, fireproof, ImgFile, toCloud, callAI, callAi, useVibes, useViewer, generateInstallId, useMobile, } from "@vibes.diy/use-vibes-base";
1
+ export { useFireproof, fireproof, ImgFile, toCloud, callAI, callAi, useViewer, generateInstallId, useMobile, } from "@vibes.diy/use-vibes-base";
2
2
  //# sourceMappingURL=index.js.map
package/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../jsr/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EACZ,SAAS,EAET,OAAO,EACP,OAAO,EAIP,MAAM,EACN,MAAM,EAIN,QAAQ,EAMR,SAAS,EAIT,iBAAiB,EAGjB,SAAS,GACV,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../jsr/index.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,YAAY,EACZ,SAAS,EAET,OAAO,EACP,OAAO,EAIP,MAAM,EACN,MAAM,EAIN,SAAS,EAIT,iBAAiB,EAGjB,SAAS,GACV,MAAM,2BAA2B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "use-vibes",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "description": "Transform any DOM element into an AI-powered micro-app",
@@ -29,7 +29,7 @@
29
29
  "@fireproof/core-types-base": "~0.24.19",
30
30
  "@fireproof/core-types-protocols-cloud": "~0.24.19",
31
31
  "@fireproof/use-fireproof": "~0.24.19",
32
- "@vibes.diy/use-vibes-base": "^2.6.0"
32
+ "@vibes.diy/use-vibes-base": "^2.6.2"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "react": ">=19.1.0"