@azure/notification-hubs 1.0.3-alpha.20231106.1 → 1.0.3-alpha.20231108.3

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.
Files changed (49) hide show
  1. package/dist/index.cjs +4 -4
  2. package/dist/index.cjs.map +1 -1
  3. package/dist-esm/src/api/beginSubmitNotificationHubJob.js.map +1 -1
  4. package/dist-esm/src/api/cancelScheduledNotification.js.map +1 -1
  5. package/dist-esm/src/api/clientContext.js.map +1 -1
  6. package/dist-esm/src/api/createOrUpdateInstallation.js.map +1 -1
  7. package/dist-esm/src/api/createOrUpdateRegistration.js.map +1 -1
  8. package/dist-esm/src/api/createRegistration.js.map +1 -1
  9. package/dist-esm/src/api/createRegistrationId.js.map +1 -1
  10. package/dist-esm/src/api/deleteInstallation.js.map +1 -1
  11. package/dist-esm/src/api/deleteRegistration.js.map +1 -1
  12. package/dist-esm/src/api/getFeedbackContainerUrl.js.map +1 -1
  13. package/dist-esm/src/api/getInstallation.js.map +1 -1
  14. package/dist-esm/src/api/getNotificationHubJob.js.map +1 -1
  15. package/dist-esm/src/api/getNotificationOutcomeDetails.js.map +1 -1
  16. package/dist-esm/src/api/getRegistration.js.map +1 -1
  17. package/dist-esm/src/api/internal/_client.js.map +1 -1
  18. package/dist-esm/src/api/internal/_createOrUpdateRegistrationDescription.js.map +1 -1
  19. package/dist-esm/src/api/internal/_listRegistrations.js.map +1 -1
  20. package/dist-esm/src/api/listNotificationHubJobs.js.map +1 -1
  21. package/dist-esm/src/api/listRegistrations.js.map +1 -1
  22. package/dist-esm/src/api/listRegistrationsByChannel.js.map +1 -1
  23. package/dist-esm/src/api/listRegistrationsByTag.js.map +1 -1
  24. package/dist-esm/src/api/scheduleNotification.js.map +1 -1
  25. package/dist-esm/src/api/sendNotification.js.map +1 -1
  26. package/dist-esm/src/api/submitNotificationHubJob.js.map +1 -1
  27. package/dist-esm/src/api/updateInstallation.js.map +1 -1
  28. package/dist-esm/src/api/updateRegistration.js.map +1 -1
  29. package/dist-esm/src/auth/connectionStringUtils.js.map +1 -1
  30. package/dist-esm/src/auth/hmacSha256.browser.js.map +1 -1
  31. package/dist-esm/src/auth/sasTokenCredential.js.map +1 -1
  32. package/dist-esm/src/models/installation.js.map +1 -1
  33. package/dist-esm/src/models/notification.js +4 -4
  34. package/dist-esm/src/models/notification.js.map +1 -1
  35. package/dist-esm/src/models/notificationBodyBuilder.js.map +1 -1
  36. package/dist-esm/src/models/registration.js.map +1 -1
  37. package/dist-esm/src/notificationHubsClient.js.map +1 -1
  38. package/dist-esm/src/serializers/notificationDetailsSerializer.js.map +1 -1
  39. package/dist-esm/src/serializers/notificationOutcomeSerializer.js.map +1 -1
  40. package/dist-esm/src/serializers/registrationSerializer.js.map +1 -1
  41. package/dist-esm/src/utils/notificationUtils.js.map +1 -1
  42. package/dist-esm/src/utils/optionUtils.js.map +1 -1
  43. package/dist-esm/src/utils/utils.js.map +1 -1
  44. package/dist-esm/src/utils/xmlUtils.js.map +1 -1
  45. package/package.json +13 -15
  46. package/types/3.1/notification-hubs.d.ts +1 -1
  47. package/types/latest/notification-hubs.d.ts +1 -1
  48. package/types/src/models/notification.d.ts +1 -1
  49. package/types/src/models/notification.d.ts.map +1 -1
package/dist/index.cjs CHANGED
@@ -2274,7 +2274,7 @@ function createWindowsNotification(notification) {
2274
2274
  * @returns A newly created WNS badge.
2275
2275
  */
2276
2276
  function createWindowsBadgeNotification(notification) {
2277
- const result = Object.assign(Object.assign({}, notification), { platform: "wns", contentType: XML_CONTENT_TYPE });
2277
+ const result = Object.assign(Object.assign({}, notification), { platform: "windows", contentType: XML_CONTENT_TYPE });
2278
2278
  if (!result.headers) {
2279
2279
  result.headers = {};
2280
2280
  }
@@ -2289,7 +2289,7 @@ function createWindowsBadgeNotification(notification) {
2289
2289
  * @returns A newly created WNS tile.
2290
2290
  */
2291
2291
  function createWindowsTileNotification(notification) {
2292
- const result = Object.assign(Object.assign({}, notification), { platform: "wns", contentType: XML_CONTENT_TYPE });
2292
+ const result = Object.assign(Object.assign({}, notification), { platform: "windows", contentType: XML_CONTENT_TYPE });
2293
2293
  if (!result.headers) {
2294
2294
  result.headers = {};
2295
2295
  }
@@ -2304,7 +2304,7 @@ function createWindowsTileNotification(notification) {
2304
2304
  * @returns A newly created WNS toast.
2305
2305
  */
2306
2306
  function createWindowsToastNotification(notification) {
2307
- const result = Object.assign(Object.assign({}, notification), { platform: "wns", contentType: XML_CONTENT_TYPE });
2307
+ const result = Object.assign(Object.assign({}, notification), { platform: "windows", contentType: XML_CONTENT_TYPE });
2308
2308
  if (!result.headers) {
2309
2309
  result.headers = {};
2310
2310
  }
@@ -2319,7 +2319,7 @@ function createWindowsToastNotification(notification) {
2319
2319
  * @returns A newly created WNS message using XML.
2320
2320
  */
2321
2321
  function createWindowsRawNotification(notification) {
2322
- const result = Object.assign(Object.assign({}, notification), { platform: "wns", contentType: STREAM_CONTENT_TYPE });
2322
+ const result = Object.assign(Object.assign({}, notification), { platform: "windows", contentType: STREAM_CONTENT_TYPE });
2323
2323
  if (!result.headers) {
2324
2324
  result.headers = {};
2325
2325
  }