@buoy-gg/impersonate 7.0.7 → 7.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@buoy-gg/impersonate",
3
- "version": "7.0.7",
3
+ "version": "7.0.9",
4
4
  "description": "Test your React Native app as any user, role, or flag combo — without logging out or rebuilding. Part of Buoy devtools.",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "sideEffects": false,
28
28
  "dependencies": {
29
- "@buoy-gg/shared-ui": "7.0.7"
29
+ "@buoy-gg/shared-ui": "^7.0.9"
30
30
  },
31
31
  "peerDependencies": {
32
32
  "react": "*",
@@ -1,85 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "AVATAR_COLORS", {
7
- enumerable: true,
8
- get: function () {
9
- return _UserAvatar.AVATAR_COLORS;
10
- }
11
- });
12
- Object.defineProperty(exports, "DataNukeSettingsComponent", {
13
- enumerable: true,
14
- get: function () {
15
- return _DataNukeSettings.DataNukeSettings;
16
- }
17
- });
18
- Object.defineProperty(exports, "ImpersonateBanner", {
19
- enumerable: true,
20
- get: function () {
21
- return _ImpersonateBanner.ImpersonateBanner;
22
- }
23
- });
24
- Object.defineProperty(exports, "ImpersonateBannerMinimal", {
25
- enumerable: true,
26
- get: function () {
27
- return _ImpersonateBanner.ImpersonateBannerMinimal;
28
- }
29
- });
30
- Object.defineProperty(exports, "ImpersonateHistoryList", {
31
- enumerable: true,
32
- get: function () {
33
- return _ImpersonateHistoryList.ImpersonateHistoryList;
34
- }
35
- });
36
- Object.defineProperty(exports, "ImpersonateModal", {
37
- enumerable: true,
38
- get: function () {
39
- return _ImpersonateModal.ImpersonateModal;
40
- }
41
- });
42
- Object.defineProperty(exports, "ImpersonateStatusBar", {
43
- enumerable: true,
44
- get: function () {
45
- return _ImpersonateStatusBar.ImpersonateStatusBar;
46
- }
47
- });
48
- Object.defineProperty(exports, "UserAvatar", {
49
- enumerable: true,
50
- get: function () {
51
- return _UserAvatar.UserAvatar;
52
- }
53
- });
54
- Object.defineProperty(exports, "UserCard", {
55
- enumerable: true,
56
- get: function () {
57
- return _UserCard.UserCard;
58
- }
59
- });
60
- Object.defineProperty(exports, "UserSearchView", {
61
- enumerable: true,
62
- get: function () {
63
- return _UserSearchView.UserSearchView;
64
- }
65
- });
66
- Object.defineProperty(exports, "getAvatarColor", {
67
- enumerable: true,
68
- get: function () {
69
- return _UserAvatar.getAvatarColor;
70
- }
71
- });
72
- Object.defineProperty(exports, "getInitials", {
73
- enumerable: true,
74
- get: function () {
75
- return _UserAvatar.getInitials;
76
- }
77
- });
78
- var _UserSearchView = require("./UserSearchView");
79
- var _DataNukeSettings = require("./DataNukeSettings");
80
- var _ImpersonateHistoryList = require("./ImpersonateHistoryList");
81
- var _ImpersonateModal = require("./ImpersonateModal");
82
- var _ImpersonateBanner = require("./ImpersonateBanner");
83
- var _ImpersonateStatusBar = require("./ImpersonateStatusBar");
84
- var _UserAvatar = require("./UserAvatar");
85
- var _UserCard = require("./UserCard");
@@ -1,64 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "REDUX_RESET_ACTION_TYPE", {
7
- enumerable: true,
8
- get: function () {
9
- return _useAutoClearRedux.REDUX_RESET_ACTION_TYPE;
10
- }
11
- });
12
- Object.defineProperty(exports, "useAsyncStorageAvailability", {
13
- enumerable: true,
14
- get: function () {
15
- return _useAutoClearAsyncStorage.useAsyncStorageAvailability;
16
- }
17
- });
18
- Object.defineProperty(exports, "useAutoClearAsyncStorage", {
19
- enumerable: true,
20
- get: function () {
21
- return _useAutoClearAsyncStorage.useAutoClearAsyncStorage;
22
- }
23
- });
24
- Object.defineProperty(exports, "useAutoClearReactQuery", {
25
- enumerable: true,
26
- get: function () {
27
- return _useAutoClearReactQuery.useAutoClearReactQuery;
28
- }
29
- });
30
- Object.defineProperty(exports, "useAutoClearRedux", {
31
- enumerable: true,
32
- get: function () {
33
- return _useAutoClearRedux.useAutoClearRedux;
34
- }
35
- });
36
- Object.defineProperty(exports, "useImpersonate", {
37
- enumerable: true,
38
- get: function () {
39
- return _useImpersonate.useImpersonate;
40
- }
41
- });
42
- Object.defineProperty(exports, "useImpersonateHistory", {
43
- enumerable: true,
44
- get: function () {
45
- return _useImpersonateHistory.useImpersonateHistory;
46
- }
47
- });
48
- Object.defineProperty(exports, "useReactQueryAvailability", {
49
- enumerable: true,
50
- get: function () {
51
- return _useAutoClearReactQuery.useReactQueryAvailability;
52
- }
53
- });
54
- Object.defineProperty(exports, "useReduxAvailability", {
55
- enumerable: true,
56
- get: function () {
57
- return _useAutoClearRedux.useReduxAvailability;
58
- }
59
- });
60
- var _useImpersonate = require("./useImpersonate");
61
- var _useImpersonateHistory = require("./useImpersonateHistory");
62
- var _useAutoClearReactQuery = require("./useAutoClearReactQuery");
63
- var _useAutoClearRedux = require("./useAutoClearRedux");
64
- var _useAutoClearAsyncStorage = require("./useAutoClearAsyncStorage");
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _types = require("./types");
7
- Object.keys(_types).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _types[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _types[key];
14
- }
15
- });
16
- });
17
- var _utils = require("./utils");
18
- Object.keys(_utils).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _utils[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _utils[key];
25
- }
26
- });
27
- });
28
- var _hooks = require("./hooks");
29
- Object.keys(_hooks).forEach(function (key) {
30
- if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _hooks[key]) return;
32
- Object.defineProperty(exports, key, {
33
- enumerable: true,
34
- get: function () {
35
- return _hooks[key];
36
- }
37
- });
38
- });
39
- var _components = require("./components");
40
- Object.keys(_components).forEach(function (key) {
41
- if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _components[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function () {
46
- return _components[key];
47
- }
48
- });
49
- });
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "getImpersonatedUserId", {
7
- enumerable: true,
8
- get: function () {
9
- return _impersonateListener.getImpersonatedUserId;
10
- }
11
- });
12
- Object.defineProperty(exports, "impersonateListener", {
13
- enumerable: true,
14
- get: function () {
15
- return _impersonateListener.impersonateListener;
16
- }
17
- });
18
- Object.defineProperty(exports, "impersonateStore", {
19
- enumerable: true,
20
- get: function () {
21
- return _impersonateStore.impersonateStore;
22
- }
23
- });
24
- Object.defineProperty(exports, "isImpersonating", {
25
- enumerable: true,
26
- get: function () {
27
- return _impersonateListener.isImpersonating;
28
- }
29
- });
30
- Object.defineProperty(exports, "setImpersonateConfig", {
31
- enumerable: true,
32
- get: function () {
33
- return _impersonateListener.setImpersonateConfig;
34
- }
35
- });
36
- Object.defineProperty(exports, "startImpersonateListener", {
37
- enumerable: true,
38
- get: function () {
39
- return _impersonateListener.startImpersonateListener;
40
- }
41
- });
42
- Object.defineProperty(exports, "stopImpersonateListener", {
43
- enumerable: true,
44
- get: function () {
45
- return _impersonateListener.stopImpersonateListener;
46
- }
47
- });
48
- var _impersonateListener = require("./impersonateListener");
49
- var _impersonateStore = require("./impersonateStore");
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- export { UserSearchView } from "./UserSearchView";
4
- export { DataNukeSettings as DataNukeSettingsComponent } from "./DataNukeSettings";
5
- export { ImpersonateHistoryList } from "./ImpersonateHistoryList";
6
- export { ImpersonateModal } from "./ImpersonateModal";
7
- export { ImpersonateBanner, ImpersonateBannerMinimal } from "./ImpersonateBanner";
8
- export { ImpersonateStatusBar } from "./ImpersonateStatusBar";
9
- export { UserAvatar } from "./UserAvatar";
10
- export { getInitials, getAvatarColor, AVATAR_COLORS } from "./UserAvatar";
11
- export { UserCard } from "./UserCard";
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- export { useImpersonate } from "./useImpersonate";
4
- export { useImpersonateHistory } from "./useImpersonateHistory";
5
- export { useAutoClearReactQuery, useReactQueryAvailability } from "./useAutoClearReactQuery";
6
- export { useAutoClearRedux, useReduxAvailability, REDUX_RESET_ACTION_TYPE } from "./useAutoClearRedux";
7
- export { useAutoClearAsyncStorage, useAsyncStorageAvailability } from "./useAutoClearAsyncStorage";
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- // Types
4
- export * from "./types";
5
-
6
- // Utils
7
- export * from "./utils";
8
-
9
- // Hooks
10
- export * from "./hooks";
11
-
12
- // Components
13
- export * from "./components";
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export { impersonateListener, startImpersonateListener, stopImpersonateListener, setImpersonateConfig, isImpersonating, getImpersonatedUserId } from "./impersonateListener";
4
- export { impersonateStore } from "./impersonateStore";
@@ -1,16 +0,0 @@
1
- export { UserSearchView } from "./UserSearchView";
2
- export type { UserSearchViewProps } from "./UserSearchView";
3
- export { DataNukeSettings as DataNukeSettingsComponent } from "./DataNukeSettings";
4
- export type { DataNukeSettingsProps, DetectionStatus } from "./DataNukeSettings";
5
- export { ImpersonateHistoryList } from "./ImpersonateHistoryList";
6
- export type { ImpersonateHistoryListProps } from "./ImpersonateHistoryList";
7
- export { ImpersonateModal } from "./ImpersonateModal";
8
- export { ImpersonateBanner, ImpersonateBannerMinimal } from "./ImpersonateBanner";
9
- export type { ExtendedBannerProps } from "./ImpersonateBanner";
10
- export { ImpersonateStatusBar } from "./ImpersonateStatusBar";
11
- export { UserAvatar } from "./UserAvatar";
12
- export type { UserAvatarProps } from "./UserAvatar";
13
- export { getInitials, getAvatarColor, AVATAR_COLORS } from "./UserAvatar";
14
- export { UserCard } from "./UserCard";
15
- export type { UserCardProps } from "./UserCard";
16
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,OAAO,EAAE,gBAAgB,IAAI,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACnF,YAAY,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAEjF,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,YAAY,EAAE,2BAA2B,EAAE,MAAM,0BAA0B,CAAC;AAE5E,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAEtD,OAAO,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,MAAM,qBAAqB,CAAC;AAClF,YAAY,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAE/D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE1E,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -1,11 +0,0 @@
1
- export { useImpersonate } from "./useImpersonate";
2
- export type { UseImpersonateOptions, UseImpersonateReturn } from "./useImpersonate";
3
- export { useImpersonateHistory } from "./useImpersonateHistory";
4
- export type { UseImpersonateHistoryReturn } from "./useImpersonateHistory";
5
- export { useAutoClearReactQuery, useReactQueryAvailability } from "./useAutoClearReactQuery";
6
- export type { UseAutoClearReactQueryResult } from "./useAutoClearReactQuery";
7
- export { useAutoClearRedux, useReduxAvailability, REDUX_RESET_ACTION_TYPE } from "./useAutoClearRedux";
8
- export type { UseAutoClearReduxOptions, UseAutoClearReduxResult } from "./useAutoClearRedux";
9
- export { useAutoClearAsyncStorage, useAsyncStorageAvailability } from "./useAutoClearAsyncStorage";
10
- export type { UseAutoClearAsyncStorageResult } from "./useAutoClearAsyncStorage";
11
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,kBAAkB,CAAC;AAEpF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAE3E,OAAO,EAAE,sBAAsB,EAAE,yBAAyB,EAAE,MAAM,0BAA0B,CAAC;AAC7F,YAAY,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAE7E,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACvG,YAAY,EAAE,wBAAwB,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE7F,OAAO,EAAE,wBAAwB,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AACnG,YAAY,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC"}
@@ -1,5 +0,0 @@
1
- export * from "./types";
2
- export * from "./utils";
3
- export * from "./hooks";
4
- export * from "./components";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/impersonate/index.ts"],"names":[],"mappings":"AACA,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC;AAGxB,cAAc,cAAc,CAAC"}
@@ -1,3 +0,0 @@
1
- export { impersonateListener, startImpersonateListener, stopImpersonateListener, setImpersonateConfig, isImpersonating, getImpersonatedUserId, } from "./impersonateListener";
2
- export { impersonateStore } from "./impersonateStore";
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/impersonate/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,uBAAuB,EACvB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,GACtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}