@tiledev/sdk-apptile-live-selling 0.2.0 → 0.2.1

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/README.md CHANGED
@@ -257,6 +257,15 @@ Two pairs of files, and Metro picks by platform. TypeScript resolves the non-nat
257
257
  |---|---|
258
258
  | `engine.native.ts` — the real Zego engine; owns the room, plays into a rebindable view, publishes a guest's camera, translates every Zego channel into a `LiveEvent` | `engine.ts` — no-op, `isNoop: true` |
259
259
  | `pip.native.ts` — the `LivePip` Expo module | `pip.ts` — no-op, `isLivePipSupported: false` |
260
+ | `react/index.ts` — the real providers, hooks and video target | `react/index.web.ts` — real client and read hooks, idle session, `View` in place of the texture view |
261
+
262
+ The web file is not only about behaviour. `LiveVideoTarget` requires `zego-express-engine-reactnative`
263
+ for its texture view, and a bundler collects that `require` whichever branch would run it — so a web
264
+ build in a workspace without the Zego SDK installed fails to *resolve* it, before any of this runs.
265
+ Serving the stand-ins keeps the native entry out of a web graph altogether. What a browser can do
266
+ honestly stays real: the client, the gateway calls, and the stream/replay/clip read hooks. What it
267
+ cannot is inert — `useLiveSession()` reports a permanently `ended` session (the empty state every
268
+ surface already draws), the bid gate never blocks, and the wins tab is empty.
260
269
 
261
270
  So the session never arms a handover that cannot happen, and a web bundle never evaluates the Zego
262
271
  entry module.
@@ -0,0 +1,42 @@
1
+ import { View } from 'react-native';
2
+ import type { ViewProps } from 'react-native';
3
+ import type { LiveSession } from '../sessionTypes';
4
+ import type { AuctionBidGate, UseAuctionBidGateOptions } from './useAuctionBidGate';
5
+ import type { UseAuctionWinsOptions, UseAuctionWinsState } from './useAuctionWins';
6
+ import type { LiveSessionProviderProps } from './useLiveSession';
7
+ import type { LiveVideoTargetProps } from './LiveVideoTarget';
8
+ export { LiveSellingProvider, useLiveSelling, type LiveSellingProviderProps, type LiveSellingContextType, } from './LiveSellingProvider';
9
+ export { useOngoingLive, type UseOngoingLiveOptions, type UseOngoingLiveState } from './useOngoingLive';
10
+ export { useLiveStreams, type UseLiveStreamsState } from './useLiveStreams';
11
+ export { useAuction, type UseAuctionState } from './useAuction';
12
+ export { useReplays, type UseReplaysOptions, type UseReplaysState } from './useReplays';
13
+ export { useClips, type UseClipsState } from './useClips';
14
+ export { useStreamInfo, refreshStreamRecords, refreshStreamRecordsIfStale, } from './useStreamInfo';
15
+ export { nativeViewTag } from '../nativeViewTag';
16
+ export type { AuctionBidGate, BidBlocker } from './useAuctionBidGate';
17
+ export type { AuctionWinRow, UseAuctionWinsOptions, UseAuctionWinsState } from './useAuctionWins';
18
+ export type { LiveSessionProviderProps } from './useLiveSession';
19
+ export type { LiveVideoTargetProps } from './LiveVideoTarget';
20
+ export declare function LiveSessionProvider({ children }: LiveSessionProviderProps): import("react").FunctionComponentElement<import("react").ProviderProps<LiveSession | null>>;
21
+ /**
22
+ * The idle session, read without touching the context: a surface rendered outside the provider
23
+ * behaves the same as one inside it, because on the web there is only ever this one session.
24
+ */
25
+ export declare function useLiveSession<TRaw = unknown>(): LiveSession<TRaw>;
26
+ export declare const isNativeVideoSupported = false;
27
+ /**
28
+ * A plain `View`, which is what the native file falls back to on a build without the Zego SDK:
29
+ * callers position this and draw a poster over it, so returning null would collapse the layout the
30
+ * poster depends on.
31
+ */
32
+ export declare const NativeVideoView: import("react").ForwardRefExoticComponent<ViewProps & import("react").RefAttributes<unknown>>;
33
+ export declare function LiveVideoTarget({ style, children }: LiveVideoTargetProps): import("react").CElement<ViewProps, View>;
34
+ export declare const SHEET_HANDOFF_MS = 380;
35
+ /** Never blocks, because there is no bid to gate — `placeBid` above resolves without sending. */
36
+ export declare function useAuctionBidGate(_options: UseAuctionBidGateOptions): AuctionBidGate;
37
+ /**
38
+ * An empty tab rather than a failure. The wins metafield is readable from a browser, but settling one
39
+ * mints a cart and sends the shopper to checkout — not something a preview should be able to start.
40
+ */
41
+ export declare function useAuctionWins<TRaw = unknown>(_options?: UseAuctionWinsOptions): UseAuctionWinsState<TRaw>;
42
+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ACtE,YAAY,EAAE,aAAa,EAAE,qBAAqB,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAClG,YAAY,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC;AACjE,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AA8D9D,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,+FAEzE;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,GAAG,OAAO,KAAK,WAAW,CAAC,IAAI,CAAC,CAElE;AAID,eAAO,MAAM,sBAAsB,QAAQ,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,eAAe,+FAE1B,CAAC;AAEH,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,6CAExE;AAID,eAAO,MAAM,gBAAgB,MAAM,CAAC;AAEpC,iGAAiG;AACjG,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,wBAAwB,GAAG,cAAc,CAapF;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,IAAI,GAAG,OAAO,EAC3C,QAAQ,CAAC,EAAE,qBAAqB,GAC/B,mBAAmB,CAAC,IAAI,CAAC,CAc3B"}
@@ -0,0 +1,167 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SHEET_HANDOFF_MS = exports.NativeVideoView = exports.isNativeVideoSupported = exports.nativeViewTag = exports.refreshStreamRecordsIfStale = exports.refreshStreamRecords = exports.useStreamInfo = exports.useClips = exports.useReplays = exports.useAuction = exports.useLiveStreams = exports.useOngoingLive = exports.useLiveSelling = exports.LiveSellingProvider = void 0;
4
+ exports.LiveSessionProvider = LiveSessionProvider;
5
+ exports.useLiveSession = useLiveSession;
6
+ exports.LiveVideoTarget = LiveVideoTarget;
7
+ exports.useAuctionBidGate = useAuctionBidGate;
8
+ exports.useAuctionWins = useAuctionWins;
9
+ /**
10
+ * The React layer on the **web** — real where a browser can honestly do the work, inert where it
11
+ * cannot. Metro resolves this file in place of `./index` for web, and TypeScript reads the native
12
+ * one, so the two surfaces are kept identical by the compiler.
13
+ *
14
+ * Two separate reasons this file exists, and only the first is about behaviour:
15
+ *
16
+ * 1. **Nothing here may reach the Zego module.** `LiveVideoTarget` requires
17
+ * `zego-express-engine-reactnative` for its texture view on native. A bundler collects that
18
+ * `require` whichever branch would run it, so a web bundle built where the SDK is not installed
19
+ * fails to resolve it at build time — before a line of this runs. Serving the stand-ins below
20
+ * keeps the native entry out of a web graph entirely.
21
+ * 2. **There is no room to join.** Video is Zego, the package ships a documented no-op engine off
22
+ * device, so a session here is a permanently idle one rather than a fabricated live show.
23
+ *
24
+ * `status: 'ended'` is the deliberate choice for that idle session. Every surface already draws a
25
+ * finished stream as an empty state; `loading` spins for ever, and `error` puts a failure in front of
26
+ * a shopper for a feature the browser was never going to run.
27
+ *
28
+ * The **client** is real: `liveSelling` and its HTTP calls work from a browser, so `useLiveSelling()`,
29
+ * the stream/replay/clip read hooks and the polled record all behave as they do on device.
30
+ *
31
+ * `createElement` rather than JSX, like the rest of the package, so this stays a plain `.ts`.
32
+ */
33
+ const react_1 = require("react");
34
+ const react_native_1 = require("react-native");
35
+ const sessionTypes_1 = require("../sessionTypes");
36
+ // Real on the web: the gateway is plain HTTP, and the engine it configures is the no-op build.
37
+ var LiveSellingProvider_1 = require("./LiveSellingProvider");
38
+ Object.defineProperty(exports, "LiveSellingProvider", { enumerable: true, get: function () { return LiveSellingProvider_1.LiveSellingProvider; } });
39
+ Object.defineProperty(exports, "useLiveSelling", { enumerable: true, get: function () { return LiveSellingProvider_1.useLiveSelling; } });
40
+ var useOngoingLive_1 = require("./useOngoingLive");
41
+ Object.defineProperty(exports, "useOngoingLive", { enumerable: true, get: function () { return useOngoingLive_1.useOngoingLive; } });
42
+ var useLiveStreams_1 = require("./useLiveStreams");
43
+ Object.defineProperty(exports, "useLiveStreams", { enumerable: true, get: function () { return useLiveStreams_1.useLiveStreams; } });
44
+ var useAuction_1 = require("./useAuction");
45
+ Object.defineProperty(exports, "useAuction", { enumerable: true, get: function () { return useAuction_1.useAuction; } });
46
+ var useReplays_1 = require("./useReplays");
47
+ Object.defineProperty(exports, "useReplays", { enumerable: true, get: function () { return useReplays_1.useReplays; } });
48
+ var useClips_1 = require("./useClips");
49
+ Object.defineProperty(exports, "useClips", { enumerable: true, get: function () { return useClips_1.useClips; } });
50
+ var useStreamInfo_1 = require("./useStreamInfo");
51
+ Object.defineProperty(exports, "useStreamInfo", { enumerable: true, get: function () { return useStreamInfo_1.useStreamInfo; } });
52
+ Object.defineProperty(exports, "refreshStreamRecords", { enumerable: true, get: function () { return useStreamInfo_1.refreshStreamRecords; } });
53
+ Object.defineProperty(exports, "refreshStreamRecordsIfStale", { enumerable: true, get: function () { return useStreamInfo_1.refreshStreamRecordsIfStale; } });
54
+ // Already returns null off device — react-native-web *throws* from `findNodeHandle`, which this
55
+ // wraps, so the honest answer costs nothing here.
56
+ var nativeViewTag_1 = require("../nativeViewTag");
57
+ Object.defineProperty(exports, "nativeViewTag", { enumerable: true, get: function () { return nativeViewTag_1.nativeViewTag; } });
58
+ // ─── The session ─────────────────────────────────────────────────────────────
59
+ /** Every action, resolved and doing nothing. There is no room to send any of it to. */
60
+ const IDLE_ACTIONS = {
61
+ bindVideoView: () => undefined,
62
+ sendComment: async () => undefined,
63
+ sendReaction: async () => undefined,
64
+ announceAddToCart: async () => undefined,
65
+ voteInPoll: async () => undefined,
66
+ chooseViewerName: async () => null,
67
+ addToCart: async () => false,
68
+ joinAsGuest: () => Promise.reject(new Error('Co-hosting needs a device build.')),
69
+ leaveGuest: async () => undefined,
70
+ setGuestMicMuted: async () => undefined,
71
+ setGuestCameraOff: async () => undefined,
72
+ flipGuestCamera: async () => undefined,
73
+ bindGuestPreview: () => undefined,
74
+ bindGuestHostView: () => undefined,
75
+ setMuted: () => undefined,
76
+ enterPip: () => undefined,
77
+ exitPip: () => undefined,
78
+ placeBid: async () => undefined,
79
+ enterGiveaway: async () => undefined,
80
+ dismissAuctionWin: () => undefined,
81
+ dismissGiveawayResult: () => undefined,
82
+ };
83
+ /** A stream that is over: the one state every surface already knows how to draw. */
84
+ const IDLE_SESSION = {
85
+ status: 'ended',
86
+ stream: null,
87
+ viewerCount: 0,
88
+ rawViewerCount: 0,
89
+ comments: [],
90
+ activeProduct: null,
91
+ products: [],
92
+ sold: [],
93
+ reactions: [],
94
+ poll: null,
95
+ muted: true,
96
+ videoTag: null,
97
+ elapsedMs: 0,
98
+ pipMode: 'none',
99
+ guest: {
100
+ mode: false,
101
+ status: 'idle',
102
+ slot: null,
103
+ mutedByHost: false,
104
+ cameraOffByHost: false,
105
+ mixerLayout: null,
106
+ },
107
+ viewerName: null,
108
+ auction: sessionTypes_1.IDLE_AUCTION,
109
+ giveaway: sessionTypes_1.IDLE_GIVEAWAY,
110
+ error: null,
111
+ actions: IDLE_ACTIONS,
112
+ };
113
+ const LiveSessionContext = (0, react_1.createContext)(null);
114
+ function LiveSessionProvider({ children }) {
115
+ return (0, react_1.createElement)(LiveSessionContext.Provider, { value: IDLE_SESSION }, children);
116
+ }
117
+ /**
118
+ * The idle session, read without touching the context: a surface rendered outside the provider
119
+ * behaves the same as one inside it, because on the web there is only ever this one session.
120
+ */
121
+ function useLiveSession() {
122
+ return IDLE_SESSION;
123
+ }
124
+ // ─── The video ───────────────────────────────────────────────────────────────
125
+ exports.isNativeVideoSupported = false;
126
+ /**
127
+ * A plain `View`, which is what the native file falls back to on a build without the Zego SDK:
128
+ * callers position this and draw a poster over it, so returning null would collapse the layout the
129
+ * poster depends on.
130
+ */
131
+ exports.NativeVideoView = (0, react_1.forwardRef)(function NativeVideoView(props, _ref) {
132
+ return (0, react_1.createElement)(react_native_1.View, props);
133
+ });
134
+ function LiveVideoTarget({ style, children }) {
135
+ return (0, react_1.createElement)(react_native_1.View, { style: style !== null && style !== void 0 ? style : { flex: 1 } }, children);
136
+ }
137
+ // ─── Auctions ────────────────────────────────────────────────────────────────
138
+ exports.SHEET_HANDOFF_MS = 380;
139
+ /** Never blocks, because there is no bid to gate — `placeBid` above resolves without sending. */
140
+ function useAuctionBidGate(_options) {
141
+ return (0, react_1.useMemo)(() => ({
142
+ blocker: null,
143
+ variantId: null,
144
+ requestBid: () => undefined,
145
+ acceptTerms: () => undefined,
146
+ chooseVariant: () => undefined,
147
+ dismiss: () => undefined,
148
+ refreshUnpaidWins: () => undefined,
149
+ }), []);
150
+ }
151
+ /**
152
+ * An empty tab rather than a failure. The wins metafield is readable from a browser, but settling one
153
+ * mints a cart and sends the shopper to checkout — not something a preview should be able to start.
154
+ */
155
+ function useAuctionWins(_options) {
156
+ return (0, react_1.useMemo)(() => ({
157
+ rows: [],
158
+ totalBids: 0,
159
+ streamingId: null,
160
+ loading: false,
161
+ checkingOut: false,
162
+ error: null,
163
+ refresh: () => undefined,
164
+ checkout: async () => null,
165
+ }), []);
166
+ }
167
+ //# sourceMappingURL=index.web.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.web.js","sourceRoot":"","sources":["../../src/react/index.web.ts"],"names":[],"mappings":";;;AA0HA,kDAEC;AAMD,wCAEC;AAeD,0CAEC;AAOD,8CAaC;AAMD,wCAgBC;AA/LD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iCAA0E;AAC1E,+CAAoC;AAIpC,kDAA8D;AAO9D,+FAA+F;AAC/F,6DAK+B;AAJ7B,0HAAA,mBAAmB,OAAA;AACnB,qHAAA,cAAc,OAAA;AAIhB,mDAAwG;AAA/F,gHAAA,cAAc,OAAA;AACvB,mDAA4E;AAAnE,gHAAA,cAAc,OAAA;AACvB,2CAAgE;AAAvD,wGAAA,UAAU,OAAA;AACnB,2CAAwF;AAA/E,wGAAA,UAAU,OAAA;AACnB,uCAA0D;AAAjD,oGAAA,QAAQ,OAAA;AACjB,iDAIyB;AAHvB,8GAAA,aAAa,OAAA;AACb,qHAAA,oBAAoB,OAAA;AACpB,4HAAA,2BAA2B,OA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AO,IAAA,qBAAa,EAAC,mBAAI,EAAE,EAAE,KAAK,EAAE,KAAK,aAAL,KAAK,cAAL,KAAK,GAAI,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,EAAE,QAAqB,CAAC,CAAC;AACrF,CAAC;AAED,gFAAgF;AAEnE,QAAA,gBAAgB,GAAG,GAAG,CAAC;AAEpC,iGAAiG;AACjG,SAAgB,iBAAiB,CAAC,QAAkC;IAClE,OAAO,IAAA,eAAO,EACZ,GAAG,EAAE,CAAC,CAAC;QACL,OAAO,EAAE,IAAI;QACb,SAAS,EAAE,IAAI;QACf,UAAU,EAAE,GAAG,EAAE,CAAC,SAAS;QAC3B,WAAW,EAAE,GAAG,EAAE,CAAC,SAAS;QAC5B,aAAa,EAAE,GAAG,EAAE,CAAC,SAAS;QAC9B,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS;QACxB,iBAAiB,EAAE,GAAG,EAAE,CAAC,SAAS;KACnC,CAAC,EACF,EAAE,CACH,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,SAAgB,cAAc,CAC5B,QAAgC;IAEhC,OAAO,IAAA,eAAO,EACZ,GAAG,EAAE,CAAC,CAAC;QACL,IAAI,EAAE,EAA2B;QACjC,SAAS,EAAE,CAAC;QACZ,WAAW,EAAE,IAAI;QACjB,OAAO,EAAE,KAAK;QACd,WAAW,EAAE,KAAK;QAClB,KAAK,EAAE,IAAI;QACX,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS;QACxB,QAAQ,EAAE,KAAK,IAAI,EAAE,CAAC,IAAI;KAC3B,CAAC,EACF,EAAE,CACH,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledev/sdk-apptile-live-selling",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Live selling, auctions and giveaways for React Native \u2014 the Apptile live-selling gateway as a typed singleton, a Zego room engine behind a platform boundary, an assembled session state machine, and system picture-in-picture with its own config plugin. Commerce comes from an adapter.",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,