@buoy-gg/core 1.7.4 → 1.7.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,58 @@
1
+ PROPRIETARY SOFTWARE LICENSE
2
+
3
+ Copyright (c) 2024-present Buoy. All rights reserved.
4
+
5
+ This software and its source code are proprietary and confidential.
6
+
7
+ NOTICE: This is NOT open source software. This software is licensed,
8
+ not sold, and is protected by copyright laws and international treaties.
9
+
10
+ TERMS AND CONDITIONS:
11
+
12
+ 1. LICENSE GRANT
13
+ Subject to the terms of this Agreement and payment of applicable fees,
14
+ Buoy grants you a limited, non-exclusive, non-transferable license
15
+ to use the compiled software packages in your applications.
16
+
17
+ 2. RESTRICTIONS
18
+ You may NOT:
19
+ - Copy, modify, or distribute the source code
20
+ - Reverse engineer, decompile, or disassemble the software
21
+ - Remove or alter any proprietary notices or labels
22
+ - Sublicense, rent, lease, or lend the software
23
+ - Use the software to create competing products
24
+ - Share access credentials with unauthorized parties
25
+
26
+ 3. OWNERSHIP
27
+ React Buoy retains all right, title, and interest in the software,
28
+ including all intellectual property rights. This license does not
29
+ grant you any rights to trademarks or service marks.
30
+
31
+ 4. TERMINATION
32
+ This license is effective until terminated. Your rights under this
33
+ license will terminate automatically without notice if you fail to
34
+ comply with any of its terms. Upon termination, you must cease all
35
+ use and destroy all copies of the software.
36
+
37
+ 5. DISCLAIMER OF WARRANTIES
38
+ THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
39
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
40
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.
41
+
42
+ 6. LIMITATION OF LIABILITY
43
+ IN NO EVENT SHALL BUOY BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
44
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN
45
+ CONNECTION WITH THIS LICENSE OR THE USE OF THE SOFTWARE.
46
+
47
+ 7. GOVERNING LAW
48
+ This Agreement shall be governed by and construed in accordance with
49
+ the laws of the United States, without regard to its conflict of
50
+ law provisions.
51
+
52
+ For licensing inquiries and subscription information:
53
+ - Website: https://buoy.gg
54
+ - Email: AustinLovesWorking@gmail.com
55
+
56
+ Unauthorized reproduction or distribution of this software, or any
57
+ portion of it, may result in severe civil and criminal penalties,
58
+ and will be prosecuted to the maximum extent possible under the law.
@@ -37,7 +37,7 @@ const FloatingMenu = ({
37
37
  actions,
38
38
  hidden,
39
39
  environment,
40
- userRole,
40
+ userRole = "admin",
41
41
  availableEnvironments,
42
42
  onEnvironmentSwitch
43
43
  }) => {
@@ -228,8 +228,8 @@ const FloatingMenu = ({
228
228
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_OnboardingTooltip.OnboardingTooltip, {
229
229
  visible: true,
230
230
  onDismiss: handleOnboardingDismiss,
231
- title: "Welcome to Buoy Dev Tools!",
232
- message: "Grab and position this menu wherever you want, then tap the icon to open your dev tools."
231
+ title: "Welcome to Buoy!",
232
+ message: "Grab and position this menu wherever you want, then tap the icon to open your tools."
233
233
  })]
234
234
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
235
235
  nativeID: "floating-devtools-root",
@@ -252,7 +252,7 @@ const FloatingMenu = ({
252
252
  availableEnvironments: availableEnvironments,
253
253
  onEnvironmentSwitch: onEnvironmentSwitch,
254
254
  showEnvironmentSelector: showEnvironmentSelector && devToolsSettings?.floatingTools?.environment,
255
- children: [devToolsSettings?.floatingTools?.environment && environment && !showEnvironmentSelector ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.EnvironmentIndicator, {
255
+ children: [environment && devToolsSettings?.floatingTools?.environment !== false && !showEnvironmentSelector ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_sharedUi.EnvironmentIndicator, {
256
256
  environment: environment
257
257
  }) : null, userRole ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_floatingTools.UserStatus, {
258
258
  userRole: userRole,
@@ -12,8 +12,8 @@ var _jsxRuntime = require("react/jsx-runtime");
12
12
  const OnboardingTooltip = ({
13
13
  visible,
14
14
  onDismiss,
15
- title = "Welcome to Buoy Tools!",
16
- message = "Tap the center button to configure and add developer tools to your dial menu."
15
+ title = "Welcome to Buoy!",
16
+ message = "Tap the center button to configure and add tools to your dial menu."
17
17
  }) => {
18
18
  const fadeAnim = (0, _react.useRef)(new _reactNative.Animated.Value(0)).current;
19
19
  const scaleAnim = (0, _react.useRef)(new _reactNative.Animated.Value(0.8)).current;
@@ -32,7 +32,7 @@ export const FloatingMenu = ({
32
32
  actions,
33
33
  hidden,
34
34
  environment,
35
- userRole,
35
+ userRole = "admin",
36
36
  availableEnvironments,
37
37
  onEnvironmentSwitch
38
38
  }) => {
@@ -223,8 +223,8 @@ export const FloatingMenu = ({
223
223
  }), /*#__PURE__*/_jsx(OnboardingTooltip, {
224
224
  visible: true,
225
225
  onDismiss: handleOnboardingDismiss,
226
- title: "Welcome to Buoy Dev Tools!",
227
- message: "Grab and position this menu wherever you want, then tap the icon to open your dev tools."
226
+ title: "Welcome to Buoy!",
227
+ message: "Grab and position this menu wherever you want, then tap the icon to open your tools."
228
228
  })]
229
229
  }), /*#__PURE__*/_jsx(View, {
230
230
  nativeID: "floating-devtools-root",
@@ -247,7 +247,7 @@ export const FloatingMenu = ({
247
247
  availableEnvironments: availableEnvironments,
248
248
  onEnvironmentSwitch: onEnvironmentSwitch,
249
249
  showEnvironmentSelector: showEnvironmentSelector && devToolsSettings?.floatingTools?.environment,
250
- children: [devToolsSettings?.floatingTools?.environment && environment && !showEnvironmentSelector ? /*#__PURE__*/_jsx(EnvironmentIndicator, {
250
+ children: [environment && devToolsSettings?.floatingTools?.environment !== false && !showEnvironmentSelector ? /*#__PURE__*/_jsx(EnvironmentIndicator, {
251
251
  environment: environment
252
252
  }) : null, userRole ? /*#__PURE__*/_jsx(UserStatus, {
253
253
  userRole: userRole,
@@ -8,8 +8,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  export const OnboardingTooltip = ({
9
9
  visible,
10
10
  onDismiss,
11
- title = "Welcome to Buoy Tools!",
12
- message = "Tap the center button to configure and add developer tools to your dial menu."
11
+ title = "Welcome to Buoy!",
12
+ message = "Tap the center button to configure and add tools to your dial menu."
13
13
  }) => {
14
14
  const fadeAnim = useRef(new Animated.Value(0)).current;
15
15
  const scaleAnim = useRef(new Animated.Value(0.8)).current;
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingMenu.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/FloatingMenu.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AASrF,OAAO,EAAiB,QAAQ,EAAc,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAetD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,+DAA+D;IAC/D,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,sFAAsF;IACtF,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,iFAAiF;IACjF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uFAAuF;IACvF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,kFAAkF;IAClF,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;IAC7C,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,iBAAiB,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AC;CAC1D;AAYD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAqU9C,CAAC"}
@@ -2,7 +2,7 @@ import { FC } from "react";
2
2
  interface OnboardingTooltipProps {
3
3
  visible: boolean;
4
4
  onDismiss: () => void;
5
- /** Optional custom title. Defaults to "Welcome to Buoy Tools!" */
5
+ /** Optional custom title. Defaults to "Welcome to Buoy!" */
6
6
  title?: string;
7
7
  /** Optional custom message. Defaults to dial menu instruction */
8
8
  message?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/OnboardingTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAY9C,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiJxD,CAAC"}
1
+ {"version":3,"file":"OnboardingTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/OnboardingTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAY9C,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiJxD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FloatingMenu.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/FloatingMenu.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AASrF,OAAO,EAAiB,QAAQ,EAAc,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAetD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,+DAA+D;IAC/D,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,sFAAsF;IACtF,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,iFAAiF;IACjF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uFAAuF;IACvF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,kFAAkF;IAClF,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;IAC7C,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,WAAW,EAAE,CAAC;IACtC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1D;AAYD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoU9C,CAAC"}
1
+ {"version":3,"file":"FloatingMenu.d.ts","sourceRoot":"","sources":["../../../../src/floatingMenu/FloatingMenu.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAqD,MAAM,OAAO,CAAC;AASrF,OAAO,EAAiB,QAAQ,EAAc,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,EACV,YAAY,EACZ,mBAAmB,EACnB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAEhF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAetD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,+DAA+D;IAC/D,IAAI,EAAE,YAAY,EAAE,CAAC;IACrB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,iBAAiB,CAAC;IAC1B,sFAAsF;IACtF,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAC9B,iFAAiF;IACjF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,uFAAuF;IACvF,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,kFAAkF;IAClF,oBAAoB,CAAC,EAAE,qBAAqB,CAAC;IAC7C,oFAAoF;IACpF,gBAAgB,CAAC,EAAE,iBAAiB,CAAC;IACrC;;;OAGG;IACH,qBAAqB,CAAC,EAAE,WAAW,EAAE,CAAC;IACtC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,IAAI,CAAC;CAC1D;AAYD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAqU9C,CAAC"}
@@ -2,7 +2,7 @@ import { FC } from "react";
2
2
  interface OnboardingTooltipProps {
3
3
  visible: boolean;
4
4
  onDismiss: () => void;
5
- /** Optional custom title. Defaults to "Welcome to Buoy Tools!" */
5
+ /** Optional custom title. Defaults to "Welcome to Buoy!" */
6
6
  title?: string;
7
7
  /** Optional custom message. Defaults to dial menu instruction */
8
8
  message?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"OnboardingTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/OnboardingTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAY9C,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kEAAkE;IAClE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiJxD,CAAC"}
1
+ {"version":3,"file":"OnboardingTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/floatingMenu/dial/OnboardingTooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAqB,MAAM,OAAO,CAAC;AAY9C,UAAU,sBAAsB;IAC9B,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iEAAiE;IACjE,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiJxD,CAAC"}
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@buoy-gg/core",
3
- "version": "1.7.4",
3
+ "version": "1.7.7",
4
4
  "description": "Floating dev tools launcher and AppHost",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
7
7
  "types": "lib/typescript/module/index.d.ts",
8
- "react-native": "src/index.tsx",
8
+ "react-native": "lib/module/index.js",
9
9
  "source": "src/index.tsx",
10
10
  "exports": {
11
11
  ".": {
12
12
  "types": "./lib/typescript/module/index.d.ts",
13
- "react-native": "./src/index.tsx",
13
+ "react-native": "./lib/module/index.js",
14
14
  "import": "./lib/module/index.js",
15
15
  "require": "./lib/commonjs/index.js",
16
16
  "default": "./lib/commonjs/index.js"
@@ -21,17 +21,10 @@
21
21
  "lib"
22
22
  ],
23
23
  "sideEffects": false,
24
- "scripts": {
25
- "build": "bob build",
26
- "typecheck": "tsc --noEmit",
27
- "prepublishOnly": "bob build",
28
- "clean": "rimraf lib",
29
- "test": "pnpm run typecheck"
30
- },
31
24
  "dependencies": {
32
- "@buoy-gg/shared-ui": "workspace:*",
33
- "@buoy-gg/license": "workspace:*",
34
- "@buoy-gg/floating-tools-core": "workspace:*"
25
+ "@buoy-gg/shared-ui": "1.7.7",
26
+ "@buoy-gg/license": "1.7.7",
27
+ "@buoy-gg/floating-tools-core": "1.7.7"
35
28
  },
36
29
  "peerDependencies": {
37
30
  "react": "*",
@@ -75,5 +68,11 @@
75
68
  "publishConfig": {
76
69
  "access": "public",
77
70
  "tag": "latest"
71
+ },
72
+ "scripts": {
73
+ "build": "bob build",
74
+ "typecheck": "tsc --noEmit",
75
+ "clean": "rimraf lib",
76
+ "test": "pnpm run typecheck"
78
77
  }
79
- }
78
+ }