@streamlayer/sdk-web-anonymous-auth 0.11.41 → 0.11.42
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/index.js +53 -51
- package/lib/es/index.js +53 -51
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
3
3
|
require("@streamlayer/sl-eslib/interactive/interactive.common_pb");
|
|
4
4
|
require("@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb");
|
|
5
5
|
const sdkSettings_common_pb = require("@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb");
|
|
6
|
+
require("@streamlayer/sl-eslib/analytics/v1/invitations/invitations_pb");
|
|
6
7
|
require("@streamlayer/sl-eslib/sports/events/events_connect");
|
|
7
8
|
require("@streamlayer/sl-eslib/sdkSettings/client/client_connect");
|
|
8
9
|
const users_connect = require("@streamlayer/sl-eslib/users/users_connect");
|
|
@@ -163,57 +164,6 @@ process.chdir = function(dir) {
|
|
|
163
164
|
process.umask = function() {
|
|
164
165
|
return 0;
|
|
165
166
|
};
|
|
166
|
-
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
167
|
-
var FeatureSource;
|
|
168
|
-
(function(FeatureSource2) {
|
|
169
|
-
FeatureSource2["ORGANIZATION"] = "ORGANIZATION";
|
|
170
|
-
FeatureSource2["STREAM"] = "STREAM";
|
|
171
|
-
})(FeatureSource || (FeatureSource = {}));
|
|
172
|
-
({
|
|
173
|
-
[sdkSettings_common_pb.SdkOverlayType.BETTING]: "betting",
|
|
174
|
-
[sdkSettings_common_pb.SdkOverlayType.GAMES]: "games",
|
|
175
|
-
[sdkSettings_common_pb.SdkOverlayType.PUBLIC_CHAT]: "publicChat",
|
|
176
|
-
[sdkSettings_common_pb.SdkOverlayType.TWITTER]: "twitter"
|
|
177
|
-
});
|
|
178
|
-
var FeatureStatus;
|
|
179
|
-
(function(FeatureStatus2) {
|
|
180
|
-
FeatureStatus2["Ready"] = "ready";
|
|
181
|
-
FeatureStatus2["Suspended"] = "suspended";
|
|
182
|
-
})(FeatureStatus || (FeatureStatus = {}));
|
|
183
|
-
var Code;
|
|
184
|
-
(function(Code2) {
|
|
185
|
-
Code2[Code2["Canceled"] = 1] = "Canceled";
|
|
186
|
-
Code2[Code2["Unknown"] = 2] = "Unknown";
|
|
187
|
-
Code2[Code2["InvalidArgument"] = 3] = "InvalidArgument";
|
|
188
|
-
Code2[Code2["DeadlineExceeded"] = 4] = "DeadlineExceeded";
|
|
189
|
-
Code2[Code2["NotFound"] = 5] = "NotFound";
|
|
190
|
-
Code2[Code2["AlreadyExists"] = 6] = "AlreadyExists";
|
|
191
|
-
Code2[Code2["PermissionDenied"] = 7] = "PermissionDenied";
|
|
192
|
-
Code2[Code2["ResourceExhausted"] = 8] = "ResourceExhausted";
|
|
193
|
-
Code2[Code2["FailedPrecondition"] = 9] = "FailedPrecondition";
|
|
194
|
-
Code2[Code2["Aborted"] = 10] = "Aborted";
|
|
195
|
-
Code2[Code2["OutOfRange"] = 11] = "OutOfRange";
|
|
196
|
-
Code2[Code2["Unimplemented"] = 12] = "Unimplemented";
|
|
197
|
-
Code2[Code2["Internal"] = 13] = "Internal";
|
|
198
|
-
Code2[Code2["Unavailable"] = 14] = "Unavailable";
|
|
199
|
-
Code2[Code2["DataLoss"] = 15] = "DataLoss";
|
|
200
|
-
Code2[Code2["Unauthenticated"] = 16] = "Unauthenticated";
|
|
201
|
-
})(Code || (Code = {}));
|
|
202
|
-
function createContextKey(defaultValue, options) {
|
|
203
|
-
return { id: Symbol(options === null || options === void 0 ? void 0 : options.description), defaultValue };
|
|
204
|
-
}
|
|
205
|
-
window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));
|
|
206
|
-
var ServerStreamSubscriptionStatus;
|
|
207
|
-
(function(ServerStreamSubscriptionStatus2) {
|
|
208
|
-
ServerStreamSubscriptionStatus2["Init"] = "init";
|
|
209
|
-
ServerStreamSubscriptionStatus2["Ready"] = "ready";
|
|
210
|
-
ServerStreamSubscriptionStatus2["Connecting"] = "connecting";
|
|
211
|
-
ServerStreamSubscriptionStatus2["Connected"] = "connected";
|
|
212
|
-
ServerStreamSubscriptionStatus2["Disconnected"] = "disconnected";
|
|
213
|
-
ServerStreamSubscriptionStatus2["Failed"] = "failed";
|
|
214
|
-
ServerStreamSubscriptionStatus2["Reconnect"] = "reconnect";
|
|
215
|
-
ServerStreamSubscriptionStatus2["Reconnecting"] = "reconnecting";
|
|
216
|
-
})(ServerStreamSubscriptionStatus || (ServerStreamSubscriptionStatus = {}));
|
|
217
167
|
var browser = { exports: {} };
|
|
218
168
|
function tryStringify(o) {
|
|
219
169
|
try {
|
|
@@ -732,6 +682,58 @@ const logger = pino_1({
|
|
|
732
682
|
}
|
|
733
683
|
});
|
|
734
684
|
const createLogger = (name, options) => logger.child({ name }, options);
|
|
685
|
+
createLogger("event-bus");
|
|
686
|
+
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
687
|
+
var FeatureSource;
|
|
688
|
+
(function(FeatureSource2) {
|
|
689
|
+
FeatureSource2["ORGANIZATION"] = "ORGANIZATION";
|
|
690
|
+
FeatureSource2["STREAM"] = "STREAM";
|
|
691
|
+
})(FeatureSource || (FeatureSource = {}));
|
|
692
|
+
({
|
|
693
|
+
[sdkSettings_common_pb.SdkOverlayType.BETTING]: "betting",
|
|
694
|
+
[sdkSettings_common_pb.SdkOverlayType.GAMES]: "games",
|
|
695
|
+
[sdkSettings_common_pb.SdkOverlayType.PUBLIC_CHAT]: "publicChat",
|
|
696
|
+
[sdkSettings_common_pb.SdkOverlayType.TWITTER]: "twitter"
|
|
697
|
+
});
|
|
698
|
+
var FeatureStatus;
|
|
699
|
+
(function(FeatureStatus2) {
|
|
700
|
+
FeatureStatus2["Ready"] = "ready";
|
|
701
|
+
FeatureStatus2["Suspended"] = "suspended";
|
|
702
|
+
})(FeatureStatus || (FeatureStatus = {}));
|
|
703
|
+
var Code;
|
|
704
|
+
(function(Code2) {
|
|
705
|
+
Code2[Code2["Canceled"] = 1] = "Canceled";
|
|
706
|
+
Code2[Code2["Unknown"] = 2] = "Unknown";
|
|
707
|
+
Code2[Code2["InvalidArgument"] = 3] = "InvalidArgument";
|
|
708
|
+
Code2[Code2["DeadlineExceeded"] = 4] = "DeadlineExceeded";
|
|
709
|
+
Code2[Code2["NotFound"] = 5] = "NotFound";
|
|
710
|
+
Code2[Code2["AlreadyExists"] = 6] = "AlreadyExists";
|
|
711
|
+
Code2[Code2["PermissionDenied"] = 7] = "PermissionDenied";
|
|
712
|
+
Code2[Code2["ResourceExhausted"] = 8] = "ResourceExhausted";
|
|
713
|
+
Code2[Code2["FailedPrecondition"] = 9] = "FailedPrecondition";
|
|
714
|
+
Code2[Code2["Aborted"] = 10] = "Aborted";
|
|
715
|
+
Code2[Code2["OutOfRange"] = 11] = "OutOfRange";
|
|
716
|
+
Code2[Code2["Unimplemented"] = 12] = "Unimplemented";
|
|
717
|
+
Code2[Code2["Internal"] = 13] = "Internal";
|
|
718
|
+
Code2[Code2["Unavailable"] = 14] = "Unavailable";
|
|
719
|
+
Code2[Code2["DataLoss"] = 15] = "DataLoss";
|
|
720
|
+
Code2[Code2["Unauthenticated"] = 16] = "Unauthenticated";
|
|
721
|
+
})(Code || (Code = {}));
|
|
722
|
+
function createContextKey(defaultValue, options) {
|
|
723
|
+
return { id: Symbol(options === null || options === void 0 ? void 0 : options.description), defaultValue };
|
|
724
|
+
}
|
|
725
|
+
window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));
|
|
726
|
+
var ServerStreamSubscriptionStatus;
|
|
727
|
+
(function(ServerStreamSubscriptionStatus2) {
|
|
728
|
+
ServerStreamSubscriptionStatus2["Init"] = "init";
|
|
729
|
+
ServerStreamSubscriptionStatus2["Ready"] = "ready";
|
|
730
|
+
ServerStreamSubscriptionStatus2["Connecting"] = "connecting";
|
|
731
|
+
ServerStreamSubscriptionStatus2["Connected"] = "connected";
|
|
732
|
+
ServerStreamSubscriptionStatus2["Disconnected"] = "disconnected";
|
|
733
|
+
ServerStreamSubscriptionStatus2["Failed"] = "failed";
|
|
734
|
+
ServerStreamSubscriptionStatus2["Reconnect"] = "reconnect";
|
|
735
|
+
ServerStreamSubscriptionStatus2["Reconnecting"] = "reconnecting";
|
|
736
|
+
})(ServerStreamSubscriptionStatus || (ServerStreamSubscriptionStatus = {}));
|
|
735
737
|
/* @__PURE__ */ new Set([
|
|
736
738
|
Code.Unknown,
|
|
737
739
|
Code.Internal,
|
package/lib/es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import "@streamlayer/sl-eslib/interactive/interactive.common_pb";
|
|
2
2
|
import "@streamlayer/sl-eslib/interactive/feed/interactive.feed_pb";
|
|
3
3
|
import { SdkOverlayType } from "@streamlayer/sl-eslib/sdkSettings/sdkSettings.common_pb";
|
|
4
|
+
import "@streamlayer/sl-eslib/analytics/v1/invitations/invitations_pb";
|
|
4
5
|
import "@streamlayer/sl-eslib/sports/events/events_connect";
|
|
5
6
|
import "@streamlayer/sl-eslib/sdkSettings/client/client_connect";
|
|
6
7
|
import { Users } from "@streamlayer/sl-eslib/users/users_connect";
|
|
@@ -161,57 +162,6 @@ process.chdir = function(dir) {
|
|
|
161
162
|
process.umask = function() {
|
|
162
163
|
return 0;
|
|
163
164
|
};
|
|
164
|
-
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
165
|
-
var FeatureSource;
|
|
166
|
-
(function(FeatureSource2) {
|
|
167
|
-
FeatureSource2["ORGANIZATION"] = "ORGANIZATION";
|
|
168
|
-
FeatureSource2["STREAM"] = "STREAM";
|
|
169
|
-
})(FeatureSource || (FeatureSource = {}));
|
|
170
|
-
({
|
|
171
|
-
[SdkOverlayType.BETTING]: "betting",
|
|
172
|
-
[SdkOverlayType.GAMES]: "games",
|
|
173
|
-
[SdkOverlayType.PUBLIC_CHAT]: "publicChat",
|
|
174
|
-
[SdkOverlayType.TWITTER]: "twitter"
|
|
175
|
-
});
|
|
176
|
-
var FeatureStatus;
|
|
177
|
-
(function(FeatureStatus2) {
|
|
178
|
-
FeatureStatus2["Ready"] = "ready";
|
|
179
|
-
FeatureStatus2["Suspended"] = "suspended";
|
|
180
|
-
})(FeatureStatus || (FeatureStatus = {}));
|
|
181
|
-
var Code;
|
|
182
|
-
(function(Code2) {
|
|
183
|
-
Code2[Code2["Canceled"] = 1] = "Canceled";
|
|
184
|
-
Code2[Code2["Unknown"] = 2] = "Unknown";
|
|
185
|
-
Code2[Code2["InvalidArgument"] = 3] = "InvalidArgument";
|
|
186
|
-
Code2[Code2["DeadlineExceeded"] = 4] = "DeadlineExceeded";
|
|
187
|
-
Code2[Code2["NotFound"] = 5] = "NotFound";
|
|
188
|
-
Code2[Code2["AlreadyExists"] = 6] = "AlreadyExists";
|
|
189
|
-
Code2[Code2["PermissionDenied"] = 7] = "PermissionDenied";
|
|
190
|
-
Code2[Code2["ResourceExhausted"] = 8] = "ResourceExhausted";
|
|
191
|
-
Code2[Code2["FailedPrecondition"] = 9] = "FailedPrecondition";
|
|
192
|
-
Code2[Code2["Aborted"] = 10] = "Aborted";
|
|
193
|
-
Code2[Code2["OutOfRange"] = 11] = "OutOfRange";
|
|
194
|
-
Code2[Code2["Unimplemented"] = 12] = "Unimplemented";
|
|
195
|
-
Code2[Code2["Internal"] = 13] = "Internal";
|
|
196
|
-
Code2[Code2["Unavailable"] = 14] = "Unavailable";
|
|
197
|
-
Code2[Code2["DataLoss"] = 15] = "DataLoss";
|
|
198
|
-
Code2[Code2["Unauthenticated"] = 16] = "Unauthenticated";
|
|
199
|
-
})(Code || (Code = {}));
|
|
200
|
-
function createContextKey(defaultValue, options) {
|
|
201
|
-
return { id: Symbol(options === null || options === void 0 ? void 0 : options.description), defaultValue };
|
|
202
|
-
}
|
|
203
|
-
window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));
|
|
204
|
-
var ServerStreamSubscriptionStatus;
|
|
205
|
-
(function(ServerStreamSubscriptionStatus2) {
|
|
206
|
-
ServerStreamSubscriptionStatus2["Init"] = "init";
|
|
207
|
-
ServerStreamSubscriptionStatus2["Ready"] = "ready";
|
|
208
|
-
ServerStreamSubscriptionStatus2["Connecting"] = "connecting";
|
|
209
|
-
ServerStreamSubscriptionStatus2["Connected"] = "connected";
|
|
210
|
-
ServerStreamSubscriptionStatus2["Disconnected"] = "disconnected";
|
|
211
|
-
ServerStreamSubscriptionStatus2["Failed"] = "failed";
|
|
212
|
-
ServerStreamSubscriptionStatus2["Reconnect"] = "reconnect";
|
|
213
|
-
ServerStreamSubscriptionStatus2["Reconnecting"] = "reconnecting";
|
|
214
|
-
})(ServerStreamSubscriptionStatus || (ServerStreamSubscriptionStatus = {}));
|
|
215
165
|
var browser = { exports: {} };
|
|
216
166
|
function tryStringify(o) {
|
|
217
167
|
try {
|
|
@@ -730,6 +680,58 @@ const logger = pino_1({
|
|
|
730
680
|
}
|
|
731
681
|
});
|
|
732
682
|
const createLogger = (name, options) => logger.child({ name }, options);
|
|
683
|
+
createLogger("event-bus");
|
|
684
|
+
window.slStore = /* @__PURE__ */ Object.create(null);
|
|
685
|
+
var FeatureSource;
|
|
686
|
+
(function(FeatureSource2) {
|
|
687
|
+
FeatureSource2["ORGANIZATION"] = "ORGANIZATION";
|
|
688
|
+
FeatureSource2["STREAM"] = "STREAM";
|
|
689
|
+
})(FeatureSource || (FeatureSource = {}));
|
|
690
|
+
({
|
|
691
|
+
[SdkOverlayType.BETTING]: "betting",
|
|
692
|
+
[SdkOverlayType.GAMES]: "games",
|
|
693
|
+
[SdkOverlayType.PUBLIC_CHAT]: "publicChat",
|
|
694
|
+
[SdkOverlayType.TWITTER]: "twitter"
|
|
695
|
+
});
|
|
696
|
+
var FeatureStatus;
|
|
697
|
+
(function(FeatureStatus2) {
|
|
698
|
+
FeatureStatus2["Ready"] = "ready";
|
|
699
|
+
FeatureStatus2["Suspended"] = "suspended";
|
|
700
|
+
})(FeatureStatus || (FeatureStatus = {}));
|
|
701
|
+
var Code;
|
|
702
|
+
(function(Code2) {
|
|
703
|
+
Code2[Code2["Canceled"] = 1] = "Canceled";
|
|
704
|
+
Code2[Code2["Unknown"] = 2] = "Unknown";
|
|
705
|
+
Code2[Code2["InvalidArgument"] = 3] = "InvalidArgument";
|
|
706
|
+
Code2[Code2["DeadlineExceeded"] = 4] = "DeadlineExceeded";
|
|
707
|
+
Code2[Code2["NotFound"] = 5] = "NotFound";
|
|
708
|
+
Code2[Code2["AlreadyExists"] = 6] = "AlreadyExists";
|
|
709
|
+
Code2[Code2["PermissionDenied"] = 7] = "PermissionDenied";
|
|
710
|
+
Code2[Code2["ResourceExhausted"] = 8] = "ResourceExhausted";
|
|
711
|
+
Code2[Code2["FailedPrecondition"] = 9] = "FailedPrecondition";
|
|
712
|
+
Code2[Code2["Aborted"] = 10] = "Aborted";
|
|
713
|
+
Code2[Code2["OutOfRange"] = 11] = "OutOfRange";
|
|
714
|
+
Code2[Code2["Unimplemented"] = 12] = "Unimplemented";
|
|
715
|
+
Code2[Code2["Internal"] = 13] = "Internal";
|
|
716
|
+
Code2[Code2["Unavailable"] = 14] = "Unavailable";
|
|
717
|
+
Code2[Code2["DataLoss"] = 15] = "DataLoss";
|
|
718
|
+
Code2[Code2["Unauthenticated"] = 16] = "Unauthenticated";
|
|
719
|
+
})(Code || (Code = {}));
|
|
720
|
+
function createContextKey(defaultValue, options) {
|
|
721
|
+
return { id: Symbol(options === null || options === void 0 ? void 0 : options.description), defaultValue };
|
|
722
|
+
}
|
|
723
|
+
window.dispatchEvent(new CustomEvent("grpc_devtools_loaded"));
|
|
724
|
+
var ServerStreamSubscriptionStatus;
|
|
725
|
+
(function(ServerStreamSubscriptionStatus2) {
|
|
726
|
+
ServerStreamSubscriptionStatus2["Init"] = "init";
|
|
727
|
+
ServerStreamSubscriptionStatus2["Ready"] = "ready";
|
|
728
|
+
ServerStreamSubscriptionStatus2["Connecting"] = "connecting";
|
|
729
|
+
ServerStreamSubscriptionStatus2["Connected"] = "connected";
|
|
730
|
+
ServerStreamSubscriptionStatus2["Disconnected"] = "disconnected";
|
|
731
|
+
ServerStreamSubscriptionStatus2["Failed"] = "failed";
|
|
732
|
+
ServerStreamSubscriptionStatus2["Reconnect"] = "reconnect";
|
|
733
|
+
ServerStreamSubscriptionStatus2["Reconnecting"] = "reconnecting";
|
|
734
|
+
})(ServerStreamSubscriptionStatus || (ServerStreamSubscriptionStatus = {}));
|
|
733
735
|
/* @__PURE__ */ new Set([
|
|
734
736
|
Code.Unknown,
|
|
735
737
|
Code.Internal,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@streamlayer/sdk-web-anonymous-auth",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.42",
|
|
4
4
|
"author": "StreamLayer, Inc (https://streamlayer.io)",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -24,23 +24,23 @@
|
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"jose": "^5.2.0",
|
|
27
|
-
"@streamlayer/sdk-web": "^0.
|
|
27
|
+
"@streamlayer/sdk-web": "^0.33.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@nx/devkit": "
|
|
31
|
-
"@nx/playwright": "
|
|
32
|
-
"@nx/webpack": "
|
|
30
|
+
"@nx/devkit": "17.3.0",
|
|
31
|
+
"@nx/playwright": "17.3.0",
|
|
32
|
+
"@nx/webpack": "17.3.0",
|
|
33
33
|
"@playwright/test": "^1.41.1",
|
|
34
|
-
"@swc/helpers": "
|
|
34
|
+
"@swc/helpers": "~0.5.3",
|
|
35
35
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
36
36
|
"url": "^0.11.3",
|
|
37
|
-
"vite": "
|
|
37
|
+
"vite": "5.0.12",
|
|
38
38
|
"vite-plugin-dts": "^3.7.2",
|
|
39
39
|
"vite-plugin-node-polyfills": "^0.19.0",
|
|
40
40
|
"vite-tsconfig-paths": "^4.3.1",
|
|
41
41
|
"webpack": "^5.90.0",
|
|
42
|
-
"@streamlayer/sdk-web-api": "^0.
|
|
43
|
-
"@streamlayer/sdk-web-core": "^0.
|
|
44
|
-
"@streamlayer/sdk-web-interfaces": "^0.
|
|
42
|
+
"@streamlayer/sdk-web-api": "^0.24.0",
|
|
43
|
+
"@streamlayer/sdk-web-core": "^0.22.0",
|
|
44
|
+
"@streamlayer/sdk-web-interfaces": "^0.21.0"
|
|
45
45
|
}
|
|
46
46
|
}
|