@streamlayer/sdk-web-types 0.11.2 → 0.12.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/package.json CHANGED
@@ -1,8 +1,10 @@
1
1
  {
2
2
  "name": "@streamlayer/sdk-web-types",
3
- "version": "0.11.2",
3
+ "version": "0.12.1",
4
4
  "dependencies": {
5
- "@streamlayer/sl-eslib": "^5.29.0"
5
+ "@streamlayer/sl-eslib": "^5.29.0",
6
+ "tslib": "^2.6.2",
7
+ "@bufbuild/protobuf": "^1.3.3"
6
8
  },
7
9
  "type": "module",
8
10
  "main": "./src/index.js",
package/src/index.js CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from './sl-types';
2
-
3
2
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../packages/sdk-web-types/src/index.ts"],"sourcesContent":["export * from './sl-types'\n"],"names":[],"mappings":"AAAA,cAAc,aAAY"}
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.d.ts CHANGED
@@ -1,7 +1,11 @@
1
+ import { PlainMessage } from '@bufbuild/protobuf';
1
2
  import type { StreamSettings as SLStreamSettings, SdkOverlay, Advertising, OrganizationSettings as SLOrganizationSettings } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
2
3
  import type { ClientSettings } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb';
3
4
  import type { UserAttributes } from '@streamlayer/sl-eslib/users/users_common_pb';
4
- export { QuestionType } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
5
+ export { QuestionType, QuestionStatus } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
6
+ import type { PickHistory as IPickHistory } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
7
+ export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
8
+ export type PickHistory = PlainMessage<IPickHistory>;
5
9
  export type OrganizationSettings = SLOrganizationSettings;
6
10
  export type OrganizationAdvertising = Advertising;
7
11
  export type FeatureConfig = SdkOverlay;
package/src/sl-types.js CHANGED
@@ -1,4 +1,4 @@
1
- export { QuestionType } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
1
+ export { QuestionType, QuestionStatus } from '@streamlayer/sl-eslib/interactive/interactive.common_pb';
2
+ export { PickHistoryStatus } from '@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb';
2
3
  export { SdkOverlayType as FeatureType } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb';
3
-
4
4
  //# sourceMappingURL=sl-types.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../packages/sdk-web-types/src/sl-types.ts"],"sourcesContent":["import type {\n StreamSettings as SLStreamSettings,\n SdkOverlay,\n Advertising,\n OrganizationSettings as SLOrganizationSettings,\n} from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb'\nimport type { ClientSettings } from '@streamlayer/sl-eslib/sdkSettings/client/client_pb'\nimport type { UserAttributes } from '@streamlayer/sl-eslib/users/users_common_pb'\nexport { QuestionType } from '@streamlayer/sl-eslib/interactive/interactive.common_pb'\n\nexport type OrganizationSettings = SLOrganizationSettings\nexport type OrganizationAdvertising = Advertising\nexport type FeatureConfig = SdkOverlay\nexport type StreamSettings = SLStreamSettings\nexport type User = UserAttributes\nexport type UserSettings = ClientSettings\n\nexport { SdkOverlayType as FeatureType } from '@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb'\n"],"names":["QuestionType","SdkOverlayType","FeatureType"],"mappings":"AAQA,SAASA,YAAY,QAAQ,0DAAyD;AAStF,SAASC,kBAAkBC,WAAW,QAAQ,0DAAyD"}
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"}