@streamlayer/react 0.29.3 → 0.29.5
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/lib/cjs/masters.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/dist/cjs/masters.js +1 -1
- package/lib/dist/es/masters.js +1 -1
- package/lib/dist/index-bee6e4ec.cjs +1 -0
- package/lib/dist/{index-74fad1da.js → index-c9c374fc.js} +552 -435
- package/lib/dist/index.d.ts +24 -0
- package/lib/dist/{masters-7b69b363.js → masters-55ee878f.js} +4989 -4733
- package/lib/dist/masters-cbaf9f64.cjs +29 -0
- package/lib/dist/style.css +43 -3
- package/lib/es/masters.js +2 -2
- package/lib/es/points.js +3 -3
- package/lib/index-097ba5f5.cjs +6 -0
- package/lib/{index-0ee221fc.js → index-616b0bcd.js} +127 -98
- package/lib/{index-ffb81042.js → index-aa64b1f2.js} +778 -661
- package/lib/index-b0206045.cjs +1 -0
- package/lib/masters-541db712.cjs +1 -0
- package/lib/masters-e3fde211.js +608 -0
- package/lib/style.css +1 -1
- package/package.json +5 -5
- package/lib/dist/index-5db9fe4d.cjs +0 -1
- package/lib/dist/masters-8b4d5688.cjs +0 -29
- package/lib/index-14d36d45.cjs +0 -6
- package/lib/index-dc9aee43.cjs +0 -1
- package/lib/masters-6226c77f.cjs +0 -1
- package/lib/masters-62d1a034.js +0 -400
package/lib/dist/index.d.ts
CHANGED
|
@@ -770,6 +770,13 @@ declare module "../../sdk-web-notifications/src/notifications" {
|
|
|
770
770
|
questionType: QuestionType;
|
|
771
771
|
question?: {
|
|
772
772
|
title: string;
|
|
773
|
+
votedAnswer?: {
|
|
774
|
+
title?: string;
|
|
775
|
+
points?: number;
|
|
776
|
+
};
|
|
777
|
+
predictionResult?: boolean;
|
|
778
|
+
correct?: boolean;
|
|
779
|
+
correctAnswerTitle?: string;
|
|
773
780
|
};
|
|
774
781
|
insight?: InstantView;
|
|
775
782
|
onboarding?: GameSettings;
|
|
@@ -1323,6 +1330,21 @@ declare module "../../feature-gamification/src/leaderboard" {
|
|
|
1323
1330
|
invalidate: () => void;
|
|
1324
1331
|
};
|
|
1325
1332
|
}
|
|
1333
|
+
declare module "../../feature-gamification/src/queries/deepLink" {
|
|
1334
|
+
import type { Transport } from '../../sdk-web-api/src/index.ts';
|
|
1335
|
+
import { ReadableAtom } from 'nanostores';
|
|
1336
|
+
import { DeepLink } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
|
|
1337
|
+
type EventId = ReadableAtom<string | undefined>;
|
|
1338
|
+
export const $deepLink: (transport: Transport, params: [EventId]) => import("@nanostores/query").FetcherStore<DeepLink | undefined, any>;
|
|
1339
|
+
}
|
|
1340
|
+
declare module "../../feature-gamification/src/deepLink" {
|
|
1341
|
+
import type { Transport } from '../../sdk-web-api/src/index.ts';
|
|
1342
|
+
import { ReadableAtom } from 'nanostores';
|
|
1343
|
+
export const deepLink: (transport: Transport, $eventId: ReadableAtom<string | undefined>) => {
|
|
1344
|
+
$store: import("@nanostores/query").FetcherStore<import("@streamlayer/sl-eslib/sdkSettings/client/client_pb").DeepLink | undefined, any>;
|
|
1345
|
+
fetch: typeof fetch;
|
|
1346
|
+
};
|
|
1347
|
+
}
|
|
1326
1348
|
declare module "../../feature-gamification/src/gamification" {
|
|
1327
1349
|
import { AbstractFeature, ApiStore, FeatureSource, type FeatureProps, type StreamLayerContext } from '../../sdk-web-interfaces/src/index.ts';
|
|
1328
1350
|
import { type GamesOverlaySettings } from '../../sdk-web-types/src/index.ts';
|
|
@@ -1332,6 +1354,7 @@ declare module "../../feature-gamification/src/gamification" {
|
|
|
1332
1354
|
import { WritableAtom } from 'nanostores';
|
|
1333
1355
|
import * as queries from "../../feature-gamification/src/queries/index";
|
|
1334
1356
|
import { leaderboard } from "../../feature-gamification/src/leaderboard";
|
|
1357
|
+
import { deepLink } from "../../feature-gamification/src/deepLink";
|
|
1335
1358
|
import { OnboardingStatus } from "../../feature-gamification/src/onboarding";
|
|
1336
1359
|
import { LeaderboardItem } from "../../feature-gamification/src/queries/leaderboard";
|
|
1337
1360
|
import { GamificationBackground } from "../../feature-gamification/src/index";
|
|
@@ -1353,6 +1376,7 @@ declare module "../../feature-gamification/src/gamification" {
|
|
|
1353
1376
|
leaderboardId: WritableAtom<string | undefined>;
|
|
1354
1377
|
/** leaderboard list */
|
|
1355
1378
|
leaderboardList: ReturnType<typeof leaderboard>;
|
|
1379
|
+
deepLink: ReturnType<typeof deepLink>;
|
|
1356
1380
|
/** onboarding status */
|
|
1357
1381
|
onboardingStatus: {
|
|
1358
1382
|
$store: WritableAtom<OnboardingStatus | undefined>;
|