-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue "@azure/web-pubsub": "^1.1.3", #31573
Comments
@tusharsurjuse thanks for reporting the issue. If possible could you please share a simplified project that reproduces this? It looks like the error is thrown from |
I am using @azure/web-pubsub with angular application version 18 getting error while making connection const serviceClient = new WebPubSubServiceClient(connectionString(), hub()); //this demo application code import { Component } from '@angular/core'; @component({ constructor(){ ngOnInit() { async dashboardSettingPublishNotification() { } it will be great if you added sample application to work with angular like added for JavaScript and react |
Other than bumping our required NodeJS version to v18, I don't see any obvious changes that could be related to this between v1.1.1 and v1.1.3. @vicancy please take a look. |
Is AngualrJS running in the browser? I don't think @azure/web-pubsub is targeting for browser usage, it is for backend applications. It is also not safe to have connection string loaded in the browser. |
Good point @vicancy ! @tusharsurjuse I think the package you mean to be using is |
Hi @tusharsurjuse. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue. |
Hi @tusharsurjuse, we're sending this friendly reminder because we haven't heard back from you in 7 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you! |
An error occurred: TypeError: Right-hand side of 'instanceof' is not an object
at push.66071.module.exports [as sign] (sign.js:114:57)
at Object.sendRequest (webPubSubCredentialPolicy.js:17:33)
at pipeline.js:51:31
at generatedClient.js:65:24
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:17:1)
at asyncToGenerator.js:22:1
at new ZoneAwarePromise (zone.js:2702:25)
at asyncToGenerator.js:14:1
The text was updated successfully, but these errors were encountered: