service_worker 0.2.4
service_worker: ^0.2.4 copied to clipboard

JavaScript bindings for the Service Worker API.

0.2.4 #

  • Removed fakeConstructor$ from JavaScript facade classes which caused breaks in recent Dart SDKs.

0.2.3 #

  • Support Dart 2 stable.

0.2.2 #

  • Fix runtime errors casting List

0.2.1 #

  • Fixed a use of dynamic as bottom by adding type parameters to futureToPromise.

0.2.0 #

  • Updated to work with dart:html for 2.0.0-dev.40.0:
    • ExtendableEvent, FetchEvent removes deepPath or scoped members.
    • Added composed and composedPath members.
  • Migrate off deprecated APIs from the core libraries.
  • Fixed a strong-mode cast warning that will become an error soon.

0.1.2 #

  • Style cleanup: preferring single quotes.
  • Removed generic type comments.

0.1.1 #

  • Remove package:func dependency.

0.1.0 #

  • Upgraded dependencies.

0.0.16 #

  • Remove 'implements' from JS facade methods, as it seems to break with dart2js.

0.0.15 #

  • Implement new methods for classes that implement Event.

0.0.14 #

  • Don't return ServiceWorker instances when the underlying JS object is null.
  • Mask types from JS facade, to prevent type check errors in Dartium.

0.0.13 #

  • expose Notification.close()
  • expose ServiceWorkerClientsMatchOptions

0.0.12 #

  • expose keys in PushSubscription

0.0.11 #

  • expose ServiceWorkerRegistration.jsObject
  • fix a few typing bug

0.0.10 #

  • export ShowNotificationAction

0.0.9 #

  • PushManager.hasPermission() is a deprecated API and it doesn't work in Chrome anymore, clients should use permissionState() instead.

0.0.8 #

  • ServiceWorkerClient.postMessage() to use List as transfer objects parameter.
  • ServiceWorker.postMessage(): any Transferable object can be set, not only MessagePorts.

0.0.7 #

  • removed Worker interface from JS facade, solves Dartium issue

0.0.1 - 0.0.6 #

0.0.6 #

  • fixed Cache.keys()

0.0.5 #

  • add support for WorkerLocation

0.0.4 #

  • fetch() with RequestInit
  • support for Headers cloning

0.0.3 #

  • fix Cache.put() signature

0.0.2 #

  • top-level fields and methods
17
likes
70
pub points
82%
popularity

JavaScript bindings for the Service Worker API.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

js

More

Packages that depend on service_worker