@streamlayer/sdk-web-types 0.12.9 → 0.13.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
@@ -1,6 +1,6 @@
1
1
  # core-types
2
2
 
3
- This library was generatedwith [Nx](https://nx.dev).
3
+ This library was generated with [Nx](https://nx.dev).
4
4
 
5
5
  ## Building
6
6
  Run `nx build core-types` to build the library.
package/lib/index.js ADDED
@@ -0,0 +1 @@
1
+ export * from './sl-types';
@@ -2,14 +2,16 @@ import { PlainMessage } from '@bufbuild/protobuf';
2
2
  import type { StreamSettings as SLStreamSettings, SdkOverlay, Advertising, OrganizationSettings as SLOrganizationSettings } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
3
3
  import type { ClientSettings } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
4
4
  import type { UserAttributes } from '@streamlayer/sl-eslib/users/users_common_pb';
5
- export { QuestionType, QuestionStatus } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
5
+ export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, ExtendedQuestion, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
6
6
  import type { PickHistory as IPickHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
7
+ import type { InsightHistory as IInsightHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
7
8
  export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
8
9
  export type PickHistory = PlainMessage<IPickHistory>;
10
+ export type InsightHistory = PlainMessage<IInsightHistory>;
9
11
  export type OrganizationSettings = SLOrganizationSettings;
10
12
  export type OrganizationAdvertising = Advertising;
11
13
  export type FeatureConfig = SdkOverlay;
12
14
  export type StreamSettings = SLStreamSettings;
13
15
  export type User = UserAttributes;
14
16
  export type UserSettings = ClientSettings;
15
- export { SdkOverlayType as FeatureType } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
17
+ export { SdkOverlayType as FeatureType, SdkOverlaySettings, GamesOverlaySettings, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
@@ -0,0 +1,3 @@
1
+ export { QuestionType, QuestionStatus, QuestionImages, ImagePosition, ExtendedQuestion, } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
2
+ export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
3
+ export { SdkOverlayType as FeatureType, SdkOverlaySettings, GamesOverlaySettings, } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
package/package.json CHANGED
@@ -1,19 +1,25 @@
1
1
  {
2
2
  "name": "@streamlayer/sdk-web-types",
3
- "version": "0.12.9",
4
- "dependencies": {
5
- "@streamlayer/sl-eslib": "^5.29.0",
6
- "tslib": "^2.6.2",
7
- "@bufbuild/protobuf": "^1.3.3"
3
+ "version": "0.13.1",
4
+ "peerDependencies": {
5
+ "@streamlayer/sl-eslib": "*",
6
+ "@bufbuild/protobuf": "*"
8
7
  },
9
- "type": "module",
10
- "main": "./src/index.js",
11
- "typings": "./src/index.d.ts",
12
- "files": [
13
- "src/"
14
- ],
15
8
  "devDependencies": {
16
- "@swc/helpers": "^0.5.2"
9
+ "tslib": "*"
17
10
  },
18
- "module": "./src/index.js"
19
- }
11
+ "type": "module",
12
+ "main": "./lib/index.js",
13
+ "typings": "./lib/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "module": "./lib/index.js",
17
+ "require": "./lib/index.js",
18
+ "types": "./lib/index.d.ts"
19
+ }
20
+ },
21
+ "files": [
22
+ "lib/",
23
+ "package.json"
24
+ ]
25
+ }
package/src/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from './sl-types';
2
- //# sourceMappingURL=index.js.map
package/src/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/sdk-web-types/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA"}
package/src/sl-types.js DELETED
@@ -1,4 +0,0 @@
1
- export { QuestionType, QuestionStatus } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
2
- export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
3
- export { SdkOverlayType as FeatureType } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
4
- //# sourceMappingURL=sl-types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sl-types.js","sourceRoot":"","sources":["../../../../packages/sdk-web-types/src/sl-types.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,yDAAyD,CAAA;AAEtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAA;AAU9F,OAAO,EAAE,cAAc,IAAI,WAAW,EAAE,MAAM,yDAAyD,CAAA"}
File without changes